yes it is admob
this is the code. It is not the original code. It is a sample but the problem is the same.
-- hide the status bar display.setStatusBar( display.HiddenStatusBar ) -- include the Corona "composer" module --local composer = require "composer" -- load menu screen --composer.gotoScene( "menu" ) -- debugger txtDebug = native.newTextField( display.contentWidth \* 0.5, 100, display.contentWidth, 35 ) txtDebug.align = "center" txtDebug:setTextColor( 1, 0.5, 0 ) txtDebug.text = "Ad Debug" -- Adss Implement uidInters = "id" adsInterstitial = require( "ads" ) -- Optional table containing targeting parameters targetingParams = { tagForChildDirectedTreatment = true } -- For button widget local widget = require "widget" -- Function to handle button Banner events -- Function to handle button Interstitial events local function handleButtonIntersEvent( event ) if ( "ended" == event.phase ) then if ( adsInterstitial.isLoaded( "interstitial" ) ) then txtDebug.text = "show Interstitial" print( "Interstitial was pressed and released" ) adsInterstitial.show( "interstitial", { x=0, y=0, targetingOptions=targetingParams} ) else txtDebug.text = "Inters Not Ready Try Load" adsInterstitial.load( "interstitial", { testMode= false } ) end end end local btnInters = widget.newButton{ label="Test Interstitial", labelColor = { default={255}, over={128} }, default="button.png", over="button-over.png", width=154, height=40, onRelease = handleButtonIntersEvent -- event listener function } btnInters.x = display.contentWidth \* 0.5 btnInters.y = display.contentHeight - 250 -- Function to handle Reload Interstitial events local function handleReloadIntersEvent( event ) if ( "ended" == event.phase ) then txtDebug.text = "Re-Load Interstitial" adsInterstitial.load( "interstitial", { testMode= false } ) end end local btnLoadInters = widget.newButton{ label="Reload Interstitial", labelColor = { default={255}, over={128} }, default="button.png", over="button-over.png", width=154, height=40, onRelease = handleReloadIntersEvent -- event listener function } btnLoadInters.x = display.contentWidth \* 0.5 btnLoadInters.y = display.contentHeight - 200 -- Function to handle initialize of Admob local function adInterstitialListener( event ) if ( event.isError ) then -- Failed to receive an ad print( "Error init Interstitial " + event.isError ) txtDebug.text = "Error init Interstitial " + event.isError end end -- Call initialize of Admob adsInterstitial.init( "admob", uidInters, adInterstitialListener ) adsInterstitial.load( "interstitial", { testMode=false } )