I’m attempting to implement Appodeal in my new app (because it’s free) and I have a few questions that I haven’t been able to find answers for.
- I’m utilizing banner ads and rewarded videos. When in test mode both load fine. When out of test mode banners “failed to load” and the rewarded video is the same ~5 second video from adColony every time.
- EDIT : Changing the age and gender caused the video to change. Now it loads a different video, but still the same one every time I call appodeal.show( “rewardedVideo” )
- After a rewarded video plays, my listener fires but there doesn’t appear to be any data in the event.
from Main.lua
<lua>
local appodeal = require( “plugin.appodeal” )
function adListener( event )
print(“EVENT TRIGGERED…”)
print ("PHASE … " … event.phase )
if ( event.phase == “init” ) then – Successful initialization
appodeal.setUserDetails( { gender=glo.userGender, age=glo.userAge } )
elseif ( event.phase == “failed” ) then – The ad failed to load
print( event.type )
print( event.isError )
print( event.response )
elseif ( event.phase == “playbackEnded” ) then – Successful initialization
print ("DATA … " … event.data )
print ("RESPONSE … " … event.response )
print ("NAME … " … event.data )
print ("PROVIDER … " … event.provider )
print ("TYPE … " … event.type )
end
end
– Initialize the Appodeal plugin
appodeal.init( adListener, { appKey=glo.AppODealKey, testMode = false, bannerAnimation = true } )
</lua>
Results in…
08-12 08:17:09.023 1597 2774 I Corona : PHASE … playbackBegan
08-12 08:17:09.023 1597 2774 I Corona : EVENT TRIGGERED…
08-12 08:17:09.023 1597 2774 I Corona : PHASE … failed
08-12 08:17:09.023 1597 2774 I Corona : banner
08-12 08:17:09.023 1597 2774 I Corona : true
08-12 08:17:09.023 1597 2774 I Corona : failed to load
08-12 08:17:09.024 1597 2774 I Corona : EVENT TRIGGERED…
08-12 08:17:09.024 1597 2774 I Corona : PHASE … playbackEnded
08-12 08:17:09.026 1597 2774 I Corona : EVENT TRIGGERED…
08-12 08:17:09.026 1597 2774 I Corona : PHASE … closed
-
Which segues to…Should I be relying on their response data in the listener or should I [can I] utilize their S2S Callback URL?
-
The appodeal shows 7 banner impressions but over the course of 2 days it has never reflected a rewarded video view. Whether in test mode or not.
-
How does compensation work? Are you paid for each impression or only if the user reacts to it?
Thanks in advance