type TypeError (v202508)

  • The page lists various Ad Manager API services such as AdjustmentService, AudienceSegmentService, and CompanyService.

  • It also details different types of API errors including AuthenticationError, CollectionSizeError, and FeatureError, many of which inherit from ApiError.

  • The TypeError is specifically defined as an error for a field with an invalid type.

  • The ApiError base class includes fields like fieldPath, fieldPathElements, trigger, and errorString to help identify the cause of an error.

An error for a field which is an invalid type.


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.

TypeError