Package google.ads.datamanager.v1

  • The IngestionService allows uploading and removing audience data to supported destinations through methods like IngestAudienceMembers and RemoveAudienceMembers .

  • The API supports different types of identifiers for audience members and events, including user-provided data, PAIR IDs, and mobile device data.

  • Detailed status information for requests can be retrieved using the RetrieveRequestStatus method, including success, processing, failed, or partial success statuses per destination.

  • Data can be encrypted using Google Cloud Platform wrapped keys, and the API provides specific reasons for processing errors and warnings.

  • User data and events can include consent information for DMA compliance and advertiser-assessed user properties.

Index

IngestionService

Service for sending audience data to supported destinations.

IngestAudienceMembers

rpc IngestAudienceMembers( IngestAudienceMembersRequest ) returns ( IngestAudienceMembersResponse )

Uploads a list of AudienceMember resources to the provided Destination .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
IngestEvents

rpc IngestEvents( IngestEventsRequest ) returns ( IngestEventsResponse )

Uploads a list of Event resources from the provided Destination .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
RemoveAudienceMembers

rpc RemoveAudienceMembers( RemoveAudienceMembersRequest ) returns ( RemoveAudienceMembersResponse )

Removes a list of AudienceMember resources from the provided Destination .

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
RetrieveRequestStatus

rpc RetrieveRequestStatus( RetrieveRequestStatusRequest ) returns ( RetrieveRequestStatusResponse )

Gets the status of a request given request id.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager

MarketingDataInsightsService

Service to return insights on marketing data.

This feature is only available to data partners.

RetrieveInsights

rpc RetrieveInsights( RetrieveInsightsRequest ) returns ( RetrieveInsightsResponse )

Retrieves marketing data insights for a given user list.

This feature is only available to data partners.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account : (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Optional) The resource name of the account with an established product link to the login-account . Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager

PartnerLinkService

Service for managing partner links.

UserListDirectLicenseService

Service for managing user list direct licenses. Delete is not a supported operation for UserListDirectLicenses. Callers should update the license status to DISABLED to instead to deactivate a license.

This feature is only available to data partners.

CreateUserListDirectLicense

rpc CreateUserListDirectLicense( CreateUserListDirectLicenseRequest ) returns ( UserListDirectLicense )

Creates a user list direct license.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
GetUserListDirectLicense

rpc GetUserListDirectLicense( GetUserListDirectLicenseRequest ) returns ( UserListDirectLicense )

Retrieves a user list direct license.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
ListUserListDirectLicenses

rpc ListUserListDirectLicenses( ListUserListDirectLicensesRequest ) returns ( ListUserListDirectLicensesResponse )

Lists all user list direct licenses owned by the parent account.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
UpdateUserListDirectLicense

rpc UpdateUserListDirectLicense( UpdateUserListDirectLicenseRequest ) returns ( UserListDirectLicense )

Updates a user list direct license.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager

UserListGlobalLicenseService

Service for managing user list global licenses. Delete is not a supported operation for UserListGlobalLicenses. Callers should update the license status to DISABLED to instead to deactivate a license.

This feature is only available to data partners.

CreateUserListGlobalLicense

rpc CreateUserListGlobalLicense( CreateUserListGlobalLicenseRequest ) returns ( UserListGlobalLicense )

Creates a user list global license.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
GetUserListGlobalLicense

rpc GetUserListGlobalLicense( GetUserListGlobalLicenseRequest ) returns ( UserListGlobalLicense )

Retrieves a user list global license.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
ListUserListGlobalLicenseCustomerInfos

rpc ListUserListGlobalLicenseCustomerInfos( ListUserListGlobalLicenseCustomerInfosRequest ) returns ( ListUserListGlobalLicenseCustomerInfosResponse )

Lists all customer info for a user list global license.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
ListUserListGlobalLicenses

rpc ListUserListGlobalLicenses( ListUserListGlobalLicensesRequest ) returns ( ListUserListGlobalLicensesResponse )

Lists all user list global licenses owned by the parent account.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
UpdateUserListGlobalLicense

rpc UpdateUserListGlobalLicense( UpdateUserListGlobalLicenseRequest ) returns ( UserListGlobalLicense )

Updates a user list global license.

This feature is only available to data partners.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager

UserListService

Service for managing UserList resources.

CreateUserList

rpc CreateUserList( CreateUserListRequest ) returns ( UserList )

Creates a UserList.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account : (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Optional) The resource name of the account with an established product link to the login-account . Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
DeleteUserList

rpc DeleteUserList( DeleteUserListRequest ) returns ( Empty )

Deletes a UserList.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account : (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Optional) The resource name of the account with an established product link to the login-account . Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
GetUserList

rpc GetUserList( GetUserListRequest ) returns ( UserList )

Gets a UserList.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account : (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Optional) The resource name of the account with an established product link to the login-account . Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
ListUserLists

rpc ListUserLists( ListUserListsRequest ) returns ( ListUserListsResponse )

Lists UserLists.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account : (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Optional) The resource name of the account with an established product link to the login-account . Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager
UpdateUserList

rpc UpdateUserList( UpdateUserListRequest ) returns ( UserList )

Updates a UserList.

Authorization Headers:

This method supports the following optional headers to define how the API authorizes access for the request:

  • login-account : (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: accountTypes/{loginAccountType}/accounts/{loginAccountId}
  • linked-account : (Optional) The resource name of the account with an established product link to the login-account . Format: accountTypes/{linkedAccountType}/accounts/{linkedAccountId}
Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/datamanager

AdIdentifiers

Identifiers and other information used to match the conversion event with other online activity (such as ad clicks).

Fields
session_attributes

string

Optional. Session attributes for event attribution and modeling.

gclid

string

Optional. The Google click ID (gclid) associated with this event.

gbraid

string

Optional. The click identifier for clicks associated with app events and originating from iOS devices starting with iOS14.

wbraid

string

Optional. The click identifier for clicks associated with web events and originating from iOS devices starting with iOS14.

landing_page_device_info

DeviceInfo

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

string

Required. Given (first) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256.

family_name

string

Required. Family (last) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256.

region_code

string

Required. The 2-letter region code in ISO-3166-1 alpha-2 of the user's address.

postal_code

string

Required. The postal code of the user's address.

AgeRange

The demographic age ranges

Enums
AGE_RANGE_UNSPECIFIED Not specified.
AGE_RANGE_UNKNOWN Unknown.
AGE_RANGE_18_24 Between 18 and 24 years old.
AGE_RANGE_25_34 Between 25 and 34 years old.
AGE_RANGE_35_44 Between 35 and 44 years old.
AGE_RANGE_45_54 Between 45 and 54 years old.
AGE_RANGE_55_64 Between 55 and 64 years old.
AGE_RANGE_65_UP 65 years old and beyond.

AudienceMember

The audience member to be operated on.

Fields
destination_references[]

string

Optional. Defines which Destination to send the audience member to.

consent

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

UserData

User-provided data that identifies the user.

pair_data

PairData

Publisher Advertiser Identity Reconciliation (PAIR) IDs .

This feature is only available to data partners.

mobile_data

MobileData

Data identifying the user's mobile devices.

user_id_data

UserIdData

Data related to unique identifiers for a user, as defined by the advertiser.

ppid_data

PpidData

Data related to publisher provided identifiers.

This feature is only available to data partners.

AwsWrappedKeyInfo

A data encryption key wrapped by an AWS KMS key.

Fields
key_type

KeyType

Required. The type of algorithm used to encrypt the data.

role_arn

string

Required. The Amazon Resource Name of the IAM Role to assume for KMS decryption access. Should be in the format of arn:{partition}:iam::{account_id}:role/{role_name}

kek_uri

string

Required. The URI of the AWS KMS key used to decrypt the DEK. Should be in the format of arn:{partition}:kms:{region}:{account_id}:key/{key_id} or aws-kms://arn:{partition}:kms:{region}:{account_id}:key/{key_id}

encrypted_dek

string

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

Baseline

Baseline criteria against which insights are compared.

Fields
Union field baseline . Baseline location against which insights are compared. baseline can be only one of the following:
baseline_location

Location

The baseline location of the request. Baseline location is an OR-list of the requested regions.

location_auto_detection_enabled

bool

If set to true, the service will try to automatically detect the baseline location for insights.

Location

The baseline location of the request. Baseline location is on OR-list of ISO 3166-1 alpha-2 region codes of the requested regions.

Fields
region_codes[]

string

List of ISO 3166-1 alpha-2 region codes.

CartData

The cart data associated with the event.

Fields
merchant_id

string

Optional. The Merchant Center ID associated with the items.

merchant_feed_label

string

Optional. The Merchant Center feed label associated with the feed of the items.

merchant_feed_language_code

string

Optional. The language code in ISO 639-1 associated with the Merchant Center feed of the items.where your items are uploaded.

transaction_discount

double

Optional. The sum of all discounts associated with the transaction.

items[]

Item

Optional. The list of items associated with the event.

Digital Markets Act (DMA) consent settings for the user.

Fields
ad_user_data

ConsentStatus

Optional. Represents if the user consents to ad user data.

ad_personalization

ConsentStatus

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.

ContactIdInfo

Additional information when CONTACT_ID is one of the upload_key_types .

Fields
match_rate_percentage

int32

Output only. Match rate for customer match user lists.

data_source_type

DataSourceType

Optional. Immutable. Source of the upload data

CreatePartnerLinkRequest

Request to create a PartnerLink resource. Returns a PartnerLink .

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The parent, which owns this collection of partner links. Format: accountTypes/{account_type}/accounts/{account}

CreateUserListDirectLicenseRequest

Request to create a UserListDirectLicense resource.

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

user_list_direct_license

UserListDirectLicense

Required. The user list direct license to create.

CreateUserListGlobalLicenseRequest

Request to create a UserListGlobalLicense resource.

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

user_list_global_license

UserListGlobalLicense

Required. The user list global license to create.

CreateUserListRequest

Request message for CreateUserList.

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The parent account where this user list will be created. Format: accountTypes/{account_type}/accounts/{account}

user_list

UserList

Required. The user list to create.

validate_only

bool

Optional. If true, the request is validated but not executed.

CustomVariable

Custom variable for ads conversions.

Fields
variable

string

Optional. The name of the custom variable to set. If the variable is not found for the given destination, it will be ignored.

value

string

Optional. The value to store for the custom variable.

destination_references[]

string

Optional. Reference string used to determine which of the Event.destination_references the custom variable should be sent to. If empty, the Event.destination_references will be used.

CustomerType

Type of the customer associated with the event.

Enums
CUSTOMER_TYPE_UNSPECIFIED Unspecified CustomerType. Should never be used.
NEW The customer is new to the advertiser.
RETURNING The customer is returning to the advertiser.
REENGAGED The customer has re-engaged with the advertiser.

CustomerValueBucket

The advertiser-assessed value of the customer.

Enums
CUSTOMER_VALUE_BUCKET_UNSPECIFIED Unspecified CustomerValueBucket. Should never be used.
LOW The customer is low value.
MEDIUM The customer is medium value.
HIGH The customer is high value.

DataSourceType

Indicates source of upload data.

Enums
DATA_SOURCE_TYPE_UNSPECIFIED Not specified.
DATA_SOURCE_TYPE_FIRST_PARTY The uploaded data is first-party data.
DATA_SOURCE_TYPE_THIRD_PARTY_CREDIT_BUREAU The uploaded data is from a third-party credit bureau.
DATA_SOURCE_TYPE_THIRD_PARTY_VOTER_FILE The uploaded data is from a third-party voter file.
DATA_SOURCE_TYPE_THIRD_PARTY_PARTNER_DATA The uploaded data is third party partner data.

DeletePartnerLinkRequest

Request to delete a PartnerLink resource. Returns a google.protobuf.Empty .

You can try this method in the REST APIs explorer:
Fields
name

string

Required. The resource name of the partner link to delete. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}

DeleteUserListRequest

Request message for DeleteUserList.

You can try this method in the REST APIs explorer:
Fields
name

string

Required. The name of the user list to delete. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

validate_only

bool

Optional. If true, the request is validated but not executed.

Destination

The Google product you're sending data to. For example, a Google Ads account.

Fields
reference

string

Optional. ID for this Destination resource, unique within the request. Use to reference this Destination in the IngestEventsRequest and IngestAudienceMembersRequest .

product_destination_id

string

Required. The object within the product account to ingest into. For example, a Google Ads audience ID, a Display & Video 360 audience ID or a Google Ads conversion action ID.

DeviceInfo

Information about the device being used (if any) when the event happened.

Fields
user_agent

string

Optional. The user-agent string of the device for the given context.

ip_address

string

Optional. The IP address of the device for the given context.

Note:Google Ads does not support IP address matching for end users in the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to conditionally exclude sharing IP addresses from users from these regions and ensure that you provide users with clear and comprehensive information about the data you collect on your sites, apps, and other properties and get consent where required by law or any applicable Google policies. See the About offline conversion imports page for more details.

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

GcpWrappedKeyInfo

Google Cloud Platform wrapped key information.

aws_wrapped_key_info

AwsWrappedKeyInfo

Amazon Web Services wrapped key information.

ErrorCount

The error count for a given error reason.

Fields
record_count

int64

The count of records that failed to upload for a given reason.

reason

ProcessingErrorReason

The error reason of the failed records.

ErrorInfo

Error counts for each type of error.

Fields
error_counts[]

ErrorCount

A list of errors and counts per error reason. May not be populated in all cases.

ErrorReason

Error reasons for Data Manager API. NOTE: This enum is not frozen and new values may be added in the future.

Enums
ERROR_REASON_UNSPECIFIED Do not use this default value.
INTERNAL_ERROR An internal error has occurred.
DEADLINE_EXCEEDED The request took too long to respond.
RESOURCE_EXHAUSTED Too many requests.
NOT_FOUND Resource not found.
PERMISSION_DENIED The user does not have permission or the resource is not found.
INVALID_ARGUMENT There was a problem with the request.
REQUIRED_FIELD_MISSING Required field is missing.
INVALID_FORMAT Format is invalid.
INVALID_HEX_ENCODING The HEX encoded value is malformed.
INVALID_BASE64_ENCODING The base64 encoded value is malformed.
INVALID_SHA256_FORMAT The SHA256 encoded value is malformed.
INVALID_POSTAL_CODE Postal code is not valid.
INVALID_COUNTRY_CODE Country code is not valid.
INVALID_ENUM_VALUE Enum value cannot be used.
INVALID_USER_LIST_TYPE Type of the user list is not applicable for this request.
INVALID_AUDIENCE_MEMBER This audience member is not valid.
TOO_MANY_AUDIENCE_MEMBERS Maximum number of audience members allowed per request is 10,000.
TOO_MANY_USER_IDENTIFIERS Maximum number of user identifiers allowed per audience member is 10.
TOO_MANY_DESTINATIONS Maximum number of destinations allowed per request is 10.
INVALID_DESTINATION This Destination is not valid.
DATA_PARTNER_USER_LIST_MUTATE_NOT_ALLOWED Data Partner does not have access to the operating account owned userlist.
INVALID_MOBILE_ID_FORMAT Mobile ID format is not valid.
INVALID_USER_LIST_ID User list is not valid.
MULTIPLE_DATA_TYPES_NOT_ALLOWED Multiple data types are not allowed to be ingested in a single request.
TERMS_AND_CONDITIONS_NOT_SIGNED Required terms and conditions are not accepted.
INVALID_NUMBER_FORMAT Invalid number format.
INVALID_CONVERSION_ACTION_ID Conversion action ID is not valid.
INVALID_CONVERSION_ACTION_TYPE The conversion action type is not valid.
INVALID_CURRENCY_CODE The currency code is not supported.
INVALID_EVENT This event is not valid.
TOO_MANY_EVENTS Maximum number of events allowed per request is 10,000.
DUPLICATE_DESTINATION_REFERENCE Two or more destinations in the request have the same reference.
NO_IDENTIFIERS_PROVIDED Events data contains no user identifiers or ad identifiers.
INVALID_PROPERTY_TYPE The property type is not supported.
INVALID_STREAM_TYPE The stream type is not supported.
EVENT_TIME_INVALID Event did not occur within the acceptable time window.
RESERVED_NAME_USED Parameter uses a reserved name.
INVALID_EVENT_NAME The event name is not supported.
NOT_ALLOWLISTED The account is not allowlisted for the given feature.
INVALID_REQUEST_ID The request ID used to retrieve the status of a request is not valid. Status can only be retrieved for requests that succeed and don't have validate_only=true .
MULTIPLE_DESTINATIONS_FOR_GOOGLE_ANALYTICS_EVENT An event had 2 or more Google Analytics destinations.
FIELD_VALUE_TOO_LONG The field value is too long.
TOO_MANY_ELEMENTS Too many elements in a list in the request.
ALREADY_EXISTS The resource already exists.
IMMUTABLE_FIELD_FOR_UPDATE Attempted to set an immutable field for an update request.
INVALID_RESOURCE_NAME The resource name is invalid.
INVALID_FILTER The query filter is invalid.
INVALID_UPDATE_MASK The update mask is invalid.
INVALID_PAGE_TOKEN The page token is invalid.
CANNOT_UPDATE_DISABLED_LICENSE Cannot update a license that has been disabled.
CANNOT_CREATE_LICENSE_FOR_SENSITIVE_USERLIST Sensitive user lists cannot be licensed to this client.
INSUFFICIENT_COST Cost too low for this license.
CANNOT_DISABLE_LICENSE Reseller license cannot be disabled since it is in use.
PRICING_ONLY_ZERO_COST_ALLOWED Non-zero cost not allowed for this client account.
PRICE_TOO_HIGH Cost too high for this license.
CUSTOMER_NOT_ALLOWED_TO_CREATE_LICENSE Customer not allowed to create license.
INVALID_PRICING_END_DATE Pricing end date is invalid for this license.
CANNOT_LICENSE_LOGICAL_LIST_WITH_LICENSED_OR_SHARED_SEGMENT Logical user list with shared or licensed segment cannot be licensed.
MEDIA_SHARE_COST_NOT_ALLOWED_FOR_LICENSE_TYPE License type does not support media share cost.
MEDIA_SHARE_COST_NOT_ALLOWED_FOR_CLIENT_CUSTOMER Client customer type does not support media share cost.
INVALID_MEDIA_SHARE_COST Invalid media share cost.
INVALID_COST_TYPE Invalid cost type.
MEDIA_SHARE_COST_NOT_ALLOWED_FOR_NON_COMMERCE_USER_LIST UserList type does not support media share cost.
MAX_COST_NOT_ALLOWED Max cost is only allowed for cost_type MEDIA_SHARE.
COMMERCE_AUDIENCE_CAN_ONLY_BE_DIRECTLY_LICENSED Commerce audience can only be directly licensed.
INVALID_DESCRIPTION The description is not valid.
INVALID_DISPLAY_NAME The display name is not valid.
DISPLAY_NAME_ALREADY_USED The display name is already being used for another user list for the account.
OWNERSHIP_REQUIRED_FOR_UPDATE Ownership is required to modify the user list.
USER_LIST_MUTATION_NOT_SUPPORTED The user list type is read-only and does not support mutation.
SENSITIVE_USER_LIST_IMMUTABLE A user list which is privacy sensitive or legal rejected cannot be mutated by external users.
BILLABLE_RECORD_COUNT_IMMUTABLE The remarketing user list's billable record field cannot be modified once it is set.
USER_LIST_NAME_RESERVED The user list name is reserved for system lists.
ADVERTISER_NOT_ALLOWLISTED_FOR_UPLOADED_DATA The advertiser needs to be allowlisted to use remarketing lists created from advertiser uploaded data.
UNSUPPORTED_PARTNER_AUDIENCE_SOURCE The partner audience source is not supported for the user list type.
COMMERCE_PARTNER_NOT_ALLOWED Setting the commerce_partner field is only supported if the partner_audience_source is COMMERCE_AUDIENCE .
UNSUPPORTED_PARTNER_AUDIENCE_INFO The partner_audience_info field is not supported for the user list type.
DATA_PARTNER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA The data partner is not allowlisted for THIRD_PARTY_PARTNER_DATA.
ADVERTISER_TOS_NOT_ACCEPTED The advertiser has not accepted the partner's terms of service.
ADVERTISER_NOT_ALLOWLISTED_FOR_THIRD_PARTY_PARTNER_DATA The advertiser is not allowlisted for THIRD_PARTY_PARTNER_DATA.
INVALID_COMMERCE_PARTNER The commerce_partner field is invalid.
CUSTOMER_NOT_ALLOWLISTED_FOR_COMMERCE_AUDIENCE The data provider is not allowlisted to create commerce audiences.
UNSUPPORTED_USER_LIST_UPLOAD_KEY_TYPES The user list upload key types are not supported.
UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG The ingested user list info config is not supported.

Event

An event representing a user interaction with an advertiser's website or app.

Fields
destination_references[]

string

Optional. Reference string used to determine the destination. If empty, the event will be sent to all destinations in the request.

transaction_id

string

Optional. The unique identifier for this event. Required for conversions using multiple data sources.

event_timestamp

Timestamp

Required. The time the event occurred.

last_updated_timestamp

Timestamp

Optional. The last time the event was updated.

user_data

UserData

Optional. Pieces of user provided data, representing the user the event is associated with.

consent

Consent

Optional. Information about whether the associated user has provided different types of consent.

ad_identifiers

AdIdentifiers

Optional. Identifiers and other information used to match the conversion event with other online activity (such as ad clicks).

currency

string

Optional. The currency code associated with all monetary values within this event.

event_source

EventSource

Optional. Signal for where the event happened (web, app, in-store, etc.).

event_device_info

DeviceInfo

Optional. Information gathered about the device being used (if any) when the event happened.

cart_data

CartData

Optional. Information about the transaction and items associated with the event.

custom_variables[]

CustomVariable

Optional. Additional key/value pair information to send to the conversion containers (conversion action or FL activity).

experimental_fields[]

ExperimentalField

Optional. A list of key/value pairs for experimental fields that may eventually be promoted to be part of the API.

user_properties

UserProperties

Optional. Advertiser-assessed information about the user at the time that the event happened.

event_name

string

Optional. The name of the event. Required for GA4 events.

client_id

string

Optional. A unique identifier for the user instance of a web client for this GA4 web stream.

user_id

string

Optional. A unique identifier for a user, as defined by the advertiser.

additional_event_parameters[]

EventParameter

Optional. A bucket of any event parameters to be included within the event that were not already specified using other structured fields.

conversion_value

double

Optional. The conversion value associated with the event, for value-based conversions.

EventParameter

Event parameter for GA4 events.

Fields
parameter_name

string

Required. The name of the parameter to use.

value

string

Required. The string representation of the value of the parameter to set.

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.
APP The event was generated from an app.
IN_STORE The event was generated from an in-store transaction.
PHONE The event was generated from a phone call.
OTHER The event was generated from other sources.

ExperimentalField

Experimental field representing unofficial fields.

Fields
field

string

Optional. The name of the field to use.

value

string

Optional. The value the field to set.

GcpWrappedKeyInfo

Information about the Google Cloud Platform wrapped key.

Fields
key_type

KeyType

Required. The type of algorithm used to encrypt the data.

wip_provider

string

Required. The Workload Identity pool provider required to use KEK.

kek_uri

string

Required. Google Cloud Platform Cloud Key Management Service resource ID . Should be in the format of projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key} or gcp-kms://projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}

encrypted_dek

string

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

Gender

The type of demographic genders (for example, female).

Enums
GENDER_UNSPECIFIED Not specified.
GENDER_UNKNOWN Unknown.
GENDER_MALE Male.
GENDER_FEMALE Female.

GetUserListDirectLicenseRequest

Request to get a UserListDirectLicense resource.

You can try this method in the REST APIs explorer:
Fields
name

string

Required. The resource name of the user list direct license.

GetUserListGlobalLicenseRequest

Request to get a UserListGlobalLicense resource.

You can try this method in the REST APIs explorer:
Fields
name

string

Required. The resource name of the user list global license.

GetUserListRequest

Request message for GetUserList.

You can try this method in the REST APIs explorer:
Fields
name

string

Required. The resource name of the UserList to retrieve. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

IngestAudienceMembersRequest

Request to upload audience members to the provided destinations. Returns an IngestAudienceMembersResponse .

You can try this method in the REST APIs explorer:
Fields
destinations[]

Destination

Required. The list of destinations to send the audience members to.

audience_members[]

AudienceMember

Required. The list of users to send to the specified destinations. At most 10000 AudienceMember resources can be sent in a single request.

consent

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 AudienceMember .

validate_only

bool

Optional. For testing purposes. If true , the request is validated but not executed. Only errors are returned, not results.

encoding

Encoding

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

encryption_info

EncryptionInfo

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

terms_of_service

TermsOfService

Optional. The terms of service that the user has accepted/rejected.

IngestAudienceMembersResponse

Response from the IngestAudienceMembersRequest .

Fields
request_id

string

The auto-generated ID of the request.

IngestEventsRequest

Request to upload audience members to the provided destinations. Returns an IngestEventsResponse .

You can try this method in the REST APIs explorer:
Fields
destinations[]

Destination

Required. The list of destinations to send the events to.

events[]

Event

Required. The list of events to send to the specified destinations. At most 2000 Event resources can be sent in a single request.

consent

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 Event .

validate_only

bool

Optional. For testing purposes. If true , the request is validated but not executed. Only errors are returned, not results.

encoding

Encoding

Optional. Required for UserData uploads. The encoding type of the user identifiers. For hashed user identifiers, this is the encoding type of the hashed string. For encrypted hashed user identifiers, this is the encoding type of the outer encrypted string, but not necessarily the inner hashed string, meaning the inner hashed string could be encoded in a different way than the outer encrypted string. For non UserData uploads, this field is ignored.

encryption_info

EncryptionInfo

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

IngestEventsResponse

Response from the IngestEventsRequest .

Fields
request_id

string

The auto-generated ID of the request.

IngestedUserListInfo

Represents a user list that is populated by user provided data.

Fields
upload_key_types[]

UploadKeyType

Required. Immutable. Upload key types of this user list.

contact_id_info

ContactIdInfo

Optional. Additional information when CONTACT_ID is one of the upload_key_types .

mobile_id_info

MobileIdInfo

Optional. Additional information when MOBILE_ID is one of the upload_key_types .

user_id_info

UserIdInfo

Optional. Additional information when USER_ID is one of the upload_key_types .

pair_id_info

PairIdInfo

Optional. Additional information when PAIR_ID is one of the upload_key_types .

This feature is only available to data partners.

pseudonymous_id_info

PseudonymousIdInfo

Optional. Additional information for PSEUDONYMOUS_ID is one of the upload_key_types .

partner_audience_info

PartnerAudienceInfo

Optional. Additional information for partner audiences.

This feature is only available to data partners.

UploadKeyType

Enum containing the possible upload key types of a user list.

Enums
UPLOAD_KEY_TYPE_UNSPECIFIED Not specified.
CONTACT_ID Customer info such as email address, phone number or physical address.
MOBILE_ID Mobile advertising ids.
USER_ID Third party provided user ids.
PAIR_ID Publisher advertiser identity reconciliation ids.
PSEUDONYMOUS_ID Data Management Platform IDs: - Google User ID - Partner Provided ID - Publisher Provided ID - iOS IDFA - Android advertising ID - Roku ID - Amazon Fire TV ID - Xbox or Microsoft ID

Item

Represents an item in the cart associated with the event.

Fields
merchant_product_id

string

Optional. The product ID within the Merchant Center account.

quantity

int64

Optional. The number of this item associated with the event.

unit_price

double

Optional. The unit price excluding tax, shipping, and any transaction level discounts.

item_id

string

Optional. A unique identifier to reference the item.

additional_item_parameters[]

ItemParameter

Optional. A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

ItemParameter

A bucket of any event parameters related to an item to be included within the event that were not already specified using other structured fields.

Fields
parameter_name

string

Required. The name of the parameter to use.

value

string

Required. The string representation of the value of the parameter to set.

ListUserListDirectLicensesRequest

Request to list all UserListDirectLicense resources for a given account.

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

filter

string

Optional. Filters to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123).

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=

Unsupported Fields:

  • name (use get method instead)
  • historical_pricings and all its subfields
  • pricing.start_time
  • pricing.end_time
page_size

int32

Optional. The maximum number of licenses to return per page. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserListDirectLicense call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserListDirectLicense must match the call that provided the page token.

ListUserListDirectLicensesResponse

Response from the ListUserListDirectLicensesRequest .

Fields
user_list_direct_licenses[]

UserListDirectLicense

The licenses for the given user list in the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListUserListGlobalLicenseCustomerInfosRequest

Request to list all UserListGlobalLicenseCustomerInfo resources for a given user list global license.

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The global license whose customer info are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}/userListGlobalLicenses/{USER_LIST_GLOBAL_LICENSE_ID} . To list all global license customer info under an account, replace the user list global license id with a '-' (for example, accountTypes/DATA_PARTNER/accounts/123/userListGlobalLicenses/- )

filter

string

Optional. Filters to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123).

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=

Unsupported Fields:

  • name (use get method instead)
  • historical_pricings and all its subfields
  • pricing.start_time
  • pricing.end_time
page_size

int32

Optional. The maximum number of licenses to return. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserListDirectLicense call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserListDirectLicense must match the call that provided the page token.

ListUserListGlobalLicenseCustomerInfosResponse

Response from the [ListUserListGlobalLicensesCustomerInfoRequest][google.ads.datamanager.v1.ListUserListGlobalLicensesCustomerInfoRequest].

Fields
user_list_global_license_customer_infos[]

UserListGlobalLicenseCustomerInfo

The customer information for the given license in the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListUserListGlobalLicensesRequest

Request to list all UserListGlobalLicense resources for a given account.

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

filter

string

Optional. Filters to apply to the list request. All fields need to be on the left hand side of each condition (for example: user_list_id = 123).

Supported Operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=

Unsupported Fields:

  • name (use get method instead)
  • historical_pricings and all its subfields
  • pricing.start_time
  • pricing.end_time
page_size

int32

Optional. The maximum number of licenses to return. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserListGlobalLicense call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserListDirectLicense must match the call that provided the page token.

ListUserListGlobalLicensesResponse

Response from the ListUserListGlobalLicensesRequest .

Fields
user_list_global_licenses[]

UserListGlobalLicense

The licenses for the given user list in the request.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

ListUserListsRequest

Request message for ListUserLists.

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The parent account which owns this collection of user lists. Format: accountTypes/{account_type}/accounts/{account}

page_size

int32

Optional. The maximum number of user lists to return. The service may return fewer than this value. If unspecified, at most 50 user lists will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

page_token

string

Optional. A page token, received from a previous ListUserLists call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListUserLists must match the call that provided the page token.

filter

string

Optional. A filter string . All fields need to be on the left hand side of each condition (for example: display_name = "list 1" ).

Supported operations:

  • AND
  • =
  • !=
  • >
  • >=
  • <
  • <=
  • : (has)

Supported fields:

  • id
  • display_name
  • description
  • membership_status
  • integration_code
  • access_reason
  • ingested_user_list_info.upload_key_types

ListUserListsResponse

Response message for ListUserLists.

Fields
user_lists[]

UserList

The user lists from the specified account.

next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

MatchRateRange

The match rate range of the upload or userlist.

Enums
MATCH_RATE_RANGE_UNKNOWN The match rate range is unknown.
MATCH_RATE_RANGE_NOT_ELIGIBLE The match rate range is not eligible.
MATCH_RATE_RANGE_LESS_THAN_20 The match rate range is less than 20% (in the interval [0, 20) ).
MATCH_RATE_RANGE_20_TO_30 The match rate range is between 20% and 30% (in the interval [20, 31) ).
MATCH_RATE_RANGE_31_TO_40 The match rate range is between 31% and 40% (in the interval [31, 41) ).
MATCH_RATE_RANGE_41_TO_50 The match rate range is between 41% and 50% (in the interval [41, 51) ).
MATCH_RATE_RANGE_51_TO_60 The match rate range is between 51% and 60% (in the interval [51, 61) .
MATCH_RATE_RANGE_61_TO_70 The match rate range is between 61% and 70% (in the interval [61, 71) ).
MATCH_RATE_RANGE_71_TO_80 The match rate range is between 71% and 80% (in the interval [71, 81) ).
MATCH_RATE_RANGE_81_TO_90 The match rate range is between 81% and 90% (in the interval [81, 91) ).
MATCH_RATE_RANGE_91_TO_100

The match rate range is between 91% and 100% (in the interval [91, 100] ).

MobileData

Mobile IDs for the audience. At least one mobile ID is required.

Fields
mobile_ids[]

string

Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 mobileIds can be provided in a single AudienceMember .

MobileIdInfo

Additional information when MOBILE_ID is one of the upload_key_types .

Fields
data_source_type

DataSourceType

Optional. Immutable. Source of the upload data.

key_space

KeySpace

Required. Immutable. The key space of mobile IDs.

app_id

string

Required. Immutable. A string that uniquely identifies a mobile application from which the data was collected.

KeySpace

Key space for mobile ID.

Enums
KEY_SPACE_UNSPECIFIED Not specified.
IOS The iOS keyspace.
ANDROID The Android keyspace.

PairData

PAIR IDs for the audience. At least one PAIR ID is required.

This feature is only available to data partners.

Fields
pair_ids[]

string

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 pairIds can be provided in a single AudienceMember .

PairIdInfo

Additional information when PAIR_ID is one of the upload_key_types .

This feature is only available to data partners.

Fields
match_rate_percentage

int32

Output only. This field denotes the percentage of membership match of this user list with the corresponding publisher's first party data. Must be between 0 and 100 inclusive.

advertiser_identifier_count

int64

Output only. The count of the advertiser's first party data records that have been uploaded to a clean room provider. This does not signify the size of a PAIR user list.

publisher_id

int64

Required. Immutable. Identifies the publisher that the Publisher Advertiser Identity Reconciliation user list is reconciled with. This field is provided by the cleanroom provider and is only unique in the scope of that cleanroom. This cannot be used as a global identifier across multiple cleanrooms.

publisher_name

string

Optional. Descriptive name of the publisher to be displayed in the UI for a better targeting experience.

clean_room_identifier

string

Required. Immutable. Identifies a unique advertiser to publisher relationship with one clean room provider or across multiple clean room providers.

PartnerAudienceInfo

Additional information for partner audiences.

This feature is only available to data partners.

Fields
partner_audience_source

PartnerAudienceSource

Required. Immutable. The source of the partner audience.

commerce_partner

string

Optional. The commerce partner name. Only allowed if partner_audience_source is COMMERCE_AUDIENCE .

PartnerAudienceSource

Partner audience source.

Enums
PARTNER_AUDIENCE_SOURCE_UNSPECIFIED Not specified.
COMMERCE_AUDIENCE Partner Audience source is commerce audience.
LINEAR_TV_AUDIENCE Partner Audience source is linear TV audience.
AGENCY_PROVIDER_AUDIENCE Partner Audience source is agency/provider audience.

PpidData

Publisher provided identifiers data holding the ppids. At least one ppid is required.

This feature is only available to data partners.

Fields
ppids[]

string

Required. The list of publisher provided identifiers for a user.

ProcessingErrorReason

The processing error reason.

Enums
PROCESSING_ERROR_REASON_UNSPECIFIED The processing error reason is unknown.
PROCESSING_ERROR_REASON_INVALID_CUSTOM_VARIABLE The custom variable is invalid.
PROCESSING_ERROR_REASON_CUSTOM_VARIABLE_NOT_ENABLED The status of the custom variable is not enabled.
PROCESSING_ERROR_REASON_EVENT_TOO_OLD The conversion is older than max supported age.
PROCESSING_ERROR_REASON_DUPLICATE_GCLID A conversion with the same GCLID and conversion time already exists in the system.
PROCESSING_ERROR_REASON_DUPLICATE_TRANSACTION_ID A conversion with the same order id and conversion action combination was already uploaded.
PROCESSING_ERROR_REASON_INVALID_GBRAID The gbraid could not be decoded.
PROCESSING_ERROR_REASON_INVALID_GCLID The google click ID could not be decoded.
PROCESSING_ERROR_REASON_INVALID_MERCHANT_ID Merchant id contains non-digit characters.
PROCESSING_ERROR_REASON_INVALID_WBRAID The wbraid could not be decoded.
PROCESSING_ERROR_REASON_INTERNAL_ERROR Internal error.
PROCESSING_ERROR_REASON_INVALID_EVENT The event is invalid.
PROCESSING_ERROR_REASON_INSUFFICIENT_MATCHED_TRANSACTIONS The matched transactions are less than the minimum threshold.
PROCESSING_ERROR_REASON_INSUFFICIENT_TRANSACTIONS The transactions are less than the minimum threshold.
PROCESSING_ERROR_REASON_INVALID_FORMAT The event has format error.
PROCESSING_ERROR_REASON_DECRYPTION_ERROR The event has a decryption error.
PROCESSING_ERROR_REASON_DEK_DECRYPTION_ERROR The DEK failed to be decrypted.
PROCESSING_ERROR_REASON_INVALID_WIP The WIP is formatted incorrectly or the WIP does not exist.
PROCESSING_ERROR_REASON_INVALID_KEK The KEK cannot decrypt data because it is the wrong KEK, or it does not exist.
PROCESSING_ERROR_REASON_WIP_AUTH_FAILED The WIP could not be used because it was rejected by its attestation condition.
PROCESSING_ERROR_REASON_KEK_PERMISSION_DENIED The system did not have the permissions needed to access the KEK.
PROCESSING_ERROR_REASON_AWS_AUTH_FAILED The system failed to authenticate with AWS.
PROCESSING_ERROR_REASON_USER_IDENTIFIER_DECRYPTION_ERROR Failed to decrypt the UserIdentifier data using the DEK.

ProcessingWarningReason

The processing warning reason.

Enums
PROCESSING_WARNING_REASON_UNSPECIFIED The processing warning reason is unknown.
PROCESSING_WARNING_REASON_KEK_PERMISSION_DENIED The system did not have the permissions needed to access the KEK.
PROCESSING_WARNING_REASON_DEK_DECRYPTION_ERROR The DEK failed to be decrypted.
PROCESSING_WARNING_REASON_DECRYPTION_ERROR The event has a decryption error.
PROCESSING_WARNING_REASON_WIP_AUTH_FAILED The WIP could not be used because it was rejected by its attestation condition.
PROCESSING_WARNING_REASON_INVALID_WIP The WIP is formatted incorrectly or the WIP does not exist.
PROCESSING_WARNING_REASON_INVALID_KEK The KEK cannot decrypt data because it is the wrong KEK, or it does not exist.
PROCESSING_WARNING_REASON_USER_IDENTIFIER_DECRYPTION_ERROR Failed to decrypt th UserIdentifier data using the DEK.
PROCESSING_WARNING_REASON_INTERNAL_ERROR Internal error.
PROCESSING_WARNING_REASON_AWS_AUTH_FAILED The system failed to authenticate with AWS.

Product

Deprecated. Use AccountType instead. Represents a specific Google product.

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
(deprecated)

Product

Deprecated. Use account_type instead.

account_id

string

Required. The ID of the account. For example, your Google Ads account ID.

account_type

AccountType

Optional. The type of the account. For example, GOOGLE_ADS . Either account_type or the deprecated product is required. If both are set, the values must match.

AccountType

Represents Google account types. Used to locate accounts and destinations.

Enums
ACCOUNT_TYPE_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.
GOOGLE_ANALYTICS_PROPERTY Google Analytics.

PseudonymousIdInfo

Additional information when PSEUDONYMOUS_ID is one of the upload_key_types .

Fields
sync_status

SyncStatus

Output only. Sync status of the user list.

billable_record_count

int64

Optional. Immutable. The number of billable records (e.g. uploaded or matched).

SyncStatus

Sync status of the user list.

Enums
SYNC_STATUS_UNSPECIFIED Not specified.
CREATED The user list has been created as a placeholder. List contents and/or metadata are still being synced. The user list is not ready for use.
READY_FOR_USE The user list is ready for use. Contents and cookies have been synced correctly.
FAILED An error has occurred syncing user list contents and/or metadata. The user list cannot be used.

RemoveAudienceMembersRequest

Request to remove users from an audience in the provided destinations. Returns a RemoveAudienceMembersResponse .

You can try this method in the REST APIs explorer:
Fields
destinations[]

Destination

Required. The list of destinations to remove the users from.

audience_members[]

AudienceMember

Required. The list of users to remove.

validate_only

bool

Optional. For testing purposes. If true , the request is validated but not executed. Only errors are returned, not results.

encoding

Encoding

Optional. Required for UserData uploads. The encoding type of the user identifiers. Applies to only the outer encoding for encrypted user identifiers. For non UserData uploads, this field is ignored.

encryption_info

EncryptionInfo

Optional. Encryption information for UserData uploads. If not set, it's assumed that uploaded identifying information is hashed but not encrypted. For non UserData uploads, this field is ignored.

RemoveAudienceMembersResponse

Response from the RemoveAudienceMembersRequest .

Fields
request_id

string

The auto-generated ID of the request.

RequestStatusPerDestination

A request status per destination.

Fields
destination

Destination

A destination within a DM API request.

request_status

RequestStatus

The request status of the destination.

error_info

ErrorInfo

An error info error containing the error reason and error counts related to the upload.

warning_info

WarningInfo

A warning info containing the warning reason and warning counts related to the upload.

Union field status . The status of the destination. status can be only one of the following:
audience_members_ingestion_status

IngestAudienceMembersStatus

The status of the ingest audience members request.

events_ingestion_status

IngestEventsStatus

The status of the ingest events request.

audience_members_removal_status

RemoveAudienceMembersStatus

The status of the remove audience members request.

IngestAudienceMembersStatus

The status of the ingest audience members request.

Fields
Union field status . The status of the audience members ingestion to the destination. status can be only one of the following:
user_data_ingestion_status

IngestUserDataStatus

The status of the user data ingestion to the destination.

mobile_data_ingestion_status

IngestMobileDataStatus

The status of the mobile data ingestion to the destination.

pair_data_ingestion_status

IngestPairDataStatus

The status of the pair data ingestion to the destination.

user_id_data_ingestion_status

IngestUserIdDataStatus

The status of the user id data ingestion to the destination.

ppid_data_ingestion_status

IngestPpidDataStatus

The status of the ppid data ingestion to the destination.

IngestEventsStatus

The status of the events ingestion to the destination.

Fields
record_count

int64

The total count of events sent in the upload request. Includes all events in the request, regardless of whether they were successfully ingested or not.

IngestMobileDataStatus

The status of the mobile data ingestion to the destination containing stats related to the ingestion.

Fields
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

mobile_id_count

int64

The total count of mobile ids sent in the upload request for the destination. Includes all mobile ids in the request, regardless of whether they were successfully ingested or not.

IngestPairDataStatus

The status of the pair data ingestion to the destination containing stats related to the ingestion.

Fields
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

pair_id_count

int64

The total count of pair ids sent in the upload request for the destination. Includes all pair ids in the request, regardless of whether they were successfully ingested or not.

IngestPpidDataStatus

The status of the ppid data ingestion to the destination containing stats related to the ingestion.

Fields
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

ppid_count

int64

The total count of ppids sent in the upload request for the destination. Includes all ppids in the request, regardless of whether they were successfully ingested or not.

IngestUserDataStatus

The status of the user data ingestion to the destination containing stats related to the ingestion.

Fields
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

user_identifier_count

int64

The total count of user identifiers sent in the upload request for the destination. Includes all user identifiers in the request, regardless of whether they were successfully ingested or not.

upload_match_rate_range

MatchRateRange

The match rate range of the upload.

IngestUserIdDataStatus

The status of the user id data ingestion to the destination containing stats related to the ingestion.

Fields
record_count

int64

The total count of audience members sent in the upload request for the destination. Includes all audience members in the request, regardless of whether they were successfully ingested or not.

user_id_count

int64

The total count of user ids sent in the upload request for the destination. Includes all user ids in the request, regardless of whether they were successfully ingested or not.

RemoveAudienceMembersStatus

The status of the remove audience members request.

Fields
Union field status . The status of the audience members removal from the destination. status can be only one of the following:
user_data_removal_status

RemoveUserDataStatus

The status of the user data removal from the destination.

mobile_data_removal_status

RemoveMobileDataStatus

The status of the mobile data removal from the destination.

pair_data_removal_status

RemovePairDataStatus

The status of the pair data removal from the destination.

user_id_data_removal_status

RemoveUserIdDataStatus

The status of the user id data removal from the destination.

ppid_data_removal_status

RemovePpidDataStatus

The status of the ppid data removal from the destination.

RemoveMobileDataStatus

The status of the mobile data removal from the destination.

Fields
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

mobile_id_count

int64

The total count of mobile Ids sent in the removal request. Includes all mobile ids in the request, regardless of whether they were successfully removed or not.

RemovePairDataStatus

The status of the pair data removal from the destination.

Fields
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

pair_id_count

int64

The total count of pair ids sent in the removal request. Includes all pair ids in the request, regardless of whether they were successfully removed or not.

RemovePpidDataStatus

The status of the ppid data removal from the destination.

Fields
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

ppid_count

int64

The total count of ppids sent in the removal request. Includes all ppids in the request, regardless of whether they were successfully removed or not.

RemoveUserDataStatus

The status of the user data removal from the destination.

Fields
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

user_identifier_count

int64

The total count of user identifiers sent in the removal request. Includes all user identifiers in the request, regardless of whether they were successfully removed or not.

RemoveUserIdDataStatus

The status of the user id data removal from the destination.

Fields
record_count

int64

The total count of audience members sent in the removal request. Includes all audience members in the request, regardless of whether they were successfully removed or not.

user_id_count

int64

The total count of user ids sent in the removal request. Includes all user ids in the request, regardless of whether they were successfully removed or not.

RequestStatus

The request status.

Enums
REQUEST_STATUS_UNKNOWN The request status is unknown.
SUCCESS The request succeeded.
PROCESSING The request is processing.
FAILED The request failed.
PARTIAL_SUCCESS The request partially succeeded.

RetrieveInsightsRequest

Request message for DM API MarketingDataInsightsService.RetrieveInsights

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. The parent account that owns the user list. Format: accountTypes/{account_type}/accounts/{account}

baseline

Baseline

Required. Baseline for the insights requested.

user_list_id

string

Required. The user list ID for which insights are requested.

RetrieveInsightsResponse

Response message for DM API MarketingDataInsightsService.RetrieveInsights

Fields
marketing_data_insights[]

MarketingDataInsight

Contains the insights for the marketing data.

MarketingDataInsight

Insights for marketing data.

This feature is only available to data partners.

Fields
dimension

AudienceInsightsDimension

The dimension to which the insight belongs.

attributes[]

MarketingDataInsightsAttribute

Insights for values of a given dimension.

AudienceInsightsDimension

Possible dimensions for use in generating insights.

Enums
AUDIENCE_INSIGHTS_DIMENSION_UNSPECIFIED Not specified.
AUDIENCE_INSIGHTS_DIMENSION_UNKNOWN The value is unknown in this version.
AFFINITY_USER_INTEREST An Affinity UserInterest.
IN_MARKET_USER_INTEREST An In-Market UserInterest.
AGE_RANGE An age range.
GENDER A gender.

MarketingDataInsightsAttribute

Insights for a collection of related attributes of the same dimension.

Fields
user_interest_id

int64

The user interest ID.

lift

float

Measure of lift that the audience has for the attribute value as compared to the baseline. Range [0-1].

age_range

AgeRange

Age range of the audience for which the lift is provided.

gender

Gender

Gender of the audience for which the lift is provided.

RetrieveRequestStatusRequest

Request to get the status of request made to the DM API for a given request ID. Returns a RetrieveRequestStatusResponse .

You can try this method in the REST APIs explorer:
Fields
request_id

string

Required. Required. The request ID of the Data Manager API request.

RetrieveRequestStatusResponse

Response from the RetrieveRequestStatusRequest .

Fields
request_status_per_destination[]

RequestStatusPerDestination

A list of request statuses per destination. The order of the statuses matches the order of the destinations in the original request.

SearchPartnerLinksRequest

Request to search for PartnerLink resources. Returns a SearchPartnerLinksResponse .

You can try this method in the REST APIs explorer:
Fields
parent

string

Required. Account to search for partner links. If no filter is specified, all partner links where this account is either the owning_account or partner_account are returned.

Format: accountTypes/{account_type}/accounts/{account}

page_size

int32

The maximum number of partner links to return. The service may return fewer than this value. If unspecified, at most 10 partner links will be returned. The maximum value is 100; values above 100 will be coerced to 100.

page_token

string

A page token, received from a previous SearchPartnerLinks call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to SearchPartnerLinks must match the call that provided the page token.

filter

string

Optional. A filter string . All fields need to be on the left hand side of each condition (for example: partner_link_id = 123456789 ).

Supported operations:

  • AND
  • =
  • !=

Supported fields:

  • partner_link_id
  • owning_account.account_type
  • owning_account.account_id
  • partner_account.account_type
  • partner_account.account_id

Example: owning_account.account_type = "GOOGLE_ADS" OR partner_account.account_id = 987654321

SearchPartnerLinksResponse

Response from the SearchPartnerLinksRequest .

Fields
next_page_token

string

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

SizeInfo

Estimated number of members in this user list in different target networks.

Fields
display_network_members_count

int64

Output only. Estimated number of members in this user list, on the Google Display Network.

search_network_members_count

int64

Output only. Estimated number of members in this user list in the google.com domain. These are the members available for targeting in Search campaigns.

TargetNetworkInfo

Eligibility information for different target networks.

Fields
eligible_for_display

bool

Output only. Indicates this user list is eligible for Google Display Network.

TermsOfService

The terms of service that the user has accepted/rejected.

Fields
customer_match_terms_of_service_status

TermsOfServiceStatus

Optional. The Customer Match terms of service: https://support.google.com/adspolicy/answer/6299717 . This must be accepted when ingesting UserData or MobileData . This field is not required for Partner Match User list.

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.

UpdateUserListDirectLicenseRequest

Request to update a UserListDirectLicense resource.

You can try this method in the REST APIs explorer:
Fields
user_list_direct_license

UserListDirectLicense

Required. The licenses' name field is used to identify the license to update.

update_mask

FieldMask

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

UpdateUserListGlobalLicenseRequest

Request to update a UserListGlobalLicense resource.

You can try this method in the REST APIs explorer:
Fields
user_list_global_license

UserListGlobalLicense

Required. The licenses' name field is used to identify the license to update.

update_mask

FieldMask

Optional. The list of fields to update. The special character * is not supported and an INVALID_UPDATE_MASK error will be thrown if used.

UpdateUserListRequest

Request message for UpdateUserList.

You can try this method in the REST APIs explorer:
Fields
user_list

UserList

Required. The user list to update.

The user list's name field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

update_mask

FieldMask

Optional. The list of fields to update.

validate_only

bool

Optional. If true, the request is validated but not executed.

UserData

Data that identifies the user. At least one identifier is required.

Fields
user_identifiers[]

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 or Event .

UserIdData

User id data holding the user id.

Fields
user_id

string

Required. A unique identifier for a user, as defined by the advertiser.

UserIdInfo

Additional information when USER_ID is one of the upload_key_types .

Fields
data_source_type

DataSourceType

Optional. Immutable. Source of the upload data.

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

string

Hashed email address using SHA-256 hash function after normalization.

phone_number

string

Hashed phone number using SHA-256 hash function after normalization (E164 standard).

address

AddressInfo

The known components of a user's address. Holds a grouping of identifiers that are matched all at once.

UserList

A user list resource.

Fields
name

string

Identifier. The resource name of the user list. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

id

int64

Output only. The unique ID of the user list.

read_only

bool

Output only. An option that indicates if a user may edit a list.

membership_duration

Duration

Optional. The duration a user remains in the user list. Valid durations are exact multiples of 24 hours (86400 seconds). Providing a value that is not an exact multiple of 24 hours will result in an INVALID_ARGUMENT error.

access_reason

AccessReason

Output only. The reason this account has been granted access to the list.

size_info

SizeInfo

Output only. Estimated number of members in this user list in different target networks.

target_network_info

TargetNetworkInfo

Optional. Eligibility information for different target networks.

display_name

string

Required. The display name of the user list.

description

string

Optional. A description of the user list.

membership_status

MembershipStatus

Optional. Membership status of this user list.

integration_code

string

Optional. An ID from external system. It is used by user list sellers to correlate IDs on their systems.

closing_reason

ClosingReason

Output only. The reason why this user list membership status is closed.

account_access_status

AccessStatus

Optional. Indicates if this share is still enabled. When a user list is shared with the account this field is set to ENABLED . Later the user list owner can decide to revoke the share and make it DISABLED .

Union field user_list_info . Additional information about the user list. user_list_info can be only one of the following:
ingested_user_list_info

IngestedUserListInfo

Optional. Represents a user list that is populated by user ingested data.

AccessReason

Enum describing possible access reasons.

Enums
ACCESS_REASON_UNSPECIFIED Not specified.
OWNED The resource is owned by the user.
SHARED The resource is shared to the user.
LICENSED The resource is licensed to the user.
SUBSCRIBED The user subscribed to the resource.
AFFILIATED The resource is accessible to the user.

AccessStatus

Indicates if this client still has access to the list.

Enums
ACCESS_STATUS_UNSPECIFIED Not specified.
ENABLED The access is enabled.
DISABLED The access is disabled.

ClosingReason

Indicates the reason why the user list was closed. This enum is only used when a list is auto-closed by the system.

Enums
CLOSING_REASON_UNSPECIFIED Not specified.
UNUSED The user list was closed because it has not been used in targeting recently. See https://support.google.com/google-ads/answer/2472738 for details.

MembershipStatus

Status of the user list.

Enums
MEMBERSHIP_STATUS_UNSPECIFIED Not specified.
OPEN Open status - User list is accruing members and can be targeted to.
CLOSED Closed status - No new members being added.

UserListDirectLicense

A user list direct license.

This feature is only available to data partners.

Fields
name

string

Identifier. The resource name of the user list direct license.

user_list_display_name

string

Output only. Name of the user list being licensed.

This field is read-only.

pricing

UserListLicensePricing

Optional. UserListDirectLicense pricing.

historical_pricings[]

UserListLicensePricing

Output only. Pricing history of this user list license.

This field is read-only.

metrics

UserListLicenseMetrics

Output only. Metrics related to this license

This field is read-only and only populated if the start and end dates are set in the ListUserListDirectLicenses call

user_list_id

int64

Immutable. ID of the user list being licensed.

status

UserListLicenseStatus

Optional. Status of UserListDirectLicense - ENABLED or DISABLED.

UserListGlobalLicense

A user list global license.

This feature is only available to data partners.

Fields
name

string

Identifier. The resource name of the user list global license.

user_list_display_name

string

Output only. Name of the user list being licensed.

This field is read-only.

pricing

UserListLicensePricing

Optional. UserListGlobalLicense pricing.

historical_pricings[]

UserListLicensePricing

Output only. Pricing history of this user list license.

This field is read-only.

metrics

UserListLicenseMetrics

Output only. Metrics related to this license

This field is read-only and only populated if the start and end dates are set in the ListUserListGlobalLicenses call

user_list_id

int64

Immutable. ID of the user list being licensed.

license_type

UserListGlobalLicenseType

Immutable. Product type of client customer which the user list is being licensed to.

status

UserListLicenseStatus

Optional. Status of UserListGlobalLicense - ENABLED or DISABLED.

UserListGlobalLicenseCustomerInfo

Information about a customer of a user list global license. This will automatically be created by the system when a customer purchases a global license.

Fields
name

string

Identifier. The resource name of the user list global license customer.

user_list_id

int64

Output only. ID of the user list being licensed.

user_list_display_name

string

Output only. Name of the user list being licensed.

license_type

UserListGlobalLicenseType

Output only. Product type of client customer which the user list is being licensed to.

status

UserListLicenseStatus

Output only. Status of UserListDirectLicense - ENABLED or DISABLED.

pricing

UserListLicensePricing

Output only. UserListDirectLicense pricing.

historical_pricings[]

UserListLicensePricing

Output only. Pricing history of this user list license.

metrics

UserListLicenseMetrics

Output only. Metrics related to this license

This field is only populated if the start and end dates are set in the ListUserListGlobalLicenseCustomerInfos call.

UserListGlobalLicenseType

User list global license types.

Enums
USER_LIST_GLOBAL_LICENSE_TYPE_UNSPECIFIED UNSPECIFIED.
USER_LIST_GLOBAL_LICENSE_TYPE_RESELLER Reseller license.
USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_SELL_SIDE DataMart Sell Side license.
USER_LIST_GLOBAL_LICENSE_TYPE_DATA_MART_BUY_SIDE DataMart Buy Side license.

UserListLicenseClientAccountType

Possible product of a client account for a user list license.

Enums

UserListLicenseMetrics

Metrics related to a user list license.

Fields
click_count

int64

Output only. The number of clicks for the user list license.

impression_count

int64

Output only. The number of impressions for the user list license.

revenue_usd_micros

int64

Output only. The revenue for the user list license in USD micros.

start_date

int64

Output only. The start date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If end_date is used in the filter, start_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

end_date

int64

Output only. The end date (inclusive) of the metrics in the format YYYYMMDD. For example, 20260102 represents January 2, 2026. If start_date is used in the filter, end_date is also required. If neither start_date nor end_date are included in the filter, the UserListLicenseMetrics fields will not be populated in the response.

UserListLicensePricing

A user list license pricing.

Fields
pricing_id

int64

Output only. The ID of this pricing.

start_time

Timestamp

Output only. Start time of the pricing.

end_time

Timestamp

Optional. End time of the pricing.

pricing_active

bool

Output only. Whether this pricing is active.

buyer_approval_state

UserListPricingBuyerApprovalState

Output only. The buyer approval state of this pricing.

This field is read-only.

cost_micros

int64

Optional. The cost associated with the model, in micro units (10^-6), in the currency specified by the currency_code field. For example, 2000000 means $2 if currency_code is USD .

currency_code

string

Optional. The currency in which cost and max_cost is specified. Must be a three-letter currency code defined in ISO 4217.

cost_type

UserListPricingCostType

Immutable. The cost type of this pricing.

Can be set only in the create operation. Can't be updated for an existing license.

max_cost_micros

int64

Optional. The maximum CPM a commerce audience can be charged when the MEDIA_SHARE cost type is used. The value is in micro units (10^-6) and in the currency specified by the currency_code field. For example, 2000000 means $2 if currency_code is USD .

This is only relevant when cost_type is MEDIA_SHARE. When cost_type is not MEDIA_SHARE, and this field is set, a MAX_COST_NOT_ALLOWED error will be returned. If not set or set to 0 , there is no cap.

UserListPricingBuyerApprovalState

User list pricing buyer approval state.

Enums
USER_LIST_PRICING_BUYER_APPROVAL_STATE_UNSPECIFIED UNSPECIFIED.
PENDING User list client has not yet accepted the pricing terms set by the user list owner.
APPROVED User list client has accepted the pricing terms set by the user list owner.
REJECTED User list client has rejected the pricing terms set by the user list owner.

UserListPricingCostType

User list pricing cost type.

Enums
USER_LIST_PRICING_COST_TYPE_UNSPECIFIED Unspecified.
CPC Cost per click.
CPM Cost per mille (thousand impressions).
MEDIA_SHARE Media share.

UserListLicenseStatus

User list license status.

Enums
USER_LIST_LICENSE_STATUS_UNSPECIFIED Unknown.
USER_LIST_LICENSE_STATUS_ENABLED Active status - user list is still being licensed.
USER_LIST_LICENSE_STATUS_DISABLED Inactive status - user list is no longer being licensed.

UserProperties

Advertiser-assessed information about the user at the time that the event happened. See https://support.google.com/google-ads/answer/14007601 for more details.

Fields
customer_type

CustomerType

Optional. Type of the customer associated with the event.

customer_value_bucket

CustomerValueBucket

Optional. The advertiser-assessed value of the customer.

additional_user_properties[]

UserProperty

Optional. A bucket of any additional user properties for the user associated with this event.

UserProperty

A bucket of any additional user properties for the user associated with this event.

Fields
property_name

string

Required. The name of the user property to use.

value

string

Required. The string representation of the value of the user property to use.

WarningCount

The warning count for a given warning reason.

Fields
record_count

int64

The count of records that have a warning.

reason

ProcessingWarningReason

The warning reason.

WarningInfo

Warning counts for each type of warning.

Fields
warning_counts[]

WarningCount

A list of warnings and counts per warning reason.

Design a Mobile Site
View Site in Mobile | Classic
Share by: