Index
IngestionService
(interface)AddressInfo
(message)AudienceMember
(message)Consent
(message)ConsentStatus
(enum)Destination
(message)Encoding
(enum)EncryptionInfo
(message)GcpWrappedKeyInfo
(message)GcpWrappedKeyInfo.KeyType
(enum)IngestAudienceMembersRequest
(message)IngestAudienceMembersResponse
(message)MobileData
(message)PairData
(message)Product
(enum)ProductAccount
(message)RemoveAudienceMembersRequest
(message)RemoveAudienceMembersResponse
(message)TermsOfService
(message)TermsOfServiceStatus
(enum)UserData
(message)UserIdentifier
(message)
IngestionService
Service for sending audience data to supported destinations.
IngestAudienceMembers |
---|
Uploads a list of
|
RemoveAudienceMembers |
---|
Removes a list of
|
AddressInfo
Address information for the user.
Fields | |
---|---|
given_name |
Required. Given (first) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256. |
family_name |
Required. Family (last) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256. |
region_code |
Required. The 2-letter region code in ISO-3166-1 alpha-2 of the user's address. |
postal_code |
Required. The postal code of the user's address. |
AudienceMember
The audience member to be operated on.
Fields | |
---|---|
consent | Optional. The consent setting for the user. |
Union field data . The type of identifying data to be operated on. data can be only one of the following: | |
user_data | User-provided data that identifies the user. |
pair_data | |
mobile_data | Data identifying the user's mobile devices. |
Consent
Digital Markets Act (DMA) consent settings for the user.
Fields | |
---|---|
ad_user_data | Optional. Represents if the user consents to ad user data. |
ad_personalization | Optional. Represents if the user consents to ad personalization. |
ConsentStatus
Represents if the user granted, denied, or hasn't specified consent.
Enums | |
---|---|
CONSENT_STATUS_UNSPECIFIED | Not specified. |
CONSENT_GRANTED | Granted. |
CONSENT_DENIED | Denied. |
Destination
The Google product you're sending data to. For example, a Google Ads account.
Fields | |
---|---|
login_account | Optional. The account used to make this API call. To add or remove data from the |
linked_account | Optional. An account that the calling user's |
operating_account | Required. The account to send the data to or remove the data from. |
product_destination_id |
Required. The object within the product account to ingest into. For example, a Google Ads audience ID or a Display & Video 360 audience ID. |
Encoding
The encoding type of the hashed identifying information.
Enums | |
---|---|
ENCODING_UNSPECIFIED | Unspecified Encoding type. Should never be used. |
HEX | Hex encoding. |
BASE64 | Base 64 encoding. |
EncryptionInfo
Encryption information for the data being ingested.
Fields | |
---|---|
Union field wrapped_key . The wrapped key used to encrypt the data. wrapped_key can be only one of the following: | |
gcp_wrapped_key_info | Google Cloud Platform wrapped key information. |
GcpWrappedKeyInfo
Information about the Google Cloud Platform wrapped key.
Fields | |
---|---|
key_type | Required. The type of algorithm used to encrypt the data. |
wip_provider |
Required. The Workload Identity pool provider required to use KEK. |
kek_uri |
Required. Google Cloud Platform Cloud Key Management Service resource ID. |
encrypted_dek |
Required. The base64 encoded encrypted data encryption key. |
KeyType
The type of algorithm used to encrypt the data.
Enums | |
---|---|
KEY_TYPE_UNSPECIFIED | Unspecified key type. Should never be used. |
XCHACHA20_POLY1305 | Algorithm XChaCha20-Poly1305 |
IngestAudienceMembersRequest
Request to upload audience members to the provided destinations. Returns an IngestAudienceMembersResponse
.
Fields | |
---|---|
destinations[] | Required. The list of destinations to send the audience members to. |
audience_members[] | Required. The list of users to send to the specified destinations. At most 10000 |
consent | Optional. Request-level consent to apply to all users in the request. User-level consent overrides request-level consent, and can be specified in each |
validate_only |
Optional. For testing purposes. If |
encoding | Optional. Required for |
encryption_info | Optional. Encryption information for |
terms_of_service | Optional. The terms of service that the user has accepted/rejected. |
IngestAudienceMembersResponse
Response from the IngestAudienceMembersRequest
.
Fields | |
---|---|
request_id |
The auto-generated ID of the request. |
MobileData
Mobile IDs for the audience. At least one mobile ID is required.
Fields | |
---|---|
mobile_ids[] |
Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 |
PairData
PAIR IDs for the audience. At least one PAIR ID is required.
Fields | |
---|---|
pair_ids[] |
Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted with an EC commutative cipher using publisher key for the PAIR user list. At most 10 |
Product
Represents a specific Google product. Used to locate accounts and destinations.
Enums | |
---|---|
PRODUCT_UNSPECIFIED | Unspecified product. Should never be used. |
GOOGLE_ADS | Google Ads. |
DISPLAY_VIDEO_PARTNER | Display & Video 360 partner. |
DISPLAY_VIDEO_ADVERTISER | Display & Video 360 advertiser. |
DATA_PARTNER | Data Partner. |
ProductAccount
Represents a specific account.
Fields | |
---|---|
product | Required. The product the account belongs to. For example, |
account_id |
Required. The ID of the account. For example, your Google Ads account ID. |
RemoveAudienceMembersRequest
Request to remove users from an audience in the provided destinations. Returns a RemoveAudienceMembersResponse
.
Fields | |
---|---|
destinations[] | Required. The list of destinations to remove the users from. |
audience_members[] | Required. The list of users to remove. |
validate_only |
Optional. For testing purposes. If |
encoding | Optional. Required for |
encryption_info | Optional. Encryption information for |
RemoveAudienceMembersResponse
Response from the RemoveAudienceMembersRequest
.
Fields | |
---|---|
request_id |
The auto-generated ID of the request. |
TermsOfService
The terms of service that the user has accepted/rejected.
Fields | |
---|---|
customer_match_terms_of_service_status | Optional. The Customer Match terms of service: https://support.google.com/adspolicy/answer/6299717. This must be accepted for all uploads to Customer Match userlists. |
TermsOfServiceStatus
Represents the caller's decision to accept or reject the terms of service.
Enums | |
---|---|
TERMS_OF_SERVICE_STATUS_UNSPECIFIED | Not specified. |
ACCEPTED | Status indicating the caller has chosen to accept the terms of service. |
REJECTED | Status indicating the caller has chosen to reject the terms of service. |
UserData
Data that identifies the user. At least one identifier is required.
Fields | |
---|---|
user_identifiers[] | 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 |
UserIdentifier
A single identifier for the user.
Fields | |
---|---|
Union field identifier . Exactly one must be specified. identifier can be only one of the following: | |
email_address |
Hashed email address using SHA-256 hash function after normalization. |
phone_number |
Hashed phone number using SHA-256 hash function after normalization (E164 standard). |
address | The known components of a user's address. Holds a grouping of identifiers that are matched all at once. |