GADAdReward

class GADAdReward : NSObject

Reward information for GADRewardBasedVideoAd ads.

  • Type of the reward.

    Declaration

    Swift

    var type: String { get }
  • Amount rewarded to the user.

    Declaration

    Swift

    @NSCopying var amount: NSDecimalNumber { get }
  • Returns an initialized GADAdReward with the provided reward type and reward amount. rewardType and rewardAmount must not be nil.

    Declaration

    Swift

    init(rewardType: String, rewardAmount: NSDecimalNumber)