type CurrencyCodeError (v202411)

  • CurrencyCodeError arises when there are issues with currency codes used in Google Ad Manager.

  • This error can occur in various services like ForecastService, LineItemService, and ProposalService.

  • Reasons for this error include invalid or unsupported currency codes, or using a deprecated currency.

  • CurrencyCodeError inherits from ApiError, providing context and details about the error.

  • It includes fields like 'reason' that specify the cause of the currency code issue, such as 'INVALID', 'UNSUPPORTED', or 'DEPRECATED_CURRENCY_USED'.

Errors related to currency codes.


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.

CurrencyCodeError

reason

CurrencyCodeError.Reason


Enumerations
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