Sunday, September 23, 2012

A Simple way to Add Adsense at Drupal

I have a Drupal website:

I found a simple way to add AdSense in Drupal.

1) Go to admin panel,
2) Click Block under Structure menu
3) Click "Add Block"
4) Fill block title and block description,  under Block body, click HTML ( I used TinyMce online editor) and paste my AdSense code.
5) Under Bartik (default theme), select content. Under Seven (administration theme), select none.
6)  Under Visibility settings:
Pages, check the check box:

Roles: anonymous user 
7) The ads will be shown in any pages except the pages when admin login.

No comments:

Post a Comment