type TypeError (v202502)

  • The page lists various Google Ad Manager API services, including CustomTargetingService.

  • The content details inheritance relationships for different error types, with TypeError inheriting from ApiError.

  • An ApiError includes fields like fieldPath, fieldPathElements, trigger, and errorString.

  • A TypeError specifically indicates an error where a field has an invalid type.

An error for a field which is an invalid type.


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

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.

TypeError