My game implements rewarded ad. I’m using sample ad unit ID from admob. It works perfectly in Unity. But when I compliling aab file, upload it to google play console and enable internal testing - it just doesn’t work. Ad doesn’t show.
Please, help me to figure out, how to fix this issue.
I had the same issue. Still do actually. You can try asking the dev support team here: https://groups.google.com/g/google-admob-ads-sdk. They basically told me “Hurr, ads are working for us using your IDs on our application” not helpful at all. Seriously about to just give up and go to a in-app purchase model. I’ve literally spent the past two weeks trying to figure out admob. It’s so bad.
In fact I’ve not even tried my own IDs yet. What I’m using is AdMob sample IDs, that should work everywhere. And they work in editor like no problem. But when I install the app from google play to my device it doesn’t work.
Thank you for the link to admob support. Will try my luck there too.
I’ve tested this issue further. And it looks like callback of MobileAds.Initialize(Callback) is never invoked on actual android device, while working as a charm in Unity editor.
Here is my implementation:
void Start()
{
MobileAds.Initialize(AdsInitialized);
}
private void AdsInitialized(InitializationStatus obj)
{
//Code to load an actual ad here. But this method is is never invoked on android device
}
Same here! Just updated to Google Mobile Ads Unity plugin version 8.5.2 → Works perfectly fine in Editor. As soon as built to Android, the initialization callback gets never called. Ads also won’t show up. I’m using sample ad unit IDs from admob.
Thanks a lot for your answer, @anycolourulike . Yes, I did set up an AdSense account as well. However I’m not sure about the connection between AdMob and AdSense. In my opinion, these should work independently from each other.