Skip to content

iOS Rewarded Video Rewarding User

Mert Celik edited this page Sep 24, 2018 · 1 revision

Client Side (SDK Callback)

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

- (void)AMRewardedDidComplete:(AMRewarded *)rewarded withReward:(NSString *)name andAmount:(NSString *)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