type InternalApiError (v202411)

  • This documentation details the InternalApiError object within the context of the CustomFieldService in Google Ad Manager API.

  • InternalApiError signals server-side errors, typically not caused by invalid client requests.

  • It includes fields like reason to specify the cause, which can range from unexpected errors to temporary issues or planned downtimes.

  • Developers can use the reason field to understand the nature of the error and take appropriate action, such as retrying the request or waiting for the service to become available again.

Indicates that a server-side error has occured. InternalApiErrors are generally not the result of an invalid request or message sent by the client.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

ApiError (inherited)

fieldPath

xsd:string

The OGNL field path to identify cause of error.

fieldPathElements

FieldPathElement[]

A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}.

trigger

xsd:string

The data that caused the error.

errorString

xsd:string

A simple string representation of the error and reason.

InternalApiError

reason

InternalApiError.Reason

The error reason represented by an enum.


Enumerations
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.