Free tools / ads.txt checker

Is your ads.txt complete?

Type your domain. We read your ads.txt the way buyers' crawlers do, check every line against the IAB specification and Google's rules, and tell you exactly what to fix.

Also check the lines a partner asked you to add

What it checks

Where the file is
Your root domain, over HTTPS first and plain HTTP if that is all there is, following redirects as buyers do.
How it is served
Answers 200, as text/plain, not a web page made by your site when the file is missing.
Every line
Three fields and an optional fourth, the ad system as a domain, DIRECT or RESELLER, no duplicates.
Google's lines
Accounts written as pub- and 16 digits, and Google's certification ID f08c47fec0942fa0.
The variables
OWNERDOMAIN once, MANAGERDOMAIN once per country, and only the five the specification defines.
Your partners' lines
Optional: which of the lines you were asked to add are missing, or there with the other relationship.

Fixing what it finds

The usual problems: a missing file, a web page instead of the file, a line pasted with the wrong account, a duplicate, or a partner's lines never added. Our guide to ads.txt errors and how to fix them goes through each.

Rules from the IAB Tech Lab's ads.txt specification (version 1.1) and Google's ads.txt guidance.

Questions

What is ads.txt?

A plain text file at the root of your domain (yourdomain.com/ads.txt) that lists every company allowed to sell your ad space, and your account with each. Buyers check it before they bid; a seller that is not listed is treated as unauthorised.

Where must the file be?

At the root of the domain the ads run on, over HTTPS where you can: https://example.com/ads.txt. A subdomain is only read when the root file names it with a SUBDOMAIN= line.

What does "served as text/html" mean?

Your server says the file is a web page. The specification says any type other than text/plain is an error and the content is ignored, so buyers act as if you had no file.

What is the difference between DIRECT and RESELLER?

DIRECT means you control the account named on the line. RESELLER means another company sells your space through its own account, as ad networks and managed partners do.

Do I need OWNERDOMAIN and MANAGERDOMAIN?

Version 1.1 of the specification asks for OWNERDOMAIN, your own domain, so buyers can match the file with sellers.json. MANAGERDOMAIN names a company that manages your ads, such as a Google MCM partner.

How soon do buyers see a change?

Crawlers come back on their own schedule, often within a day, sometimes a few. Google says its crawler can take some days to see a new or changed file.