Hello so I am making a game and when I load up my app for the first time an ad popups after I lose a banner never seems to appear.
I am using Appodeal.
This is in my game.lua
I tried looking on Appodeal for more help because I feel like I must be doing something incorrect.
local appodeal = require("plugin.appodeal") local function adListener( event ) if ( event.phase == "init" ) then -- Successful initialization -- Show a banner ad appodeal.show( "banner" , {yAlign = "bottom"}) print("ad") elseif ( event.phase == "failed" ) then -- The ad failed to load print( event.type ) print( event.isError ) print( event.response ) end end -- Initialize the Appodeal plugin appodeal.init( adListener, { appKey="MYKEY" } ) -- Sometime later, check if an ad is available if ( appodeal.isLoaded( "banner" ) ) then appodeal.show( "banner" ) end -- Sometime later, hide the ad appodeal.hide( "banner" )
I use to use Admob and had no problem. I am also wondering if I have add something to my main.lua file?
Any help would be amazing, this ad problem is the only thing stopping me from releasing my game.