I’m trying to add Supersonic a monetization platform, but I’m encountering a couple of issues:
-
I have an app in test mode, so when I show a rewarded video I see the test video from supersonic. However, when the video is finished and I close the dialog, my supersonic listener gets a callback with a “failed” phase:
{ “isError”:true, “name”:“adsRequest”, “phase”:“failed”, “provider”:“supersonic”, “response”:"{“rewardName”:“Virtual Item”,“rewardAmount”:1,“placementName”:“DefaultRewardedVideo”}", “type”:“rewardedVideo” }
I don’t understand why it claim to have failed, since I saw the test video to the end and everything seemed ok. Also, the response doesn’t say what exactly went wrong - it only shows the placement info of the video.
-
the docs for load() say the syntax is:
supersonic.load( adUnitType, [placementId] )
Stating placementId is optional.
Yet when I call supersonic.load(“rewardedVideo”) I see an error saying the load function expects 2 arguments: adUnitType and userId. Are the docs wrong?
How do I pass the placement id then?
When I try to call supersonic.load(“rewardedVideo”, “user123”, “placement1”) where “placement1” is a valid placement name, I again see an error saying the load function expects 2 arguments but got 3.
Thanks!