广告联盟网

标题: 这样修改代码违反GG政策吗? [打印本页]

作者: bg1ehi    时间: 2006-6-25
标题: 这样修改代码违反GG政策吗?
<%
'Dimesion variables
Dim strHeaderAds '头部
Dim strPostAds  '帖子

'以下为GOOGLE广告的色彩定义。可自行修改。
'**************************************
Const strAdBorderColour = &quot;517C56&quot;
Const strAdBackgroundColour = &quot;EFEFEF&quot;
Const strAdLinkColour = &quot;EFEFEF&quot;
Const strAdURLcolour = &quot;063E3F&quot;
Const strAdTextColour = &quot;000000&quot;
Const strAdPostBorderColour = &quot;517C56&quot;
Const strAdPostBackgroundColour = &quot;EFEFEF&quot;
'**************************************


'以下为GOOGLE广告的定义。可自行修改,红色部分为你的代码。
''***** START  HEAD ADS CODE************
strHeaderAds = (&quot;&quot; & _
vbCrLf & &quot;<table border=&quot;&quot;0&quot;&quot; cellspacing=&quot;&quot;2&quot;&quot; cellpadding=&quot;&quot;2&quot;&quot; align=&quot;&quot;center&quot;&quot;><tr><td>&quot; & _
vbCrLf & &quot;<script type=&quot;&quot;text/javascript&quot;&quot;><!--&quot; & _
vbCrLf & &quot; google_ad_client = &quot;&quot;pub-867921025410XXXX&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_ad_width = 468;&quot; & _
vbCrLf & &quot;  google_ad_height = 60;&quot; & _
vbCrLf & &quot;  google_ad_format = &quot;&quot;468x60_as&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_ad_type = &quot;&quot;text_image&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_ad_channel =&quot;&quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_border = &quot;&quot;&quot; & strAdBorderColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_bg = &quot;&quot;&quot; & strAdBackgroundColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_link = &quot;&quot;&quot; & strAdLinkColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_url = &quot;&quot;&quot; & strAdURLcolour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_text = &quot;&quot;&quot; & strAdTextColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot; //--></script>&quot; & _
vbCrLf & &quot; <script type=&quot;&quot;text/javascript&quot;&quot; src=&quot;&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&quot;></script>&quot; & _
vbCrLf & &quot;</td></tr></table>&quot;)
'***** END  HEAD ADS CODE***************

'***** START  POST ADS CODE*************
strPostAds = (&quot;&quot; & _
vbCrLf & &quot;<script type=&quot;&quot;text/javascript&quot;&quot;><!--&quot; & _
vbCrLf & &quot; google_ad_client = &quot;&quot;pub-867921025410XXXX&quot;&quot;;&quot; & _
vbCrLf & &quot; google_alternate_color = &quot;&quot;&quot; & strAdBackgroundColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_ad_width = 468;&quot; & _
vbCrLf & &quot;  google_ad_height = 60;&quot; & _
vbCrLf & &quot;  google_ad_format = &quot;&quot;468x60_as&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_ad_type = &quot;&quot;text_image&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_ad_channel =&quot;&quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_border = &quot;&quot;&quot; & strAdBorderColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_bg = &quot;&quot;&quot; & strAdBackgroundColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_link = &quot;&quot;&quot; & strAdLinkColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_url = &quot;&quot;&quot; & strAdURLcolour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot;  google_color_text = &quot;&quot;&quot; & strAdTextColour & &quot;&quot;&quot;;&quot; & _
vbCrLf & &quot; //--></script>&quot; & _
vbCrLf & &quot; <script type=&quot;&quot;text/javascript&quot;&quot; src=&quot;&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&quot;></script>&quot;)

'***** END  POST ADS CODE***********
%>
作者: 大大    时间: 2006-6-26
好像没有修改代码,只是修改了输出的方式,我觉得不违反规则。
作者: bg1ehi    时间: 2006-6-26
谢谢
我准备用js调用了!
作者: xfhll    时间: 2006-6-26
GG说明是不允许修改代码
我想还是不修改比较好
作者: yoxia    时间: 2006-6-26
没修改吧。客户端看起来是相同的。
作者: bg1ehi    时间: 2006-6-26
我也弄不清楚我在别的论坛上看到别人说可以用这种代码
我的网页用这种代码才可以显示广告
直接复制的googleAD代码显示是错误的
作者: pp888    时间: 2006-6-26
如果没有GG的授权,代码是不允许修改的。




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