No way to setUserId or setCustomData for reward videos
See original GitHub issueThere is currently no way that I can find to setCustomData or setUserId to verify reward videos server side using the reward video ssv: https://developers.google.com/admob/android/rewarded-video-ssv
This is essential for reward videos to verify that the user actually completed the video reward, rather than just relying on a client side callback to reward the user.
The IAdRequest interface currently supports the following data:
interface IAdRequest {
id?: AdUnitIDOption
testDevices?: string[]
childDirected?: boolean
underAgeOfConsent?: boolean
}
Maybe allowing a customData object or a userId here that gets set using the setUserId or setCustomData functions would be the way to go?
For example:
document.addEventListener('deviceready', () => {
admob.rewardVideo.load({
id: {
// replace with your ad unit IDs
android: 'ca-app-pub-xxx/yyy',
ios: 'ca-app-pub-xxx/zzz',
},
userId: '14239023',
customData: {
somethingElse: 'hello world'
}
}).then(() => admob.rewardVideo.show())
}, false)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Reward video server-side verification - Google Groups
1. We use setUserId() to pass in our custom data (our client does not support setCustomData() for the time being because of the...
Read more >setting the userId in firebase admob rewarded video. #33033
I am using the firebase rewarded video and there's a method called setUserId(String userId) in the following link:
Read more >Android AdMob rewarded ads: server-side callback not called ...
There are rewarded ads in my Android app. There is a server-side verification (SSV) callback set up. Everything is working if the user...
Read more >Validate server-side verification (SSV) callbacks | Android
This guide shows you how to verify rewarded SSV callbacks by using the Tink third-party ... If no custom data string is provided...
Read more >A brand new website interface for an even better experience!
No way to setUserId or setCustomData for reward videos.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dodocodes @bardgr @nfacha @SeVeNDuS I have just released
admob-plus-cordova@1.0.0-alpha.13
to support this. Please refer to https://admob-plus.github.io/docs/cordova/rewarded-ads-ssv/Hugely useful in order to support reward vids and increase revenue. Many thumbs up. Is it possible @ratson to have it in the next release?