谷歌广告尺寸

通过代码定义广告大小能更好展示广告页面。

谷歌广告展示注意事项
展示广告只会显示在内容网页上,而不会显示在 AdSense 搜索广告的搜索结果页上
1. 推荐广告格式
中矩形 (300×250),大矩形 (336×280),页首横幅 (728×90),宽幅摩天大楼 (160×600)
2. 其他 – 横向
横幅 (468×60),大型页首横幅 (970×90)
3. 其他 – 纵向
摩天大楼 (120×600),宽幅摩天大楼 (160×600)
4. 其他 – 方形
方形 (250×250),小方形 (200×200)
 
展示广告会延长网页加载时间吗?
Google 展示广告的大小上限为 150 KB,对大多数网站来说,展示广告对加载时间的影响很小。

以上转自:谷歌广告联盟微信号


本站所用代码:
通过代码定义一个展示区域,然后添加谷歌广告的自动代码。
目前缺点谷歌自动代码的广告还是会出现展示不全边框的情况。

 <div id="float" class="float">
<section id="custom_html-4" class="widget_text widget widget_custom_html">
 <div style="text-align:center;margin-top:5px;width:300px;height:350px;"> <a href="http://cpuck.com/ly"  target="_blank"  title="&nbsp;─=≡Σ((( つ•̀ω•́)つ&nbsp;"><img class="img" src="http://cpuck.com/wxm/img/tc.png"
width="300px" alt=""/></a>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 右侧边栏广告 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-000000000000000"
     data-ad-slot="6911755148"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
     </div> 

链接:右侧浮动广告代码
链接:自定义网页元素显示尺寸