A Startup Hiring in Jodhpur A Startup Hiring in Jodhpur - 2 months ago 9
Android Question

AdMob only displaying Test Banner

I implemented AdMob from https://developers.google.com/mobile-ads-sdk/docs/admob/android/quick-start?hl=en_US which was running fine as expected during the testing.

enter image description here

I thought this banner add will be replaced by the actual ads when downloaded from play store, but this doesn't happened !

How to make it happen ?

Am I missing something ?

What should I do ?

Answer

You have to remove the below lines if you have them in your app, it tells admob that the device is used for testing.

.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
.addTestDevice("XXXXXXXXXXXXXXXXXXXXXXXXXXXX")
Comments