Google Adsense广告优化:上传ads.txt file文件避免收入严重受损


Google  Adsense 广告需要上传网络域名根目录 ads.txt 文件

收益受损风险 - 您需要修正一些 ads.txt file 问题,以免收入严重受损。



最近艾薇资讯在登陆谷歌 Adsense 广告后台控制面板的时候发现了这么一句话:


Earnings at risk – You need to fix some ads.txt file issues to avoid severe impact to your revenue.

风险收益 – 您需要修复一些ads.txt文件问题, 以避免对您的收入造成严重影响.


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


这个 ads.txt 只有一行, 内容如下:, pub-00000000000000, DIRECT, f08c47fuck0942fa0


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


Google ADSENSE 的 ADS.TXT 是干什么用的呢?


Google Adsense广告优化:上传ads.txt file文件避免收入严重受损

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 Google  Adsense 广告需要在域名根目录下配置 ads.txt 文件 Adsense 广告 资讯



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


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



As of March 2019, a minor version update to the IAB Tech Lab’s ads.txt specification version 1.0.2 is available for industry adoption. Ads.txt specifies a mechanism for publishers to list their authorized digital sellers, in order to fight against fraud and misrepresented domains. Version 1.0.2 now details how publishers can indicate if they do not authorize any sellers. Click below to view the spec and implement now.


View ads.txt Spec Version 1.0.2



View FAQ for ads.txt and app-ads.txt



IAB Tech Lab released app-ads.txt version 1.0 as the next step to fight inventory fraud for apps. The app-ads.txt specification is an extension of the original ads.txt standard to meet the requirements for applications distributed through mobile app stores, connected television app stores, or other application distribution channels.  The app-ads.txt final version 1.0 is now available for industry adoption.


Any comments or questions can be directed to [email protected] and will be distributed to the working group for review.


Read the blog post



See the Specification: Authorized Sellers for Apps (app-ads.txt) Final 1.0


App developers: Read more about how you can implement ads.txt



Are you buying authorized inventory? Are you looking for an efficient way to access ads.txt file contents?


IAB Tech Lab offers “ads.txt aggregator” – a critical tool to support its ads.txt anti-fraud initiative. This service provides regular updates on publishers’ approved ad sellers, making it easier for marketers, agencies, and platforms to eliminate fraudulent inventory sources, and fight against domain misrepresentation. This tool provides subscribers with access to structured aggregate data files.


ads.txt aggregator

Engineers – are you building a crawler to find ads.txt files? View an open source crawler for ads.txt. This prototype example crawler is given a list of URLs or domains etc and saves them to a SQLite DB table. Please note, this is only an example prototype crawler and would be suitable for a very modest production usage – read more on the github repository.



Additionally, a reference implementation of app store HTML parsing and app-ads.txt developer URL canonicalization libraries can be found here:



As part of a broader effort to eliminate the ability to profit from counterfeit inventory in the open digital advertising ecosystem, ads.txt provides a mechanism to enable content owners to declare who is authorized to sell their inventory.


Previous Version: ads.txt spec version 1.0.2 | ads.txt Spec Version 1.0 | Blogpost



The mission of the ads.txt project is simple: Increase transparency in the programmatic advertising ecosystem. ads.txt stands for Authorized Digital Sellers and is a simple, flexible and secure method that publishers and distributors can use to publicly declare the companies they authorize to sell their digital inventory.


By creating a public record of Authorized Digital Sellers, ads.txt will create greater transparency in the inventory supply chain, and give publishers control over their inventory in the market, making it harder for bad actors to profit from selling counterfeit inventory across the ecosystem. As publishers adopt ads.txt, buyers will be able to more easily identify the Authorized Digital Sellers for a participating publisher, allowing brands to have confidence they are buying authentic publisher inventory.

  • 本文由 发表于 2019/08/0300:15:25


匿名网友 填写信息