Hi, I added adsense module in to my site (using drupal source), and now, I don't see any ads display on my site. Also, how do I do if I want to display ads on each article on my site? Thanks you!
Do you have an Adsense account? Configured your ad units on the Adsense site? Have you entered your publisher id into the config page for the module? Enabled the Adsense blocks on your pages?
Better is to put Adsense code manually. So that you copy your adsense code from account and paste into block you want. the most easy way...
I am using Drupal 6.14 . I installed AdSense Module and installed AdSense Injector Module. But it dosent automacic display ads . anybody can help me? Thanks you!
Whether you copy the Adsense code manually or you use the Adsense module you need an Adsense account. So, again, do you have an Adsense account? Have you configured your ad units within Google Adsense? Can't help you if you don't answer the questions.
The Adsense Module requires that you configure your ad units within Google's Adsense site. So you need to set up what size ads you want to display and so on. Then you need to enter your Adsense publisher id on /admin/settings/adsense/publisher. Then you need to go to /admin/build/block and configure your adsense block(s). You have to enter a description for the block, the dimensions for the ad unit you want the block to display and the Ad Slot ID (from Google Analytics). Save that and enable the block in whatever region you want it to go in. Your ads won't display without your Publisher ID and the Ad Slot ID from Google Analytics. Alternatively as someone else has already said you could simply copy the code from Google Adsense into a custom block and enable that block wherever you want.
you can also use the old ad format, in this case you only need your adsense id. But honestly I don't see the use of the adsense module, simply edit your page.tpl.php or create blocks to display adsense. But it's better you get familiar with editing page.tpl.php and node.tpl.php in order to put your adsense code exactly where you want it.
The point of using the module is that people who don't have knowledge of HTML or PHP and therefore would have trouble editing any tpl.php can fill in a few pieces of information and have their ads displayed in blocks on their sites. Yes, it can be done by cutting and pasting the ad code from Google into a block too if that's how you prefer to do it.
When cutting and pasting the adsense code into a block make sure that the block "input type" is full html. Else it converts "<" and ">" to < and > and it breaks the adsense.
thanks you for your helps, now I know how to display ads on my drupal site. I have other question about display ads on each blog topic. I want to display two ads on each blog like this site : http://computerquestionhelp.com/blogs/Misc/getting-google-adsense-to-easily-work-on-drupal-6x.html They have one ads display on first left of blog and the other one ads on the end of blog. So if I want to display ads like them, should I edit page.tpl.php and node.tpl.php files ? How do I edit them? Thanks you!