Home / Digital Advertising & Marketing Glossary / Ads.txt

What is Ads.txt?

In the digital advertising ecosystem, transparency and security are paramount. With the rise of programmatic advertising, where ads are bought and sold via automated systems, the industry faced a growing challenge: ad fraud. To combat this issue, the Interactive Advertising Bureau (IAB) introduced a simple, yet powerful tool: Ads.txt.

Understanding Ads.txt

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 sellers, Ads.txt aims to prevent unauthorized inventory sales, thereby reducing the prevalence of ad fraud.

How Ads.txt Works

The mechanism behind Ads.txt is straightforward. Publishers place a text file named "ads.txt" on their web servers. This text file contains a list of the companies that are authorized to sell or resell the publisher's inventory. Each line in the file details the domain name of the authorized seller, the publisher's account ID, and the type of relationship (DIRECT or RESELLER), among other optional parameters.

When advertisers or ad buyers plan to purchase inventory from a website, they can check the site's Ads.txt file to verify if the entity selling the inventory is listed as an authorized seller. This verification process helps advertisers avoid buying counterfeit or misrepresented ad inventory.

The Importance of Ads.txt

The implementation of Ads.txt brings several benefits to the digital advertising industry:

  • Enhanced Transparency: Ads.txt provides a clear view of the digital ad supply chain, allowing buyers to verify legitimate sellers of ad inventory.
  • Reduction in Ad Fraud: By making it harder for fraudulent sellers to profit from selling unauthorized inventory, Ads.txt helps to reduce the overall rate of ad fraud.
  • Increased Trust: Publishers and advertisers who adopt Ads.txt contribute to a more trustworthy digital ad ecosystem, fostering better relationships between buyers and sellers.

Implementing Ads.txt

For publishers, implementing Ads.txt is relatively simple and involves a few steps:

  1. Create the Ads.txt File: Publishers must create a text file named "ads.txt" and include in it the lines that specify their authorized digital sellers.
  2. Populate the Ads.txt File: Each line in the Ads.txt file should follow a specific format, indicating the domain name of the authorized seller, the publisher's account ID with that seller, and whether the relationship is direct or via a reseller.
  3. Upload the Ads.txt File: Once created, the Ads.txt file should be uploaded to the root directory of the publisher's website.

For advertisers, leveraging Ads.txt means incorporating checks into their ad buying process to ensure they are purchasing inventory from authorized sellers listed in publishers' Ads.txt files.

Challenges and Considerations

While Ads.txt is a significant step forward in combating ad fraud, it is not without its challenges and considerations:

  • Adoption Rate: The effectiveness of Ads.txt depends on widespread adoption by publishers and support from advertisers.
  • Maintenance: Publishers need to regularly update their Ads.txt files to reflect changes in authorized sellers.
  • Misconfiguration: Incorrectly formatted Ads.txt files or inaccurate entries can lead to issues, such as legitimate sales being blocked.

The Future of Ads.txt

As the digital advertising landscape continues to evolve, initiatives like Ads.txt play a crucial role in enhancing transparency and security. The IAB has also introduced extensions to Ads.txt, such as App-ads.txt for mobile and OTT (over-the-top) applications, further broadening the scope of protection against ad fraud.


Ads.txt represents a significant advancement in the fight against ad fraud in programmatic advertising. By providing a simple mechanism for publishers to declare who is authorized to sell their inventory, and for buyers to verify this authorization, Ads.txt fosters a more transparent, secure, and trustworthy digital advertising ecosystem. As adoption continues to grow, the impact of Ads.txt on reducing ad fraud and enhancing industry trust is expected to increase, benefiting all stakeholders in the digital advertising supply chain.