marcojak / MTAdmob

Admob plugin for Xamarin Android and iOS
https://www.xamarinexpert.it/admob-made-easy/
160 stars 26 forks source link

user_id and custom_data are not coming in Validate server-side verification (SSV) callbacks #77

Open pooranoayaw opened 3 years ago

pooranoayaw commented 3 years ago

We are passing UserId and CustomData as requested but they are not converting as user_id and custom_data in the server-side webhook as expected, to issue a credit as a reward. https://developers.google.com/admob/android/ssv

Steps to reproduce the behavior:

In Admob when showing rewarded interstitial, it expects user_id / custom_data as parameters to be set while requesting an ad.

MTRewardedAdOptions has parameters as UserId and CustomData -- we have passed as expected. But when we received the webhook data, we did not see user_id or custom_data.

?ad_network=5450213213286189855& ad_unit=6125489951& reward_amount=1& reward_item=Get 1 Credit for watching an ad& timestamp=1634106169956& transaction_id=0005ce35fd21df460a720895e10fa846& signature=MEYCIQD_TED25JJBw2AzwyRqyaadYShBs5gtPBeX4x4saBy2YQIhAIIexQlUbF9N4sujCyOaEtvku0WCuMNNrc_-PLHXPyfQ& key_id=3335741209 **Expected behavior** Ideally, user_id should have come so that for that specific user, we could have rewarded credit.