Is it a good idea to remove test devices id for AdMob when publishing an app?

前端 未结 1 550
悲哀的现实
悲哀的现实 2021-01-13 15:28

I\'m preparing to launch an app in the Play Store, and after experimenting with AdMob (in test mode with my device id), I am now wondering if I should remove the test device

1条回答
  •  轮回少年
    2021-01-13 16:01

    Yes you should remove test mode before publishing:

        AdView adView = (AdView) findViewById(R.id.ad);
        AdRequest adRequest = new AdRequest();
        adView.loadAd(adRequest);
    

    In onDestroy(): adView.destroy();

    In layout:

    
    
    

    In AdMob app settings select this: Disable test mode for all requests

    0 讨论(0)
提交回复
热议问题