The Data Manager API is in closed beta. To express interest in joining the closed beta, fill out
this form.
Format user data
Stay organized with collections
Save and categorize content based on your preferences.
The Data Manager API supports uploading multiple types of user data. Follow the
formatting, hashing, and encoding requirements for each data element to ensure
your data is received and processed successfully.
A UserData
object is a collection of UserIdentifier
objects. Each
UserIdentifier
has exactly one of the attributes in the following table.
UserIdentifier |
email_address |
Format |
string
Convert to lowercase.
|
Whitespace |
Trim leading, trailing and intermediate whitespace. |
Hashing |
Hash using the SHA-256 algorithm.
Encode the hash bytes using hex or Base64 encoding.
|
|
phone_number |
Format |
string
Include the plus sign (+ ) and the country
code.
|
Whitespace |
Trim leading and trailing whitespace. |
Hashing |
Hash using the SHA-256 algorithm.
Encode the hash bytes using hex or Base64 encoding.
|
|
address |
|
Use the following formatting guidelines to construct the address
attribute of a UserIdentifier
.
AddressInfo |
given_name |
Format |
string
Convert to lowercase.
Don't include prefixes such as Mrs.
|
Whitespace |
Trim leading and trailing whitespace. |
Hashing |
Hash using the SHA-256 algorithm.
Encode the hash bytes using hex or Base64 encoding.
|
|
family_name |
Format |
string
Convert to lowercase.
Don't include suffixes such as Jr.
|
Whitespace |
Trim leading and trailing whitespace. |
Hashing |
Hash using the SHA-256 algorithm.
Encode the hash bytes using hex or Base64 encoding.
|
|
region_code |
Format |
string
|
Whitespace |
Trim leading and trailing whitespace. |
Hashing |
Don't hash region_code . |
|
postal_code |
Format |
string
Both US and international zip and postal codes are
allowed.
For US addresses, use either 5 digits or 5 digits followed by a
4-digit extension. Using a 4-digit extension may improve your match
rate.
For all other countries, don't use postal code
extensions.
|
Whitespace |
Trim leading and trailing whitespace. |
Hashing |
Don't hash postal_code . |
|
Populate the pair_ids
field of a PairData
object with a list of IDs.
Format each element in the list using the following steps:
- Hash the cleanroom-provided PII data using the SHA-256 algorithm.
- Encrypt the hash bytes with an EC commutative cipher using the publisher key
for the PAIR user list.
- Encode the encrypted data using hex or Base64 encoding.
Populate the mobile_ids
field of a MobileData
object with a list of
mobile IDs. Don't hash mobile
IDs.
Next steps
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-17 UTC."],[],[]]