Android APIs
public interface

MediationRewardedVideoAdListener

com.google.android.gms.ads.reward.mediation.MediationRewardedVideoAdListener

Class Overview

Callback for an adapter to communicate back to the mediation library. Events must be communicated back for the mediation library to properly manage ad flow.

Summary

Public Methods
abstract void onAdClicked(MediationRewardedVideoAdAdapter adapter)
Called when the ad is clicked.
abstract void onAdClosed(MediationRewardedVideoAdAdapter adapter)
Called when the ad is closed.
abstract void onAdFailedToLoad(MediationRewardedVideoAdAdapter adapter, int errorCode)
Called when the ad fails to load.
abstract void onAdLeftApplication(MediationRewardedVideoAdAdapter adapter)
Called when a rewarded video ad leaves the application (e.g., to go to the browser).
abstract void onAdLoaded(MediationRewardedVideoAdAdapter adapter)
Called when the ad is loaded.
abstract void onAdOpened(MediationRewardedVideoAdAdapter adapter)
Called when user open the ad.
abstract void onInitializationFailed(MediationRewardedVideoAdAdapter adapter, int errorCode)
Called when the SDK fails to initialize.
abstract void onInitializationSucceeded(MediationRewardedVideoAdAdapter adapter)
Called when the SDK is successfully initialized.
abstract void onRewarded(MediationRewardedVideoAdAdapter adapter, RewardItem rewardItem)
Called when the SDK has gather the reward info.
abstract void onVideoStarted(MediationRewardedVideoAdAdapter adapter)
Called when the video start to play.

Public Methods

public abstract void onAdClicked (MediationRewardedVideoAdAdapter adapter)

Called when the ad is clicked.

public abstract void onAdClosed (MediationRewardedVideoAdAdapter adapter)

Called when the ad is closed.

public abstract void onAdFailedToLoad (MediationRewardedVideoAdAdapter adapter, int errorCode)

Called when the ad fails to load.

public abstract void onAdLeftApplication (MediationRewardedVideoAdAdapter adapter)

Called when a rewarded video ad leaves the application (e.g., to go to the browser).

public abstract void onAdLoaded (MediationRewardedVideoAdAdapter adapter)

Called when the ad is loaded.

public abstract void onAdOpened (MediationRewardedVideoAdAdapter adapter)

Called when user open the ad.

public abstract void onInitializationFailed (MediationRewardedVideoAdAdapter adapter, int errorCode)

Called when the SDK fails to initialize.

public abstract void onInitializationSucceeded (MediationRewardedVideoAdAdapter adapter)

Called when the SDK is successfully initialized.

public abstract void onRewarded (MediationRewardedVideoAdAdapter adapter, RewardItem rewardItem)

Called when the SDK has gather the reward info. Publisher is responsible for credit the user.

public abstract void onVideoStarted (MediationRewardedVideoAdAdapter adapter)

Called when the video start to play.