admob-v2 plugin: interstitial doesn't correctly pre-load on iOS

Hi,

I am getting the following from admob-v2 plugin in my device log when I call ads.load or ads.show for interstitial ads on my iOS device:

<Warning>: <Google:HTML> Google Mobile Ads SDK: You are currently using 6.8.0 of the SDK. A new version, 6.10.0, is available at http://goo.gl/Zc0BYt . Please consider updating your SDK to get the latest features and bug fixes

Also it doesn’t appear that ads.load is actually preloading an interstitial ad on my iOS device. I call ads.load at the beginning of the round, and ads.show at the end of the round but it still takes awhile for the interstitial to pop up. However, the same code works fine on my android device. It preloads the interstitial and immediately shows it when I call ads.show. Is there a bug in the iOS implementation?

Please advise!

Before calling ads.show(), check to see if there is a cached interstitial by calling ads.isLoaded(“interstitial”). 

If it returns false there’s no ad available.

I’ll try that and see what it returns. When I do call ads.show it will show an ad every time after a few seconds so I suspect that the fill rate is very high. I’ll post back with results.

I’m guessing this is the same issue as that in this thread:  http://forums.coronalabs.com/topic/44501-how-to-implement-isloaded-for-admob/

(Using Version 2014.2393 (2014.8.5), on a mac. Testing on iPhone 4 with iOS 6)

I have the same problem. I can’t tell if ads.load isn’t working, or if ads.isLoaded isn’t working. Maybe both. 

If I go straight to ads.show without checking with ads.isLoaded, it loads an ad. The moment I bracket the ads.show in an

ads.isLoaded check, the ad doesn’t show. (ads.isLoaded is false when I look). 

I’ve tried with testing = true and =false, double checked the build settings, etc. And since the ad loads nearly every time without trying to pre-load them…  I’m guessing ads.load is broken (is not caching an ad) for IOS. 

I’m getting the same thing here… Corona I think we found a bug!

…Weird. For me, ads.isLoaded() returns true/false correctly for Admob in every test case on iOS.

Back when I wrote the tutorial on AdMob V2, I took the sample app for Admob on our github repository and changed it to try all of the code presented in the tutorial and it behaved correctly.

Can you post some code that demonstrates the problem?

Rob

Before calling ads.show(), check to see if there is a cached interstitial by calling ads.isLoaded(“interstitial”). 

If it returns false there’s no ad available.

I’ll try that and see what it returns. When I do call ads.show it will show an ad every time after a few seconds so I suspect that the fill rate is very high. I’ll post back with results.

I’m guessing this is the same issue as that in this thread:  http://forums.coronalabs.com/topic/44501-how-to-implement-isloaded-for-admob/

(Using Version 2014.2393 (2014.8.5), on a mac. Testing on iPhone 4 with iOS 6)

I have the same problem. I can’t tell if ads.load isn’t working, or if ads.isLoaded isn’t working. Maybe both. 

If I go straight to ads.show without checking with ads.isLoaded, it loads an ad. The moment I bracket the ads.show in an

ads.isLoaded check, the ad doesn’t show. (ads.isLoaded is false when I look). 

I’ve tried with testing = true and =false, double checked the build settings, etc. And since the ad loads nearly every time without trying to pre-load them…  I’m guessing ads.load is broken (is not caching an ad) for IOS. 

I’m getting the same thing here… Corona I think we found a bug!

…Weird. For me, ads.isLoaded() returns true/false correctly for Admob in every test case on iOS.

Back when I wrote the tutorial on AdMob V2, I took the sample app for Admob on our github repository and changed it to try all of the code presented in the tutorial and it behaved correctly.

Can you post some code that demonstrates the problem?

Rob

sorry to resurrect this thread but I am having an issue porting my games to IOS.

first the code works fine in android.

So I tell tell admob using the correct IOS id ( also tried using test mode) to load an interstitial.

I then check ads.isLoaded to make sure its loaded and I always get no ad evening test mode.

If I call the ad with ads.show and not checking if its loaded it works fine albeit with a delay.

Its as if ads.isLoaded isn’t working.

I am using the latest build etc.

thanks

Hmm, update: seems if I call ads.isLoaded(“interstitial”) == false it will load, == true not so.

So either the ad isn’t loading correctly, which I think it is as some of the video ads have no lag. Has to be the ads.isLoaded call

sorry to resurrect this thread but I am having an issue porting my games to IOS.

first the code works fine in android.

So I tell tell admob using the correct IOS id ( also tried using test mode) to load an interstitial.

I then check ads.isLoaded to make sure its loaded and I always get no ad evening test mode.

If I call the ad with ads.show and not checking if its loaded it works fine albeit with a delay.

Its as if ads.isLoaded isn’t working.

I am using the latest build etc.

thanks

Hmm, update: seems if I call ads.isLoaded(“interstitial”) == false it will load, == true not so.

So either the ad isn’t loading correctly, which I think it is as some of the video ads have no lag. Has to be the ads.isLoaded call