The monetary value earned from an ad.
| Properties | |
|---|---|
amount
|
The ad's amount in micro-units, where 1,000,000 micro-units
equal one unit of the currency.
|
currency
|
The value's ISO 4217 currency code. |
precision
|
The precision of the reported ad value. |
Properties
Readonly amountMicros
amountMicros:
number
- Example
-
// Convert micro-units to a standard currency value string. const standardAmount = (adValue.amountMicros / 1000000).toFixed(2);
Readonly currencyCode
currencyCode:
string
- See also
-
- ISO 4217 for a list of ISO 4217 currency codes (e.g., "USD", "EUR", "JPY").
Readonly precision
precision:
PrecisionType