Admob on iOS not showing up

The android version of my application is working the way I want it to. But when I build it for iOS AD HOC and install it onto my ipod touch test device. The ad won’t pop up. Is it because its AD HOC?

I am showing an Interstitial ad it is an older build. Version CoronaSDK 2013.1202

Help would be greatly appreciated. 

I tried with banner also. Does not work.

My window 8 version is 2013.2100

My OSX 1.8.5 version is 2013.1202

Is there a reason you’re using 1202 on OSX?

Are you sure  you have everything setup correctly in the Admob portal for iOS devices?

local ads = require "ads" local appID = "myid1232323232323233232" -- Load Corona 'ads' library local function adListener( event ) if event.isError then -- Failed to receive an ad. end end ads.init( "admob", appID, adListener ) ads.show( "banner", { x=0, y=260 } )

This seems to work perfectly on the android side. I am using a Mac with an older graphics card that can only support up to openGL 1.2.

Can you post your build.settings?

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight", } }, iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend } }, android = { -- Your Google Play Games App Id googlePlayGamesAppId = "xxxxxxxxxxxxxxx", usesPermissions = { "android.permission.INTERNET", "android.permission.VIBRATE", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", }, }, plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.ads.admob"] = { -- required publisherId = "com.coronalabs", }, ["CoronaProvider.gameNetwork.google"] = { -- required publisherId = "com.coronalabs", }, }, }

Your build.settings looks file.  I wonder if it’s an issue with a setting in the AdMob portal.  You have different ID’s for iOS and Android.  Make sure you using the right ID and make sure everything is setup correctly there.

Rob

I tried with banner also. Does not work.

My window 8 version is 2013.2100

My OSX 1.8.5 version is 2013.1202

Is there a reason you’re using 1202 on OSX?

Are you sure  you have everything setup correctly in the Admob portal for iOS devices?

local ads = require "ads" local appID = "myid1232323232323233232" -- Load Corona 'ads' library local function adListener( event ) if event.isError then -- Failed to receive an ad. end end ads.init( "admob", appID, adListener ) ads.show( "banner", { x=0, y=260 } )

This seems to work perfectly on the android side. I am using a Mac with an older graphics card that can only support up to openGL 1.2.

Can you post your build.settings?

-- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight settings = { orientation = { default = "landscapeRight", supported = { "landscapeRight", } }, iphone = { plist = { UIStatusBarHidden = false, UIPrerenderedIcon = true, -- set to false for "shine" overlay --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend } }, android = { -- Your Google Play Games App Id googlePlayGamesAppId = "xxxxxxxxxxxxxxx", usesPermissions = { "android.permission.INTERNET", "android.permission.VIBRATE", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.READ\_PHONE\_STATE", }, }, plugins = { -- key is the name passed to Lua's 'require()' ["CoronaProvider.ads.admob"] = { -- required publisherId = "com.coronalabs", }, ["CoronaProvider.gameNetwork.google"] = { -- required publisherId = "com.coronalabs", }, }, }

Your build.settings looks file.  I wonder if it’s an issue with a setting in the AdMob portal.  You have different ID’s for iOS and Android.  Make sure you using the right ID and make sure everything is setup correctly there.

Rob

Is there any solutions for this case?

same here, my admob wont show up in iOS, but everything smooth on Android

Im using corona 2013.2100 on mac

thx!

While I don’t know of any specific reasons why build 2100 would have AdMob issues, you should consider upgrading to 2189 because many bugs have been fixed.

As for this issue, can you post your build.settings?  Have you looked at the device’s console log looking for any errors or warnings or messages from AdMob?

Are you sure you have your adMob portal setup correct?

Rob

Hi,

Is it possible for incorrect Admob portal setup while same code can show Admob on Android?

Honestly i havent look at device console log.

Here is my build settings as i pasted below : 

settings = { orientation = { default = "portrait", supported = { "portrait", } }, iphone = { plist = { UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = false, UIStatusBarHidden = true, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png" }, --MinimumOSVersion = "5.1.0", }, skipPNGCrush = false, }, -- enable the admob plugin plugins = { ["CoronaProvider.ads.admob"] = { -- required publisherId = "com.coronalabs", }, }, --[[-- Android permissions androidPermissions = { "android.permission.INTERNET", },]]-- }

Well I have different AppID’s for iOS and Android in my one app that uses both, so if you don’t have an AppID (AD Unit ID) for iOS and if your Corona code doesn’t detect which OS you’re on and use the right Ad Unit ID, then you will run into issues.

Rob

Is there any solutions for this case?

same here, my admob wont show up in iOS, but everything smooth on Android

Im using corona 2013.2100 on mac

thx!

While I don’t know of any specific reasons why build 2100 would have AdMob issues, you should consider upgrading to 2189 because many bugs have been fixed.

As for this issue, can you post your build.settings?  Have you looked at the device’s console log looking for any errors or warnings or messages from AdMob?

Are you sure you have your adMob portal setup correct?

Rob

Hi,

Is it possible for incorrect Admob portal setup while same code can show Admob on Android?

Honestly i havent look at device console log.

Here is my build settings as i pasted below : 

settings = { orientation = { default = "portrait", supported = { "portrait", } }, iphone = { plist = { UIApplicationExitsOnSuspend = false, UIPrerenderedIcon = false, UIStatusBarHidden = true, CFBundleIconFiles = { "Icon.png", "Icon@2x.png", "Icon-Small-40.png", "Icon-Small-40@2x.png", "Icon-60.png", "Icon-60@2x.png", "Icon-72.png", "Icon-72@2x.png", "Icon-76.png", "Icon-76@2x.png", "Icon-Small-50.png", "Icon-Small-50@2x.png", "Icon-Small.png", "Icon-Small@2x.png" }, --MinimumOSVersion = "5.1.0", }, skipPNGCrush = false, }, -- enable the admob plugin plugins = { ["CoronaProvider.ads.admob"] = { -- required publisherId = "com.coronalabs", }, }, --[[-- Android permissions androidPermissions = { "android.permission.INTERNET", },]]-- }