广告联盟网

标题: google广告的js调用怎么写 [打印本页]

作者: yyqfwq    时间: 2006-11-22
标题: google广告的js调用怎么写
下面这样不知道错在哪?
document.writeln(&quot;<script type=&quot;text/javascript&quot;><!--&quot;);
document.writeln(&quot;google_ad_client = &quot;******&quot;;&quot;);
document.writeln(&quot;google_ad_width = 468;&quot;);
document.writeln(&quot;google_ad_height = 60;&quot;);
document.writeln(&quot;google_ad_format = &quot;468x60_as&quot;;&quot;);
document.writeln(&quot;google_ad_type = &quot;text&quot;;&quot;);
document.writeln(&quot;//channel &quot;);
document.writeln(&quot;google_ad_channel = &quot;*****&quot;;&quot;);
document.writeln(&quot;//--></script>&quot;);
document.writeln(&quot;<script type=&quot;text/javascript&quot;&quot;);
document.writeln(&quot;src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;>&quot;);
document.writeln(&quot;</script>&quot;);
望指出!或给出个其他的.
作者: yyqfwq    时间: 2006-11-22
速度好象没有提高.还是和直接用一样慢!
作者: 3zhipeng    时间: 2006-11-22
我都是这样调用 
document.write(&quot;<div>&quot;);
google_ad_client = &quot;&quot;;
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = &quot;160x600_as&quot;;
google_ad_type = &quot;text_image&quot;;
google_ad_channel = &quot;&quot;;
document.write(&quot;<script type='text/javascript'  src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script></div>&quot;);
作者: yyqfwq    时间: 2006-11-22
比原来快吗?
作者: xsbing010214    时间: 2006-11-23
原帖由 yyqfwq 于 2006-11-22 22:28 发表速度好象没有提高.还是和直接用一样慢!
对访问者来说,速度会更慢,但是对网站维护来说,速度不只快一点点。




欢迎光临 广告联盟网 (https://ggads.com/) Powered by Discuz! X3.2