GoogleMobileAds Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GADAdValue
@interface GADAdValue : NSObject <NSCopying>
The monetary value earned from an ad.
-
The precision of the reported ad value.
-
Declaration
Swift
var value: NSDecimalNumber { get }
Objective-C
@property (nonatomic, readonly, nonnull) NSDecimalNumber *value;
-
The value’s currency code.
Declaration
Swift
var currencyCode: String { get }
Objective-C
@property (nonatomic, readonly, nonnull) NSString *currencyCode;
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 2021-02-23 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 2021-02-23 UTC."],[[["`GADAdValue` represents the monetary value earned from an ad, including the value, currency, and precision."],["It provides properties for accessing the ad's value (`value`), the currency code (`currencyCode`), and the precision of the reported value (`precision`)."],["Developers can use this class to retrieve and utilize ad revenue data in their applications."]]],[]]