Hi,
I am using the ad module to deliver ads to my Drupal site. When I tried to upload adsense ad code to the site I noticed that the module does not appear to allow html code like the code used by adsense to deliver ads.
Is there a way to make this work?
The standard options of uploading banners etc wont work for adsense. Is there a way to add functionality for adsense?

Comments

vsr’s picture

http://drupal.org/project/adsense

You can find adsense modules in the downloads section of this site. There is also an injector module that requires the above module.

Num85@drupal.org’s picture

Thanks - that was exactly what i was looking for.

Num85@drupal.org’s picture

This module works great - I have a couple of questions about configuring it.
My site allows different categories to be uploaded and as such different adsense blocks should be shown for each.
However they all fall into the 'category' module, is there a way to only display certain blocks on each sub category? I think the only option may be php coding but that's a bit beyond me.

vsr’s picture

The first one is the simplest, the second one is how to make custom regions for your ads, and the final one is for making a block appear on on certain nodes. Hopes that this helps you.

Blocks - http://drupal.org/handbook/modules/block

Regions - http://drupal.org/node/29139

Block Visibility - http://drupal.org/node/134428

Num85@drupal.org’s picture

Great Stuff! Thanks.