Hi,I am new to AdMob and is using AdMob mediation to serve Ads from AdMob and iAd in an iOS app. It works fine for AdMob. However, for iAd, if I switch my app to background for a while and then back to foreground. The ad will disappear for a while, leaving a blank ad banner and then appear again. A bit more information on my scenario:- I am using AdMob SDK 6.1.4 running on iOS 5.1. I am running the test on an actual device (iPhone 4S)- The testing flag of the GADRequest is set to YES.- I actually have a background task running so the app is in background state and not suspended.- I have implemented the adViewDidReceiveAd: and didFailToReceiveAdWithError: delegate methods. Throughout the course of disappearance and re-appearance, neither method is called - so I presume the re-appeared Ad is an old Ad.The iAd developer documentation from Apple explicitly states that an app cannot show a blank ad banner so I am worry that such behavior will cause a rejection. In fact as a precaution, I have considered to check if the GADBannerView has an Ad loaded when my app enters foreground - but it seems there is no way to do it.Any help is greatly appreciated.Thanks.Billy--
Hi Raj,Thanks for the reply. I am not sure if my issue is the same as the link since I did not receive those throttling messages.To aid the investigation, I have written a test program which has 2 views to show 2 banners - one using the native iAd API and one using AdMob mediation. It seems that the disappearance is a "feature" of iAd that even if I use the native API it happened. The only difference is when I used the iAd API, the delegate methods are called almost immediately after my app goes into foreground (whether it's a failure or success). For AdMob, it seems I need to wait for a full refresh period and during that period it'd be a blank Ad.For your suggestion, yes I can hide the banner when my app goes back to foreground and then wait for the adViewDidReceiveAd to show it again. However it'd be sub-optimal as the issue only happens for iAd and so I will be hiding the banner even though there is an Ad from AdMob - and wait for at most a minute (my refresh period) to get it back.Also, I noticed that if I configure mediation to serve iAd 100% and the refresh failed, the didFailToReceiveAdWithError: does get called but then even when iAd is available again (as shown in my iAd native API banner), the AdMob banner won't show any Ad. It leads to my another question: Do I need to call loadRequest again if didFailToReceiveAdWithError: get called?Thanks!Billy
--
Hi Raj,Thanks for the help and I look forward to your update.Another suggestion I have is if you guys can add a property to GADBannerView to show if an ad is loaded. (Similar to the bannerLoaded property in the iAd native ADBannerView class). I can check this property when my app goes back foreground and hide the ad banner if there is no ad.Thanks.Billy
--
Hi RajDid you make any progress with this issue? We're seeing iAds disappear still and nothing shows up until the next refresh interval.Chris
--
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I'm still seeing this issue. I have the latest iAd adpater (Oct 4, 2012). It seems to happen quite frequently on my device and the general steps are -1. Make sure iAd is visible in your app2. Send your app to background3. Open another app4. After couple minutes, go back to your appThe iAd disppears and of course nothing shows up until next refresh cycle. I'm on iOS 6.1.Thanks!
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I'm seeing this issue too. Even don't need to go to background and back. From time to time, ad just disappears. No delegate method is being called.