with Banner Ad
Register a listener to handle GfpBannerAdView. GfpBannerAdView is both an banner ad instance and a view.
Parameters
listener
An object that handles displaying banner ads.
open fun withBannerAd(@NonNull options: GfpBannerAdOptions, @NonNull listener: GfpBannerAd.OnBannerAdViewLoadedListener): T
Register a listener to handle GfpBannerAdView. GfpBannerAdView is both an banner ad instance and a view.
Parameters
options
An object that specifies various banner ad options.
listener
An object that handles displaying banner ads.