type PrecisionError (v202502)

  • PrecisionError is a type of ApiError used in several Ad Manager services including ForecastService, LineItemService, and NetworkService.

  • This error indicates issues related to the precision of numbers provided in API requests.

  • There are two specific reasons for a PrecisionError: WRONG_PRECISION, which means the lowest digits must be zero, and UNKNOWN, which indicates the actual value is not available in the requested API version.

  • The PrecisionError provides details such as the field path, triggering data, and a string representation of the error.

List all errors associated with number precisions.


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.

PrecisionError

reason

PrecisionError.Reason


Enumerations
WRONG_PRECISION
The lowest N digits of the number must be zero.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.