Shared AdMob Banner - Across Multiple ViewControllers

75 views
Skip to first unread message

Paul Satem

unread,
May 15, 2016, 3:02:22 PM5/15/16
to Google Mobile Ads SDK Developers
I would like to display numerous AdMob BannerViews across multiple ViewControllers in my app.

Essentially displaying the same banner across numerous UIViews - so as not to create a separate instance of a BannnerView every time a user navigates through different UIViews.

Can you please direct me to an example reference?

Many thanks.


Veer Arjun Busani(Mobile Ads SDK Team)

unread,
May 16, 2016, 8:52:12 AM5/16/16
to Google Mobile Ads SDK Developers
Hi Paul,

While I do not have any sample app for such, I would suggest you to use a Singleton and then reuse it when needed. You can make one AdRequest then show your Banner AdView on your View Controller when needed. However, I would suggest you to show them immediately. Once an AdRequest is made and you receive them, Banner Views must be shown immediately. 

Thanks,
Veer Busani
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages