Package com.my.target.mediation
Interface MediationInterstitialAdAdapter.MediationInterstitialAdListener
-
- Enclosing interface:
- MediationInterstitialAdAdapter
public static interface MediationInterstitialAdAdapter.MediationInterstitialAdListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonClick(MediationInterstitialAdAdapter adapter)Must be called when ad view received click.voidonDismiss(MediationInterstitialAdAdapter adapter)Must be called when user or system closes the advoidonDisplay(MediationInterstitialAdAdapter adapter)Must be called when ad view showing / impression must be tracked.voidonLoad(MediationInterstitialAdAdapter adapter)Must be called when implemented ads network loads successfully insideMediationInterstitialAdAdapter.load(MediationAdConfig, MediationInterstitialAdListener, Context)method.voidonNoAd(IAdLoadingError adLoadingError, MediationInterstitialAdAdapter adapter)Must be called when implemented ads failed to load for some reason insideMediationInterstitialAdAdapter.load(MediationAdConfig, MediationInterstitialAdListener, Context)method.voidonVideoCompleted(MediationInterstitialAdAdapter adapter)Must be called when video completed, if exists and ad network has video callbacks
-
-
-
Method Detail
-
onLoad
void onLoad(@NonNull MediationInterstitialAdAdapter adapter)Must be called when implemented ads network loads successfully insideMediationInterstitialAdAdapter.load(MediationAdConfig, MediationInterstitialAdListener, Context)method.- Parameters:
adapter- an instance of current adapter
-
onNoAd
void onNoAd(@NonNull IAdLoadingError adLoadingError, @NonNull MediationInterstitialAdAdapter adapter)Must be called when implemented ads failed to load for some reason insideMediationInterstitialAdAdapter.load(MediationAdConfig, MediationInterstitialAdListener, Context)method.- Parameters:
adLoadingError- a reason of fail to loadadapter- an instance of current adapter
-
onClick
void onClick(@NonNull MediationInterstitialAdAdapter adapter)Must be called when ad view received click. Most of ad networks provide callbacks for this, so pass it here- Parameters:
adapter- an instance of current adapter
-
onDismiss
void onDismiss(@NonNull MediationInterstitialAdAdapter adapter)Must be called when user or system closes the ad- Parameters:
adapter- an instance of current adapter
-
onVideoCompleted
void onVideoCompleted(@NonNull MediationInterstitialAdAdapter adapter)Must be called when video completed, if exists and ad network has video callbacks- Parameters:
adapter- an instance of current adapter
-
onDisplay
void onDisplay(@NonNull MediationInterstitialAdAdapter adapter)Must be called when ad view showing / impression must be tracked. Most of ad networks provide callbacks for this, so pass it here- Parameters:
adapter- an instance of current adapter
-
-