MediationRewardedAdCallback

public interface MediationRewardedAdCallback implements MediationAdCallback

Rewarded ad callbacks for a mediation adapter to communicate back to the Google Mobile Ads SDK. Mediation adapters must send these callbacks so that they can be forwarded to the publisher.

Public Method Summary

abstract void
onAdFailedToShow(String errorDescription)
Notifies the Google Mobile Ads SDK that the rewarded ad failed to show.
abstract void
onUserEarnedReward(RewardItem rewardItem)
Notifies the Google Mobile Ads SDK that the user has earned a reward.
abstract void
onVideoComplete()
Notifies the Google Mobile Ads SDK that the rewarded ad finished playing.
abstract void
onVideoStart()
Notifies the Google Mobile Ads SDK that a rewarded ad started playing.

Inherited Method Summary

Public Methods

public abstract void onAdFailedToShow (String errorDescription)

Notifies the Google Mobile Ads SDK that the rewarded ad failed to show.

Parameters
errorDescription Description for failure reason.

public abstract void onUserEarnedReward (RewardItem rewardItem)

Notifies the Google Mobile Ads SDK that the user has earned a reward.

public abstract void onVideoComplete ()

Notifies the Google Mobile Ads SDK that the rewarded ad finished playing.

public abstract void onVideoStart ()

Notifies the Google Mobile Ads SDK that a rewarded ad started playing.

Send feedback about...

Need help? Visit our support page.