Contents

Money

Monetary representation with currency.

Declaration

object Money

Properties

NameTypeDescription
currencystring

The ISO 4217 currency code (for example, "USD", "EUR"). Must match the ad account’s currency.

amount Requiredstring

The monetary amount as a decimal string (for example, "10.00"), represented as a string to preserve decimal precision.

Discussion

The Money object is the standard monetary value type used throughout the API for budgets, bids, and spend amounts. An account doesn’t support mixing currencies.

To avoid validation errors when setting bid amounts or budgets, always use the currency code returned by the ad account’s currency field.

Example

{
  "currency": "USD",
  "amount": "10.00"
}

See Also