--- 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
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[],[],null,[]]