【问题标题】:Google Adsense ad doesn't appearGoogle Adsense 广告未出现
【发布时间】:2016-09-05 10:30:51
【问题描述】:

我有关于 Adsense 广告的问题,当我点击我的页面源代码时,广告脚本在这里,但没有出现广告,请参阅下面的链接。

广告可以出现在主题之上。

页面链接: http://improveyourself.sk/article_2

更新: 我的脚本代码:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Test ad -->
    <ins class="adsbygoogle"
         style="display:inline-block;width:728px;height:90px"
         data-ad-client="ca-pub-5699588432146886"
         data-ad-slot="8670387053"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

【问题讨论】:

    标签: python html flask adsense


    【解决方案1】:

    你的脚本应该是这样的:

    <script  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
    <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-xxxx"
     data-ad-slot="xxxx"
     data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    

    更改您的第一个脚本地址。使用 show_ads.js 而不是 adsbygoogle.js。

    【讨论】:

      【解决方案2】:

      广告实际上已加载,但空间已折叠。这主要是由于 AdSense 无法检测到广告的可用空间造成的。

      这里有一篇文章可以帮助您解决问题。

      https://webgilde.com/en/adsense-auto-resizing-error/

      【讨论】:

        猜你喜欢
        • 2016-09-19
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-01-16
        • 2016-09-25
        • 2014-10-14
        • 2016-07-01
        相关资源
        最近更新 更多