Hi,
I am writing app for IOS. I am using superawesome ads for monetization.
I am trying to show the ad after it is loaded. I see in the ipad device logs that ad is loaded successfully. but ad is not showing up even though after calling show function.
I faced same issue kidoz ads, so I switched to superawesome. Here also I see same issue. can any one have working sample code?
Here is my code
local function adListener( event )
if ( event.phase == “init” ) then
superAwesome.load( “banner”, “33460”,{bannerSize=“BANNER_250”} )
elseif ( event.phase == “loaded” ) then
local isAdLoaded = superAwesome.isLoaded( event.placementId )
print( isAdLoaded)
superAwesome.show( “banner”, “33460”)
end
local function initializeSuperAwesome()
superAwesome.init( adListener, { testMode=true } )
end
in the device logs, I also see ‘true’ for print( isAdLoaded) statement.
Any help is greatly appreciated.
Thanks,
Uday