Skip to main content
Version: 1.x

Rewarded Ads Server-side Verification

Rewarded video SSV (server-side verification) callbacks provide an extra layer of protection against spoofing of client-side callbacks to reward users.

For the server-side implementation, please refer to the official guide for Android and iOS.

To set server-side verification options for RewardedAd,

new admob.RewardedAd({
adUnitId: 'ca-app-pub-xxx/yyy',
serverSideVerification: {
customData: "SAMPLE_CUSTOM_DATA_STRING",
userId: "1234567",
}
})

To set server-side verification options for RewardedInterstitialAd,

new admob.RewardedInterstitialAd({
adUnitId: 'ca-app-pub-xxx/yyy',
serverSideVerification: {
customData: "SAMPLE_CUSTOM_DATA_STRING",
userId: "1234567",
}
})