GoogleMobileAds Framework Reference

  • GADMediationRewardedAdEventDelegate relays reward-related information from the adapter to the Google Mobile Ads SDK.

  • It includes methods to notify the SDK when a user is rewarded, when video playback starts, and when video playback ends.

  • These methods help in tracking user engagement with rewarded ads and providing appropriate rewards.

GADMediationRewardedAdEventDelegate

@protocol GADMediationRewardedAdEventDelegate <GADMediationAdEventDelegate>

Reports rewarded related information to the Google Mobile Ads SDK from the adapter.

  • Notifies the Google Mobile Ads SDK that the GADMediationAd has rewarded the user.

    Declaration

    Swift

    func didRewardUser()

    Objective-C

    - (void)didRewardUser;
  • Notifies Google Mobile Ads SDK that the GADMediationAd started video playback.

    Declaration

    Swift

    func didStartVideo()

    Objective-C

    - (void)didStartVideo;
  • Notifies Google Mobile Ads SDK that the GADMediationAd’s video playback finished.

    Declaration

    Swift

    func didEndVideo()

    Objective-C

    - (void)didEndVideo;