enum PrecisionError.Reason (v202411)
Describes reasons for precision errors.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["PrecisionError.Reason explains the reasons behind precision errors in Google Ad Manager."],["It highlights two primary reasons for these errors: incorrect precision where the last digits of a number need to be zero (`WRONG_PRECISION`) and instances where the reason is unknown or not exposed by the API version (`UNKNOWN`)."],["This enumeration is part of the broader Google Ad Manager API and is used within various services like ForecastService, LineItemService, and others to indicate the nature of precision-related issues."]]],["The core content describes the `PrecisionError.Reason` enumeration used across multiple services: `ForecastService`, `LineItemService`, `LineItemTemplateService`, `NetworkService`, `OrderService`, `ProposalLineItemService`, and `ProposalService`. It details two possible reasons for precision errors: `WRONG_PRECISION`, where trailing digits must be zero, and `UNKNOWN`, when the true error reason is hidden by the API version. This is a component for use within a namespace.\n"]]