distriqt / ANE-Adverts-Mediation

Mediation adapters for the Adverts ANE
https://airnativeextensions.com/extension/com.distriqt.Adverts
12 stars 0 forks source link

Paid Event Handler returns no real revenues for rewarded videos with admob #57

Closed spielepalast closed 2 months ago

spielepalast commented 1 year ago

If you are reporting a bug please make sure you fill out the following information, otherwise delete this template and ask your question.

Expected behaviour

The Paid Event Handler should return real revenues for rewarded videos with admob like 0.001 USD

Actual behaviour

The Paid Event Handler returns for rewarded videos with admob "1 Reward", where '1' is the value and 'Reward' is the currencyCode. Those are the values that we have configured in the admob dashboard as a reward if the user watches the video.

Environment
Logs

Device logs if relevant

marchbold commented 1 year ago

Hi, we are just returning the value the SDK provides, there is no other information provided. The value is the from the getValueMicros() :

The ad's value in micro-units, where 1,000,000 micro-units equal one unit of the currency

https://developers.google.com/android/reference/com/google/android/gms/ads/AdValue