GoogleMobileAds Framework Reference

  • GADMediationRewardedAdEventDelegate reports 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 the SDK track and manage rewarded ad events within the mediation flow.

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;