Was reading the TOS:

5. (v) display any Ad(s), Link(s), or Referral Button(s) on any error page, on any registration or "thank you" page (e.g., a page that thanks a user after he/she has registered with the applicable Web site), on any chat page, in any email, or on any Web page or any Web site that contains any pornographic, hate-related, violent, or illegal content;

The way I implemented this module on my website (http://blog.photos2view.com/) was to place the adsense code from this module into the page.tpl.php in the relevant areas. I also placed one as a block.

Now, the problem is I can't control what pages the adsense is present without php if's all over the place in the page.tpl.php... Probably more efficient if implemented in the module code?

Some drupal pages of concern that could be a breach of TOS are the login, error and registration pages for drupal.

Thanks

Comments

kbahey’s picture

Assigned: Unassigned » kbahey
Priority: Critical » Normal
Status: Active » Closed (fixed)

You can exclude any pages you want from the Adsense Settings page.

Just enter your pages in the "Show Adsense on specific pages:"

Select "Show on every page except the listed pages".

Then exclude the pages you want there.

Marco Palmero’s picture

Just want to close this off...

What are the page "identifiers" for the login/registration pages and the error pages?
In the settings there is an example where is the front page.

Thanks

kbahey’s picture

Error pages can be anything you define in /admin/settings (404 and 403).

The others are:

/user/register
/user/login