Hi all, my apps got a website inside, and before the website been shown, I want to show a interstitial advertisement first, however, after the ad being shown and I closed it, the website behind become no response, any idea how come this happen? thanks a lot.
The code of the interstitial ad is as below:
local ads = require( “ads” )
local function adListener( event )
if ( event.isError ) then
--Failed to receive an ad
end
end
ads.init( “admob”, “myAppId”, adListener )
ads.show( “interstitial”, { x=0, y=0, appId=“ca-app-pub-1440176583116xxx/5493266xxx” } )