type RangeError (v202411)

  • The PublisherQueryLanguageService handles errors related to the Range constraint in Google Ad Manager.

  • RangeError is a type of ApiError that occurs when a value is outside the allowed range.

  • RangeError includes fields like fieldPath, trigger, and errorString, inherited from ApiError, to provide details about the error.

  • A RangeError is triggered when a value is either too high (TOO_HIGH) or too low (TOO_LOW) based on predefined limits.

  • Developers can use the information provided by the RangeError fields to identify and resolve issues with their PQL queries.

A list of all errors associated with the Range constraint.


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.

RangeError

reason

RangeError.Reason


Enumerations
TOO_HIGH
TOO_LOW
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.