Banner Ad View
The view to display banner ads.
Constructors
Link copied to clipboard
Constructs a new BannerAdView programmatically.
Constructs a new BannerAdView from XML layout file.
Constructs a new BannerAdView from XML layout file.
Properties
Link copied to clipboard
Information field for ad additional attributes
Link copied to clipboard
Returns actual size after Ad was loaded BannerAdEventListener.onAdLoaded or AdSize from .setAdSize
Link copied to clipboard
Returns the VideoController that provides playback control for video ads.
Functions
Link copied to clipboard
open fun createViewController(context: Context, adConfiguration: <Error class: unknown class>, bannerAdListener: <Error class: unknown class>, phasesManager: <Error class: unknown class>): <Error class: unknown class>
Link copied to clipboard
Destroys this BannerAdView entirely and cleans up resources. NOTE: Don't work with this BannerAdView thereafter.
Link copied to clipboard
Sets an BannerAdSize. BannerAdSize can be set only once.
Link copied to clipboard
Sets a valid ad unit ID. Ad unit ID can be set only once.
Link copied to clipboard
Sets an BannerAdEventListener.