type TypeError (v202502)

  • The UserService API provides a range of services for managing user-related functions within Google Ad Manager.

  • Errors within the UserService hierarchy, such as TypeError and various specific error types, inherit from the base ApiError.

  • Common inherited fields like fieldPath, fieldPathElements, trigger, and errorString help identify and diagnose the cause of API errors.

  • The TypeError specifically indicates an error where a field has been assigned an invalid data type.

  • The namespace for the UserService is https://www.google.com/apis/ads/publisher/v202502.

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