-
- 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 voidonAdLoaded()Called when an ad is received. abstract voidonAdFailedToLoad(@NonNull() AdRequestError error)Called when an banner ad request failed abstract voidonAdClicked()Called when user clicked on the ad. abstract voidonLeftApplication()Called when user is about to leave application (e.g., to go to the browser), as a result of clicking on the ad. abstract voidonReturnedToApplication()Called when user returned to application after click. abstract voidonImpression(@Nullable() ImpressionData impressionData)Called when an impression was observed -
-
Method Detail
-
onAdLoaded
abstract void onAdLoaded()
Called when an ad is received.
-
onAdFailedToLoad
abstract void onAdFailedToLoad(@NonNull() AdRequestError error)
Called when an banner ad request failed
- Parameters:
error- see errors here AdRequestError
-
onAdClicked
abstract void onAdClicked()
Called when user clicked on the ad.
-
onLeftApplication
abstract 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
abstract void onReturnedToApplication()
Called when user returned to application after click.
-
onImpression
abstract void onImpression(@Nullable() ImpressionData impressionData)
Called when an impression was observed
- Parameters:
impressionData- - impression level revenue data
-
-
-
-