I just submitted an update to one of my apps on the Play Store and noticed the app was no longer being served ads. I use AdMob mediation and have Millennial Media as a second ad source.
When running my app through Android Studio I'm able to see ads on the emulator and on my android device (for both Millennial media and AdMob). However, when I generate a signed release APK and install that on my android device the ad request always returns ERROR_CODE_NO_FILL
.
If I remove Millennial Media or have AdMob first, then I can see AdMob ads in my production app. So it looks like it's an issue with Millennial Media.
My Millennial Media account looks fine, and I can see impressions for the ads that've showed up during testing. So I thought it might to be an issue with the keystore, but then I shouldn't have been able to publish the update to the Play Store right?
I've also tried:
- updating the play service api from
'com.google.android.gms:play-services:6.+'
to'com.google.android.gms:play-services:7.+'
- performing the latest android studio updates
- cleaning and rebuilding the solution
- updating
buildToolsVersion
to"22.0.1"
- updating
compileSdkVersion
andtargetSdkVersion
to22
It's difficult to investigate as it's a release APK, and the only information I've got is the integer error code passed into the AdListener
onAdFailedToLoad
method.
I've simply removed Millennial Media from the ad mediation for now. But if anyone's has faced a similar issue I'd really appreciate any help or advice you could offer.