type PrecisionError (v202411)

  • PrecisionError is a type of ApiError that occurs when a number's precision is incorrect.

  • The reason field indicates the specific cause of the precision error, which can be due to incorrect decimal places or an unknown reason.

  • This error is commonly associated with monetary values or numerical inputs requiring specific precision levels within the Ad Manager system.

  • Services like ForecastService, LineItemService, LineItemTemplateService, NetworkService, ProposalLineItemService, and ProposalService can encounter PrecisionErrors.

  • The error message includes details like field path, trigger data, and a description to help identify and resolve the issue.

List all errors associated with number precisions.


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.

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.