I was wondering if anyone would have the skills to implement an ad revenue sharing option in the style of:
http://forums.digitalpoint.com/faq.php?faq=revenue_sharing

Basically I would like to have an option on a site I am thinking of setting up who have their own adsense advertising codes to enter their adsense ID in their member profile. Then any content they have contributed (after they have reached a certain total number of contributions) any pages\content that they have created will show THEIR adsense ID for 50% of the page views.

Ideally I would also like to be able to give members the option of choosing from a selection of charity orientated adsense id's to use if they don't have their own adsense id that the admin can add charity codes too as they are made aware of them..

Comments

alliax’s picture

Variables needed :

user adsense ID
user adsense channel ID
user alternate (charity or open source projects) adsense ID
user alternate (charity or open source projects) adsense channel ID
user pourcentage of alternate adsense ads being showed
user minimum number of submitted nodes to activate (high priority)
user minimum number of days to activate (high priority)
user pourcentage of adsense ads being showed (high priority)

role adsense ID
role adsense channel ID
role alternate (charity or open source projects) adsense ID
role alternate (charity or open source projects) adsense channel ID
role pourcentage of alternate adsense ads being showed
role minimum number of submitted nodes to activate (low priority)
user minimum number of days to activate (low priority)
role pourcentage of adsense ads being showed (low priority)

when both minimum number of submitted nodes AND days are greater than 0 then activation will be done if both minimum thresholds are fullfilled.

high and low priority means that, as CSS works in cascading style, variables defined for role is being used ONLY IF mirroing user variables are not set or set to default values (user's ability to change his adsense values should be determined by the administrator of the site via administer -> access control)

alliax’s picture

There's a typo here :

"
role adsense ID
role adsense channel ID
role alternate (charity or open source projects) adsense ID
role alternate (charity or open source projects) adsense channel ID
role pourcentage of alternate adsense ads being showed
role minimum number of submitted nodes to activate (low priority)
user minimum number of days to activate (low priority)
role pourcentage of adsense ads being showed (low priority)
"

as expected it should be :
role minimum number of days to activate (low priority)

If someone has the skills to do it, maybe he/she could include his/her own adsense ID in the module with a default percentage of being showed, so that module users could retribute the creator(s) of the module that helps making money.

kbahey’s picture

leflores on September 24, 2005 - 21:05 submitted another similar issue which reads:

I think this module could easily be expanded to permit each user have its own channel (for tracking, or just to pay a share of the revenue to your writers), the channel could be made part of the user profile.

Additionally I think it would be easy to enter a channel "per node" using a functionality similar to "nodewords", i.e. the poster could enter a channel in the node creation/edition time.

The whole process could be made as if the poster did not enter the channel when creating a node, it could take the one in the user profile, if there are not one defined, the node could use the default defined in the module setings.

This change could me made that each node will have its channel-id stored in a table (if user or node channel are provided).

kbahey’s picture

I have a concern about this concept: Is this acceptable to Google's terms of use?

Normally, they review the site when someone signs up. Now that someone is displaying ads on other sites not owned by them.

Also, suppose that the site gets dinged for some violation (inappropriate content, click fraud, ... etc.). In this case all those who share the revenue get penalized as well ...

Can someone check the the ToS?
Also, what are the ways of mitigating the risk of violations causing termination?

leflores’s picture

What I was refering is to share the revenue based in the Channel and not the adsense ID. The idea is that a group of people could write articles in a site and each one get credit based in the clicks to his articles. The whole site will have a Single Adsense ID, and just the channels would be different according with the user that write it.

Adsense now permits 200 channels so a site could theoretically have 200 writers/contributors with its own channel.

I already write Google regarding this idea, this is the answer:

Thank you for your email.

You are free to decide what you want to do with your AdSense earnings.

Just keep in mind that you are not allowed to modify the AdSense ad code.
Please also note that all Google payments will be made out directly to the
'payee' that is designated in your account.

Sincerely,

Pim
The Google AdSense Team

So Just ONE person should receive the payments and make the distribution to the contributors, they could decide to give 80% of the income produced by the contributors channel to the contributor, and keep 20% as administrative spendings, or something similar.

I would like to contribute with the people that write the Adsense module, I already had these changes running in my sites, and I would like to share them, I also have further ideas regarding this issue.

I have certain experience in PHP and MySQL, but I am new to the Drupal Community, I already ask for a CVS accoun t (for other module that I created: http://www.solutionsdepot.com/?q=google_api_search_module_for_drupal), but still not answer. I do not know very well how to proceed. If the writers of Adsense are interested in my colaboration I will be pleased to help improve the module.

Regards
Luis

kbahey’s picture

leflores

I am the author of this module.

Seems that the channel idea is OK with Google then. However, you have to create a channel for each user.

If you have the changes already done, then please create a patch in unidiff format, and I will see if they can be applied to the existing adsense module.

leflores’s picture

Title: Ad revenue sharing » A channel for each user

Yes you will have to create a channel for each user. But in any case you will have to select the users that will be part of this scheme, you will not want someone creating garbage pages just filled with "mortgage", "forex", and other "top paying keywords".

Adsense is a good way to create revenue to a site, and if I will share the revenue, but also the responsibility of not affect somehow my account, with someone I will select them "by hand"

Will get your latest version and send you the patch.

kbahey’s picture

Title: A channel for each user » Different approaches for Ad revenue sharing

Changing the subject back to reflect the various discussions going on on this.

cthree’s picture

The question: Is this acceptable to Google's terms of use?

Was never really answered. Google does not permit you to modify the ad code they generate for your ad. I would have to assume that means you must use the code they provide and not roll your own (scripted or otherwise).

Granted it's easy to replicate what they produce but for someone who's making a couple of hundred or a couple of thousand dollars a month in Google ad revenue would you want to risk it?

kbahey’s picture

Adding link to recent discussion http://drupal.org/node/41937

darren oh’s picture

Version: 4.6.x-1.x-dev » master
Status: Active » Closed (fixed)

Closing due to lack of activity.

kbahey’s picture

Status: Closed (fixed) » Fixed

Revenue sharing has been implemented for a long time now

Anonymous’s picture

Status: Fixed » Closed (fixed)