9

I want to submit my app to pre-launch report in Android Developer Console. The app is currently Admob enabled. I heard that the test devices will automatically crawl the app and will perform basic actions every few seconds on the app, such as typing, tapping, and swiping. I fear that this will lead to invalid click on the Admob ads.Please advice me.

2

2 Answers 2

8

Sadly got my AdMob suspended!

For future folks out there... STAY AWAY FROM PRE-LAUNCH AND ADMOB prior to fully reading outside the Play Developer Console. (which is the one suggest in the answer above me)

I think Google should make it more clear (they know to detect many features within the APK they should at least put it clearly somewhere!).

Well.. after I got some of my own steam in this answer. It seems the safest way at least with AdMob is a suggest here.

So there are 2 options:

  1. Make sure pre-launch is turned ON only for test apks (without Ads). to avoid release Ad Units.

  2. Add the following snippet to your code:

    private boolean isTestDevice() {  
        String testLabSetting = 
               Settings.System.getString(getContentResolver(), "firebase.test.lab");
        return "true".equals(testLabSetting);
    }
    

Thank you for making my day Google!

3

https://firebase.google.com/docs/test-lab/overview#testlab_and_mobile_advertising

You should blacklist the IP range listed in the above website.

1
  • 1
    Why isn't this done automatically for AdMob? They're all Google's products afterall.
    – c0dehunter
    Mar 13, 2019 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.