type ContactError (v202411)

  • The ContactService includes various inherited ApiError types, such as AuthenticationError and CollectionSizeError, among many others.

  • ContactError is specifically associated with errors related to the Contact service.

  • The ApiError fields like fieldPath, fieldPathElements, trigger, and errorString provide details about the cause and nature of an error.

  • The ContactError includes a reason field which indicates the specific reason for the error, with UNKNOWN being a possible value if the actual reason is not available in the API version.

Errors associated with Contact.


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.

ContactError

reason

ContactError.Reason


Enumerations
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.