Aug
07

Can I randomize adsense ads so a friend will get a cut of a websites profits?

By Clicking Man
 Can I randomize adsense ads so a friend will get a cut of a websites profits?
Gesonta 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
No TweetBacks yet. (Be the first to Tweet this post)
Categories : Adsense

2 Comments

1

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.

2

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

Leave a Comment

Translator

English flagItalian flagKorean flagChinese (Simplified) flagChinese (Traditional) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroatian flagDanish flagFinnish flagHindi flagPolish flagRomanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flagAlbanian flagEstonian flagGalician flagMaltese flagThai flagTurkish flagHungarian flagBelarus flagIrish flagIcelandic flagMacedonian flagMalay flagPersian flag