okay, I've been learning how to use drupal to get a website up and running. Mission accomplished. Now I'm trying to get adsense working on my site, and I've been running into wall after wall trying to figure this out.
I've downloaded the adsense module , which I have managed to get the ad to appear in my header by using a block, however I cannot center it. So that is my first question.

Secondly I want to know how to simply display an ad within an article(story node). I've tried following the instructions but nothing seems to be working for me.

Any instruction would be greatly appreciated

thanks

Comments

jcnventura’s picture

Hi, welcome to Drupal

First, if you have an issue with a module, you should really post that issue in the module's issue queue and not in the general queues.

To center the ad, try downloading the dev version which includes ways to center ads in modules. As to the ad in the content, are you using the filter? If so, make sure that you have enabled that filter in the story content type.

João Ventura
Venturas.org

patataur’s picture

Did you get an adsense account?

px’s picture

You should not put the AdSense code directly into nodes. That's really bad style and will come to haunt you in the future (e.g. when you decide to switch themes and have to update every node containing ads). If you want to do it anyway, you have to switch the Input format of the according node from filtered HTML to PHP code, since both PHP and javascript use the

tag (Full HTML will not do). If you are looking for a more CMS friendly way to do it, this blogpost might help you (though I think, it might have been outdated by the AdSense inject module): http://www.onyxbits.de/content/blog/patrick/integrating-adsense-drupal