这是我的代码:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-xxx" data-ad-slot="xxx"></ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
我正在使用wordpress。所以创建了测试页面并将代码放在内容中,还尝试将代码直接放在php模板文件中。但在两个没有成功的案例中,iframe主体是空的,网站上什么都没有出现。我应该等待一段时间由谷歌验证吗?或者这是另一个我看不到广告的问题。
我发现这篇文章很有用https://support.google.com/adsense/answer/9715?hl=en是的,我需要等到谷歌完成网站审查。