Google 广告没有在我的网站上展示

Google ads don't show on my website

我的 Google 广告没有显示在我的 HTML 主页上 - 而是有一个空白框。

这是它的样子:

代码如下所示:

<div class="advertising margin-bottom" align="center">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <ins class="adsbygoogle"
         style="display:inline-block;width:265px;height:600px"
         data-ad-client="ca-pub-7557573862902525"
         data-ad-slot="6854013507"></ins>
    <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
    </script> 
</div>

未显示广告的原因是您的域 被禁止(错误代码 403)。

发生这种情况是因为 AdSense 不想在您的域上展示广告,这可能是因为您的行为违反了 AdSense policies 或之前的域所有者的行为。

Policy specialists disable ad serving to a page or site when it’s found to be in violation of program policies

如果这是以前的域所有者所做的,并且您对网站的实施符合规定,那么您可以尝试请求恢复广告服务。

要查看有关如何执行此操作的信息:

  1. Sign in to your AdSense account.
  2. 在左侧导航面板中,单击设置
  3. 单击政策中心

无法保证广告服务会恢复,因此如果您将来打算购买域名并将其与 AdSense 一起使用,您应该检查 AdSense 是否已被禁用。

验证您的域是否被阻止:使用 the Adsense Sandox tool,并输入您网站的 URL。如果没有广告显示(就像它们没有为您的 url 显示一样),则表示该域已被阻止。