I have been working with admob for the last few days and can not figure out how to turn off admob testing mode. I tried the settings in the website but i still get test ads and they flat out wont run on my phone. Log cat keeps telling me to add my phone as a testing device. Well I’m through testing, I just want to get things up and running live.
Share
There are a couple of ways you can turn off the testing mode.
If you are creating Ad’s using XML, you will have something in your XML’s that looks like this:
ads:testDevices="TEST_EMULATOR, THE_DEVICE_ID"If you are creating Ad’s using JAVA, you might have something that looks like this:
AdRequest.setTestDevices( new String[] {
AdRequest.TEST_EMULATOR,
“THE_DEVICE_ID”, // My Test Device ID
} );
NOTE: I do not personally create my Ads using Java, so you will have to probe that a bit
A SIDE NOTE: I personally always rely on the 3rd option. Saves me the effort of going through literally about 65 odd XML’s and removing my test device ID’s.