Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Follow the instructions for adding adsense as a block or in you php template--both work. Using the module is convenient for testing different types/color schemes for ads. It also allows you to insert ads easily within a post (though I've actually had mixed success with that feature).
Otherwise, you can directly put the normal adsense code in blocks and ads.
The best way is to download the adsense module from the download page, read the docs carefully and then go about integrating them with your site. The module has some advantages above the 'raw' google code (eg hide adsense, placeholders, revenue sharing).
A block (php indeed) is certainly the easiest way to add ads.
-- Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Comments
Try adsense module
One way is using the adsense module.
Follow the instructions for adding adsense as a block or in you php template--both work. Using the module is convenient for testing different types/color schemes for ads. It also allows you to insert ads easily within a post (though I've actually had mixed success with that feature).
Otherwise, you can directly put the normal adsense code in blocks and ads.
http://drupal.org/project/adsense
Good luck!
Best,
Brent
My Drupal Experiment
Adsense module
The best way is to download the adsense module from the download page, read the docs carefully and then go about integrating them with your site. The module has some advantages above the 'raw' google code (eg hide adsense, placeholders, revenue sharing).
A block (php indeed) is certainly the easiest way to add ads.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.