views:

75

answers:

1

I tried to configure google adsense on my drupal site. I used two methods. Both of them doesn't work

  1. Copied code from google adsense and pasted it in the html source of a left block. No luck

  2. Installed adsense and adsense injector modules. Ads still dont appear.

pls help

-Vivek

+1  A: 

I found this on your page

<script type="text/javascript">&lt;!--
google_ad_client = "pub-5173518975802519";
/* 120x600, created 2/24/10 */
google_ad_slot = "1651449242";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;    
</script>

Change the first line so that it reads:

<script type="text/javascript"><!--
Greg
you are the man. I removed that comment part and it works. thanks a million. you made my day!
Vivek Chandraprakash
hi Greg. I changed teh size of the ad. it stopped working. Any help?
Vivek Chandraprakash
hi greg. the ads are appearing now. thanks
Vivek Chandraprakash

related questions