local ads = require "ads" local function adListener( event ) local msg = event.response if event.isError then end end ads.init( "iads", "myAppId", adListener ) ads.show( "banner", { x=0, y=0 } ) ads.show( "interstitial" )
In the above code, if an error occurs, how to know if it is from the banner or the interstitial?