-
- 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 Unit
onAdLoaded()
Called when an ad is received. abstract Unit
onAdFailedToLoad(AdRequestError error)
Called when an banner ad request failed abstract Unit
onAdClicked()
Called when user clicked on the ad. 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. abstract Unit
onReturnedToApplication()
Called when user returned to application after click. abstract Unit
onImpression(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
-
-
-
-