I am trying to use a banner ad in my app and for some reason anytime I go to the scene where the ad is it displays a black screen.
heres my code for the ad
-- include ads library local ads = require("ads") local function adListener( event ) local msg = event.response if event.isError then -- Failed to receive an ad, we print the error message returned from the library. print(msg) end end ads.init("admob","ca-app-pub-9490367465204232/7991947832",adListener) ads.show( "banner", { x=0, y=0 } )