GADRewardedAdDelegate
protocol GADRewardedAdDelegate : NSObjectProtocolDelegate for receiving state change messages from a GADRewardedAd.
-
Tells the delegate that the user earned a reward.
Declaration
Swift
func rewardedAd(_ rewardedAd: GADRewardedAd, userDidEarn reward: GADAdReward) -
Tells the delegate that the rewarded ad failed to present.
Declaration
Swift
optional func rewardedAd(_ rewardedAd: GADRewardedAd, didFailToPresentWithError error: Error) -
Tells the delegate that the rewarded ad was presented.
Declaration
Swift
optional func rewardedAdDidPresent(_ rewardedAd: GADRewardedAd) -
Tells the delegate that the rewarded ad was dismissed.
Declaration
Swift
optional func rewardedAdDidDismiss(_ rewardedAd: GADRewardedAd)