GoogleMobileAds Framework Reference

GADAdReward

@interface GADAdReward : NSObject

Reward information for GADRewardBasedVideoAd ads.

  • Type of the reward.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull type;
  • Amount rewarded to the user.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSDecimalNumber *_Nonnull amount;
  • Returns an initialized GADAdReward with the provided reward type and reward amount. rewardType and rewardAmount must not be nil.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRewardType:(nonnull NSString *)rewardType
                                  rewardAmount:
                                      (nonnull NSDecimalNumber *)rewardAmount;