homepage Welcome to WebmasterWorld Guest from 54.204.94.228
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

    
Multiple (rotating) Adsense IDs Through Entire Site OK?
Just want some clarification.
rollinj




msg:4124539
 6:06 pm on Apr 29, 2010 (gmt 0)

So to participate in the Adsense API program and share revenue that route, I need at least 100k pageviews per day [code.google.com].

Is it allowed by adsense to rotate multiple adsense IDs across an entire website?

ie. Show an author's adsense ID 95% of the time on their post pages, and show my adsense ID 5% of the time?

Would Adsense TOS have a problem with showing two adsense IDs on one page? I could see how they might.

Thanks for reading.

 

Gian04




msg:4124763
 1:56 am on Apr 30, 2010 (gmt 0)

Google allows sharing your ad space for as long as the maximum number of products per page will remain the same.

[adsense.blogspot.com...]

Lame_Wolf




msg:4124769
 2:22 am on Apr 30, 2010 (gmt 0)

Or you can do it something like this...

<script type="text/javascript">
var random_number = Math.random();
if (random_number < .5){
google_ad_client = "pub-PUBNUMBER1";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "000000";
google_color_bg = "000000";
google_color_link = "000000";
google_color_url = "000000";
google_color_text = "000000";
} else {
google_ad_client = "pub-PUBNUMBER2";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "FFFFFF";
google_color_url = "FFFFFF";
google_color_text = "FFFFFF";
}
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

rollinj




msg:4124992
 3:24 pm on Apr 30, 2010 (gmt 0)

I think Gian4 gave the source I was looking for, thanks!

Lame_Wolf, thanks for the idea! Would that not be classified as "changiing the google ad code" however? For as long as I can remember, that has been one point of the TOS that stood out to me at least.

Comments/suggestions welcome!

Lame_Wolf




msg:4125143
 7:30 pm on Apr 30, 2010 (gmt 0)

It is okay to do. [adsense.blogspot.com...]

"Keep in mind that generally, modifying your ad code is against AdSense program policies. However, we've checked with our policy folks and they've given our publishers permission to modify the code for use with this specific script for the purposes of A/B testing."

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved