【问题标题】:AdSense Ads not showing sometimesAdSense 广告有时不展示
【发布时间】:2011-01-26 16:38:51
【问题描述】:

似乎广告以某种方式相互冲突。通常我有 2 个广告同时显示没有问题,但在搜索页面上我有 3 个广告,而且大多数时候只有第一个有效。

http://chusmix.com/?s=Buenos+Aires

我只是简单的复制粘贴了三个地方的代码:

<script type="text/javascript"><!--
google_ad_client = "ca-pub-7097762525948790";
/* Chusmix 728x90 Grafico */
google_ad_slot = "9872841053";
google_ad_width = 728;
google_ad_height = 90;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

其他广告代码基本相同,只是不同的宽度、高度和名称。我做错什么了吗?知道如何解决吗?

谢谢

【问题讨论】:

    标签: javascript ads adsense


    【解决方案1】:

    在其中一个广告中,您要在 JavaScript 之间插入一些 HTML,不要这样做。始终将 HTML 包裹在完整的广告代码周围。

    另外,请注意,如果没有足够的广告,并非所有广告单元都可能被填充。因此,在这些情况下,您需要使用 AdSense 的备用广告网址功能来显示其他内容。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-11-28
      • 2014-10-14
      • 2016-07-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-13
      相关资源
      最近更新 更多