广告联盟网

 找回密码
 注册
查看: 517|回复: 4
打印 上一主题 下一主题

google广告的js调用怎么写

[复制链接]
跳转到指定楼层
1#
发表于 2006-11-22 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
下面这样不知道错在哪?
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;);
望指出!或给出个其他的.
2#
 楼主| 发表于 2006-11-22 | 只看该作者
速度好象没有提高.还是和直接用一样慢!
3#
发表于 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;);
4#
 楼主| 发表于 2006-11-22 | 只看该作者
比原来快吗?
5#
发表于 2006-11-23 | 只看该作者
原帖由 yyqfwq 于 2006-11-22 22:28 发表速度好象没有提高.还是和直接用一样慢!
对访问者来说,速度会更慢,但是对网站维护来说,速度不只快一点点。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|广告联盟网  

GMT, 2024-10-2 , Processed in 0.070207 second(s), 20 queries .

Powered by Discuz! X3.2

© 2005-2021 www.ggads.com GGADS 广告联盟网

快速回复 返回顶部 返回列表