Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Drupal Adsense Module Gets Revenue Sharing Feature

  1. Home

By Khalid on 2005/12/31 - 14:22, last updated 2005/12/31 - 15:14

The Drupal  Adsense module has been updated to allow revenue sharing.

Some technical details for the curious:

  • The site admin can assign a certain percentage of ad views to be assigned to  the node author's Google AdSense client ID.
  • The node  types are also configurable, so the admin can only enable it for specific node types (e.g. blogs).
  • The revenue sharing only  applies to the full node view, not the teasers. These go to "the house" (i.e. the site assigned Adsense client  ID).
  • The path /blog/uid also has revenue sharing enabled.
  • A specifically named profile field has to be filled in by the user to get credited with the ads.
  • When revenue sharing is enabled, adsense caching is disabled.
  • The percentage is determined based on a random number generator. So it is basically tossing dice from 1 to 100, and seeing if this page view should be awarded to the author or the site. I did this so that I dont have to keep a running total in the database, which would slow things down.

Benefits

This is a great community building tool.

Ad revenue sharing allows your site to grow by giving an incentive for users to participate and write articles on your site. This in turn will increase traffic to the site, and hence attract more writers. 

Future Directions

In the future, I can make a version that makes the percentage variable based on which role the user is assigned to. This allows premium users (e.g. paying  subscribers, moderators, ...etc.) to get a higher percentage of the revenue.

The ad sharing feature is now available for the 4.6 version only at the moment. If someone is willing to sponsor ad sharing for 4.7, please contact me.

Endless Possibilities

This revenue sharing really opens a lot of possibilities.

For example,  when used in conjunction the commercial version of the User Points module, the role based ad sharing mentioned above can be more of an incentive for people to write on your web site. They gain points by writing, commenting, voting, ...etc. The more points they gain, the higher roles they get, and hence the higher percentage of ad revenue they get.

Contents: 
Drupal
  • Add comment

Comments

Anonymous (not verified)

Thanks

Sat, 2006/01/07 - 00:06

Khalid...

Thanks for the awesome modules...especially the Google adsense..

This is what kept me from going to Wordpress, even though they have one.

Its a bit of a pain coding it to be in a specific spot on the page.

Shukran

  • reply

albert juul (not verified)

adsense modual problems

Wed, 2007/03/14 - 14:14

I have been trying to get the adsense modual to work on my website but I have not had much luck, or maybe I have and just don't know it. When I enabled the adsense blocks all I get is a placeholder and I am unable to see the ads. I thought this might be intentional to prevent the admin from accidentally clicking on their own ads, so I created a dummy account with limited access using another computer but still no luck all I can see is a placeholder on the dummy account to. Can some one check my site and let me know if they can see the ads and if not what some possible solutions to this problem might be. The address for my site is www.blogzoneusa.com/blog . Thanks in advance for any help you can provide.

  • reply

Anonymous (not verified)

Google Terms of Service

Thu, 2009/11/12 - 13:38

This is a great idea, and I have been looking for revenue sharing module, or a affiliate module. Most affiliate modules for drupal are lacking. My question? Is this legal based on Google's terms of service. Could your users potentially lose their access to google adsense? Would you be liable for their lost account? or are you posting a disclaimer that you are not responsible?

  • reply

ShopperIdea (not verified)

User own adsense ID

Tue, 2011/02/22 - 11:37

Nice module
But, can tis module be setup for users using their own adsesnse account?
How to do that? :D)

  • reply

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.