Stay organized with collections
Save and categorize content based on your preferences.
GoogleMobileAds.Api.AdValue
The monetary value earned from an ad.
Summary
Properties
|
CurrencyCode
|
string
The value's ISO 4217 currency code.
|
Precision
|
The precision of the reported ad value.
|
Value
|
long
The ad's value in micro-units, where 1,000,000 micro-units equal one unit of the currency.
|
Public types
PrecisionType
PrecisionType
The precision of the reported ad value.
Properties |
Estimated
|
An ad value estimated from aggregated data.
|
Precise
|
The precise value paid for this ad.
|
PublisherProvided
|
A publisher-provided ad value, such as manual CPMs in a mediation group.
|
Unknown
|
An ad value with unknown precision.
|
Properties
CurrencyCode
string CurrencyCode
The value's ISO 4217 currency code.
Precision
PrecisionType Precision
The precision of the reported ad value.
Value
long Value
The ad's value in micro-units, where 1,000,000 micro-units equal one unit of the currency.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003e\u003ccode\u003eGoogleMobileAds.Api.AdValue\u003c/code\u003e represents the monetary value earned from an ad.\u003c/p\u003e\n"],["\u003cp\u003eIt provides the value in micro-units, currency code, and the precision of the value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePrecisionType\u003c/code\u003e indicates whether the value is estimated, precise, publisher-provided, or unknown.\u003c/p\u003e\n"],["\u003cp\u003eAd values are expressed in micro-units, with 1,000,000 micro-units equaling one unit of the currency specified by \u003ccode\u003eCurrencyCode\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `AdValue` class represents the monetary value of an ad. It includes three properties: `CurrencyCode` (ISO 4217 currency code), `Precision` (the accuracy of the value), and `Value` (the ad's value in micro-units). `PrecisionType` defines the precision, which can be `Estimated`, `Precise`, `PublisherProvided`, or `Unknown`. It allows you to get info about the monetary reward received from a given Ad.\n"],null,["GoogleMobileAds.Api.AdValue\n\nThe monetary value earned from an ad.\n\nSummary\n\n| Public types ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------|\n| [PrecisionType](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a40938cf677d0d9508a1588dcc2d3d6e6)`{` ` `[Unknown](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a40938cf677d0d9508a1588dcc2d3d6e6a88183b946cc5f0e8c96b2e66e1c74a7e)` = 0,` ` `[Estimated](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a40938cf677d0d9508a1588dcc2d3d6e6a3c311fbd0f9e51ce27b984f55164cf83)` = 1,` ` `[PublisherProvided](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a40938cf677d0d9508a1588dcc2d3d6e6a36ab44b4ddaa5fec6a573dbec3316d9b)` = 2,` ` `[Precise](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a40938cf677d0d9508a1588dcc2d3d6e6aa15adae4bec50f3317d666972d3b9aeb)` = 3` `}` | enum The precision of the reported ad value. |\n\n| Properties ||\n|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CurrencyCode](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a7884251a86ecb9e03c2641fd03a26b5f) | `string` The value's ISO 4217 currency code. |\n| [Precision](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a0041a02eae189edfc7506b3f0c033098) | [PrecisionType](/admob/unity/reference/class/google-mobile-ads/api/ad-value#class_google_mobile_ads_1_1_api_1_1_ad_value_1a40938cf677d0d9508a1588dcc2d3d6e6) The precision of the reported ad value. |\n| [Value](#class_google_mobile_ads_1_1_api_1_1_ad_value_1a48b151c508ba504ab061ed447395d613) | `long` The ad's value in micro-units, where 1,000,000 micro-units equal one unit of the currency. |\n\nPublic types \n\nPrecisionType \n\n```c#\n PrecisionType\n``` \nThe precision of the reported ad value.\n\n| Properties ||\n|---------------------|--------------------------------------------------------------------------|\n| `Estimated` | An ad value estimated from aggregated data. |\n| `Precise` | The precise value paid for this ad. |\n| `PublisherProvided` | A publisher-provided ad value, such as manual CPMs in a mediation group. |\n| `Unknown` | An ad value with unknown precision. |\n\nProperties \n\nCurrencyCode \n\n```c#\nstring CurrencyCode\n``` \nThe value's ISO 4217 currency code. \n\nPrecision \n\n```c#\nPrecisionType Precision\n``` \nThe precision of the reported ad value. \n\nValue \n\n```c#\nlong Value\n``` \nThe ad's value in micro-units, where 1,000,000 micro-units equal one unit of the currency."]]