This code worked before upgrading to 2013.2100:
local ads = require "ads" local function adListener( event ) if event.isError then -- Failed to receive an ad. print("error fetching ad: ",msg) end end ads.init( "admob", myAppID, adListener ) ads.show( "interstitial", { x=0, y=0 } )
Where myAppID is the 15-character alphanumeric string. The ad shows fine, the x hilights on touch, but when the ad closes I’m at the phone’s home screen.