Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using real AdMob ads in alpha/beta testing

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!

like image 648
user6265154 Avatar asked Aug 24 '16 10:08

user6265154


Video Answer


2 Answers

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

like image 168
zarsky Avatar answered Oct 21 '22 07:10

zarsky


Can I use REAL admob ad unit ids when I deploy my app into Google play store Alpha & Beta channels?

Yes, you can, it does not violate the policy.

What if i click or don't click them?

You cannot/should not click on your own live ads.

(well technically you can, but you will get suspended for it)

like image 39
earthw0rmjim Avatar answered Oct 21 '22 07:10

earthw0rmjim