ratson / cordova-plugin-admob-free

New development has been moved to "admob-plus-cordova", https://github.com/admob-plus/admob-plus/tree/master/packages/cordova
https://github.com/admob-plus/admob-plus
MIT License
498 stars 214 forks source link

RewarderVideo userId, is it possible to set it? #366

Open jozef-kala opened 5 years ago

jozef-kala commented 5 years ago

I'm trying to configure rewarder video to work with SSV (server side validation). For pure android there is option to set userId which is send with confirmation link to server. For android it can be set with setUserId method: https://developers.google.com/android/reference/com/google/android/gms/ads/reward/RewardedVideoAd#setUserId(java.lang.String)

Is it possible to set it somehow with this plugin?

ArtiomSreda commented 4 years ago

I'm not getting any revenue from rewards video. 86% request is mediation network - why? And where do earnings go?

jozef-kala commented 4 years ago

OK, I have looked into the code and noticed that its not implemented.

soniaAguilarPeiron commented 4 years ago

I have a pending pull-request with this feature enabled. You can see in : https://github.com/ratson/cordova-plugin-admob-free/pull/394

You can set userId by setting AdExtras.userId value.

lucydjo commented 4 years ago

Up for android ?