介面 AdValue

從廣告賺取的金額價值。
屬性
amountMicros
以微量單位表示的廣告金額,1,000,000 微量單位等於 1 單位的實際貨幣。
currencyCode
值的 ISO 4217 貨幣代碼。
precision
回報廣告價值的精確程度。

屬性


Readonly amountMicros

amountMicros: number
以微量單位表示的廣告金額,1,000,000 微量單位等於 1 單位的實際貨幣。
範例
// Convert micro-units to a standard currency value string.
const standardAmount = (adValue.amountMicros / 1000000).toFixed(2);

Readonly currencyCode

currencyCode: string
值的 ISO 4217 貨幣代碼。
另請參閱
  • ISO 4217:如需 ISO 4217 貨幣代碼清單 (例如「USD」、「EUR」、「JPY」),請參閱這個頁面。

Readonly precision

precision: PrecisionType
回報的廣告價值精確程度。