我在网站上放了谷歌广告,可中国不是屏蔽了谷歌,怎么别人可以加载,我的加载不了,有什么办法

比如 http://down.chinaz.com/soft/33619.htm
这个页面有一个谷歌广告位就能显示,是不是他们把谷歌广告JS本地化了

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:inline-block;width:200px;height:200px"
data-ad-client="ca-pub-xxxxxxxxxxx"
data-ad-slot="xxxxxxxxxx"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
因为别人翻了墙,而你没有
解决办法:
翻墙
改hosts
因为你在天朝。
很不幸楼上猜错了,Google 广告的服务器(如这个 pagead2.googlesyndication.com)在北京。而且你看到 403 就说明服务器是通的,对方拒绝访问。所以应该是你自己改了 hosts 或者 DNS 造成的。