-
Notifications
You must be signed in to change notification settings - Fork 1
iOS Rewarded Video Rewarding User
Mert Celik edited this page Sep 24, 2018
·
1 revision
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.
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.