enum InternalApiError.Reason (v202505)

  • The content lists various Ad Manager API services with links to their InternalApiError Reason documentation.

  • It specifically highlights the CustomTargetingService and its dependency on InternalApiError.

  • The InternalApiError.Reason enum provides specific reasons for internal API errors, such as unexpected errors, transient issues, unknown causes, downtime, and errors generating responses.

The single reason for the internal API error.


Namespace
https://www.google.com/apis/ads/publisher/v202505
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.