AI-generated Key Takeaways
-
ExchangeRateError.Reason lists the possible reasons for an exchange rate error.
-
Reasons for the error include invalid or unsupported currency codes, currency codes that already exist, invalid exchange rate values, or exchange rate values that are not found.
-
The
UNKNOWNreason is returned if the actual value is not exposed by the requested API version.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
| Enumeration | Description |
|---|---|
INVALID_CURRENCY_CODE
|
The currency code is invalid and does not follow ISO 4217. |
UNSUPPORTED_CURRENCY_CODE
|
The currency code is not supported. |
CURRENCY_CODE_ALREADY_EXISTS
|
The currency code already exists. When creating an exchange rate, its currency should not be associated with any existing exchange rate. When creating a list of exchange rates, there should not be two exchange rates associated with same currency. |
INVALID_EXCHANGE_RATE
|
The exchange rate value is invalid. When the ExchangeRate.refreshRate is
ExchangeRateRefreshRate.FIXED, the ExchangeRate.exchangeRate should be larger
than 0. Otherwise it is invalid.
|
EXCHANGE_RATE_NOT_FOUND
|
The exchange rate value is not found. When the ExchangeRate.refreshRate is
ExchangeRateRefreshRate.DAILY or ExchangeRateRefreshRate.MONTHLY, the
ExchangeRate.exchangeRate should be assigned by Google. It is not found if Google
cannot find such an exchange rate.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |