1

AdSense投放广告代码的修改

 2 years ago
source link: https://sites.google.com/site/ggjingying/home/google-adsense-zhuan-ti/adsense-tou-fang-guang-gao-dai-ma-de-xiu-gai
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

AdSense投放广告代码的修改

今天AdSense的官方博客发布了一篇文章《按照AdSense要求投放广告代码》,指出通过innerHTML方式在不同位置显示广告代码可能在未来会存在问题,以后AdSense产品调整影响这类广告的展示。

  通过innerHTML来显示代码其实是一个常用的AdSense技巧,我自己以前也用过,主要是在页面上部放一个空的div,然后在页面底部的div放AdSense,通过JavaScript的innerHTML将底部div内的AdSense广告转移到上部,这种做法主要是为了加快网站的载入速度。

   AdSense通过智能的方法投放广告,通常顶部的广告单价最高,越往下广告越低,innerHTML这种方式虽然并没有修改AdSense的广告代 码,而且还能加快页面加载速度,但是有可能会将底部的低价广告放到顶部,影响发布商的广告收入,并且未来还可能会不支持。

  当然,对于百度广告和阿里妈妈广告,使用innerHTML转移广告依旧是没有问题的。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK