Package com.my.target.mediation
Interface MediationStandardAdAdapter.MediationStandardAdListener
- Enclosing interface:
- MediationStandardAdAdapter
public static interface MediationStandardAdAdapter.MediationStandardAdListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidonClick(MediationStandardAdAdapter adapter) Must be called when ad view received click.voidonLoad(android.view.View adView, MediationStandardAdAdapter adapter) Must be called when implemented ads network loads successfully insideMediationStandardAdAdapter.load(MediationAdConfig, AdSize, MediationStandardAdListener, Context)method.voidonNoAd(IAdLoadingError adLoadingError, MediationStandardAdAdapter adapter) Must be called when implemented ads failed to load for some reason insideMediationStandardAdAdapter.load(MediationAdConfig, AdSize, MediationStandardAdListener, Context)method.voidonShow(MediationStandardAdAdapter adapter) Must be called when ad view showing / impression must be tracked.
-
Method Details
-
onLoad
Must be called when implemented ads network loads successfully insideMediationStandardAdAdapter.load(MediationAdConfig, AdSize, MediationStandardAdListener, Context)method.- Parameters:
adView- advertisement viewadapter- an instance of current adapter
-
onNoAd
Must be called when implemented ads failed to load for some reason insideMediationStandardAdAdapter.load(MediationAdConfig, AdSize, MediationStandardAdListener, Context)method.- Parameters:
adLoadingError- a reason of fail to loadadapter- an instance of current adapter
-
onShow
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
-
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
-