com.yandex.mobile.ads.interstitial
Interface InterstitialAdEventListener
public interface InterstitialAdEventListener
A listener for receiving notifications during the lifecycle of an interstitial ad.
Method Summary
Modifier and Type | Method and Description |
---|---|
void | onAdClicked()
Called when user clicked on the ad.
|
void | onAdDismissed()
Called when an interstitial ad has been dismissed.
|
void | onAdFailedToLoad(AdRequestError error)
Called when an interstitial ad request failed.
|
void | onAdLoaded()
Called when an interstitial ad has been loaded.
|
void | onAdShown()
Called when an interstitial ad has been shown.
|
void | onImpression(ImpressionData impressionData)
Called when an impression was observed
|
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.
|
void | onReturnedToApplication()
Called when user returned to application after click.
|
Method Detail
onAdLoaded
void onAdLoaded()
Called when an interstitial ad has been loaded.
onAdFailedToLoad
void onAdFailedToLoad(@NonNull AdRequestError error)
Called when an interstitial ad request failed.
- Parameters:
error
- see errors hereAdRequestError
onAdShown
void onAdShown()
Called when an interstitial ad has been shown.
onAdDismissed
void onAdDismissed()
Called when an interstitial ad has been dismissed.
onAdClicked
void onAdClicked()
Called when user clicked on the ad.
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.
onReturnedToApplication
void onReturnedToApplication()
Called when user returned to application after click.
onImpression
void onImpression(@Nullable ImpressionData impressionData)
Called when an impression was observed
- Parameters:
impressionData
- - impression level revenue data