Index
IngestionService
(interface)AdIdentifiers
(message)AddressInfo
(message)AudienceMember
(message)CartData
(message)Consent
(message)ConsentStatus
(enum)CustomVariable
(message)Destination
(message)DeviceInfo
(message)Encoding
(enum)EncryptionInfo
(message)Event
(message)EventSource
(enum)ExperimentalField
(message)GcpWrappedKeyInfo
(message)GcpWrappedKeyInfo.KeyType
(enum)IngestAudienceMembersRequest
(message)IngestAudienceMembersResponse
(message)IngestEventsRequest
(message)IngestEventsResponse
(message)Item
(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
|
IngestEvents |
---|
Uploads a list of
|
RemoveAudienceMembers |
---|
Removes a list of
|
AdIdentifiers
Identifiers and other information used to match the conversion event with other online activity (such as ad clicks).
Fields | |
---|---|
session_attributes |
Optional. Session attributes for event attribution and modeling. |
gclid |
Optional. The Google click ID (gclid) associated with this event. |
gbraid |
Optional. The click identifier for clicks associated with app events and originating from iOS devices starting with iOS14. |
wbraid |
Optional. The click identifier for clicks associated with web events and originating from iOS devices starting with iOS14. |
landing_page_device_info |
Optional. Information gathered about the device being used (if any) at the time of landing onto the advertiser’s site after interacting with the ad. |
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. |
CartData
The cart data associated with the event.
Fields | |
---|---|
merchant_id |
Optional. The Merchant Center ID associated with the items. |
merchant_feed_label |
Optional. The Merchant Center feed label associated with the feed of the items. |
merchant_feed_language_code |
Optional. The language code in ISO 639-1 associated with the Merchant Center feed of the items.where your items are uploaded. |
transaction_discount |
Optional. The sum of all discounts associated with the transaction. |
items[] |
Optional. The list of items associated with the event. |
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. |
CustomVariable
Custom variable for ads conversions.
Fields | |
---|---|
variable |
Optional. The name of the custom variable to set. If the variable is not found for the given destination, it will be ignored. |
value |
Optional. The value to store for the custom variable. |
Destination
The Google product you're sending data to. For example, a Google Ads account.
Fields | |
---|---|
reference |
Optional. ID for this |
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. |
DeviceInfo
Information about the device being used (if any) when the event happened.
Fields | |
---|---|
user_agent |
Optional. The user-agent string of the device for the given context. |
ip_address |
Optional. The IP address of the device for the given context. |
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. |
Event
An event representing a user interaction with an advertiser's website or app.
Fields | |
---|---|
destination_references[] |
Optional. Reference string used to determine the destination. |
transaction_id |
Required. The unique identifier for this event. |
event_timestamp |
Required. The time the event occurred. |
last_updated_timestamp |
Optional. The last time the event was updated. |
user_data |
Optional. Pieces of user provided data, representing the user the event is associated with. |
consent |
Optional. Information about whether the associated user has provided different types of consent. |
ad_identifiers |
Optional. Identifiers and other information used to match the conversion event with other online activity (such as ad clicks). |
currency |
Optional. The currency code associated with all monetary values within this event. |
conversion_value |
Optional. The conversion value associated with the event, for value-based conversions. |
event_source |
Optional. Signal for where the event happened (web, app, in-store, etc.). |
event_device_info |
Optional. Information gathered about the device being used (if any) when the event happened. |
cart_data |
Optional. Information about the transaction and items associated with the event. |
custom_variables[] |
Optional. Additional key/value pair information to send to the conversion containers (conversion action or FL activity). |
experimental_fields[] |
Optional. A list of key/value pairs for experimental fields that may eventually be promoted to be part of the API. |
EventSource
The source of the event.
Enums | |
---|---|
EVENT_SOURCE_UNSPECIFIED |
Unspecified EventSource. Should never be used. |
WEB |
The event was generated from a web browser. |
ExperimentalField
Experimental field representing unofficial fields.
Fields | |
---|---|
field |
Optional. The name of the field to use. |
value |
Optional. The value the field to set. |
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. |
IngestEventsRequest
Request to upload audience members to the provided destinations. Returns an IngestEventsResponse
.
Fields | |
---|---|
destinations[] |
Required. The list of destinations to send the events to. |
events[] |
Required. The list of events to send to the specified destinations. At most 2000 |
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 |
IngestEventsResponse
Response from the IngestEventsRequest
.
Fields | |
---|---|
request_id |
The auto-generated ID of the request. |
Item
Represents an item in the cart associated with the event.
Fields | |
---|---|
merchant_product_id |
Optional. The product ID within the Merchant Center account. |
quantity |
Optional. The number of this item associated with the event. |
unit_price |
Optional. The unit price excluding tax, shipping, and any transaction level discounts. |
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. |