I made all fine, my app builds and even make a test drawing a display.newCircle on screen when function adListener init with sucess, but my add dont show up on may app…
this is my code, the part reference to admob and the complete function where I call the admob.show. can anyone help me with the reason why it´s not showing.,
thanks
local function adListener( event )
if ( event.phase == “init” ) then – Successful initialization
admob.load( "interstitial", { adUnitId="ca-app-pub-4156706727302412/5854908124" } )
end
end
admob.init( adListener, { appId=“ca-app-pub-4156706727302412~4323986990” } )
function showad()
if ( admob.isLoaded( “interstitial” ) ) then
admob.show( “interstitial” , { adUnitId=“ca-app-pub-4156706727302412/5854908124” })
end
end
function menuentra()
showad()
transition.to (pelimenu, {time=500, alpha=.8})
transition.to (imgmenu, {time=500, alpha=1})
transition.to (bplay, {time=500, x=imgmenu.x})
transition.to (boptions, {time=500, x=imgmenu.x})
transition.to (imgtoprecord, {time=500, alpha=1})
transition.to (toprecordtxt, {time=500, alpha=1})
background:removeEventListener(“tap”, playerwalk)
audio.play(musicafundo)
timer.cancel(tc1)
timer.cancel(tc2)
timer.cancel(tc3)
timer.cancel(tc4)
timer.cancel(tc5)
timer.cancel(tc6)
end