New adsense scripts??

Discussion in 'Guidelines / Compliance' started by MiamiHost, Sep 22, 2006.

  1. #1
    seen this on a site, don't look right to me,

    
    
    <!--google-->
    <script language="JavaScript">
    <!--
    function google_ad_request_done(google_ads) { var i;}
    
    // -->
    </script>
    
    <script type="text/javascript"><!--
    google_ad_client = "pub-xxxxxxxxxxxxxxxxx";
    google_ad_width = 160;
    google_max_num_ads = 7;
    google_ad_height = 600;
    google_ad_format = "160x600_as";
    google_ad_channel = "xxxxxxxxxxxxxxxxx";
    google_ad_type = "text_image";
    off = 0;
    google_color_border = ["336699","DFF2FD","B0E0E6","FF4500"];
    google_color_link = ["0000FF","0000CC","000000","DE7008"];
    google_color_url = ["008000","008000","336699","E0AD12"];
    google_color_text = ["000000","000000","333333","8B4513"];
    google_ad_output = "js";
    //--></script>
    <script type="text/javascript"
     src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    	<!--google2aaa-->
    <script language="JavaScript">
    <!--
    function ad_show2(google_ads) { var j; var i; 
    var bnum=new Number(Math.floor(1 * Math.random()));
    j=0;
    document.write ('<table border=0 cellpadding=4 cellspacing=2 width="95%"><tr>');
    
    // Display each ad in turn
    if (google_ads[0].type == 'text') {
    for(i = 0; i < google_ads.length && i < 3; ++i) { document.write('<td valign=top><font face=arial size=-1><a href="' + google_ads[i].url + '" target=_blank style="text-decoration: none">' + '<b>' + google_ads[i].line1 + '</b></a><br><a href="' + google_ads[i].url + '" target=_blank style="text-decoration: none"><font color=black>' + google_ads[i].line2 + ' ' + google_ads[i].line3 + '</a><br><a href="' + google_ads[i].url + '" target=_blank style="text-decoration: none"><font size=-2 color=99999>' + google_ads[i].visible_url + '</a></font></font></td>'); };
    off += j;
    }
    if (google_ads[0].type == 'image') {
    	document.write("<tr><td align=\"center\">" +
    	"<a href=\"" + google_ads[0].url + "\"style=\"text-decoration: none\">" +
    	"<img src=\"" + google_ads[0].image_url +
    	"\" height=\"" + google_ads[0].height +
    	"\" width=\"" + google_ads[0].width +
    	"\" border=\"0\"></a></td></tr>");
    }
    document.write("</tr></table>");
    }
    
    // -->
    </script>
    <script language="JavaScript">
    if (google_ads.length > 0) {ad_show2(google_ads);} else 
    {
    document.write('<SCR'+'IPT>ctxt_ad_partner = "xxxxxxxxxxxxxxxxx";ctxt_ad_section = ""; ctxt_ad_width = 728; ctxt_ad_height = 90;</SCR'+'IPT>');
    document.write('<SCR'+'IPT src="http://ypn-js.overture.com/partner/js/ypn.js"></SCR'+'IPT>');
    }
    </script>
    	</td>
    	<td width="18%" rowspan="9" valign="top" bgcolor="f0f3fa">
    		<table width="100%" border="0" cellspacing="0" cellpadding="6">
    		<tr><td valign="top">
    <center><!--google11-->
    <script language="JavaScript">
    <!--
    function ad_show1(google_ads) { var i; var j;
    var bnum1=new Number(Math.floor(1 * Math.random()));
    off=0;
    j=0;
    document.write('<table border=0 cellpadding=0 cellspacing=0 width="34%" align=right><tr><td align=center><table width=180 border=0 cellpadding=1 cellspacing=0><tr><td><font face=arial size=-2><b>Ads by Google</b></font><table>');
    
    // Display each ad in turn
    if (google_ads[0].type == 'text') {
       for(i = 0 + off; i < google_ads.length && i < 7 + off; ++i) { ++j; document.write('<tr><td><font face=arial size=-1><a href="' + google_ads[i].url + '" target=_blank style="text-decoration: none">' + '<b>' + google_ads[i].line1 + '</b></a><br><a href="' + google_ads[i].url + '" target=_blank style="text-decoration: none"><font color=black>' + google_ads[i].line2 + ' ' + google_ads[i].line3 + '</font></a></font><br><a href="' + google_ads[i].url + '" target=_blank style="text-decoration: none"><font face=arial size=-2 color=gray>' + google_ads[i].visible_url + '</font></a><br></td></tr>'); };
       off += j;
    }
    if (google_ads[0].type == 'image') {
        document.write("<tr><td align=\"center\">" +
          "<a href=\"" + google_ads[0].url + "\"style=\"text-decoration: none\">" +
          "<img src=\"" + google_ads[0].image_url + 
          "\" height=\"" + google_ads[0].height + 
          "\" width=\"" + google_ads[0].width +
          "\" border=\"0\"></a></td></tr>");
    }
    document.write("</table></td></tr></table></td></tr></table>");
    }
    // -->
    </script>
    <script language="JavaScript">
    if (google_ads.length > 0) {
    ad_show1(google_ads);
    }
    else
    {
    document.write('<SCR'+'IPT>ctxt_ad_partner = "xxxxxxxxxxxxxxxxx";ctxt_ad_section = ""; ctxt_ad_width = 160; ctxt_ad_height = 600;</SCR'+'IPT>');
    document.write('<SCR'+'IPT src="http://ypn-js.overture.com/partner/js/ypn.js"></SCR'+'IPT>');
    }
    </script></center>
    
    Code (javascript):

     
    MiamiHost, Sep 22, 2006 IP
  2. fakhruddin

    fakhruddin Peon

    Messages:
    193
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    wch site

    maybe its premium publishers

    they are allowed to do all this
     
    fakhruddin, Sep 22, 2006 IP
  3. MiamiHost

    MiamiHost Peon

    Messages:
    238
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    check you pm box

    I thoght the same thing, but why would google let pp's use overture along with there ads?
     
    MiamiHost, Sep 22, 2006 IP
  4. Roman

    Roman Buffalo Tamerâ„¢

    Messages:
    6,217
    Likes Received:
    592
    Best Answers:
    0
    Trophy Points:
    310
    #4
    Isn't this the option to show other ads if there are no AS ads available?
     
    Roman, Sep 22, 2006 IP
  5. MiamiHost

    MiamiHost Peon

    Messages:
    238
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    sure, we use those, but its built in the google script, but not overture lol
     
    MiamiHost, Sep 22, 2006 IP