1

我正在从 LAMP 设置切换到 WIMP 设置,除了我的 Google Adsense 之外一切都很好。当我使用下面显示的代码创建一个名为 adsense.html 的文档时,它可以在我的 Linux 服务器上正确加载,而在我的 Windows 服务器上什么也没有显示。两个页面的页面源是相同的,这让我很困惑。

<script type="text/javascript"><!--
google_ad_client = "*******";
/* Banner */
google_ad_slot = "*********";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

此外,当我从 Windows 服务器本身 (localhost/adsense.html) 浏览页面时,Adsense 广告显示得非常好。当我从外部导航到它时,什么都没有显示。我已经用谷歌搜索了 2 个小时,尝试了我能想到的一切。有没有人有任何想法?

4

0 回答 0