Package com.yandex.mobile.ads.banner
Interface BannerAdEventListener
-
public interface BannerAdEventListenerA listener for receiving notifications during the lifecycle of an ad.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAdFailedToLoad(AdRequestError error)Called when an banner ad request failedvoidonAdLoaded()Called when an ad is received.voidonLeftApplication()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 ad is received.
-
onAdFailedToLoad
void onAdFailedToLoad(@NonNull AdRequestError error)Called when an banner ad request failed- Parameters:
error- see errors hereAdRequestError
-
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.
-
-