Aug
07
Can I randomize adsense ads so a friend will get a cut of a websites profits?
ByGesonta asked:
I know how to write javacript that would randomize the pub id in our ads, but is that allowed? How can I do this? I want the page to show my ads 75 % of the time and his 25 % of the time for his help in promotion. What are my options, other than just paying him. If I write a document write command that writes the whole adsense code block, would that be OK?
Yes, as I said in my question, I know javascript pretty well. What I do not know is if it is allowed. Your answer does nothing for me.
Baby Shower Games
I know how to write javacript that would randomize the pub id in our ads, but is that allowed? How can I do this? I want the page to show my ads 75 % of the time and his 25 % of the time for his help in promotion. What are my options, other than just paying him. If I write a document write command that writes the whole adsense code block, would that be OK?
Yes, as I said in my question, I know javascript pretty well. What I do not know is if it is allowed. Your answer does nothing for me.
Baby Shower Games
No TweetBacks yet. (Be the first to Tweet this post)

















































2 Comments
August 10th, 2009 at 4:25 am
Web hosting pad
I’m fairly sure that there is a random number generator class in javascript, you could easily use that to generate different ads.
August 13th, 2009 at 2:55 am
Perfect Baby Shower
Never ever tamper with the Adsense code. That is strictly against the rules.
If your code will not touch or alter in any way the Adsense code, then you can do it. But if you will change it, don’t. Just use ad serving tool such as Google Ad Manager