GoogleMobileAds Framework Reference

  • GADAdValue is an object representing the monetary value earned from an ad.

  • It includes properties for the precision of the reported ad value, the ad's value itself, and the currency code of the value.

GADAdValue


@interface GADAdValue : NSObject <NSCopying>

The monetary value earned from an ad.

  • The precision of the reported ad value.

    Declaration

    Swift

    var precision: AdValuePrecision { get }

    Objective-C

    @property (nonatomic, readonly) GADAdValuePrecision precision;
  • The ad’s 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;