Supersonic implementation questions

I’m trying to add Supersonic a monetization platform, but I’m encountering a couple of issues:

  1. 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. 

  1. 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!

I’m trying to add Supersonic a monetization platform, but I’m encountering a couple of issues:

  1. 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. 

  1. 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!

Hey.

Issue #2 sounds unusual. Might be a slip up on my end, i’ll check that out.

As for #1, that too is odd indeed. 

I’ll take a look into these now and get back to you shortly.

Thank you

Ok, for #2, the docs were incorrect. 

The api for load is actually:

supersonic.load( adUnitType, userId )

I’ve pushed the doc corrections and it should go live shortly. 

Looking into issue #1 now.

Issue #1 has been fixed. The wrong event was being dispatched on Android.

It now dispatches a “rewarded” event as intended, with no isError flag set.

The fix will be available in 1~2 hours from the time of this post.

Thanks for reporting this

It works great, thanks!

I’m trying to add Supersonic a monetization platform, but I’m encountering a couple of issues:

  1. 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. 

  1. 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!

Hey.

Issue #2 sounds unusual. Might be a slip up on my end, i’ll check that out.

As for #1, that too is odd indeed. 

I’ll take a look into these now and get back to you shortly.

Thank you

Ok, for #2, the docs were incorrect. 

The api for load is actually:

supersonic.load( adUnitType, userId )

I’ve pushed the doc corrections and it should go live shortly. 

Looking into issue #1 now.

Issue #1 has been fixed. The wrong event was being dispatched on Android.

It now dispatches a “rewarded” event as intended, with no isError flag set.

The fix will be available in 1~2 hours from the time of this post.

Thanks for reporting this

It works great, thanks!