Package ru.buzzoola.ads.nativewaterfall
Interface NativeWaterfallAdEventListener
-
- All Implemented Interfaces:
@MainThread() public interface NativeWaterfallAdEventListener
Listener interface for receiving native waterfall ad lifecycle events.
-
-
Method Summary
Modifier and Type Method Description abstract UnitonAdLoaded(NativeWaterfallAdInfo adInfo)Called when the ad is successfully shown. abstract UnitonAdFailed(NativeWaterfallAdInfo adInfo, AdException adException)Called when the ad fails to show. abstract UnitonAdClicked(NativeWaterfallAdInfo adInfo)Called when the user clicks on the ad. abstract UnitonCloseAd(NativeWaterfallAdInfo adInfo)Called when the user requests to close or hide the ad. abstract UnitonLeftApplication(NativeWaterfallAdInfo adInfo)Called when the user is about to leave the application as a result of interacting with the ad. abstract UnitonReturnedToApplication(NativeWaterfallAdInfo adInfo)Called when the user returns to the application after interacting with the ad. abstract UnitonImpression(NativeWaterfallAdInfo adInfo, ImpressionData impressionData)Called when an ad impression is recorded. -
-
Method Detail
-
onAdLoaded
abstract Unit onAdLoaded(NativeWaterfallAdInfo adInfo)
Called when the ad is successfully shown.
- Parameters:
adInfo- Native waterfall ad info
-
onAdFailed
abstract Unit onAdFailed(NativeWaterfallAdInfo adInfo, AdException adException)
Called when the ad fails to show.
- Parameters:
adInfo- Native waterfall ad infoadException- The exception describing the reason for the failure.
-
onAdClicked
abstract Unit onAdClicked(NativeWaterfallAdInfo adInfo)
Called when the user clicks on the ad.
- Parameters:
adInfo- Native waterfall ad info
-
onCloseAd
abstract Unit onCloseAd(NativeWaterfallAdInfo adInfo)
Called when the user requests to close or hide the ad.
- Parameters:
adInfo- Native waterfall ad info
-
onLeftApplication
abstract Unit onLeftApplication(NativeWaterfallAdInfo adInfo)
Called when the user is about to leave the application as a result of interacting with the ad.
- Parameters:
adInfo- Native waterfall ad info
-
onReturnedToApplication
abstract Unit onReturnedToApplication(NativeWaterfallAdInfo adInfo)
Called when the user returns to the application after interacting with the ad.
- Parameters:
adInfo- Native waterfall ad info
-
onImpression
abstract Unit onImpression(NativeWaterfallAdInfo adInfo, ImpressionData impressionData)
Called when an ad impression is recorded.
- Parameters:
adInfo- Native waterfall ad infoimpressionData- Optional impression data.
-
-
-
-