The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
UserData
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Data yang mengidentifikasi pengguna. Minimal satu ID diperlukan.
Representasi JSON |
{
"userIdentifiers": [
{
object (UserIdentifier )
}
]
} |
Kolom |
userIdentifiers[] |
object (UserIdentifier )
Wajib. ID untuk pengguna. Anda dapat memberikan beberapa instance dari jenis data yang sama (misalnya, beberapa alamat email). Untuk meningkatkan kemungkinan kecocokan, berikan sebanyak mungkin ID. Maksimal 10 userIdentifiers dapat diberikan dalam satu AudienceMember atau Event .
|
UserIdentifier
Representasi JSON |
{
// Union field identifier can be only one of the following:
"emailAddress": string,
"phoneNumber": string,
"address": {
object (AddressInfo )
}
// End of list of possible types for union field identifier .
} |
Kolom |
Kolom union identifier . Tepatnya satu yang harus ditentukan. identifier hanya dapat berupa salah satu dari berikut: |
emailAddress |
string
Alamat email yang di-hash menggunakan fungsi hash SHA-256 setelah normalisasi.
|
phoneNumber |
string
Nomor telepon yang di-hash menggunakan fungsi hash SHA-256 setelah normalisasi (standar E164).
|
address |
object (AddressInfo )
Komponen alamat pengguna yang diketahui. Menyimpan pengelompokan ID yang dicocokkan sekaligus.
|
AddressInfo
Informasi alamat pengguna.
Representasi JSON |
{
"givenName": string,
"familyName": string,
"regionCode": string,
"postalCode": string
} |
Kolom |
givenName |
string
Wajib. Mengingat nama (depan) pengguna, semua huruf kecil, tanpa tanda baca, tanpa spasi kosong di awal atau akhir, dan di-hash sebagai SHA-256.
|
familyName |
string
Wajib. Nama keluarga (terakhir) pengguna, semua huruf kecil, tanpa tanda baca, tanpa spasi kosong di awal atau akhir, dan di-hash sebagai SHA-256.
|
regionCode |
string
Wajib. Kode wilayah 2 huruf dalam ISO-3166-1 alpha-2 dari alamat pengguna.
|
postalCode |
string
Wajib. Kode pos alamat pengguna.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-25 UTC."],[],[],null,["# UserData\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [UserIdentifier](#UserIdentifier)\n - [JSON representation](#UserIdentifier.SCHEMA_REPRESENTATION)\n- [AddressInfo](#AddressInfo)\n - [JSON representation](#AddressInfo.SCHEMA_REPRESENTATION)\n\nData that identifies the user. At least one identifier is required.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------|\n| ``` { \"userIdentifiers\": [ { object (/data-manager/api/reference/rest/v1/UserData#UserIdentifier) } ] } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userIdentifiers[]` | `object (`[UserIdentifier](/data-manager/api/reference/rest/v1/UserData#UserIdentifier)`)` Required. The identifiers for the user. It's possible to provide multiple instances of the same type of data (for example, multiple email addresses). To increase the likelihood of a match, provide as many identifiers as possible. At most 10 `userIdentifiers` can be provided in a single [AudienceMember](/data-manager/api/reference/rest/v1/AudienceMember) or [Event](/data-manager/api/reference/rest/v1/events/ingest#Event). |\n\nUserIdentifier\n--------------\n\nA single identifier for the user.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `identifier` can be only one of the following: \"emailAddress\": string, \"phoneNumber\": string, \"address\": { object (/data-manager/api/reference/rest/v1/UserData#AddressInfo) } // End of list of possible types for union field `identifier`. } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `identifier`. Exactly one must be specified. `identifier` can be only one of the following: ||\n| `emailAddress` | `string` Hashed email address using SHA-256 hash function after normalization. |\n| `phoneNumber` | `string` Hashed phone number using SHA-256 hash function after normalization (E164 standard). |\n| `address` | `object (`[AddressInfo](/data-manager/api/reference/rest/v1/UserData#AddressInfo)`)` The known components of a user's address. Holds a grouping of identifiers that are matched all at once. |\n\nAddressInfo\n-----------\n\nAddress information for the user.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------|\n| ``` { \"givenName\": string, \"familyName\": string, \"regionCode\": string, \"postalCode\": string } ``` |\n\n| Fields ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| `givenName` | `string` Required. Given (first) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256. |\n| `familyName` | `string` Required. Family (last) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256. |\n| `regionCode` | `string` Required. The 2-letter region code in ISO-3166-1 alpha-2 of the user's address. |\n| `postalCode` | `string` Required. The postal code of the user's address. |"]]