Adsense Not Visible

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
ithacaindy's picture

I want to use Adsense for my remnant ad space. I attached the code for a leaderboard and a 300x250 rectangle, using the provided blocks in OP. While the Adsense Javascript code appears when I view the source, the areas remain blank. The additions were made a day ago (Saturday), and I told it to serve PSAs until a suitable ad was ready. However, no ads appear. Anyone else have luck with Adsense?

Comments

Which version of OP are you

stattler's picture

Which version of OP are you using? Make sure to use the full html input format.

I'm using OP 2.0 and using

ithacaindy's picture

I'm using OP 2.0 and using HTML input.

Adsense works on my OP 2.0

stattler's picture

Adsense works on my OP 2.0 sites. I actually created an input format and gave it a name "Php and codes". In that, I did not enable any filter. And I've set this filter for Administrator only. My adsense ads follow this Input format.

That did the trick. I can

ithacaindy's picture

That did the trick. I can cross off one more frustration. Thanks.

Not to be confused if PHP will not work

gennadiy's picture

Dear Enayetur,
Just wanted to add this tip, so others will not be confused if PHP will not work (as I was :).

In Drupal 6 the PHP code input format is a separate core module called "PHP filter". Enable it at admin/build/modules under "Core - optional" section then it will be available at admin/settings/filters as "PHP code":

Core - optional
PHP filter 6.19 Allows embedded PHP code/snippets to be evaluated.

So for the new input format to fix Adsense with no filter enabled better name would be "No Filters" or so.

Regards,
Gennady

try as anonymous rol

mariocantor's picture

Adsense in my websites only works in anonymous role, not as admin. is something that google take care...

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week