Android – Using real AdMob ads in alpha/beta testing

admobadsandroidandroid-studiomobile-ad-mediation

My android application has some admob ads. I am testing my admob in Google Play store Alpha & Beta channel.

My question is:

Can I use REAL admob ad unit ids when I deploy my app into Google play
store Alpha & Beta channels? Does it violate google play policy? What
if i click or don't click them?

I read this in Google admob:

Do I need to use test ads? Yes. It is against AdMob policy to use live
ads during development, and doing so could cause the suspension of
your AdMob account.

BUT it seems not very clear to me.

Thank you!

Best Answer

Technically you can, but there is one very important point to consider - Pre-launch report. You need to either have Pre-launch reports disabled, or make sure you don't show ads to Firebase test devices, or else you will get a bunch of "clicks by bots", with all the consequences.

I just got my account suspended for a month by accidently doing this - don't repeat my mistake.

You can disable Pre-launch reports in Play Console settings (see screenshot), or use this function to somehow hide your ads from testing devices:

boolean isTestDevice() {
    return Boolean.valueOf(Settings.System.getString(getContentResolver(), "firebase.test.lab"));
}

More info in this article on ubuverse.com

Firebase official documentation

Google Play Console settings

Related Topic