Does using the old adsense code break any TOS?

Discussion in 'AdSense' started by xwwwx, Sep 3, 2011.

  1. #1
    It has been some time since the last time I used adsense, but I am in the process of creating a network of websites that will all use adsense, and I would like to use the old "editable" adsense code so I can easily manage everything from my own dashboard.

    I am talking about this kind of adsense code:

    <script type="text/javascript">
    google_ad_client = "pub-";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text_image";
    google_color_border = "FFFFFF";
    google_color_bg = "0000FF";
    google_color_link = "FFFFFF";
    google_color_text = "000000";
    google_color_url = "008000";
    </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
    Code (markup):
    Unlike this one:

    <script type="text/javascript"><!--
    	google_ad_client = "pub-";
    	/* 468x15 */
    	google_ad_slot = "xxxxxxxx";
    	google_ad_width = 468;
    	google_ad_height = 15;
    	//-->
    </script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
    Code (markup):
    It can be easily editable on the fly.

    Does someone knows if using this old "editable" code breaks any TOS? or any other reason why not to use it?

    Where could I find the old adsense codes for all sizes/types of ads?
     
    xwwwx, Sep 3, 2011 IP
  2. JamesColin

    JamesColin Prominent Member

    Messages:
    7,874
    Likes Received:
    164
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #2
    No it doesn't break the TOS, I use it non stop since 2006 for my adsense revenue sharing sites.
    All sizes are the same as the new code ones. Simply don't forget that you have to put the size in 3 variables not only 2:
     
    JamesColin, Sep 3, 2011 IP
  3. veer pan

    veer pan Greenhorn

    Messages:
    35
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    16
    #3
    I guess using old adsense code is much better.
     
    veer pan, Sep 4, 2011 IP
  4. JamesColin

    JamesColin Prominent Member

    Messages:
    7,874
    Likes Received:
    164
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #4
    It's a must for adsense revenue sharing if you're not using their api (which is available only for very high traffic sites) you can't use the new code because the google_ad_slot variable is linked to the google_ad_client
     
    JamesColin, Sep 4, 2011 IP