Closed snappedToGrid closed 1 year ago
Hi @snappedToGrid
Currency code defaults to USD, but is not guaranteed to be USD. For instance, currency may not be USD in certain mediation situations.
I will forward your request to have a static level report.
Firebase has an example of logging the revenue to analytics here.
For the duplicate code, we could do something like this :
public static class AdPaidHandler
{
public static void OnAdPaid(AdValue value)
{
// Common logging logic.
}
}
void Start()
{
RewardedAd.Load((RewardedAd ad, LoadAdError error) =>
{
// {Sanity Here}
ad.OnAdPaid += AdPaidHandler.OnAdPaid;
});
}
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
This is a mix of a documentation and feature request for better testing options with OnAdPaid implementation. I'm trying to implement "Impression level Ad-Revenue" so I could send ad revenue data to Facebook and track how profitable my campaigns are for each campaign. I'm facing multiple problems:
Imagine having this code across many different classes that create ads:
`private void StartLoadAd() { if (_ad != null) { _ad.OnAdPaid -= AdmobService.OnAdPaid; _ad.Destroy(); _ad = null; } AdmobService.Instance.LoadRewardedAd(AdPlacement.Mayor, AdLoadCallback); }
I would have submitted part of this as a review to the documentation, but unlike what the instructions here say, there's no "Send Feedback" button in the admob documentation website, only thumbs up/down which don't allow for more detailed feedback. Maybe that's a bug of its own?
Thank you.