If you feel that there is a bug, feel free to file a bug report. Considering no one else is saying they are not getting ads on iOS 8, I suspect the message is just the typical message Google provides to encourage people to upgrade.
Rob
If you feel that there is a bug, feel free to file a bug report. Considering no one else is saying they are not getting ads on iOS 8, I suspect the message is just the typical message Google provides to encourage people to upgrade.
Rob
AdMob is not currently working for me on iOS (although it works on Android, same code). I don’t know if it’s related to this warning message. I also don’t know if it’s something I did in my code.
I submitted a bug report (case 42449) along with a sample project on August 27 and waited patiently. But it’s been a full month without an update, and I have no idea how to check on the status of a particular case.
Any helpful hints?
Can you provide some more information. What version of Corona SDK are you building with?
What device/OS combinations are you testing on?
Can you post the exact errors you are getting (copy/paste from the console log)?
Thanks
Rob
I was building was Corona SDK 2015.2692 / XCode 6.4 when reported. I’ve since built with Corona SDK 2015.2722 / XCode 7.0.
Tested on iPad 3rd gen [iOS 8.4.1] and iPhone 4 [iOS 7.1.2].
Error log:
Sep 27 23:59:23 Dev-iPad MMXLVIII[1983] <Warning>: <Google> To get test ads on this device, call: request.testDevices = @[@“5f92b66e7c111bd7db0e10765123c5a3”];
Sep 27 23:59:29 Dev-iPad MMXLVIII[1983] <Warning>: <Google:HTML> You are currently using version 6.12.2 of the SDK. Please consider updating your SDK to the most recent sdk version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/mobile-ads-sdk/docs/admob/ios/rel-notes.
Contrary to what the log seems to be hinting at, I am not setting testMode when showing the ad. This is happening on both of my apps that are running admob. You can try one of them Spiky Swim from the store:
https://itunes.apple.com/app/spiky-swim/id988685365?mt=8
What should happen: after 3 new games, the interstitial ads are loaded. After 6 new games, the interstitial ad is shown, and then every 3 new games after that an ad is shown. They’re never shown on iOS, but again the same code built out to Android is showing the ads.
Todd
Is AdMob currently working for anyone on iOS? I just rebuilt with version 2015.2730 and still no go for me.
Can I get you to file a bug report? You will need a simple app (main.lua, config.lua, build.settings that shows how you’re loading the plugin) that shows it not working. Put that in a .zip file (compress the folder with the code in it) and use the report a bug link at the top of the page.
When you get the email confirmation of your submission please post the included Case ID # back here as a reference.
Rob
Yes I did file a bug report Aug 27, case 42449. Since then I’ve taken that project and tried multiple changes to build.settings and the ad loading code itself, but nothing’s working. So I was hoping for some confirmation that it either was or wasn’t working for others.
Funnily enough I was just googling slow banner load times and stumbled across this thread.
The app I’m working on throws this error every second or so after I ask for a banner (up to 10 times) - <Warning>: <Google:HTML> You are currently using version 6.12.2 of the SDK. Please consider updating…
A banner does eventually load but it takes about 30 seconds which is excessively slow.
Interstitials seem fine.
Android is quicker to load the banners which takes ~5 sec but that still seems quite slow to me!
This code (Banner) worked for me tonight. It displayed ads and displays the height correctly.
local ads = require( "ads" ) local appId = "ca-app-pub-0123456789012345/0123456789" local function adMobListener( event ) local height = ads.height() print("Local height: ",tostring( height)) print( "Height in listener: "..ads.height()) end ads.init( "admob", appId, adMobListener ) ads:setCurrentProvider( "admob" ) ads.show( "banner", { x=0, y=0 } )
And on the interstitial side, this worked:
local ads = require( "ads" ) local appId = "ca-app-pub-0123456789012345/0123456789" local iOSappId = "ca-app-pub-0123456789012345/0123456789" local interAppId = "ca-app-pub-0123456789012345/0123456789" local iOSinterAppId = "ca-app-pub-0123456789012345/0123456789" local bigButton = display.newRect(display.contentCenterX, display.contentCenterY, display.contentWidth, display.contentHeight) bigButton:setFillColor(1, 0, 0) local function tapListener() print("Tap") return true end bigButton:addEventListener( "tap", tapListener ) local function adMobListener( event ) local height = ads.height() print("Local height: ",tostring( height)) print( "Height in listener: "..ads.height()) end ads.init( "admob", iOSinterAppId, adMobListener ) ads:setCurrentProvider( "admob" ) ads.show( "interstitial", { x=0, y=0, testMode = true } )
I believe the warning is a warning and not an issue.
It would be helpful to now more how all of you are trying to use the code. I looked at one of the bug reports today and it seemed they were calling ads.init() multiple times for the same provider. You only need to call it once.
Call ads.init() once per provider for your entire app (i.e. in main.lua).
Call ads.show() when you want to show an ad. Call ads.setCurrentProvider() to change which server ads.show() works against.
Provide a separate function to handle the listen event.
Rob
Ok I found the problem with my interstitial ads not showing. I was calling ads.load() to pre-load the interstitial ad and relying on the callback to eventually come through. It never does. Once I changed my code to call ads.show() regardless of whether the pre-loading worked, now the ads are showing.
I’m pretty sure that the ads.load() call used to work, that is, it used to call the event listener that was defined in ads.init().
So I’ll change my code and looks like it will work, but I still think the module has behaviour that is “not as designed” and/or “not as documented” for AdMob.
Phil, I don’t use banner ads, sorry I can’t comment on the loading speed of those. I’m only debugging interstitial today.
Rob and Phil, thanks for both of your replies.
AdMob is not currently working for me on iOS (although it works on Android, same code). I don’t know if it’s related to this warning message. I also don’t know if it’s something I did in my code.
I submitted a bug report (case 42449) along with a sample project on August 27 and waited patiently. But it’s been a full month without an update, and I have no idea how to check on the status of a particular case.
Any helpful hints?
Can you provide some more information. What version of Corona SDK are you building with?
What device/OS combinations are you testing on?
Can you post the exact errors you are getting (copy/paste from the console log)?
Thanks
Rob
I was building was Corona SDK 2015.2692 / XCode 6.4 when reported. I’ve since built with Corona SDK 2015.2722 / XCode 7.0.
Tested on iPad 3rd gen [iOS 8.4.1] and iPhone 4 [iOS 7.1.2].
Error log:
Sep 27 23:59:23 Dev-iPad MMXLVIII[1983] <Warning>: <Google> To get test ads on this device, call: request.testDevices = @[@“5f92b66e7c111bd7db0e10765123c5a3”];
Sep 27 23:59:29 Dev-iPad MMXLVIII[1983] <Warning>: <Google:HTML> You are currently using version 6.12.2 of the SDK. Please consider updating your SDK to the most recent sdk version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/mobile-ads-sdk/docs/admob/ios/rel-notes.
Contrary to what the log seems to be hinting at, I am not setting testMode when showing the ad. This is happening on both of my apps that are running admob. You can try one of them Spiky Swim from the store:
https://itunes.apple.com/app/spiky-swim/id988685365?mt=8
What should happen: after 3 new games, the interstitial ads are loaded. After 6 new games, the interstitial ad is shown, and then every 3 new games after that an ad is shown. They’re never shown on iOS, but again the same code built out to Android is showing the ads.
Todd
Is AdMob currently working for anyone on iOS? I just rebuilt with version 2015.2730 and still no go for me.
Can I get you to file a bug report? You will need a simple app (main.lua, config.lua, build.settings that shows how you’re loading the plugin) that shows it not working. Put that in a .zip file (compress the folder with the code in it) and use the report a bug link at the top of the page.
When you get the email confirmation of your submission please post the included Case ID # back here as a reference.
Rob
Yes I did file a bug report Aug 27, case 42449. Since then I’ve taken that project and tried multiple changes to build.settings and the ad loading code itself, but nothing’s working. So I was hoping for some confirmation that it either was or wasn’t working for others.
Funnily enough I was just googling slow banner load times and stumbled across this thread.
The app I’m working on throws this error every second or so after I ask for a banner (up to 10 times) - <Warning>: <Google:HTML> You are currently using version 6.12.2 of the SDK. Please consider updating…
A banner does eventually load but it takes about 30 seconds which is excessively slow.
Interstitials seem fine.
Android is quicker to load the banners which takes ~5 sec but that still seems quite slow to me!
This code (Banner) worked for me tonight. It displayed ads and displays the height correctly.
local ads = require( "ads" ) local appId = "ca-app-pub-0123456789012345/0123456789" local function adMobListener( event ) local height = ads.height() print("Local height: ",tostring( height)) print( "Height in listener: "..ads.height()) end ads.init( "admob", appId, adMobListener ) ads:setCurrentProvider( "admob" ) ads.show( "banner", { x=0, y=0 } )
And on the interstitial side, this worked:
local ads = require( "ads" ) local appId = "ca-app-pub-0123456789012345/0123456789" local iOSappId = "ca-app-pub-0123456789012345/0123456789" local interAppId = "ca-app-pub-0123456789012345/0123456789" local iOSinterAppId = "ca-app-pub-0123456789012345/0123456789" local bigButton = display.newRect(display.contentCenterX, display.contentCenterY, display.contentWidth, display.contentHeight) bigButton:setFillColor(1, 0, 0) local function tapListener() print("Tap") return true end bigButton:addEventListener( "tap", tapListener ) local function adMobListener( event ) local height = ads.height() print("Local height: ",tostring( height)) print( "Height in listener: "..ads.height()) end ads.init( "admob", iOSinterAppId, adMobListener ) ads:setCurrentProvider( "admob" ) ads.show( "interstitial", { x=0, y=0, testMode = true } )
I believe the warning is a warning and not an issue.
It would be helpful to now more how all of you are trying to use the code. I looked at one of the bug reports today and it seemed they were calling ads.init() multiple times for the same provider. You only need to call it once.
Call ads.init() once per provider for your entire app (i.e. in main.lua).
Call ads.show() when you want to show an ad. Call ads.setCurrentProvider() to change which server ads.show() works against.
Provide a separate function to handle the listen event.
Rob
Ok I found the problem with my interstitial ads not showing. I was calling ads.load() to pre-load the interstitial ad and relying on the callback to eventually come through. It never does. Once I changed my code to call ads.show() regardless of whether the pre-loading worked, now the ads are showing.
I’m pretty sure that the ads.load() call used to work, that is, it used to call the event listener that was defined in ads.init().
So I’ll change my code and looks like it will work, but I still think the module has behaviour that is “not as designed” and/or “not as documented” for AdMob.
Phil, I don’t use banner ads, sorry I can’t comment on the loading speed of those. I’m only debugging interstitial today.
Rob and Phil, thanks for both of your replies.