AI-generated Key Takeaways
-
This documentation outlines the
InternalApiError.Reason
enumeration for the Google Ad Manager API. -
The enumeration provides a set of reasons for internal API errors, including unexpected errors, transient errors, downtime, and errors in generating responses.
-
Developers can use these reasons to understand and handle errors encountered when interacting with the Ad Manager API through the TargetingPresetService.
-
Each reason is represented by a specific value within the enumeration, such as
UNEXPECTED_INTERNAL_API_ERROR
orTRANSIENT_ERROR
, allowing for targeted error handling in client applications.
The single reason for the internal API error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration | Description |
---|---|
UNEXPECTED_INTERNAL_API_ERROR
|
API encountered an unexpected internal error. |
TRANSIENT_ERROR
|
A temporary error occurred during the request. Please retry. |
UNKNOWN
|
The cause of the error is not known or only defined in newer versions. |
DOWNTIME
|
The API is currently unavailable for a planned downtime. |
ERROR_GENERATING_RESPONSE
|
Mutate succeeded but server was unable to build response. Client should not retry mutate. |