The following examples are a starting point for troubleshooting. They are not a ranking by frequency.
Access and authentication - HTTP 403
|
Code |
Meaning |
How to resolve |
|
403.01 |
No API key was provided. |
Add your API key to the x-api-key header. |
|
403.02 |
The API key was not recognized. |
Check for a typo or revoked key. Contact support for a replacement if needed. |
|
403.03 |
The advertiser is not available to your retailer account. |
Check the advertiser ID. Contact support if you expect access. |
|
403.04 |
The campaign is not available to your retailer account. |
Check the campaign ID. Contact support if you expect access. |
Resources not found - HTTP 404
|
Code |
Meaning |
How to resolve |
|
404.01 |
The advertiser ID does not exist. |
Check the ID and whether use_client_ids matches the ID type. |
|
404.02 |
The campaign ID used in a report does not exist. |
Check the campaign ID. |
|
404.03 |
No advertiser with the supplied client ID exists for your retailer. |
Check the client ID spelling and value. |
|
404.04 |
The campaign was not found under the specified advertiser. |
Check the advertiser and campaign pairing. |
|
404.05 |
One or more campaigns in a batch PATCH do not belong to the specified advertiser. |
Correct or remove the campaign IDs listed in the message. |
Request format and values - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.01 |
The request does not match the expected schema. |
Inspect details.errors and correct the listed fields. |
|
422.12 |
A lookup list contains too many names. |
Send fewer names in each request. |
|
422.13 |
A query parameter contains an unsupported value. |
Use an allowed value listed in the message. |
Reports - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.02 |
A filter contains an empty list of values. |
Provide at least one value. |
|
422.03 |
A metric filter requires exactly one numeric value. |
Send a single number. |
|
422.04 |
An ID filter uses the wrong type for use_client_ids=true. |
Send IDs as strings. |
|
422.05 |
An ID filter uses the wrong type for use_client_ids=false. |
Send IDs as integers. |
|
422.06 |
order_by contains an unsupported value. |
Use an allowed value listed in the message. |
|
422.07 |
direction is invalid. |
Set it to ASC or DESC. |
|
422.08 |
from_date is later than to_date. |
Correct the date order. |
|
422.09 |
from_date is in the future. |
Use today or an earlier date. |
|
422.10 |
limit is negative. |
Use a non-negative value. |
|
422.11 |
offset is negative. |
Use 0 or a positive value. |
|
422.39 |
advertiser_id uses the wrong type for use_client_ids. |
Send an integer when false, or your client ID as a string when true. |
|
422.40 |
campaign_id uses the wrong type for use_client_ids. |
Send an integer when false, or your client ID as a string when true. |
|
422.42 |
limit exceeds the maximum page size. |
Reduce limit and paginate through the results. |
|
422.43 |
The reporting date range exceeds one year. |
Split into date ranges of one year or less. |
Advertisers - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.14 |
An associated ID, such as a brand, seller, merchant, or chain ID, does not belong to your retailer. |
Use the reference endpoints to find valid IDs. |
|
422.15 |
A field required for the advertiser type is missing or empty. |
Provide the field identified in the message. |
|
422.16 |
The same channel appears more than once. |
Include each channel only once. |
|
422.17 |
Billing fields were supplied for a different billing type. |
Remove fields that do not apply to the selected billing type. |
|
422.18 |
Advanced geo targeting is enabled without basic geo targeting. |
Enable basic geo targeting as well, or disable both. |
|
422.19 |
A channel does not have an ad format. |
Provide at least one ad format for the channel. |
|
422.20 |
The country is not configured for your retailer. |
Use a configured country. |
|
422.21 |
The currency is unsupported. |
Use a currency listed as allowed in the message. |
|
422.22 |
A region code does not exist for the specified country. |
Correct the region code or country. |
|
422.41 |
One or more ad formats are unsupported for the channel. |
Use the formats listed as valid in the message. |
Campaign structure and updates - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.23 |
A campaign geo region entry is blank or incorrectly formatted. |
Correct the region list. |
|
422.37 |
The update changes fields that cannot be changed after creation. |
Remove the fields identified in the message from the update. |
|
422.38 |
The same campaign appears more than once in the request. |
Include each campaign only once. |
|
422.44 |
An update to a Google campaign with multiple ad groups omits required ad groups. |
Provide the full set of targeting groups. |
|
422.50 |
An update to a Meta or DoorDash campaign with multiple ad groups is missing ad group IDs. |
Include each ad group’s ID. |
|
422.60 |
The campaign type or channel cannot be updated through the API. |
Make the change in the platform. |
|
422.68 |
An ad group’s custom dates fall outside the campaign flight, are in the wrong order, or are in the past. |
Use valid dates within the campaign flight and in the correct order. |
|
422.71 |
Saved campaign settings no longer satisfy current rules, so the patch cannot be applied independently. |
Correct the listed settings through a full update (PUT) or in the platform. |
|
422.72 |
The channel is not enabled for the advertiser. |
Contact support to enable it, or choose another enabled channel. |
Campaign budgets and billing - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.46 |
A retailer-funded campaign is marked as non-billable. |
Set is_billable to true. |
|
422.47 |
The advertiser uses retailer-funded billing, but the campaign does not. |
Set retailer_funded to true. |
|
422.48 |
The spend limit is lower than the daily budget. |
Raise the spend limit to at least the daily budget. |
|
422.49 |
A lifetime budget was supplied for a channel that supports daily budgets only. |
Use a daily budget. |
Campaign assets, products, and audiences - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.24 |
The listed assets are not configured for the channel. |
Use assets configured for the selected channel. |
|
422.25 |
The brand is not linked to the advertiser. |
Use a brand linked to the advertiser. |
|
422.26 |
A merchant is not linked to the advertiser. |
Use merchants linked to the advertiser. |
|
422.27 |
A custom audience is not linked to the advertiser. |
Use audiences linked to the advertiser. |
|
422.56 |
A Google or Meta ad group targets products outside the campaign’s product selection. |
Select products included in the campaign. |
|
422.64 |
The listed assets do not exist for the advertiser. |
Check the asset IDs and advertiser. |
|
422.65 |
The listed assets have not been approved. |
Wait for approval or use approved assets. |
Google campaigns - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.32 |
A Search campaign does not have exactly one text asset. |
Provide exactly one text asset. |
|
422.33 |
A Performance Max asset group has no text asset. |
Add a text asset. |
|
422.34 |
A Performance Max asset group is missing required images. |
Add the image sizes identified in the message. |
|
422.57 |
The audience segment is not available from Google. |
Use the audience signal options endpoint to find valid segments. |
|
422.58 |
The retailer has no connected Google Ads account. |
Contact support to connect the account. |
|
422.59 |
A Performance Max asset group has more than one text asset. |
Keep exactly one text asset. |
Meta campaigns - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.61 |
The Meta ad format is unsupported for the asset type, campaign objective, or advertiser. |
Choose a supported format. |
|
422.62 |
Ad group product targeting is configured, but none of its ads use the product catalog. |
Use catalog ads or remove product targeting. |
|
422.63 |
A static carousel ID is not associated with the campaign, or its card order conflicts. |
Correct the carousel IDs and card orders. |
|
422.66 |
The Comscore market ID is not valid for Meta. |
Use the Comscore markets endpoint to find valid markets. |
|
422.67 |
Lead generation is requested for an unsupported objective or an advertiser without approval. |
Use an Awareness campaign and an approved advertiser. Contact support if approval is needed. |
|
422.69 |
The Meta partnership is not active and approved for the advertiser. |
Use the partnerships endpoint to find valid partnerships. |
|
422.70 |
A new detailed-targeting item is missing its targeting type. |
Include the type returned by the targeting search. |
DoorDash campaigns - HTTP 422
|
Code |
Meaning |
How to resolve |
|
422.36 |
Sponsored Brands assets failed validation. |
Correct the asset issues listed in the message. |
|
422.51 |
A bid is outside the allowed range. |
Use a bid within the range identified in the message. |
|
422.52 |
A setting is incompatible with Automatic Bidding. |
Remove the setting or switch to manual bidding. |
|
422.53 |
An ad group is missing a bid when manual bidding is selected. |
Add cpc_bid to every ad group. |
|
422.54 |
A behavioral-targeting ID is invalid for the advertiser’s brand. |
Use the behavioral targeting options endpoint to find valid IDs. |
|
422.55 |
The advertiser has no connected DoorDash Ads account. |
Contact support to connect the account. |
Service errors - HTTP 5xx
|
Code |
Meaning |
How to resolve |
|
500.01 |
An internal error occurred. |
Retry once. If it persists, contact support with the trace_id. |
|
502.01 |
The API could not reach DoorDash to validate the request. |
Wait briefly, then retry. |
|
502.02 |
The API could not load the product or merchant catalog. |
Wait briefly, then retry. |
|
502.03 |
The API could not reach Google Ads to validate the request. |
Wait briefly, then retry. |
Other codes
|
Code |
Meaning |
How to resolve |
|
-1 |
An unknown error. |
Retain the error response and contact support with the trace_id, if available. |
Handle errors in bulk requests
Bulk endpoints process items individually. An item-level failure does not prevent other items from succeeding, so inspect each result before deciding what to resubmit.
|
Endpoint |
How an item-level failure is returned |
|
POST /v3/advertiser PUT /v3/advertiser |
The bulk response uses HTTP 207. Failed items contain status: "error" and an error text field. No numeric error code. |
|
POST /v3/advertiser/{id}/campaign |
Failed items contain status: "error" and a message. No numeric error code. |
|
PUT /v3/advertiser/{id}/campaign PATCH /v3/advertiser/{id}/campaign |
Failed items contain status: "error", a message, and a numeric error_code where available. |
The 422.xx codes in this reference may appear as either request-level errors or item-level errors.
When handling a bulk response:
-
Inspect the status of every item.
-
Record which items succeeded and which failed.
-
Read each failed item’s error text or message, even if no numeric code is present.
-
Correct the failed items and resubmit only the items that still need processing.
Contact support
If you cannot resolve an error, contact your account manager and include:
-
The trace_id, if available.
-
The error code and complete error message.
-
The request timestamp, including the time zone.
-
The HTTP method, endpoint, and API version.
-
Relevant advertiser and campaign IDs.
-
A sanitized request and response.
-
For bulk requests, the affected item and its result.
-
Whether the problem persists after correcting the request or following retry guidance.
Unless you are receiving a 403 error, please remove API keys, authentication headers, and sensitive information before sharing request or response logs.