Testing admob before publish

后端 未结 2 1995
再見小時候
再見小時候 2020-12-14 23:28

I have fishished an android project and set up admob ads but it\'s not working, tried on emulator and phone. So how to check if admob works?

Code:

           


        
2条回答
  •  佛祖请我去吃肉
    2020-12-15 00:20

    All those links are obsolete, to test, replace your Banner ID for the one mentioned by Google here (section "Give your app an Ad Unit ID"): https://developers.google.com/admob/android/quick-start

    And replace your Interstitial ID with the one mentioned by Google here (section "Instantiating the InterstitialAd object"): https://developers.google.com/admob/android/interstitial

提交回复
热议问题