Package com.my.target.mediation
Interface MediationInterstitialAdAdapter.MediationInterstitialAdListener
- Enclosing interface:
- MediationInterstitialAdAdapter
public static interface MediationInterstitialAdAdapter.MediationInterstitialAdListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidonClick(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.voidMust be called when video completed, if exists and ad network has video callbacks
-
Method Details
-
onLoad
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
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
Must be called when user or system closes the ad- Parameters:
adapter- an instance of current adapter
-
onVideoCompleted
Must be called when video completed, if exists and ad network has video callbacks- Parameters:
adapter- an instance of current adapter
-
onDisplay
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
-