Hi,
I've recently added Unity ads to our admob mediation list for our app. The ad inspector is showing it as "Didn't initialize" (see screenshot). Any ideas why?
1.All the ad units/placements are correct in unity/admob dashboards.
2.Unity ads mediator and sdk are being included in build.gradle:
implementation("com.unity3d.ads:unity-ads:4.12.1")
implementation("com.google.ads.mediation:unity:4.12.2.0")
3.It appears the SDK is being initialized from admob correctly at startup (from logcat):
UnityAds com.blah.dev.myapp D com.unity3d.services.core.misc.Utilities.writeFile() (line:80) :: Wrote file: /data/user/0/com.rubicon.dev.mahjongg/files/UnityAdsStorage-public-data.json
UnityAds com.blah.dev.myapp D com.unity3d.services.core.device.Storage.sendEvent() (line:89) :: Couldn't send storage event to WebApp
UnityAds com.blah.dev.myapp D com.unity3d.services.ads.UnityAdsImplementation.initialize() (line:1) :: ENTERED METHOD
UnityAds com.blah.dev.myapp D com.unity3d.services.UnityServices.initialize() (line:1) :: ENTERED METHOD
UnityAds com.blah.dev.myapp I com.unity3d.services.UnityServices.initialize() (line:475) :: Initializing Unity Services 4.12.1 (41201) with game id 123456(redacted) in production mode, session 1234(redacted)
UnityAds com.blah.dev.myapp I com.unity3d.services.UnityServices.initialize() (line:519) :: Unity Services environment check OK
4. Clicking on "troubleshoot" revealse this confusing statement:
"Each third-party ad source SDK adapter needs to be explicitly initialized in your codebase with the necessary parameters."
No it doesn't. I've been using mediation with Chartboost, Facebook and AppLovin for years. All those mediators are automatically initialised by the Admob Mobile Ads SDK.
As specified by the Admob "Getting started documentation":
"The quick start guide shows you how to initialize the Mobile Ads SDK. DURING THAT INITIALIZATION CALL, MEDIATION ADAPTERS ALSO GET INITIALIZED."
There's a lot wrong here (documentation wise). More importantly, I'd like to know why the init fails. There's no proguard exceptions for this, so I'm assuming
they're not required.
Many thanks,
Steve.
