type ServerError (v202411)

  • This documentation details the ServerError for the CustomTargetingService within the Google Ad Manager API.

  • ServerError arises from issues related to the server, encompassing unexpected errors or high server load.

  • It provides a structured way to understand server errors through fields like reason, fieldPath, and errorString.

  • The reason field further categorizes the error using an enumeration like SERVER_ERROR, SERVER_BUSY, or UNKNOWN.

  • Developers can use this information to diagnose and address server-related problems encountered when interacting with the CustomTargetingService.

Errors related to the server.


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.

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.