- JSON 表示法
- UserIdentifierSource
- OfflineUserAddressInfo
<ph type="x-smartling-placeholder">
- </ph>
- JSON 表示法
用户身份信息。
JSON 表示法 |
---|
{ "userIdentifierSource": enum ( |
字段 | |
---|---|
userIdentifierSource |
来自实体店销售、ConversionUploadService 或 ConversionAdjustmentUploadService 上传操作的用户标识符的来源。 |
联合字段 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 |
标准化后使用 SHA-256 哈希函数对电话号码进行哈希处理(E164 标准)。可针对目标客户匹配、实体店销售、ConversionUploadService 和 ConversionAdjustmentUploadService,接受。 |
mobileId |
移动设备 ID(广告 ID/IDFA)。仅适用于目标客户匹配。 |
thirdPartyUserId |
广告客户为目标客户匹配数据上传操作指定的用户 ID,或第三方为实体店销售数据指定的用户 ID。仅适用于目标客户匹配和实体店销售衡量功能。 |
addressInfo |
地址信息。只能用于目标客户匹配、实体店销售和 ConversionAdjustmentUploadService。 |
UserIdentifierSource
用于上传线下实体店销售、点击转化和转化调整项的用户标识符来源的类型。
枚举 | |
---|---|
UNSPECIFIED |
未指定。 |
UNKNOWN |
仅用于返回值。表示此版本中未知的值 |
FIRST_PARTY |
表示用户标识符由第一方(广告客户)提供。 |
THIRD_PARTY |
表示用户标识符由第三方(合作伙伴)提供。 |
OfflineUserAddressInfo
线下数据的地址标识符。
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 格式中的双字母国家/地区代码。 |
postalCode |
用户地址对应的邮政编码。 |
hashedStreetAddress |
标准化后使用 SHA-256 哈希函数进行了哈希处理的用户街道地址(仅限小写)。只接受 ConversionAdjustmentUploadService。 |