type TypeError (v202411)

  • The ContentService in Google Ad Manager's API provides methods for managing content.

  • This service defines an error type, TypeError, which indicates a field containing an invalid type.

  • TypeError inherits properties like fieldPath, trigger, and errorString from the base ApiError class to provide details about the error.

  • These properties help in identifying the cause of the error, the data that triggered it, and a description of the issue.

An error for a field which is an invalid type.


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.

TypeError