Admob error

When open app in iOS 8.1 Error “no app id was supplied to ads.ini(). using test app id (someDefaultAppId) instead for ad network admob” 
I try to change ads banner can show but interstitial can’t show ads.
 

 --run ads admob local \_time local ads = require( "ads" ) local bannerAppID = "ca-app-pub-nnnnnnnnnnn/nnnnnnnnn" --for your iOS banner local interstitialAppID = "ca-app-pub-nnnnnnnnnnn/nnnnnnnn" --for your iOS interstitial local adProvider = "admob" if ( system.getInfo( "platformName" ) == "Android" ) then bannerAppID = "ca-app-pub-nnnnnnnnnnn/nnnnnnnnnnn" --for your Android banner interstitalAppID = "ca-app-pub-nnnnnnnnnnn/nnnnnnnnnnn" --for your Android interstitial end local function adListener( event ) local msg = evento.response if event.phase == "loaded" then end if event.isError then print("Error Ads!" ) end end ads.init(adProvider, interstitalAppID, adListener) function showBanner() ads.show( "interstitial", { appId = interstitalAppID,testMode = true } ) end \_time = timer.performWithDelay(4000, showBanner, 1) -- admob

Hi @sutenm,

It looks like you didn’t spell the variable names the same. You have:

local interstitialAppID

And then later:

ads.init(adProvider, interstitalAppID, adListener)

Notice that you forgot the final “i”. Please correct the syntax errors and see if that solves the issue.

Best regards,

Brent

ERROR: ERROR ITMS-9000: “Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘VH62U5T75R.Knock-Out’ for key ‘application-identifier’ in ‘Knock Out.app/Knock Out’ is not supported. This value should be a string starting with your TEAMID, followed by a dot ‘.’, followed by the bundle identifier.”

Hi @sutenm,

It looks like you didn’t spell the variable names the same. You have:

local interstitialAppID

And then later:

ads.init(adProvider, interstitalAppID, adListener)

Notice that you forgot the final “i”. Please correct the syntax errors and see if that solves the issue.

Best regards,

Brent

ERROR: ERROR ITMS-9000: “Invalid Code Signing Entitlements. Your application bundle’s signature contains code signing entitlements that are not supported on iOS. Specifically, value ‘VH62U5T75R.Knock-Out’ for key ‘application-identifier’ in ‘Knock Out.app/Knock Out’ is not supported. This value should be a string starting with your TEAMID, followed by a dot ‘.’, followed by the bundle identifier.”