AdListener
The AdListener class allows you to listen to lifecycle events for banner ads loaded via AdView and native overlay ads loaded via NativeOverlayAd.
Properties
All properties are callable delegates (or action delegates in C#) that trigger when the respective ad event occurs:
on_ad_clicked / OnAdClicked
Triggered when the user clicks the ad.
on_ad_closed / OnAdClosed
Triggered when the user closes the overlay of an ad or returns to the application.
on_ad_failed_to_load / OnAdFailedToLoad
Triggered when the ad fails to load. Receives a LoadAdError detailing the error.
on_ad_impression / OnAdImpression
Triggered when an ad impression is recorded.
on_ad_loaded / OnAdLoaded
Triggered when the ad is loaded successfully.
on_ad_opened / OnAdOpened
Triggered when the ad opens a full-screen overlay overlaying the application.