enum CurrencyCodeError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
The reason behind the currency code error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
INVALID
|
The currency code is invalid and does not follow ISO 4217.
|
UNSUPPORTED
|
The currency code is valid, but is not supported.
|
DEPRECATED_CURRENCY_USED
|
The currency has been used for entity creation after its deprecation
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The provided content outlines `CurrencyCodeError` handling within several services: `ForecastService`, `LineItemService`, `LineItemTemplateService`, `OrderService`, `ProposalLineItemService`, `ProposalService`, and `ReportService`. `CurrencyCodeError.Reason` is detailed, specifying why an error occurs. Possible reasons include `INVALID` (non-ISO 4217), `UNSUPPORTED` (valid but not supported), and `DEPRECATED_CURRENCY_USED` (using a deprecated currency after its deprecation). The namespace for these errors is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum CurrencyCodeError.Reason (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.CurrencyCodeError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.CurrencyCodeError.Reason) **LineItemTemplateService** [OrderService](/ad-manager/api/reference/v202502/OrderService.CurrencyCodeError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.CurrencyCodeError.Reason) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.CurrencyCodeError.Reason) [ReportService](/ad-manager/api/reference/v202502/ReportService.CurrencyCodeError.Reason) **Dependencies** \n[CurrencyCodeError](/ad-manager/api/reference/v202502/LineItemTemplateService.CurrencyCodeError) \n▼\n**CurrencyCodeError.Reason**\n\nThe reason behind the currency code error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|----------------------------|----------------------------------------------------------------------|\n| `INVALID` | The currency code is invalid and does not follow ISO 4217. |\n| `UNSUPPORTED` | The currency code is valid, but is not supported. |\n| `DEPRECATED_CURRENCY_USED` | The currency has been used for entity creation after its deprecation |"]]