使用者識別資訊。
JSON 表示法 |
---|
{ "userIdentifierSource": enum ( |
欄位 | |
---|---|
userIdentifierSource |
上傳內容來自商店銷售、ConversionUploadService 或 ConversionAdjustmentUploadService 時的使用者 ID 來源。 |
聯集欄位 identifier 。必須指定一個。針對 OfflineUserDataJobService,目標客戶比對接受 hashed_email、hashed_phone_number、mobile_id、third_party_user_id 和 address_info;商店銷售接受 hashed_email、hashed_phone_number、third_party_user_id 和 address_info。ConversionUploadService 接受 hashed_email 和 hashed_phone_number。ConversionAdjustmentUploadService 可接受 hashed_email、hashed_phone_number 和 address_info。identifier 只能是下列其中一項: |
|
hashedEmail |
經過標準化後,使用 SHA-256 雜湊函式雜湊的電子郵件地址。適用於目標顧客比對、商店銷售、ConversionUploadService 和 ConversionAdjustmentUploadService。 |
hashedPhoneNumber |
經過標準化 (E.164 標準) 後,使用 SHA-256 雜湊函式雜湊的電話號碼。適用於目標顧客比對、商店銷售、ConversionUploadService 和 ConversionAdjustmentUploadService。 |
mobileId |
行動裝置 ID (廣告 ID/廣告識別碼)。僅適用於目標顧客比對。 |
thirdPartyUserId |
目標顧客比對上傳作業的廣告客戶指派使用者 ID,或商店銷售的第三方指派使用者 ID。僅適用於目標顧客比對和商店銷售。 |
addressInfo |
地址資訊。僅適用於目標顧客比對、商店銷售和 ConversionAdjustmentUploadService。 |
UserIdentifierSource
離線商店銷售、點擊轉換和轉換調整項上傳的使用者 ID 來源類型。
列舉 | |
---|---|
UNSPECIFIED |
不指定。 |
UNKNOWN |
僅用於傳回值。代表這個版本中不明的值 |
FIRST_PARTY |
表示使用者 ID 是由第一方 (廣告主) 提供。 |
THIRD_PARTY |
表示使用者 ID 是由第三方 (合作夥伴) 提供。 |
OfflineUserAddressInfo
離線資料的地址 ID。
JSON 表示法 |
---|
{ "hashedFirstName": string, "hashedLastName": string, "city": string, "state": string, "countryCode": string, "postalCode": string, "hashedStreetAddress": string } |
欄位 | |
---|---|
hashedFirstName |
使用者的名字,經過標準化後會以 SHA-256 雜湊處理 (所有字元都會變為小寫,並移除前後和中間的多餘空格)。 |
hashedLastName |
使用者的姓氏,經過正規化後會以 SHA-256 雜湊處理 (僅限小寫字母,且不含標點符號)。 |
city |
地址所在的城市。僅接受商店銷售和 ConversionAdjustmentUploadService。 |
state |
地址的州/省/巿代碼。僅接受商店銷售和 ConversionAdjustmentUploadService。 |
countryCode |
使用者地址的 ISO-3166-1 alpha-2 國家/地區代碼 (2 個英文字母)。 |
postalCode |
使用者地址的郵遞區號。 |
hashedStreetAddress |
使用者經過標準化後,使用 SHA-256 雜湊函式雜湊的街道地址 (僅限小寫字母)。僅適用於 ConversionAdjustmentUploadService。 |