i have added the admob test in my app as the pdf instructions were directing and everything works nice(in emulator and in my device).In order to stop the test mode and upload my new apk at the market i have to erase the test code from my .java file,right?i have tried it and i uploaded my .apk file in my device (from mass storage)but i cant see any admob...what is my wrong ?
TEST CODE:
AdManager.setTestDevices( new String[] {
AdManager.TEST_EMULATOR,"xxxxxxxxxxxxxxxxxxxxxxxxx",});
AdView adView=(AdView)findViewById(R.id.ad);
adView.requestFreshAd();
i checked my LogCAT view:
01-20 14:13:38.938: INFO/AdMobSDK(19582): No fill. Server replied that no ads are available (373ms)
You have to disable test mode from your
AdMob
account manually. So just login to yourAdMob
Account and go to settings of that application and there you can find a option like this:Make sure the ad has enough space around it, aka its container should be atleast 320dp wide. I discussed this at length here: http://cupcake-and-beyond.blogspot.com/2011/05/why-is-my-admob-ad-not-showing-up.html
(I also show a neat trick with the new ad sizes)
I observed same results. Just be patient :) BTW. You don't have to remove
AdManager.TEST_EMULATOR,"xxxxxxxxxxxxxxxxxxxxxxxxx",});
. It affects only your device.You yourself answered the question
Everything is alright. Server has nothing to send you, when it will, you will see the ads.