What is Ads.txt?
Ads.txt (Authorized Digital Sellers) is a simple text file that publishers place on their websites to declare which companies are authorized to sell their ad inventory. It's a public list that helps prevent ad fraud by giving buyers transparency into the supply chain.
Why Ads.txt Matters
Digital ad fraud costs advertisers billions each year. Fake domains and unauthorized resellers can trick ad buyers into paying for inventory that doesn't exist or appears on low-quality sites.
Ads.txt solves this problem by giving everyone a public source of truth. Buyers can quickly verify if a supply partner is approved by the publisher.
- Reduces risk of domain spoofing
- Protects advertiser budgets
- Builds trust between publishers and advertisers
How Ads.txt Works
- A publisher creates a plain text file listing all authorized ad platforms.
- Each line includes the partner's domain, the publisher's account ID, and the relationship type (DIRECT or RESELLER).
- When an advertiser receives a bid request, it checks the publisher's ads.txt file.
- If the seller isn't listed, the buyer can choose not to bid.
Where to Find an Ads.txt File
Every participating publisher hosts the file in the root directory of their website. View it by typing:
https://www.example.com/ads.txt
Common Ad Fraud Ads.txt Helps Prevent
Domain Spoofing
Fraudsters disguise low-quality sites as premium domains. Ads.txt blocks this because buyers can verify if the domain authorizes the seller.
Inventory Arbitrage
Resellers buy cheap ad inventory and sell it at higher prices. Ads.txt discourages this by making the supply chain transparent.
FAQs
What is ads.txt?
Ads.txt is a text file that lists which companies are authorized to sell a publisher's ad inventory.
Is ads.txt required?
It's not mandatory, but most legitimate publishers use it to protect their reputation and maximize ad revenue.
What about mobile apps?
Mobile apps use app-ads.txt, which serves the same purpose for in-app inventory.