What is ads.txt? Everything You Need to Know

A beginner-friendly explanation of ads.txt: what it is, why publishers need it, how it prevents ad fraud, and how to set it up correctly.

Barrie Jarman CEO & Founder Updated March 09, 2026

What is ads.txt?

Ads.txt (Authorized Digital Sellers) is a simple text file that website publishers place on their domain to publicly declare which advertising companies are authorized to sell ads on their site. If you have ever navigated to a URL like https://cnn.com/ads.txt and seen a list of cryptic entries, you have seen ads.txt in action.

Created by the IAB Tech Lab in 2017, ads.txt was designed to solve one of digital advertising's biggest problems: domain spoofing. Before ads.txt, there was no standardized way for a buyer to verify that the company selling them ad space on a premium website was actually authorized by that website to do so.

The Problem ads.txt Solves

Imagine you are an advertiser who wants to buy ads on a popular news website. In the programmatic advertising world, your ad buying software (a DSP) receives millions of bid requests per second, each claiming to be from different websites. But how do you know the bid request claiming to be from nytimes.com is actually from the New York Times?

Before ads.txt, you could not know for certain. Fraudsters exploited this gap by creating fake bid requests that claimed to represent premium publishers. They would sell this "inventory" to advertisers, pocket the money, and the ads would run on low-quality or non-existent sites. This practice, known as domain spoofing, cost the industry billions of dollars annually.

Ads.txt provides a simple, elegant solution: the publisher themselves declares who is allowed to sell their inventory, in a publicly accessible file that anyone can check.

How ads.txt Works (Simply Explained)

The concept behind ads.txt is straightforward:

  1. Publisher creates a file: The website owner creates a plain text file called ads.txt and lists every advertising company authorized to sell their inventory.
  2. File goes on the website: The file is uploaded to the root of the website's domain, making it accessible at example.com/ads.txt.
  3. Buyers check the file: When a buyer's software receives a bid request claiming to be from example.com, it checks example.com/ads.txt to verify the seller is listed.
  4. Unauthorized sellers blocked: If the seller is not in the ads.txt file, the buyer can reject the bid, protecting the advertiser's budget.

What an ads.txt Entry Looks Like

Each line in an ads.txt file represents one authorized seller. Here is an example:

google.com, pub-1234567890123456, DIRECT, f08c47fec0942fa0

This breaks down as:

DIRECT vs. RESELLER: What is the Difference?

Every ads.txt entry includes a relationship type — either DIRECT or RESELLER:

Both are legitimate, but the distinction matters for supply path optimization. Buyers generally prefer DIRECT entries because they indicate a shorter, more efficient supply path with fewer intermediary fees.

ads.txt Adoption: Where It Stands in 2026

Since its introduction in 2017, ads.txt adoption has grown dramatically:

Common ads.txt Mistakes

Despite its simplicity, ads.txt files often contain errors:

Regular auditing is essential. Tools like Red Volcano can automate this process across millions of domains.

ads.txt in the Broader Ecosystem

Ads.txt is part of a family of transparency standards:

Together, these standards create what the industry calls supply chain transparency — the ability for any buyer to verify every link between their ad budget and the publisher's content.

How Red Volcano Helps with ads.txt

Red Volcano crawls ads.txt files across 32M+ publisher domains every week, making it the most comprehensive ads.txt dataset available. The platform helps:

Need supply chain intelligence at scale? Red Volcano tracks 32M+ publishers weekly.

Book a Demo →

Frequently Asked Questions

Ads.txt stands for Authorized Digital Sellers. It is a text file that website publishers place on their domain to publicly list which companies are allowed to sell advertising on their site.

Publishers need ads.txt to protect their brand and revenue from unauthorized sellers. Without ads.txt, fraudsters can impersonate a publisher's domain and sell fake ad inventory to unsuspecting advertisers. Ads.txt prevents this by giving buyers a way to verify that the seller is authorized by the publisher.

If a website does not have an ads.txt file, many demand-side platforms (DSPs) will still bid on its inventory, but with reduced confidence in its authenticity. Some DSPs may deprioritize or avoid inventory from sites without ads.txt entirely. For publishers, the absence of ads.txt means they have no public defense against domain spoofing.

You can check any website's ads.txt by navigating to the root domain followed by /ads.txt in your browser (e.g., https://example.com/ads.txt). For analysis at scale across millions of domains, platforms like Red Volcano crawl and parse ads.txt files weekly, providing searchable, structured data.

Google strongly recommends ads.txt for AdSense publishers. While it is not technically required to run AdSense, publishers without ads.txt may see reduced demand from Google's exchange. Google's ads.txt entry typically looks like: google.com, pub-XXXXXXXXXXXXXXXX, DIRECT, f08c47fec0942fa0.

Explore Red Volcano

The most comprehensive supply-side AdTech intelligence platform. 32M+ publishers, 2,000+ technologies, complete ads.txt and sellers.json data — updated weekly.

🔗

Related Data

📊

Get the Complete Dataset

What you see here is just a preview. Red Volcano customers get access to the full, unfiltered dataset — including:

Book a 15-minute call and we’ll walk you through the platform live.