API Reference
Ingest events (conversions)
/v1/events:ingesthttps://google-ads.mimicr.dev · provider: https://datamanager.googleapis.comUploads 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/jsonShow child attributes
CONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIEDCONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIEDENCODING_UNSPECIFIEDHEXBASE64Show child attributes
Show child attributes
KEY_TYPE_UNSPECIFIEDXCHACHA20_POLY1305Show child attributes
Show child attributes
KEY_TYPE_UNSPECIFIEDXCHACHA20_POLY1305Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
EVENT_SOURCE_UNSPECIFIEDWEBAPPIN_STOREPHONEMESSAGEOTHERShow child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
ENCRYPTION_SOURCE_UNSPECIFIEDAD_SERVINGDATA_TRANSFERENCRYPTION_ENTITY_TYPE_UNSPECIFIEDCAMPAIGN_MANAGER_ACCOUNTCAMPAIGN_MANAGER_ADVERTISERDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERGOOGLE_ADS_CUSTOMERGOOGLE_AD_MANAGER_NETWORK_CODEShow child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
CONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIEDCONSENT_STATUS_UNSPECIFIEDCONSENT_GRANTEDCONSENT_DENIEDShow child attributes
Show child attributes
CUSTOMER_TYPE_UNSPECIFIEDNEWRETURNINGREENGAGEDCUSTOMER_VALUE_BUCKET_UNSPECIFIEDLOWMEDIUMHIGHShow child attributes
Show child attributes
PRODUCT_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERACCOUNT_TYPE_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERGOOGLE_ANALYTICS_PROPERTYGOOGLE_AD_MANAGER_AUDIENCE_LINKFLOODLIGHT_CONFIGGOOGLE_AD_MANAGERShow child attributes
PRODUCT_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERACCOUNT_TYPE_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERGOOGLE_ANALYTICS_PROPERTYGOOGLE_AD_MANAGER_AUDIENCE_LINKFLOODLIGHT_CONFIGGOOGLE_AD_MANAGERShow child attributes
PRODUCT_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERACCOUNT_TYPE_UNSPECIFIEDGOOGLE_ADSDISPLAY_VIDEO_PARTNERDISPLAY_VIDEO_ADVERTISERDATA_PARTNERGOOGLE_ANALYTICS_PROPERTYGOOGLE_AD_MANAGER_AUDIENCE_LINKFLOODLIGHT_CONFIGGOOGLE_AD_MANAGERResponses
200Successful response.
Show child attributes
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_FORMAT400INVALID_ARGUMENT: details holds a google.rpc.BadRequest whose fieldViolations[] carry the field path, a description and the ErrorReason.
Show child attributes
The HTTP status code.
400A developer-facing error message, which should be in English.
"Request contains an invalid argument."The google.rpc.Code name.
INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDEDA list of messages that carry the error details.
RpcErrorInfo
type.googleapis.com/google.rpc.ErrorInfoThe reason of the error. This is a constant value that identifies the proximate cause of the error.
"SERVICE_DISABLED"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.
"googleapis.com"Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.
RequestInfo
type.googleapis.com/google.rpc.RequestInfoAn opaque string that should only be interpreted by the service generating it.
BadRequest
type.googleapis.com/google.rpc.BadRequestDescribes all violations in a client request.
Show child attributes
A path that leads to a field in the request body.
"events[0].event_timestamp"A description of why the request element is bad.
The reason of the field-level error. For the Data Manager API, an ErrorReason value.
"INVALID_NUMBER_FORMAT"Help
type.googleapis.com/google.rpc.HelpURL(s) pointing to additional information on handling the current error.
Show child attributes
Describes what the link offers.
The URL of the link.
LocalizedMessage
type.googleapis.com/google.rpc.LocalizedMessageThe locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
The localized error message in the above locale.
401UNAUTHENTICATED: the Authorization header is missing, or the access token is invalid, expired or revoked.
Show child attributes
The HTTP status code.
400A developer-facing error message, which should be in English.
"Request contains an invalid argument."The google.rpc.Code name.
INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDEDA list of messages that carry the error details.
RpcErrorInfo
type.googleapis.com/google.rpc.ErrorInfoThe reason of the error. This is a constant value that identifies the proximate cause of the error.
"SERVICE_DISABLED"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.
"googleapis.com"Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.
RequestInfo
type.googleapis.com/google.rpc.RequestInfoAn opaque string that should only be interpreted by the service generating it.
BadRequest
type.googleapis.com/google.rpc.BadRequestDescribes all violations in a client request.
Show child attributes
A path that leads to a field in the request body.
"events[0].event_timestamp"A description of why the request element is bad.
The reason of the field-level error. For the Data Manager API, an ErrorReason value.
"INVALID_NUMBER_FORMAT"Help
type.googleapis.com/google.rpc.HelpURL(s) pointing to additional information on handling the current error.
Show child attributes
Describes what the link offers.
The URL of the link.
LocalizedMessage
type.googleapis.com/google.rpc.LocalizedMessageThe locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
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.
Show child attributes
The HTTP status code.
400A developer-facing error message, which should be in English.
"Request contains an invalid argument."The google.rpc.Code name.
INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDEDA list of messages that carry the error details.
RpcErrorInfo
type.googleapis.com/google.rpc.ErrorInfoThe reason of the error. This is a constant value that identifies the proximate cause of the error.
"SERVICE_DISABLED"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.
"googleapis.com"Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.
RequestInfo
type.googleapis.com/google.rpc.RequestInfoAn opaque string that should only be interpreted by the service generating it.
BadRequest
type.googleapis.com/google.rpc.BadRequestDescribes all violations in a client request.
Show child attributes
A path that leads to a field in the request body.
"events[0].event_timestamp"A description of why the request element is bad.
The reason of the field-level error. For the Data Manager API, an ErrorReason value.
"INVALID_NUMBER_FORMAT"Help
type.googleapis.com/google.rpc.HelpURL(s) pointing to additional information on handling the current error.
Show child attributes
Describes what the link offers.
The URL of the link.
LocalizedMessage
type.googleapis.com/google.rpc.LocalizedMessageThe locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
The localized error message in the above locale.
429RESOURCE_EXHAUSTED: more than 300 requests per minute per project (RATE_LIMIT_EXCEEDED).
Show child attributes
The HTTP status code.
400A developer-facing error message, which should be in English.
"Request contains an invalid argument."The google.rpc.Code name.
INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDEDA list of messages that carry the error details.
RpcErrorInfo
type.googleapis.com/google.rpc.ErrorInfoThe reason of the error. This is a constant value that identifies the proximate cause of the error.
"SERVICE_DISABLED"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.
"googleapis.com"Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.
RequestInfo
type.googleapis.com/google.rpc.RequestInfoAn opaque string that should only be interpreted by the service generating it.
BadRequest
type.googleapis.com/google.rpc.BadRequestDescribes all violations in a client request.
Show child attributes
A path that leads to a field in the request body.
"events[0].event_timestamp"A description of why the request element is bad.
The reason of the field-level error. For the Data Manager API, an ErrorReason value.
"INVALID_NUMBER_FORMAT"Help
type.googleapis.com/google.rpc.HelpURL(s) pointing to additional information on handling the current error.
Show child attributes
Describes what the link offers.
The URL of the link.
LocalizedMessage
type.googleapis.com/google.rpc.LocalizedMessageThe locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
The localized error message in the above locale.
500INTERNAL: internal error.
Show child attributes
The HTTP status code.
400A developer-facing error message, which should be in English.
"Request contains an invalid argument."The google.rpc.Code name.
INVALID_ARGUMENTUNAUTHENTICATEDPERMISSION_DENIEDNOT_FOUNDABORTEDRESOURCE_EXHAUSTEDINTERNALUNIMPLEMENTEDUNAVAILABLEDEADLINE_EXCEEDEDA list of messages that carry the error details.
RpcErrorInfo
type.googleapis.com/google.rpc.ErrorInfoThe reason of the error. This is a constant value that identifies the proximate cause of the error.
"SERVICE_DISABLED"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.
"googleapis.com"Additional structured details about this error. For SERVICE_DISABLED: consumer, service, serviceTitle, containerInfo and activationUrl.
RequestInfo
type.googleapis.com/google.rpc.RequestInfoAn opaque string that should only be interpreted by the service generating it.
BadRequest
type.googleapis.com/google.rpc.BadRequestDescribes all violations in a client request.
Show child attributes
A path that leads to a field in the request body.
"events[0].event_timestamp"A description of why the request element is bad.
The reason of the field-level error. For the Data Manager API, an ErrorReason value.
"INVALID_NUMBER_FORMAT"Help
type.googleapis.com/google.rpc.HelpURL(s) pointing to additional information on handling the current error.
Show child attributes
Describes what the link offers.
The URL of the link.
LocalizedMessage
type.googleapis.com/google.rpc.LocalizedMessageThe locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
The localized error message in the above locale.