type ServerError (v202508)

  • ServerError represents errors originating from the server during API requests.

  • The error includes details inherited from ApiError such as fieldPath, fieldPathElements, trigger, and a string representation.

  • Specific reasons for a ServerError are enumerated, including SERVER_ERROR, SERVER_BUSY, and UNKNOWN.

Errors related to the server.


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

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.

ServerError

reason

ServerError.Reason


Enumerations
SERVER_ERROR
Indicates that an unexpected error occured.
SERVER_BUSY
Indicates that the server is currently experiencing a high load. Please wait and try your request again.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.