インターフェース 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
報告された広告価値の精度。