GoogleMobileAds Framework Reference

GADAdValue

@interface GADAdValue : NSObject <NSCopying>

The monetary value earned from an ad.

  • The precision of the reported ad value.

    Declaration

    Swift

    var precision: GADAdValuePrecision { get }

    Objective-C

    @property (readonly, nonatomic) GADAdValuePrecision precision;
  • The ad’s value.

    Declaration

    Swift

    var value: NSDecimalNumber { get }

    Objective-C

    @property (readonly, nonatomic, nonnull) NSDecimalNumber *value;
  • The value’s currency code.

    Declaration

    Swift

    var currencyCode: String { get }

    Objective-C

    @property (readonly, nonatomic, nonnull) NSString *currencyCode;