Free tool

ads.txt Checker

Fetches your /ads.txt file and reports HTTP status, parsed entries, and whether the Google AdSense DIRECT line has the right publisher ID.

Pro tips

Serve from the root

The file must live at https://yourdomain.com/ads.txt — not /public/ads.txt or a subfolder.

Use the exact Google line

google.com, pub-XXXXXXXXXXXXXXXX, DIRECT, f08c47fec0942fa0

Return text/plain

Content-Type should be text/plain; charset=utf-8. HTML pages don't count.

Be patient after fixing

AdSense recrawls on its own schedule. A green result here means you're done — wait for the dashboard to catch up.

Learn: ads.txt Checker

Everything worth knowing, in plain English

What ads.txt is and why an empty one costs you money

ads.txt stands for "Authorized Digital Sellers." It is a plain text file that lives at the root of your domain — yoursite.com/ads.txt — and it lists, line by line, every advertising company allowed to sell inventory on your site. Buyers check that file before they bid. If your domain shows up in an ad exchange but your ads.txt does not name the seller offering it, the buyer assumes the inventory is spoofed and refuses to bid.

For a small publisher this shows up as quietly lower revenue rather than a broken page, which is why it goes unnoticed for months. Google AdSense specifically warns inside your account when the file is missing or does not contain your publisher ID, and unresolved warnings can limit which advertisers are willing to buy your impressions.

Reading the result and fixing the common failures

A healthy AdSense line looks exactly like this: google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0. Four fields, comma separated. The first is the exchange domain, the second is your publisher ID, the third is DIRECT if you own the account or RESELLER if a network sells on your behalf, and the fourth is the exchange's certification authority ID.

The failures we see most often are simple. The file is served with a 404 because it was uploaded into a subfolder instead of the web root. The file returns HTML because the hosting platform sends the 404 page with a 200 status. The publisher ID has a typo, or still says pub-XXXX from a copied template. The file sits on www but the site canonicalises to the bare domain, so crawlers following the canonical never see it. Fix the file, wait twenty-four hours for the exchange to re-crawl it, then re-run this check.

Frequently asked questions

A plain-text file at yourdomain.com/ads.txt that lists the ad networks authorized to sell your inventory. Google AdSense requires it and shows "Not found" in your AdSense dashboard when it can't fetch it.

Related SEO tools

Or browse all SEO tools in the toolkit.

Built by Spider Web Agent

Need hands-on help? Our parent agency builds, fixes, and ranks small-business websites.