# Google AdSense

**URL:** https://meta.discourse.org/t/adsense-google/366054
**Category:** Support
**Tags:** advertising
**Created:** [2025年五月14日 08:53 UTC](https://meta.discourse.org/t/adsense-google/366054 "2025-05-14T08:53:18Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Genius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/genius/32/502998_2.png) [@Genius](https://meta.discourse.org/u/Genius)
#### Post date: [2025年五月14日 08:53 UTC](https://meta.discourse.org/t/adsense-google/366054/1 "2025-05-14T08:53:18Z")

</div>

我目前正在尝试为 Discourse 设置 Google AdSense。我使用自定义域的标准付款选项。我已经将域名添加到 AdSense，现在已进入“验证网站所有权”选项卡。我已将 Ads.txt 代码段粘贴到：

1：[domain.com/admin/site\_settings/category/ad\_plugin](http://domain.com/admin/site_settings/category/ad_plugin) - Ads TXT

在 Google 搜索栏中输入 domain.name/ads.txt 时，它显示：

 ![image](https://global.discourse-cdn.com/meta/original/4X/e/9/4/e94727ca49554445a59f3b38ab122a9c725c3f75.png)

在开发者工具中，网络选项卡下显示状态码：200 OK。

然而，我的问题是，当我尝试在 AdSense 页面上按验证按钮时，它显示“无法验证您的网站。

我们无法验证您的网站。请确保您对网站所做的更改已发布，并且 Google AdSense 爬虫可以访问。如果您仍然遇到问题，请尝试其他方法。”

我不确定如何继续处理这个问题，而且我看到的大部分文档都适用于自行托管 Discourse 的用户，而不是使用 Discourse 的标准付款计划。

如果您有任何相关知识，请告诉我。  
谢谢。

---

_[View the full topic](https://meta.discourse.org/t/adsense-google/366054)._
