Package ru.buzzoola.ads.banner
Interface BannerAdEventListener
-
- All Implemented Interfaces:
@MainThread() public interface BannerAdEventListener
Listener interface for receiving banner ad lifecycle events.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonAdLoaded()Called when an ad is successfully loaded and displayed. abstract UnitonAdFailed(AdError adError)Called when the ad fails to load. abstract UnitonAdClicked()Called when the user clicks the ad. abstract UnitonLeftApplication()Called when the user is about to leave the application as a result of interacting with the ad. abstract UnitonReturnedToApplication()Called when the user returns to the application after interacting with the ad. abstract UnitonImpression(ImpressionData impressionData)Called when an ad impression is recorded. -
-
Method Detail
-
onAdLoaded
abstract Unit onAdLoaded()
Called when an ad is successfully loaded and displayed.
-
onAdFailed
abstract Unit onAdFailed(AdError adError)
Called when the ad fails to load.
- Parameters:
adError- The error describing the reason for the failure.
-
onAdClicked
abstract Unit onAdClicked()
Called when the user clicks the ad.
-
onLeftApplication
abstract Unit onLeftApplication()
Called when the user is about to leave the application as a result of interacting with the ad.
-
onReturnedToApplication
abstract Unit onReturnedToApplication()
Called when the user returns to the application after interacting with the ad.
-
onImpression
abstract Unit onImpression(ImpressionData impressionData)
Called when an ad impression is recorded.
- Parameters:
impressionData- Optional impression data.
-
-
-
-