Provides methods for adding, updating and retrieving ExchangeRate objects.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v201905/ExchangeRateService?wsdl
- Namespace
-
https://www.google.com/apis/ads/publisher/v201905
- Operations
- Errors
-
- ApiVersionError
- AuthenticationError
- CollectionSizeError
- CommonError
- ExchangeRateError
- FeatureError
- InternalApiError
- NotNullError
- ParseError
- PermissionError
- PublisherQueryLanguageContextError
- PublisherQueryLanguageSyntaxError
- QuotaError
- RequiredCollectionError
- RequiredError
- RequiredNumberError
- ServerError
- StatementError
- StringFormatError
- StringLengthError
- UniqueError
createExchangeRates
Creates new ExchangeRate objects. For each exchange rate, the following fields are required:
- ExchangeRate.currencyCode
- ExchangeRate.exchangeRate when ExchangeRate.refreshRate is ExchangeRateRefreshRate.FIXED
Parameters
Field | Type | Description |
---|---|---|
exchangeRates
|
|
the exchange rates to create |
Response
Field | Type | Description |
---|---|---|
rval
|
|
the created exchange rates with their exchange rate values filled in |
getExchangeRatesByStatement
Gets a ExchangeRatePage of ExchangeRate objects that satisfy the given Statement.query. The following fields are supported for filtering:
PQL Property | Object Property |
---|---|
id
|
ExchangeRate.id |
currencyCode
|
ExchangeRate.currencyCode |
refreshRate
|
ExchangeRate.refreshRate |
direction
|
ExchangeRate.direction |
exchangeRate
|
ExchangeRate.exchangeRate |
Parameters
Field | Type | Description |
---|---|---|
filterStatement
|
|
a Publisher Query Language statement used to filter a set of exchange rates |
Response
Field | Type | Description |
---|---|---|
rval
|
|
the exchange rates that match the given filter |
performExchangeRateAction
Performs an action on ExchangeRate objects that satisfy the given Statement.query. The following fields are supported for filtering:
PQL Property | Object Property |
---|---|
id
|
ExchangeRate.id |
currencyCode
|
ExchangeRate.currencyCode |
refreshRate
|
ExchangeRate.refreshRate |
direction
|
ExchangeRate.direction |
exchangeRate
|
ExchangeRate.exchangeRate |
Parameters
Field | Type | Description |
---|---|---|
exchangeRateAction
|
|
the action to perform |
filterStatement
|
|
a Publisher Query Language statement used to filter a set of exchange rates |
Response
Field | Type | Description |
---|---|---|
rval
|
|
the result of the action performed |
updateExchangeRates
Updates the specified ExchangeRate objects.
Parameters
Field | Type | Description |
---|---|---|
exchangeRates
|
|
the exchange rates to update |
Response
Field | Type | Description |
---|---|---|
rval
|
|
the updated exchange rates |
Errors
Error | Reasons |
---|---|
ApiVersionError
|
Errors related to the usage of API versions.
Enumerations
|
AuthenticationError
|
An error for an exception that occurred when authenticating.
Enumerations
|
CollectionSizeError
|
Error for the size of the collection being too large
Enumerations
|
CommonError
|
A place for common errors that can be used across services.
Enumerations
|
ExchangeRateError
|
Lists all errors associated with ExchangeRate objects.
Enumerations
|
FeatureError
|
Errors related to feature management. If you attempt using a feature that is not available to
the current network you'll receive a FeatureError with the missing feature as the trigger.
Enumerations
|
InternalApiError
|
Indicates that a server-side error has occured. InternalApiError s
are generally not the result of an invalid request or message sent by the
client.
Enumerations
|
NotNullError
|
Caused by supplying a null value for an attribute that cannot be null.
Enumerations
|
ParseError
|
Lists errors related to parsing.
Enumerations
|
PermissionError
|
Errors related to incorrect permission.
Enumerations
|
PublisherQueryLanguageContextError
|
An error that occurs while executing a PQL query contained in
a Statement object.
Enumerations
|
PublisherQueryLanguageSyntaxError
|
An error that occurs while parsing a PQL query contained in a
Statement object.
Enumerations
|
QuotaError
|
Describes a client-side error on which a user is attempting
to perform an action to which they have no quota remaining.
Enumerations
|
RequiredCollectionError
|
A list of all errors to be used for validating sizes of collections.
Enumerations
|
RequiredError
|
Errors due to missing required field.
Enumerations
|
RequiredNumberError
|
A list of all errors to be used in conjunction with required number
validators.
Enumerations
|
ServerError
|
Errors related to the server.
Enumerations
|
StatementError
|
An error that occurs while parsing Statement objects.
Enumerations
|
StringFormatError
|
A list of error code for reporting invalid content of input strings.
Enumerations
|
StringLengthError
|
Errors for Strings which do not meet given length constraints.
Enumerations
|
UniqueError
|
An error for a field which must satisfy a uniqueness constraint |