How to cache Ad contents and get back it from cache when required and add it to AdView

575 views
Skip to first unread message

R karthikeyan

unread,
Jul 25, 2011, 3:03:51 AM7/25/11
to Google AdMob Ads Developers
Hi all,

My application has two activities and I need to to display Admob Ads
in both the view of my activities. I created two AdViews in two
activities and loaded the Ads.

I need to add my Ad to cache if onReceiveAd() is called and to reuse
the cached Ad in onFailedToReceive(). How can i do this.

Jim

unread,
Jul 25, 2011, 1:21:56 PM7/25/11
to Google AdMob Ads Developers
I like that idea, but I think it's against policy (see here:
http://helpcenter.admob.com/content/policies-tips-developers-publishers).
The statement, "Ads should not be pre-cached, cached or stored in any
fashion. All ads should be requested dynamically and refreshed when
the page is refreshed."

I think if you re-use an ad, and the advertiser's budget has run out,
then what does AdMob do? Not pay you for the click?

Anyway, if using an AdMob ad from the AdMob cache is legitimate, I
would like to know. I assume that it isn't, though, unless they post
here otherwise.

I'm sure they use the cache for that reason, but if they display a
cached ad and the advertiser's budget is done, that's their problem,
right?

-Jim
Reply all
Reply to author
Forward
0 new messages