User identifying information.
JSON representation |
---|
{ "userIdentifierSource": enum ( |
Fields | |
---|---|
userIdentifierSource |
Source of the user identifier when the upload is from Store Sales, ConversionUploadService, or ConversionAdjustmentUploadService. |
Union field identifier . Exactly one must be specified. For OfflineUserDataJobService, Customer Match accepts hashed_email, hashed_phone_number, mobile_id, third_party_user_id, and address_info; Store Sales accepts hashed_email, hashed_phone_number, third_party_user_id, and address_info. ConversionUploadService accepts hashed_email and hashed_phone_number. ConversionAdjustmentUploadService accepts hashed_email, hashed_phone_number, and address_info. identifier can be only one of the following: |
|
hashedEmail |
Hashed email address using SHA-256 hash function after normalization. Accepted for Customer Match, Store Sales, ConversionUploadService, and ConversionAdjustmentUploadService. |
hashedPhoneNumber |
Hashed phone number using SHA-256 hash function after normalization (E164 standard). Accepted for Customer Match, Store Sales, ConversionUploadService, and ConversionAdjustmentUploadService. |
mobileId |
Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. |
thirdPartyUserId |
Advertiser-assigned user ID for Customer Match upload, or third-party-assigned user ID for Store Sales. Accepted only for Customer Match and Store Sales. |
addressInfo |
Address information. Accepted only for Customer Match, Store Sales, and ConversionAdjustmentUploadService. |
UserIdentifierSource
The type of user identifier source for offline Store Sales, click conversion, and conversion adjustment uploads.
Enums | |
---|---|
UNSPECIFIED |
Not specified. |
UNKNOWN |
Used for return value only. Represents value unknown in this version |
FIRST_PARTY |
Indicates that the user identifier was provided by the first party (advertiser). |
THIRD_PARTY |
Indicates that the user identifier was provided by the third party (partner). |
OfflineUserAddressInfo
Address identifier of offline data.
JSON representation |
---|
{ "hashedFirstName": string, "hashedLastName": string, "city": string, "state": string, "countryCode": string, "postalCode": string, "hashedStreetAddress": string } |
Fields | |
---|---|
hashedFirstName |
First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between). |
hashedLastName |
Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation). |
city |
City of the address. Only accepted for Store Sales and ConversionAdjustmentUploadService. |
state |
State code of the address. Only accepted for Store Sales and ConversionAdjustmentUploadService. |
countryCode |
2-letter country code in ISO-3166-1 alpha-2 of the user's address. |
postalCode |
Postal code of the user's address. |
hashedStreetAddress |
The street address of the user hashed using SHA-256 hash function after normalization (lower case only). Only accepted for ConversionAdjustmentUploadService. |