Adsense错误400未显示

时间:2016-07-09 01:12:22

标签: javascript jquery html adsense

我试图在测试html页面中显示一些广告,广告不显示,我得到错误GET 400。 有人可以帮忙吗?

我的网站:isrmicha.comli.com

<html>
<head>

<title>Exemplo de página HTML</title>
</head>
<body>

  <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- UpListMeme -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-xxxxxxxx"
     data-ad-slot="8702086429"
     data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</body>
</html>

1 个答案:

答案 0 :(得分:0)

我已修复它,只是将脚本更改为此

   <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- YouWeb -->
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="xxxxxxxx"
     data-ad-format="auto"></ins>
<script>

它有效!