type RegExError (v202502)

  • The content provides details about the RegExError within the LineItemService of the Ad Manager API, version v202502.

  • RegExError indicates that an object attribute's value does not conform to a valid regular expression.

  • This error inherits from ApiError and includes fields such as fieldPath, fieldPathElements, trigger, and errorString for identifying the cause.

  • The specific reason for a RegExError can be INVALID, NULL, or UNKNOWN, as defined by the RegExError.Reason enumeration.

  • Other related services and various types of API errors are also listed for reference within the v202502 API version.

Caused by supplying a value for an object attribute that does not conform to a documented valid regular expression.


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.

RegExError

reason

RegExError.Reason

The error reason represented by an enum.


Enumerations
INVALID
Invalid value found.
NULL
Null value found.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.