I am trying to use the adsense module. I've installed it, and when I am logged in as 'admin' I get the placeholder box. However, when I am an anonymous user, I get the title of the block, but not the adsense display. Looking at the HTML source, I see <!--adsense: page not in match list-->. This looks to be a page match/not match issue, but I am stumped, but I get the placeholder as the admin. I have no pages to match, and want to always display it (though I tried other settings to try and get this thing to appear).

I am using Drupal 4.6.4.

-albert

Comments

albertsmith’s picture

BTW, I am putting the following PHP code to make it display:

<?php
print adsense_display("125x125");
?>

-albert

kbahey’s picture

Under "Show Adsense on specific pages:", select "Show on every page except the listed pages", and then under "Pages" enter:

admin
admin/*

See if that helps.

albertsmith’s picture

Thanks for the suggestion, but it did not fix the issue. Gets rid of the placeholder box, and block, on the admin pages (like it should). But, still not getting the AdSense box.

-albert

heine’s picture

Under "Show Adsense on specific pages:", select "Show on every page except the listed pages", and then under "Pages"

Did you enter these settings in settings->adsense? Seems you set page matching for the block instead.

albertsmith’s picture

Priority: Normal » Minor
Status: Active » Fixed

Yup. Thanks Heine . It was indeed my own stupidity. I was tripped up because of the two different places where I could set display options. Confusing, but also how it is designed.

Thanks,
-albert

Anonymous’s picture

Status: Fixed » Closed (fixed)