Guides
Conversions via legacy upload
uploadClickConversions in the Google Ads API, blocked by default as in a new 2026 account, and how to unlock it in the sandbox.
Before the Data Manager API, offline conversions went through customers/{c}:uploadClickConversions in the Google Ads API. Since June 15, 2026, Google blocks this path for anyone who did not send uploads between December 2025 and June 2026: calls fail with CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE. New integrations should use the Data Manager.
The block
In Mimicr, the legacyConversionUploadAllowed toggle starts off, as for a new integrator:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [{
"@type": "type.googleapis.com/google.ads.googleads.v26.errors.GoogleAdsFailure",
"errors": [{ "errorCode": { "notAllowlistedError": "CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE" }, "message": "Customer is not allowlisted for accessing this feature." }]
}]
}
}To test an older integration, turn it on:
curl --request PUT \
--url https://api.mimicr.dev/v1/google-ads/homolog \
--header 'Authorization: Bearer mk_...' \
--header 'Content-Type: application/json' \
--data '{ "legacyConversionUploadAllowed": true }'The upload
curl --request POST \
--url https://google-ads.mimicr.dev/v26/customers/2220330728:uploadClickConversions \
--header 'Authorization: Bearer <token>' \
--header 'login-customer-id: 6446154552' \
--header 'Content-Type: application/json' \
--data '{
"conversions": [
{ "gclid": "Cj0KCQPJDPYiExQ7aiQacNH20C5wAAAAyy_giOau0s0I4MbTSsCxFs6kmrUGpn3zoZxQNdPjMWOaWC6sVy9Tpv", "conversionAction": "customers/2220330728/conversionActions/54542600312", "conversionDateTime": "2026-11-05 22:36:40-03:00", "conversionValue": 10, "currencyCode": "BRL", "orderId": "legado-1" },
{ "gclid": "abc", "conversionAction": "customers/2220330728/conversionActions/54542600312", "conversionDateTime": "2026-11-06 12:00:00-03:00", "conversionValue": 10, "currencyCode": "BRL", "orderId": "legado-2" }
],
"partialFailure": true
}'partialFailure: true is required; without it, partialFailureError: PARTIAL_FAILURE_MODE_REQUIRED. conversionDateTime uses yyyy-mm-dd hh:mm:ss+|-hh:mm.
The response
Here matching is synchronous. Each accepted row comes back in results; rejected ones become {} in the same position and the error goes to partialFailureError:
{
"results": [
{ "gclid": "Cj0KCQPJDPYiExQ7aiQacNH20C5wAAAAyy_giOau0s0I4MbTSsCxFs6kmrUGpn3zoZxQNdPjMWOaWC6sVy9Tpv", "conversionAction": "customers/2220330728/conversionActions/54542600312", "conversionDateTime": "2026-11-05 22:36:40-03:00" },
{}
],
"partialFailureError": {
"code": 3,
"message": "The imported gclid could not be decoded., at conversions[1].gclid",
"details": [{
"@type": "type.googleapis.com/google.ads.googleads.v26.errors.GoogleAdsFailure",
"errors": [{ "errorCode": { "conversionUploadError": "UNPARSEABLE_GCLID" }, "message": "The imported gclid could not be decoded.", "location": { "fieldPathElements": [{ "fieldName": "conversions", "index": 1 }, { "fieldName": "gclid" }] } }]
}]
},
"jobId": "1793928401"
}The conversionUploadError codes follow the same rules as the Data Manager: UNPARSEABLE_GCLID, CLICK_NOT_FOUND, CONVERSION_PRECEDES_EVENT, EXPIRED_EVENT, TOO_RECENT_EVENT, DUPLICATE_ORDER_ID, INVALID_CUSTOMER_FOR_CLICK, NO_CONVERSION_ACTION_FOUND, INVALID_CONVERSION_ACTION_TYPE and GBRAID_WBRAID_BOTH_SET.
Conversion adjustments (uploadConversionAdjustments) and call conversions are not simulated and respond 501. See Upload click conversions.