Preventionlabs
How It Works AI agents Pricing Fix Guides Get started

Is my ads.txt file set up?

Updated 2026-10-17

Short answer: if your site shows ads, ads.txt (at /ads.txt) lists who is allowed to sell your ad space. Missing or wrong, ad buyers may refuse your inventory and earnings drop.

How to check it yourself

  1. Visit /ads.txt on your domain.
  2. Check it lists every ad network you work with, using the lines they gave you.
  3. Add or fix it with the exact lines from each network's dashboard.

Why it matters

If your site shows ads, ads.txt lists the companies allowed to sell your ad space. Many advertisers won't buy space on a site without a valid ads.txt, and without one, others can more easily sell fake inventory that claims to be yours. If your site doesn't show ads, you don't need one.

Common causes

  • The ad network's setup step was never finished.
  • The file was lost when the site moved or was rebuilt.
  • It lists an old account ID, or a partner that's no longer used.
  • It's in the wrong place: it must be at the root, /ads.txt.

What Preventionlabs shows

Every report's site files check looks for ads.txt when your site shows ads, alongside security.txt, robots.txt (including which AI crawlers it blocks) and llms.txt.

Price

First report free, no card needed. Then A$50 a month, up to 10 domains.

Run your first report free

More questions it answers

  • Is my security.txt file missing or expired?
  • Does my website have an llms.txt file?
  • Is my website's language set correctly?
  • All questions
© 2026 Preventionlabs. All rights reserved.
Home Terms Privacy

More questions it answers

  • Is a secret API key exposed in my website code?
  • Is phpMyAdmin or a debug tool open to anyone on my site?
  • My missing pages return 200 OK instead of 404
  • All questions