Skip to content

Android Rewarded Video Rewarding User

Aleksandr Chatsky edited this page Jan 4, 2019 · 4 revisions

Client Side (SDK Callback)

When the video is completed, you will be notified by callback below to reward the user:

@Override 
public void onCompleted(String currency, String amount) {
    // Reward the user here
}

N.B.: In order to receive the reward callback, you must set rewarded video delegate for your class.

Server Side (S2S Callback)

We also support server-side reward callbacks to securely pass the reward data. Server-to-server callbacks are sent to your server when a user has watched an ad. You can use these callbacks to reward players with virtual goods and to detect & prevent cheating.

To use S2S Callback feature, you must set user ID in your application.

By default, this feature is not enabled. You can enable it by following the steps here.

Clone this wiki locally