Rotating adsens pub id

Discussion in 'Guidelines / Compliance' started by zamolxes, Apr 10, 2005.

  1. #1
    I was wondering, do you think rotating the pub id within a network of sites (via a php include) would be ok with the adsense TOS? :confused:
     
    zamolxes, Apr 10, 2005 IP
  2. altoid

    altoid Guest

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What would be the benefit of doing that? You could of course with Traffic on Steriods. But wouldn't channels take care of any reason you'd do that?
     
    altoid, Apr 10, 2005 IP
  3. zamolxes

    zamolxes Peon

    Messages:
    176
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The reason would be sharing the adsense revenue on a few sites with someone else.
     
    zamolxes, Apr 10, 2005 IP
  4. Crusader

    Crusader Peon

    Messages:
    1,735
    Likes Received:
    104
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If i'm not mistaken, this forum does something quite like it. I don't think Google has complained about it. If in doubt just contact Google and they'll be able to set you straight.
     
    Crusader, Apr 11, 2005 IP
  5. TheWebJunkie

    TheWebJunkie Banned

    Messages:
    630
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #5
    heres the code to rotate 2 id's
    
    ?php
    $adsense =array(	
    	1=>'<script type="text/javascript"><!--
    google_ad_client = "pub-XXXXXXXXXXXXXXXXX";
    google_ad_width = 336;
    google_ad_height = 280;
    google_ad_format = "336x280_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "F2F2F2";
    google_color_bg = "FFFFFF";
    google_color_link = "003366";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>',
    	2=>'<script type="text/javascript"><!--
    google_ad_client = "pub-XXXXXXXXXXXXXXXXX";
    google_ad_width = 336;
    google_ad_height = 280;
    google_ad_format = "336x280_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "F2F2F2";
    google_color_bg = "FFFFFF";
    google_color_link = "003366";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>');
    $random_number=rand(1, count($adsense)); 
    $random_adsense=$adsense[$random_number];
    echo("$random_adsense");
    ?>
    
    PHP:
     
    TheWebJunkie, Apr 11, 2005 IP
  6. zamolxes

    zamolxes Peon

    Messages:
    176
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for all your answers. :)
     
    zamolxes, Apr 11, 2005 IP