Banner Ad
Below are the steps to load and render a banner Ad on your app
Create your
AdRequestConfiguration
as per the below format
Call
loadAd()
method as per below format
Inside the
onBannerAdLoaded
callback method invokegetView()
method ofMediationnBannerAd
object to add an AdSter banner view to the given layout as shown below
Call
MediationBannerAd.destroy()
When activity/fragment is destroyed or detached.
Last updated
Was this helpful?