UserIdentifier

使用者的識別資訊。

JSON 表示法
{
  "userIdentifierSource": enum (UserIdentifierSource),

  // Union field identifier can be only one of the following:
  "hashedEmail": string,
  "hashedPhoneNumber": string,
  "mobileId": string,
  "thirdPartyUserId": string,
  "addressInfo": {
    object (OfflineUserAddressInfo)
  }
  // End of list of possible types for union field identifier.
}
欄位
userIdentifierSource

enum (UserIdentifierSource)

從 Store Sales、ConversionUploadService 或 ConversionAdjustUploadService 上傳的使用者 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。ConversionAdjustUploadService 接受 hashed_email、hashed_phone_number 和 address_info。identifier 只能是下列其中一項:
hashedEmail

string

經過正規化後使用 SHA-256 雜湊函式雜湊處理的電子郵件地址。適用於目標客戶比對、商店銷售、ConversionUploadService 和 ConversionAdjustmentUploadService。

hashedPhoneNumber

string

經過正規化後使用 SHA-256 雜湊函式雜湊處理的電話號碼 (E164 標準)。適用於目標客戶比對、商店銷售、ConversionUploadService 和 ConversionAdjustmentUploadService。

mobileId

string

行動裝置 ID (廣告 ID/廣告識別碼)。僅接受目標顧客比對。

thirdPartyUserId

string

廣告客戶為「目標客戶比對」上傳時指派的使用者 ID,或是「商店銷售」的第三方指派的使用者 ID。僅接受「目標顧客比對」和「商店銷售」。

addressInfo

object (OfflineUserAddressInfo)

地址資訊。僅適用於「目標客戶比對」、「商店銷售」和「轉換調整項 UploadService」。

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

string

使用者的名字,經正規化後雜湊處理為 SHA-256 的使用者 (所有字元都必須是小寫;請移除前後和中間的所有多餘空格)。

hashedLastName

string

使用者的姓氏,經過正規化後,經雜湊處理為 SHA-256 (僅可使用小寫且不含標點符號)。

city

string

地址的城市。只接受商店銷售和 ConversionAdjustUploadService。

state

string

地址的州碼。只接受商店銷售和 ConversionAdjustUploadService。

countryCode

string

使用者地址的 ISO-3166-1 alpha-2 雙字母國家/地區代碼。

postalCode

string

使用者地址的郵遞區號。

hashedStreetAddress

string

經過正規化後,使用 SHA-256 雜湊函式雜湊處理的使用者街道地址 (僅限小寫)。只接受 ConversionAdjustUploadService。