By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,710 Members | 1,319 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,710 IT Pros & Developers. It's quick & easy.

Google Adsense not displaying on page

100+
P: 194
Hi everybody, i have got 3 ads code form google which i wana display on a page. but after implementing dat code only one ad on a page is displayed. please tell me wats wrong with it?

thanx
Jan 15 '10 #1
Share this Question
Share on Google+
6 Replies


acoder
Expert Mod 15k+
P: 16,027
Have you got some code there in white? In other words, post your code please.
Jan 15 '10 #2

100+
P: 194
Yes please here is the code:
Expand|Select|Wrap|Line Numbers
  1.   <script type="text/javascript"><!--
  2.   google_ad_client = "pub-0551362145452240";
  3.   /* 120x600, created 1/13/10 */
  4.   google_ad_slot = "0421494667";
  5.   google_ad_width = 120;
  6.   google_ad_height = 600;
  7.   //-->
  8.   </script>
  9.   <script
  10.   src="http://pagead2.googlesyndication.com/pagead/show_ads.js"
  11.   type="text/javascript">
  12.   </script>
  13.  
second ad is:

Expand|Select|Wrap|Line Numbers
  1.  <script type="text/javascript"><!--
  2.   google_ad_client = "pub-0551362145452240";
  3.   /* 300x250, created 1/13/10 */
  4.   google_ad_slot = "8352662966";
  5.   google_ad_width = 300;
  6.   google_ad_height = 250;
  7.   //-->
  8.   </script>
  9.   <script
  10.   src="http://pagead2.googlesyndication.com/pagead/show_ads.js"
  11.   type="text/javascript">
  12.   </script>
  13.  
Third is:
Expand|Select|Wrap|Line Numbers
  1.  <script type="text/javascript"><!--
  2.   google_ad_client = "pub-0551362145452240";
  3.   /* 468x60, created 1/13/10 */
  4.   google_ad_slot = "1374883367";
  5.   google_ad_width = 468;
  6.   google_ad_height = 60;
  7.   //-->
  8.   </script>
  9.   <script
  10.   src="http://pagead2.googlesyndication.com/pagead/show_ads.js"
  11.   type="text/javascript">
  12.   </script>
  13.  
I am not able to display all ads on a single page. please guide me how i can do this. thank u.
Jan 15 '10 #3

100+
P: 194
As soon as the page placed online it worked. thank u for ur help and support.
Jan 18 '10 #4

acoder
Expert Mod 15k+
P: 16,027
Hmm, interesting. It's probably to do with testing locally. Perhaps you should use a placeholder when testing locally and the real code when on your site.
Jan 18 '10 #5

100+
P: 194
how i can use a place holder? i was trying to put them in inside a div locally. is there any way while testing them locally? please tell me. thank u.
Jan 18 '10 #6

acoder
Expert Mod 15k+
P: 16,027
You can use a div or an image of the right size. It can be blank if you want. There should also be a test mode for Adsense which you should be able to use.
Jan 31 '10 #7

Post your reply

Sign in to post your reply or Sign up for a free account.