prevent reloading of ads in a tableview cell

139 views
Skip to first unread message

jon

unread,
Oct 21, 2016, 6:42:55 AM10/21/16
to Google Mobile Ads SDK Developers
Hi

I'm using different ads in different cells in a tableview. Due to cell reuse, i get the same ad twice if i keep track of when its loaded with

 func adViewDidReceiveAd(_ bannerView: GADBannerView!) {
   loaded = true
 }

or i have to force a reload every time when the user scrolls back up. Is there a way to keep previous Ads in memory without another network load?

thanks
Jon

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Oct 21, 2016, 10:58:27 AM10/21/16
to Google Mobile Ads SDK Developers
Hi Jon,

I would suggest you to make a new AdRequest and not have an AdView in memory but not shown to the user. A new AdRequest would even increase your impression rate and make sure that you have valid AdView reference.

Thanks,
Arjun Busani
Mobile Ads SDK Team

Mattia Confalonieri

unread,
Feb 9, 2017, 2:19:20 PM2/9/17
to Google Mobile Ads SDK Developers
Hi, this is valid also for the Native Ads? can i not store the ads in memory a make a new request at scrolling? 
My fear is that to much Impressione make RPM decrease...
Reply all
Reply to author
Forward
Message has been deleted
0 new messages