type ExchangeRate (v201808)

An ExchangeRate represents a currency which is one of the Network.secondaryCurrencyCodes, and the latest exchange rate between this currency and Network.currencyCode.


Namespace
https://www.google.com/apis/ads/publisher/v201808

Field

id

xsd:long

The ID of the ExchangeRate. This attribute is readonly and is assigned by Google when an exchange rate is created.

currencyCode

xsd:string

The currency code that the exchangeRate is related to. The exchangeRate is between currencyCode and Network.currencyCode. This attribute is required for creation and then is readonly.

refreshRate

ExchangeRateRefreshRate

The refresh rate at which the exchange rate is updated. This attribute is required.


Enumerations
FIXED
The exchange rate is input manually and not refreshed.
DAILY
The exchange rate will be updated automatically by Google every day using the latest day's rate.
MONTHLY
The exchange rate will be updated automatically by Google every month using the latest month's rate.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.

direction

ExchangeRateDirection

The direction that the exchangeRate is in. It determines whether the exchangeRate is from currencyCode to Network.currencyCode, or from Network.currencyCode to currencyCode. This attribute is required.


Enumerations
TO_NETWORK
The exchange rate is from ExchangeRate.currencyCode to Network.currencyCode.
FROM_NETWORK
The exchange rate is from Network.currencyCode to ExchangeRate.currencyCode.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.

exchangeRate

xsd:long

The latest exchange rate at the refreshRate and in the direction. The value is stored as the exchange rate times 10,000,000,000 truncated to a long. When the refreshRate is ExchangeRateRefreshRate.FIXED, this attribute is required. When it is not, this attribute is readonly and is assigned by Google with the exchange rate for the latest time period.

Send feedback about...

Ad Manager API
Ad Manager API
Need help? Visit our support page.