AI-generated Key Takeaways
-
Bid Manager API requests that fail return an error message which should be parsed and handled to avoid future errors.
-
Error responses include an HTTP response code, an error message, and a Google RPC code status.
-
Different error codes and RPC statuses indicate specific issues and have recommended actions to resolve them, such as modifying the request for
400 INVALID_ARGUMENTor checking authentication for401 UNAUTHENTICATED. -
Errors like
429 RESOURCE_EXHAUSTEDindicate exceeding API or reporting quotas, requiring workflow adjustments or quota requests. -
For internal or timeout errors (
500 INTERNAL,504 DEADLINE_EXCEEDED), retrying with exponential backoff is recommended before contacting support if the issue persists.
Requests made to the Bid Manager API that can't be completed return an error message. Error messages should be parsed and appropriately handled to avoid future errors. Requests returning errors consume user quota, and error rates are considered when reviewing requests for additional quota.
An error response has the following format and includes an HTTP response code, an error message, and a Google RPC code status:
{ "error" : { "code" : integer , "message" : string , "status" : enum ( google . rpc . Code ) } }
Here's a list of common API errors along with the recommended action to take if they are returned:
400
INVALID_ARGUMENT
If you are experiencing issues with finding an acceptable combination of filters, dimensions, and metrics, refer to our reporting best practices for recommendations.
401
UNAUTHENTICATED
404
NOT_FOUND
Query
or Report
you are attempting to run or retrieve cannot be found. Verify the
following: - The resource ID is correct
- The resource type is valid for the endpoint
- The resource in question was created by the accessing user
429
RESOURCE_EXHAUSTED
- API request quota: Examine your API usage using the Google Cloud Console , and modify your workflow to operate within the existing quota limits. If your operations can't be completed within your given daily quota, request additional quota .
- Reporting quota: Review existing reporting quota best practices and reach out to Display & Video 360 product support if needed.
500
INTERNAL
504
DEADLINE_EXCEEDED

