adMob interstitial close event

Hi gurus,

I can’t figure out how to detect the close event of the interstitial ad. I want to show the banner ad when the user closes the interstitial  ad.

My code is as following

function adListener( event ) local msg = event.response print("Message received from the ads library: ", msg) if event.type == "adStart" and event.isError then print("add error----------------------"); --timer.performWithDelay(5000, showAd) elseif event.type == "adEnd" then -- ad displayed and then closed will never trigger??? print("ad closed-----------------------"); else print( "Received event------------------") end end

adEnd event type never fires up???

Please help me, i am stuck badly :frowning:

Where did you get the code that there is an “adStart” and “adEnd” method?  I’m not aware that these are supported for adMob.  I know Vungle reports start and stop actions.

Rob

Where did you get the code that there is an “adStart” and “adEnd” method?  I’m not aware that these are supported for adMob.  I know Vungle reports start and stop actions.

Rob