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)
This method is deprecated. Use
onAdFailedToShow(AdError) instead.
|
abstract void |
onAdFailedToShow(AdErroradError)
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 voidonAdFailedToShow(String errorDescription)
This method is deprecated.
Use
onAdFailedToShow(AdError)
instead.
Notifies the Google Mobile Ads SDK that the rewarded ad failed to show.
Parameters
errorDescription | Description for failure reason. |
---|
public abstract voidonAdFailedToShow(AdError adError)
Notifies the Google Mobile Ads SDK that the rewarded ad failed to show.
Parameters
adError | AdError detailing the cause of the failure. |
---|
public abstract voidonUserEarnedReward(RewardItem rewardItem)
Notifies the Google Mobile Ads SDK that the user has earned a reward.
public abstract voidonVideoComplete()
Notifies the Google Mobile Ads SDK that the rewarded ad finished playing.
public abstract voidonVideoStart()
Notifies the Google Mobile Ads SDK that a rewarded ad started playing.