type ServerError (v202411)

  • The ServerError object represents errors related to the server within the Google Ad Manager API.

  • It includes details such as the reason for the error, which could be a general server error, server overload, or an unknown issue.

  • Inherited from ApiError, ServerError also provides information like the field path and data causing the error for easier debugging.

  • This error falls under the https://www.google.com/apis/ads/publisher/v202411 namespace.

  • Developers should handle these server errors gracefully by implementing appropriate error handling mechanisms, such as retries or displaying user-friendly error messages.

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.