Search code examples
androidadmob

AdMob ad showing the developing ad on some devices


I'm using AdMob in my application, and today - a couple of hours - my application first version has been published on Google Play, and AdMob shows normal ads on my Galaxy Note 3 with Android 5.0.0 and on my Galaxy Note 8 with Android 4.4.2 and on Lenovo 4.4.2

I received a report from a friend that the ad shows the same ad appears during the developing period (As in the picture below), and he has Samsung Tab 4 runs Android 4.4.2 and also downloaded my app on another devices as htc with Android 4.4.2 and the same problem exists.

What could be the reason of the problem? Knowing that the application has been installed on all these devices from the same source on Google Play.

enter image description here

And tapping on the ad opens google developers page below:

enter image description here


Solution

  • I have my app localized to a language other than English, and I set the ID in both langs files, but I forgot to change it to production ID in the localized file. That's why on my devices it worked well as I use English UI, and didn't work on some devices, as they use the localized language for their UI, which leads to load the developing ID. Anyway, I removed the ID from the localized resource file so the system uses the one in the English resource file for all langs and it worked.