All Collections
Monetize
Setting Postbacks for Rewarded Video
Setting Postbacks for Rewarded Video
Support avatar
Written by Support
Updated over a week ago


As a publisher, you can use our rewarded video SDK. The SDK displays a video to the user and rewards him at the end of the video for watching it. This postback notifies the publisher by a server-to-server call, that the user has finished watching a video in order to reward him.

You can now set up your own postback URL on Appnext platform by going to rewarded video postback tabs on advanced settings page. You can add any valid values you wish (except spaces and prohibited symbols). It needs to be 1 string and if you want more than one value enter it in Encoded format.

For example postback with 3 parameters:

https://admin.appnext.com/appLink.aspx?b=29656&e=87274&q=your_parameters&your_parameters2&your_parameters3

Should be added Encoded:

https://admin.appnext.com/appLink.aspx?b=29656&e=87274&q=your_parameters%26your_parameters2%26your_parameters3

We will then call your postback URL and will return the entire string of the 3 parameters you mentioned in this URL.

*** Note: Your postback parameters must be unique - do not use the same value more than once ***


Step 1:
Add your base URL in the text field to continue setting your postback URL.



Step 2:

Add at least one mandatory parameter from the following list:

1- Transaction ID - Unique Transaction ID

2- User ID - Unique User ID used to identify the user after watching the full video

3- Reward type- The reward type that will be credited to user after watching the video (coins, lives etc.)

4- Amount rewarded - The amount of the reward that should be credited to user

5- Postback parameter - Any custom parameter (&q=)

6- Placement ID


Step 3:
You will see your postback URL in the preview box with all the relevant parameters you just added (along with the relevant macros). Before saving your postback URL, you will be able to send a test to your server by clicking the Test button.

Appnext will send postbacks from the following IP address: 54.204.84.86, please make sure to whitelist it.

For example – if your base URL is: http://www.example.com”

And the custom transaction ID parameter is “transactionID”, the preview box should display:

http://www.example.com?transactionID=$appnext_rewardsTransactionId$”

If the amount rewarded parameter is also added, for example: “amountrewarded”, the URL in the preview box will be:

http://www.example.com?transactionID=$appnext_rewardsTransactionId$amountrewarded=$appnext_rewardsAmountRewarded$

Postback URL will be activated when saving. If you want to stop receiving postbacks you can deactivate by clicking on disable button.

It is possible to set up a different postback URL, for every publisher app/website registered to the Appnext platform.


If you have any issue setting your postback URL, please contact Appnext support team, specifying your postback URL.

Did this answer your question?