API Reference
Data Manager API

Ingest events (conversions)

POST/v1/events:ingest
Base URL: https://google-ads.mimicr.dev · provider: https://datamanager.googleapis.com

Uploads a list of Event resources from the provided Destination.

For Google Ads offline conversions, operatingAccount is the Google Ads account that owns the conversion action, loginAccount is the account through which the credential's user has access (a manager, or the operating account itself) and productDestinationId is the ID of the conversion action, which must have type UPLOAD_CLICKS. Each event needs eventTimestamp, eventSource and at least one identifier. If any event fails validation, none are processed; validateOnly: true runs the same checks without ingesting.

The response carries a requestId. Events are matched asynchronously: read the outcome with requestStatus:retrieve.

In Mimicr, a request is processed 60 sandbox seconds after it is received (or at once with the control action conversion.process_now). A transactionId starting with reject-<REASON>- ends with PROCESSING_ERROR_REASON_<REASON>, and the gclid test-click-not-found with PROCESSING_ERROR_REASON_CLICK_NOT_FOUND.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Body

application/json
consentobject
Show child attributes
adPersonalizationstring
CONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIED
adUserDatastring
CONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIED
validateOnlyboolean
encodingstring
ENCODING_UNSPECIFIEDHEXBASE64
encryptionInfoobject
Show child attributes
awsWrappedKeyInfoobject
Show child attributes
roleArnstring
encryptedDekstring
keyTypestring
KEY_TYPE_UNSPECIFIEDXCHACHA20_POLY1305
kekUristring
coordinatorKeyInfoobject
Show child attributes
keyIdstring
gcpWrappedKeyInfoobject
Show child attributes
kekUristring
keyTypestring
KEY_TYPE_UNSPECIFIEDXCHACHA20_POLY1305
wipProviderstring
encryptedDekstring
eventsobject[]
Show child attributes
conversionValuenumber<double>
additionalEventParametersobject[]
Show child attributes
parameterNamestring
valuestring
thirdPartyUserDataobject
Show child attributes
userIdentifiersobject[]
Show child attributes
addressobject
Show child attributes
familyNamestring
citystring
postalCodestring
administrativeAreastring
givenNamestring
regionCodestring
addressLinestring
phoneNumberstring
emailAddressstring
callInfoobject
Show child attributes
startTimestampstring<date-time>
destinationReferencesstring[]
customVariablesobject[]
Show child attributes
valuestring
destinationReferencesstring[]
variablestring
clientIdstring
eventSourcestring
EVENT_SOURCE_UNSPECIFIEDWEBAPPIN_STOREPHONEMESSAGEOTHER
eventLocationobject
Show child attributes
storeIdstring
subdivisionCodestring
subcontinentCodestring
citystring
regionCodestring
continentCodestring
experimentalFieldsobject[]
Show child attributes
fieldstring
valuestring
currencystring
conversionCountnumber<double>
lastUpdatedTimestampstring<date-time>
adIdentifiersobject
Show child attributes
landingPageDeviceInfoobject
Show child attributes
screenHeightinteger<int32>
browserstring
operatingSystemstring
brandstring
userAgentstring
modelstring
operatingSystemVersionstring
ipAddressstring
browserVersionstring
categorystring
screenWidthinteger<int32>
languageCodestring
visitorPpidstring
sessionAttributesstring
gclidstring
ppidstring
mobileDeviceIdstring
impressionIdstring
matchIdstring
wbraidstring
leadIdstring
gbraidstring
dclidstring
encryptedUserIdsobject[]
Show child attributes
sourcestring
ENCRYPTION_SOURCE_UNSPECIFIEDAD_SERVINGDATA_TRANSFER
entityTypestring
ENCRYPTION_ENTITY_TYPE_UNSPECIFIEDCAMPAIGN_MANAGER_ACCOUNTCAMPAIGN_MANAGER_ADVERTISERDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERGOOGLE_ADS_CUSTOMERGOOGLE_AD_MANAGER_NETWORK_CODE
encryptedIdstring
entityIdstring<int64>
transactionIdstring
cartDataobject
Show child attributes
itemsobject[]
Show child attributes
itemIdstring
customVariablesobject[]
Show child attributes
destinationReferencesstring[]
valuestring
variablestring
merchantFeedLanguageCodestring
merchantProductIdstring
merchantFeedLabelstring
unitPricenumber<double>
quantitystring<int64>
conversionValuenumber<double>
merchantIdstring
additionalItemParametersobject[]
Show child attributes
valuestring
parameterNamestring
couponCodesstring[]
transactionDiscountnumber<double>
merchantFeedLabelstring
merchantIdstring
merchantFeedLanguageCodestring
eventDeviceInfoobject
Show child attributes
screenHeightinteger<int32>
browserstring
operatingSystemstring
brandstring
userAgentstring
modelstring
operatingSystemVersionstring
ipAddressstring
browserVersionstring
categorystring
screenWidthinteger<int32>
languageCodestring
userDataobject
Show child attributes
userIdentifiersobject[]
Show child attributes
addressobject
Show child attributes
familyNamestring
citystring
postalCodestring
administrativeAreastring
givenNamestring
regionCodestring
addressLinestring
phoneNumberstring
emailAddressstring
eventTimestampstring<date-time>
consentobject
Show child attributes
adPersonalizationstring
CONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIED
adUserDatastring
CONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIED
userPropertiesobject
Show child attributes
additionalUserPropertiesobject[]
Show child attributes
propertyNamestring
valuestring
customerTypestring
CUSTOMER_TYPE_UNSPECIFIEDNEWRETURNINGREENGAGED
customerValueBucketstring
CUSTOMER_VALUE_BUCKET_UNSPECIFIEDLOWMEDIUMHIGH
userIdstring
appInstanceIdstring
eventNamestring
destinationsobject[]
Show child attributes
linkedAccountobject
Show child attributes
productstring
PRODUCT_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNER
accountTypestring
ACCOUNT_TYPE_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERGOOGLE_ANALYTICS_PROPERTYGOOGLE_AD_MANAGER_AUDIENCE_LINKFLOODLIGHT_CONFIGGOOGLE_AD_MANAGER
accountIdstring
operatingAccountobject
Show child attributes
productstring
PRODUCT_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNER
accountTypestring
ACCOUNT_TYPE_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERGOOGLE_ANALYTICS_PROPERTYGOOGLE_AD_MANAGER_AUDIENCE_LINKFLOODLIGHT_CONFIGGOOGLE_AD_MANAGER
accountIdstring
referencestring
productDestinationIdstring
loginAccountobject
Show child attributes
productstring
PRODUCT_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNER
accountTypestring
ACCOUNT_TYPE_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERGOOGLE_ANALYTICS_PROPERTYGOOGLE_AD_MANAGER_AUDIENCE_LINKFLOODLIGHT_CONFIGGOOGLE_AD_MANAGER
accountIdstring

Responses

200Successful response.
fieldWarningsobject[]
Show child attributes
descriptionstring
fieldstring
reasonstring
16 values
WARNING_REASON_UNSPECIFIEDWARNING_REASON_CUSTOM_VARIABLE_NOT_ENABLEDWARNING_REASON_CUSTOM_VARIABLE_NOT_PREDEFINEDWARNING_REASON_CART_DATA_NOT_SUPPORTED_WITH_GBRAID_OR_WBRAIDWARNING_REASON_CART_DATA_ITEM_MERCHANT_PRODUCT_ID_MISSINGWARNING_REASON_CART_DATA_ITEM_UNIT_PRICE_MISSINGWARNING_REASON_GENERICWARNING_REASON_INVALID_CLIENT_IDWARNING_REASON_INVALID_SUBDIVISION_CODEWARNING_REASON_INVALID_REGION_CODEWARNING_REASON_INVALID_SUBCONTINENT_CODEWARNING_REASON_INVALID_CONTINENT_CODEWARNING_REASON_INVALID_DEVICE_CATEGORYWARNING_REASON_INVALID_DEVICE_SCREEN_RESOLUTIONWARNING_REASON_INVALID_MERCHANT_IDWARNING_REASON_INVALID_NUMBER_FORMAT
requestIdstring
400INVALID_ARGUMENT: details holds a google.rpc.BadRequest whose fieldViolations[] carry the field path, a description and the ErrorReason.
errorobject
Show child attributes
codeintegerrequired

The HTTP status code.

Example: 400
messagestringrequired

A developer-facing error message, which should be in English.

Example: "Request contains an invalid argument."
statusstringrequired

The google.rpc.Code name.

INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDED
detailsobject[]

A list of messages that carry the error details.

RpcErrorInfo
@typestring
type.googleapis.com/google.rpc.ErrorInfo
reasonstring

The reason of the error. This is a constant value that identifies the proximate cause of the error.

Example: "SERVICE_DISABLED"
domainstring

The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error.

Example: "googleapis.com"
metadataobject

Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.

RequestInfo
@typestring
type.googleapis.com/google.rpc.RequestInfo
requestIdstring

An opaque string that should only be interpreted by the service generating it.

BadRequest
@typestring
type.googleapis.com/google.rpc.BadRequest
fieldViolationsobject[]

Describes all violations in a client request.

Show child attributes
fieldstring

A path that leads to a field in the request body.

Example: "events[0].event_timestamp"
descriptionstring

A description of why the request element is bad.

reasonstring

The reason of the field-level error. For the Data Manager API, an ErrorReason value.

Example: "INVALID_NUMBER_FORMAT"
Help
@typestring
type.googleapis.com/google.rpc.Help
linksobject[]

URL(s) pointing to additional information on handling the current error.

Show child attributes
descriptionstring

Describes what the link offers.

urlstring

The URL of the link.

LocalizedMessage
@typestring
type.googleapis.com/google.rpc.LocalizedMessage
localestring

The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.

messagestring

The localized error message in the above locale.

401UNAUTHENTICATED: the Authorization header is missing, or the access token is invalid, expired or revoked.
errorobject
Show child attributes
codeintegerrequired

The HTTP status code.

Example: 400
messagestringrequired

A developer-facing error message, which should be in English.

Example: "Request contains an invalid argument."
statusstringrequired

The google.rpc.Code name.

INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDED
detailsobject[]

A list of messages that carry the error details.

RpcErrorInfo
@typestring
type.googleapis.com/google.rpc.ErrorInfo
reasonstring

The reason of the error. This is a constant value that identifies the proximate cause of the error.

Example: "SERVICE_DISABLED"
domainstring

The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error.

Example: "googleapis.com"
metadataobject

Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.

RequestInfo
@typestring
type.googleapis.com/google.rpc.RequestInfo
requestIdstring

An opaque string that should only be interpreted by the service generating it.

BadRequest
@typestring
type.googleapis.com/google.rpc.BadRequest
fieldViolationsobject[]

Describes all violations in a client request.

Show child attributes
fieldstring

A path that leads to a field in the request body.

Example: "events[0].event_timestamp"
descriptionstring

A description of why the request element is bad.

reasonstring

The reason of the field-level error. For the Data Manager API, an ErrorReason value.

Example: "INVALID_NUMBER_FORMAT"
Help
@typestring
type.googleapis.com/google.rpc.Help
linksobject[]

URL(s) pointing to additional information on handling the current error.

Show child attributes
descriptionstring

Describes what the link offers.

urlstring

The URL of the link.

LocalizedMessage
@typestring
type.googleapis.com/google.rpc.LocalizedMessage
localestring

The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.

messagestring

The localized error message in the above locale.

403PERMISSION_DENIED: the token lacks the datamanager scope, the API is disabled in the Cloud project (SERVICE_DISABLED with metadata.activationUrl and a google.rpc.Help link), or the user has no access to the login or operating account.
errorobject
Show child attributes
codeintegerrequired

The HTTP status code.

Example: 400
messagestringrequired

A developer-facing error message, which should be in English.

Example: "Request contains an invalid argument."
statusstringrequired

The google.rpc.Code name.

INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDED
detailsobject[]

A list of messages that carry the error details.

RpcErrorInfo
@typestring
type.googleapis.com/google.rpc.ErrorInfo
reasonstring

The reason of the error. This is a constant value that identifies the proximate cause of the error.

Example: "SERVICE_DISABLED"
domainstring

The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error.

Example: "googleapis.com"
metadataobject

Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.

RequestInfo
@typestring
type.googleapis.com/google.rpc.RequestInfo
requestIdstring

An opaque string that should only be interpreted by the service generating it.

BadRequest
@typestring
type.googleapis.com/google.rpc.BadRequest
fieldViolationsobject[]

Describes all violations in a client request.

Show child attributes
fieldstring

A path that leads to a field in the request body.

Example: "events[0].event_timestamp"
descriptionstring

A description of why the request element is bad.

reasonstring

The reason of the field-level error. For the Data Manager API, an ErrorReason value.

Example: "INVALID_NUMBER_FORMAT"
Help
@typestring
type.googleapis.com/google.rpc.Help
linksobject[]

URL(s) pointing to additional information on handling the current error.

Show child attributes
descriptionstring

Describes what the link offers.

urlstring

The URL of the link.

LocalizedMessage
@typestring
type.googleapis.com/google.rpc.LocalizedMessage
localestring

The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.

messagestring

The localized error message in the above locale.

429RESOURCE_EXHAUSTED: more than 300 requests per minute per project (RATE_LIMIT_EXCEEDED).
errorobject
Show child attributes
codeintegerrequired

The HTTP status code.

Example: 400
messagestringrequired

A developer-facing error message, which should be in English.

Example: "Request contains an invalid argument."
statusstringrequired

The google.rpc.Code name.

INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDED
detailsobject[]

A list of messages that carry the error details.

RpcErrorInfo
@typestring
type.googleapis.com/google.rpc.ErrorInfo
reasonstring

The reason of the error. This is a constant value that identifies the proximate cause of the error.

Example: "SERVICE_DISABLED"
domainstring

The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error.

Example: "googleapis.com"
metadataobject

Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.

RequestInfo
@typestring
type.googleapis.com/google.rpc.RequestInfo
requestIdstring

An opaque string that should only be interpreted by the service generating it.

BadRequest
@typestring
type.googleapis.com/google.rpc.BadRequest
fieldViolationsobject[]

Describes all violations in a client request.

Show child attributes
fieldstring

A path that leads to a field in the request body.

Example: "events[0].event_timestamp"
descriptionstring

A description of why the request element is bad.

reasonstring

The reason of the field-level error. For the Data Manager API, an ErrorReason value.

Example: "INVALID_NUMBER_FORMAT"
Help
@typestring
type.googleapis.com/google.rpc.Help
linksobject[]

URL(s) pointing to additional information on handling the current error.

Show child attributes
descriptionstring

Describes what the link offers.

urlstring

The URL of the link.

LocalizedMessage
@typestring
type.googleapis.com/google.rpc.LocalizedMessage
localestring

The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.

messagestring

The localized error message in the above locale.

500INTERNAL: internal error.
errorobject
Show child attributes
codeintegerrequired

The HTTP status code.

Example: 400
messagestringrequired

A developer-facing error message, which should be in English.

Example: "Request contains an invalid argument."
statusstringrequired

The google.rpc.Code name.

INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDED
detailsobject[]

A list of messages that carry the error details.

RpcErrorInfo
@typestring
type.googleapis.com/google.rpc.ErrorInfo
reasonstring

The reason of the error. This is a constant value that identifies the proximate cause of the error.

Example: "SERVICE_DISABLED"
domainstring

The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error.

Example: "googleapis.com"
metadataobject

Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.

RequestInfo
@typestring
type.googleapis.com/google.rpc.RequestInfo
requestIdstring

An opaque string that should only be interpreted by the service generating it.

BadRequest
@typestring
type.googleapis.com/google.rpc.BadRequest
fieldViolationsobject[]

Describes all violations in a client request.

Show child attributes
fieldstring

A path that leads to a field in the request body.

Example: "events[0].event_timestamp"
descriptionstring

A description of why the request element is bad.

reasonstring

The reason of the field-level error. For the Data Manager API, an ErrorReason value.

Example: "INVALID_NUMBER_FORMAT"
Help
@typestring
type.googleapis.com/google.rpc.Help
linksobject[]

URL(s) pointing to additional information on handling the current error.

Show child attributes
descriptionstring

Describes what the link offers.

urlstring

The URL of the link.

LocalizedMessage
@typestring
type.googleapis.com/google.rpc.LocalizedMessage
localestring

The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.

messagestring

The localized error message in the above locale.