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!
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
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With