小赖子的英国生活和资讯

谷哥 Adsense 广告需要在域名根目录下配置 ads.txt 文件

阅读 桌面完整版

最近在登陆 Adsense 控制面板的时候发现了这么一句话:

Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact to your revenue.
风险收益 – 您需要修复一些ads.txt文件问题, 以避免对您的收入造成严重影响.

怪不得这个月的估计收入明显少了很多. 查看了一下, 发现需要在放广告的域名根目录下生成一个 ads.txt 比如: https://justyy.com/ads.txt

这个 ads.txt 只有一行, 内容如下:

google.com, pub-00000000000000, DIRECT, f08c47fec0942fa0

其中需要把第二个值 (pub-) 替换成你的 publisher-ID 广告组ID. Adsense 很人性化, 为你提供了一键下载, 你只需要上传便可以了.

Adsense 的 ads.txt 是做啥用的?

根据官网: https://support.google.com/adsense/answer/7532444?hl=en

Authorized Digital Sellers, or ads.txt is an IAB initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense) who you’ve identified as authorized. Creating your own ads.txt file gives you more control over who’s allowed to sell ads on your site and helps prevent counterfeit inventory from being presented to advertisers.

We strongly recommend that you use an ads.txt file. It can help buyers identify counterfeit inventory and help you receive more advertiser spend that might have otherwise gone toward that counterfeit inventory.

授权数字卖家或ads.txt是一项IAB计划, 可帮助确保您的数字广告资源仅通过您已确定为已授权的卖家(例如AdSense)进行销售. 通过创建自己的ads.txt文件, 您可以更好地控制允许哪些人在您的网站上销售广告, 并有助于防止向广告客户展示假冒广告资源.

我们强烈建议您使用ads.txt文件. 它可以帮助买家识别假冒库存, 并帮助您获得更多的广告客户支出, 否则这些支出将用于假冒库存.

AdSense_Google+_Banner_2160x1216

简单来说, 就是您通过往网站根目录下放置这个文件表明您对该网站有控制权, 并且里面的配置表明您是合法有效的广告销售adsense管理者.

这个文件还可以配置子域名, 比如需要为 ads.txt 添加一行: subdomain=subdomain.example.com

针对ads.txt 的配置请具体参考官网: https://iabtechlab.com/ads-txt/

强烈推荐

微信公众号: 小赖子的英国生活和资讯 JustYYUK

阅读 桌面完整版
Exit mobile version