--- v18/services/conversion_upload_service.proto 2025-08-05 14:36:13.000000000 +0000 +++ v19/services/conversion_upload_service.proto 2025-08-05 14:36:21.000000000 +0000 @@ -242,14 +243,31 @@ // The user identifiers associated with this conversion. Only hashed_email and // hashed_phone_number are supported for conversion uploads. The maximum // number of user identifiers for each conversion is 5. - repeated google.ads.googleads.v18.common.UserIdentifier user_identifiers = 17; + repeated google.ads.googleads.v19.common.UserIdentifier user_identifiers = 17; // The environment this conversion was recorded on, for example, App or Web. - google.ads.googleads.v18.enums.ConversionEnvironmentEnum.ConversionEnvironment + google.ads.googleads.v19.enums.ConversionEnvironmentEnum.ConversionEnvironment conversion_environment = 20; // The consent setting for the event. - google.ads.googleads.v18.common.Consent consent = 23; + google.ads.googleads.v19.common.Consent consent = 23; + + // Type of the customer associated with the conversion (new or returning). + // Accessible only to customers on the allow-list. + google.ads.googleads.v19.enums.ConversionCustomerTypeEnum + .ConversionCustomerType customer_type = 26; + + // The session attributes for the event. + oneof session_attributes { + // The session attributes for the event, represented as a base64-encoded + // JSON string. The content should be generated by Google-provided library. + // To set session attributes individually, use + // session_attributes_key_value_pairs instead. + bytes session_attributes_encoded = 24; + + // The session attributes for the event, represented as key-value pairs. + SessionAttributesKeyValuePairs session_attributes_key_value_pairs = 25; + } } // A call conversion. @@ -393,3 +411,20 @@ // Data of the items purchased. repeated Item items = 5; } + +// Contains one session attribute of the conversion. +message SessionAttributeKeyValuePair { + // Required. The name of the session attribute. + string session_attribute_key = 1 [(google.api.field_behavior) = REQUIRED]; + + // Required. The value of the session attribute. + string session_attribute_value = 2 [(google.api.field_behavior) = REQUIRED]; +} + +// Contains session attributes of the conversion, represented as key-value +// pairs. +message SessionAttributesKeyValuePairs { + // Required. The session attributes for the conversion. + repeated SessionAttributeKeyValuePair key_value_pairs = 1 + [(google.api.field_behavior) = REQUIRED]; +}
/services/conversion_upload_service.proto
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[],[],null,[]]