Hi Admob Team.
Thank you for your help. I've checked that the sample app you attached is working alright.
However, I still get the same result when testing with my Adapter (which is modified to have similar code to SampleCustomEvent you provided). I believe that your sample app works fine only because of the difference in testing environment. The followings are what I did to match the testing environment between the sample app you attached and my adapter.
1. Integrating Mediation Test Suite
I've been testing my adapter using Mediation Test Suite with similar code that you provided in the SampleCustomEvent, but it has not been working properly. In order to see the exact difference between SampleCustomEvent you provided and my adapter, I first tried to add the SampleCustomEvent to Mediation Test Suite to match the testing environment.
However, I was not able to observe the SampleCustomEvent you provided on Mediation Test Suite.
Because
- When Mediation Test Suite is being executed, all class registered as custom event should leave logs in logcat. But SampleCustomEvent class you provided doesn't leave any log.
- Usually unregistered classes leave logs like "D/gma_test: com.google.ads.mediation.unity.UnityAdapter class NOT detected." and registered ones like "I/gma_test: com.buzzvil.buzzad.benefit.adapter.admob.rewardedvideo.BuzzAdRewardedVideoAdapter class detected." But SampleCustomEvent doesn't leave either.
- Mediation Test Suite doesn't show the Unit id (`ca-app-pub-3940256099942544/
6223236111` from the Sample App you provided) in the list.
Due to the above reason, I concluded that it is not possible to match the exact same testing environment using Mediation Test Suite.
Next step is to test my Adapter in the same sample app you provided.
2. Integrating Mobile Ads RewardedVideo
Your Sample App always gives chance to Mediation to show ads as if it doesn't have Admob ad source. So I was able to observe that load and show request always passes to Adapter.
My Adapter also gets load request, but I was not able to see if show request comes in alright, as Admob's test ad always gets the first chance.
The problem existed even before I left a comment in the thread. Since I had no way to know if show request has passed to my Adapter correctly, I was not sure if my Adapter was developed in a right way. This was one of the reason that I've been testing using Mediation Test Suite (even though it did not show the result I wanted at all).
In short, I am still NOT convinced that AdMob Mediation works fine with any custom event, as the testing environment that you provided is different than mine. The only way to solve the problem is to match the exact same testing environment and run the test for both SampleCustomEvent and my Adapter.
I would like to know the following to test SampleCustomEvent under the same circumstance:
1. Please let me know the detailed unit setting for the Sample App unit id (`ca-app-pub-3940256099942544/
6223236111`), including mediation setting for the unit and how you registered SampleCustomEvent to the unit. Or any other AdMob admin setting that might cause the difference.
2. Please let me know if there is a way to DISABLE AdMob Test Ad from my AdMob unit to make sure my Adapter gets the show request in the sample app.
I really appreciate your help in this matter.
If possible, having a short call would help a lot expedite the whole process.
Thanks.
JD.