Interface InterstitialAdEventListener
-
- All Superinterfaces:
com.yandex.mobile.ads.fullscreen.FullscreenAdEventListener,com.yandex.mobile.ads.fullscreen.FullscreenLoadListener
@MainThread public interface InterstitialAdEventListener extends com.yandex.mobile.ads.fullscreen.FullscreenAdEventListenerA listener for receiving notifications during the lifecycle of an interstitial ad.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAdClicked()Called when user clicked on the ad.voidonAdDismissed()Called when an interstitial ad has been dismissed.voidonAdFailedToLoad(AdRequestError error)Called when an interstitial ad request failed.voidonAdLoaded()Called when an interstitial ad has been loaded.voidonAdShown()Called when an interstitial ad has been shown.voidonImpression(com.yandex.mobile.ads.common.ImpressionData impressionData)Called when an impression was observedvoidonLeftApplication()Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.voidonReturnedToApplication()Called when user returned to application after click.
-
-
-
Method Detail
-
onAdLoaded
void onAdLoaded()
Called when an interstitial ad has been loaded.- Specified by:
onAdLoadedin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener- Specified by:
onAdLoadedin interfacecom.yandex.mobile.ads.fullscreen.FullscreenLoadListener
-
onAdFailedToLoad
void onAdFailedToLoad(@NonNull AdRequestError error)Called when an interstitial ad request failed.- Specified by:
onAdFailedToLoadin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener- Parameters:
error- see errors hereAdRequestError
-
onAdShown
void onAdShown()
Called when an interstitial ad has been shown.- Specified by:
onAdShownin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener
-
onAdDismissed
void onAdDismissed()
Called when an interstitial ad has been dismissed.- Specified by:
onAdDismissedin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener
-
onAdClicked
void onAdClicked()
Called when user clicked on the ad.- Specified by:
onAdClickedin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener
-
onLeftApplication
void onLeftApplication()
Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad.- Specified by:
onLeftApplicationin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener
-
onReturnedToApplication
void onReturnedToApplication()
Called when user returned to application after click.- Specified by:
onReturnedToApplicationin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener
-
onImpression
void onImpression(@Nullable com.yandex.mobile.ads.common.ImpressionData impressionData)Called when an impression was observed- Specified by:
onImpressionin interfacecom.yandex.mobile.ads.fullscreen.FullscreenAdEventListener- Parameters:
impressionData- - impression level revenue data
-
-