iOS: Correct way to hide banners and deactivate banner refresh temporarily?

2,732 views
Skip to first unread message

Andreas Osswald

unread,
Mar 20, 2012, 6:48:11 AM3/20/12
to google-adm...@googlegroups.com
Hi,

I have noticed that when you do a [adMobBannerView hide] only the view gets hidden. In the background the banner refresh will remain active. This means, banners still will be loaded in the background during that period that never get shown while the adMobBannerView is hidden. The AdMob statistics page seems to count them as impressions and some banners with a good co-relation with your app don't get clicked because they are never shown.

Background is that I have some menus in the app where banners get shown while there are other menus where there is no space for ad-banners.

The only solution that makes sense to me is to disable the auto banner refresh in the AdMob menu and do the refresh manually in the source-code.

My question: What is the right way to deactivate the AdMob banner refresh temporarily?

Best regards,
Andreas



Rajkumar Parameswaran

unread,
Mar 20, 2012, 1:15:09 PM3/20/12
to google-adm...@googlegroups.com
Hey Andreas,

Unfortunately you're right in that there is no easy way to accomplish this right now. It's something we're looking into for future versions of the SDK but in the meantime your solution of disabling auto refresh and handling all the refreshes on the client sounds like a safe bet. The other option would be to do destroy your adView and re-initialize it each time but I doubt you want the extra overhead this brings.

Andreas Osswald

unread,
Mar 21, 2012, 6:51:34 AM3/21/12
to google-adm...@googlegroups.com
Okay, I will disable the auto refresh!

Thanks a lot, Raj!

Alejandro Santiago

unread,
May 20, 2012, 8:35:47 PM5/20/12
to google-adm...@googlegroups.com
Hi Andreas, 

how exactly did you disabled the auto-refresh? I have set the "No refresh" option in my site/app settings and call the [adView loadAd:] message but the banner is still reloading at is own will plus the times the explicit call is made.

this is generating some slow performance in my app, thats why I need yo keep it under control and load ads only at safe spots.

Thanks in advance

Rajkumar Parameswaran

unread,
May 23, 2012, 12:07:36 AM5/23/12
to google-adm...@googlegroups.com
Hey,

Can you show us some code showing how you're hiding the ad? I believe that after you hide the ad the first time, it shouldn't auto refresh any more. Also, are you using the latest version of the AdMob SDK (6.0.3 or 6.0.4)?

Alejandro Santiago

unread,
May 23, 2012, 10:44:20 PM5/23/12
to google-adm...@googlegroups.com
Hi Raj,

I am not hidding the ad, I just dont want it being realoded during gameplay, as it causes low frame rates for a few seconds usually causing the player to be killed afterwards
I want to be able to reload the ad on the main menu or at the game over screen where low fps doesnt cause any trouble

On Tuesday, May 22, 2012 11:07:36 PM UTC-5, Raj Parameswaran wrote:
Hey,

Can you show us some code showing how you're hiding the ad? I believe that after you hide the ad the first time, it shouldn't auto refresh any more. Also, are you using the latest version of the AdMob SDK (6.0.3 or 6.0.4)?

Rajkumar Parameswaran

unread,
Jun 4, 2012, 7:52:40 PM6/4/12
to google-adm...@googlegroups.com
Are you still seeing this issue? I think sometimes it just takes a bit of time to update the settings for the app, so if you wait it out, the 'No Refresh' should start working.

Rajkumar Parameswaran

unread,
Jun 14, 2012, 1:34:53 PM6/14/12
to google-adm...@googlegroups.com
What refresh rate are you using for your mediation placement? Im guessing that even if your AdMob settings is set to 'No Refresh', the mediation code will refresh the ad every so often according to your mediation settings and mediation placement refresh rate.

On Mon, Jun 4, 2012 at 6:12 PM, Alejandro Santiago <alejandro...@tochasstudios.com> wrote:
Hi Raj, 

I have checked the settings again and "No refresh" is selected (even saved the settings once again)
this configuration was set about 19 or 20 of may, two weeks have passed and the behavior is the same, 

I'm using a mediation Id (for admob and iad ads) some features like conversions arent working with it, hope the refresh setting is not one of them

Any thoughts on that?

On Monday, June 4, 2012 6:52:40 PM UTC-5, Raj Parameswaran wrote:
Are you still seeing this issue? I think sometimes it just takes a bit of time to update the settings for the app, so if you wait it out, the 'No Refresh' should start working.

Reply all
Reply to author
Forward
0 new messages