Features

The colors are customizable, as well as the type (text/image). Ads can be displayed from within nodes, blocks or other modules.

Several ad formats are supported, including SiteSearch as well. The full list is is in the help section of the module's settings page.

The modules allow up to 3 color and type (image/text) combinations to be chosen. This is useful if your site has a theme that assigns different color schemes to different parts of the page, for example, left sidebar and content. It also allows up to 5 custom channels to be used.

You can setup custom roles that hide adsense from users. For example, if you have paying subscribers to your site that do not want to see ads.

Page matching also added, so that ads can be excluded on certain pages.

Ads can now be placed anywhere in the content, via a special tag.

Revenue sharing

The module provides sharing of ad revenue with contributors who write articles on the site. The basic revenue sharing module provided allows for a configurable percentage of page views for specified content types to go to the node author, or the blog page author. It also integrates with referral module so referred user's node can get a certain percentage to the referring user.

Other methods of revenue sharing are possible using the API described below, such as:

  • Different percentages based on what taxonomy the node belongs to.
  • Different percentages based on what roles the user is a member of.
  • Different percentages based on how many userpoints the user has.
  • Using a CCK field for the the Google Adsense ID.

Resources

Please read the module author's collection of articles on resources for using Google Adsense with Drupal. They contain hints and tips on how to use the module.

Authors

Khalid Baheyeldin of 2bits.com.
João Ventura

The authors can also be contacted for paid customizations of this module as well as Drupal consulting, installation, development, and customizations.

Comments

bucefal91’s picture

Hello!

Seems like I've run into some troubles.

I have Adsense and Adsense Injector modules on my Drupal. And I want to use tag [adsense:/format/:/slot_id/] in the text of my nodes to inject ad straight into content. But I don't want to put it at the beginning as Adsense Injector provides.

So, I decided to use this tag [adsense:****:****]. However, when I put it into my content nothing's happening. I just receive the same tag string in output HTML of my Drupal, which was supposed to be replaced with code of Google Ad.

If I use this tag via Adsense Injector module (putting ad at the beginning) everything will be OK. And this tag will be replaced with code of Google ads.

But I need to put advert somewhere in the middle of content. And I'd want to use exactly this construction as it looks more laconic than inserting whole JavaScript code, provided by Google.

So, maybe some guys here have already faced such problem and know some way out?

http://takearest.ru - my Drupal baby :)

rsvelko’s picture

Maybe you need to check the input filter responsible for [adsense] to be replaced with the ad... Look into admin/settings/filters

jcnventura’s picture

wvlgen’s picture

For one or another reason, the module "adsense" slipted under the folder "block".
This means that the path to the inc file becomes 'modules/block/adsense/adsense.admin.inc'

For one or another reason, if you go to "Configuration Adsense" to configure the module you get a message in menu.inc:

Fatal error: require_once() [function.require]: Failed opening required 'modules/block/adsense/adsense.admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rab/public_html/includes/menu.inc on line 502

And this still occurs after the uninstall of the module and the installation in the proper folder.

How can I get rid of the remains of an awfull installation?

wvlgen’s picture

Because, for one or another reason, some modules were "shifted" under the themes. This was apparently the reason that the system got confused and could not install the adsense module correctly.

The "themes" have been cleaned and the problem has disappeared.

soydemadrid’s picture

Hi can anyone please help. No matter what I do and which role permissions I edit when using the shortcode tags I get an error:

Ads disabled for USER Google Adsense responsive.

Can anyone please help me fix this. When I log out I still get the error and even with new users and different roles.

I'm using Drupal 7.31 and latest version of adsense module.

Thanks for any help.