Advertising
RelationshipDraft

How to set up ads.txt, and the IAB standards every publisher uses

Ad tech standards bodies, above all IAB Tech Lab, write the technical rules publishers follow to sell ads: ads.txt and app-ads.txt list who is authorized to sell a site's inventory, sellers.json lets buyers verify sellers, and ad format guidelines define standard sizes and lightweight, user-friendly ads (the LEAN principles). Standards are voluntary, but buyers and platforms filter out publishers that ignore them, so in practice they are required.

.md
Fig. What flows between them
  1. Ad tech standards bodies
    ↓ Specs: ads.txt, sellers.json, ad formats
    Websites & digital publishers
  2. ↓ Membership and compliance program fees (optional)
    Ad tech standards bodies
  3. Websites & digital publishers
    ↓ Feedback on drafts and public ads.txt files
    Ad tech standards bodies
  4. ↓ Implementation guides and tools
    Websites & digital publishers
The questions people ask

Quick answers

How do I set up ads.txt?

Create a plain text file named ads.txt at the root of your domain (example.com/ads.txt) listing each ad system allowed to sell your inventory, one line each: the ad system's domain, your account ID with it, the relationship (DIRECT or RESELLER) and optionally the system's certification authority ID. Your ad partners supply the exact lines.

What is the difference between DIRECT and RESELLER in ads.txt?

DIRECT means you control the account with that ad system yourself; RESELLER means another company is authorized to sell your inventory through its own account on that system.

What are the standard IAB ad sizes?

Widely used display sizes include 300x250 (medium rectangle), 728x90 (leaderboard), 160x600 (wide skyscraper), 300x600 (half page), 970x250 (billboard) and 320x50 (mobile banner). IAB Tech Lab's 2017 New Ad Portfolio moved toward flexible, aspect-ratio-based sizes.

What are the LEAN ad standards?

LEAN, introduced by IAB Tech Lab in 2016, stands for Light, Encrypted, AdChoices-supported and Non-invasive ads, principles meant to reduce slow, intrusive ads that drive ad blocking.

Is ads.txt required?

Not by law, but most major buyers and DSPs avoid or refuse unauthorized inventory, and Google Ad Manager and AdSense warn publishers without ads.txt, so in practice publishers need one to earn programmatic revenue.

What is sellers.json?

Sellers.json is a file that SSPs and exchanges publish listing the publishers and intermediaries they pay, so buyers can trace who is selling an impression and match it to the publisher's ads.txt.

01

How the relationship works#

01.1

Standards bodies write the rules of the programmatic pipe; publishers implement them on their own sites and apps. Buyers and platforms then enforce the standards by checking files and filtering inventory, so adoption is effectively mandatory.[1]

Consensus Link
  1. Standards body
    ↓ specs and guides
    Publisher
  2. ↓ ads.txt authorizes
    SSPs
  3. ↓ sellers.json, bids
    DSPs
  4. ↓ buys verified supply
    SSPs
How standards connect publishers and buyers.
01.2

The standards publishers deal with most.[1]

Consensus Link
1
ads.txt
Authorized sellers, web
2
app-ads.txt
Same for apps
3
sellers.json
Seller identities
4
Ad sizes
Display portfolio
5
LEAN
Lighter ads
6
Privacy signals
TCF, GPP
Standards publishers implement.
02

What flows between them#

02.1

Setting up ads.txt takes a few steps and needs regular upkeep.[1]

Consensus Link
  1. 1
    Collect lines from partners
    Publisher
  2. 2
    Create ads.txt at domain root
    Publisher
  3. 3
    Add OWNERDOMAIN line
    Publisher
    ads.txt 1.1
  4. 4
    Partners crawl and verify
    SSPs, DSPs
  5. 5
    Update as partners change
    Publisher
How a publisher sets up ads.txt.
02.2

Each ads.txt line has a fixed structure.[1]

Consensus Link
Field 1
Ad system domaine.g. google.com
Field 2
Publisher account ID
Field 3
DIRECT or RESELLER
Field 4 (optional)
Certification authority IDTAG ID
↑ built on top of ↑
The parts of an ads.txt record.
03

Commercial structure#

03.1

Standards are free to use; IAB Tech Lab is funded by member companies, and publishers can join for a say in drafts. The commercial effect is large: ads.txt cut revenue for spoofed domains and unauthorized resellers and helped buyers concentrate spend on authorized paths.

Inferred Link
Authorized direct paths
Preferred by buyers
Authorized resellers
Unauthorized sellers
Filtered out
Relative scale · each block ≈ 4% of the largest
Relative buyer preference by ads.txt status (illustrative).
03.2

Standards made supply path optimization possible: buyers use ads.txt and sellers.json to cut intermediaries, which rewards publishers with clean, direct setups and hurts those relying on many resellers.[1]

Consensus Link
  1. 1ads.txt and sellers.json
  2. 2Buyers map supply paths
  3. 3Fewer resellers used
  4. 4Direct publishers win
How standards changed publisher economics.
04

How they communicate#

04.1

Standards develop through working groups and public comment, then publishers implement them and give feedback.[1]

Consensus Link
  1. 1
    Working group drafts
    Members
  2. 2
    Public comment period
    Anyone
  3. 3
    Final spec released
    Standards body
  4. 4
    Implementation guides
    Standards body
  5. 5
    Feedback and revisions
    Publishers
How a standard is made.
04.2

Publishers engage through ad ops teams, publisher trade groups, Prebid.org for header bidding, and the documentation and validators standards bodies publish.[2]

Consensus Link
Publisher engagement
  • Ad ops teamsImplement
  • Working groupsShape specs
  • Prebid.orgHeader bidding
  • Publisher trade groupsAdvocacy
  • ValidatorsCheck files
How publishers work with standards bodies.
05

Power dynamic#

05.1

Standards bodies hold convening power and the spec, not enforcement. Enforcement comes from large buyers and platforms that refuse non-compliant supply. Large publishers hold power through working-group seats; small publishers mostly follow.

Inferred Link
Standards bodies
Their levers
  • Define specs
  • Convene industry
  • Compliance programs
  • Validators
Digital publishers
Their levers
  • Inventory supply
  • Working-group votes
  • Prebid community
  • Can ignore specs (at a cost)
VS
Who holds leverage over publisher standards.
06

Friction & conflict#

06.1

Friction points: ads.txt files bloated with hundreds of resellers, unpaid implementation work, standards written mostly by ad tech vendors, slow adoption of newer specs, and ad formats that buyers demand but users hate.

Consensus Link
1
Bloated ads.txt
Too many resellers
2
Implementation burden
Small publishers
3
Vendor influence
Who writes specs
4
Slow adoption
New versions
5
Intrusive formats
User experience
Where publishers and standards bodies disagree.
06.2

Ad format standards gained teeth when the Coalition for Better Ads' standards were enforced by Chrome's built-in ad filtering from 2018, which blocks ads on sites with intrusive formats.

Consensus Link
  1. 1Intrusive ads drive ad blocking
  2. 2Better Ads Standards
  3. 3Chrome filters violators
  4. 4Publishers drop formats
How ad format standards got enforcement.
07

Regional variations#

07.1

IAB Tech Lab standards are global, but implementation differs: European publishers also implement IAB Europe's TCF; US publishers add GPP strings for state privacy laws; China's ecosystem runs on platform-specific standards from Baidu, Alibaba and Tencent; Japan and India follow IAB specs through local IAB chapters and global SSPs.[1][3]

Consensus Link
Global
  • 1ads.txt, sellers.json
  • 2IAB Tech Lab
  • 1Plus TCF signals
  • 1Plus GPP strings
  • 1Platform-specific standards
  • 1Local IAB chapters
  • 2Global SSPs
Standards publishers follow, by region.
09
Live · coming next

Pulse

What's happening with ad tech standards bodies and websites & digital publishers

Every headline, story, and sentiment shift about ad tech standards bodies and websites & digital publishers: updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1IAB Tech Lab standards (ads.txt, sellers.json, OpenRTB, VAST, OM SDK, GPP) , IAB Tech Lab
  2. 2Prebid.org , Prebid.org
  3. 3Transparency & Consent Framework , IAB Europe
Before you go

Did you find what you came here for?