Package com.yandex.mobile.ads.banner
Interface BannerAdEventListener
-
- All Implemented Interfaces:
@MainThread() public interface BannerAdEventListener
A listener for receiving notifications during the lifecycle of an ad.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonAdLoaded()Called when an ad is received. abstract UnitonAdFailedToLoad(AdRequestError error)Called when an banner ad request failed abstract UnitonAdClicked()Called when user clicked on the ad. abstract UnitonLeftApplication()Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad. abstract UnitonReturnedToApplication()Called when user returned to application after click. abstract UnitonImpression(ImpressionData impressionData)Called when an impression was observed -
-
Method Detail
-
onAdLoaded
abstract Unit onAdLoaded()
Called when an ad is received.
-
onAdFailedToLoad
abstract Unit onAdFailedToLoad(AdRequestError error)
Called when an banner ad request failed
- Parameters:
error- see errors here AdRequestError
-
onAdClicked
abstract Unit onAdClicked()
Called when user clicked on the ad.
-
onLeftApplication
abstract Unit 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
abstract Unit onReturnedToApplication()
Called when user returned to application after click.
-
onImpression
abstract Unit onImpression(ImpressionData impressionData)
Called when an impression was observed
- Parameters:
impressionData-impression level revenue data
-
-
-
-