Skip to content

The plain guide

Three files that protect your inventory.

ads.txt, app-ads.txt and sellers.json are the IAB Tech Lab's answer to domain spoofing and reseller soup: public records of who is allowed to sell your inventory. Buyers read them before they bid, so a wrong or stale file quietly costs you demand. Here is what each file does, the exact lines Press Anchor needs, and how not to get it wrong.

  • ads.txtfor websites, hosted at your root domain
  • app-ads.txtfor apps, hosted by your developer domain
  • sellers.jsonour record, so buyers can verify us
BUILDER · CLEARLY-MARKED PLACEHOLDER LINES

Hosted at https://yourdomain.com/ads.txt. Same lines either way; we issue your real publisher ID at approval.

The supply chain

Who may sell your inventory.

Your file lists authorized paths from your domain to buyers. DIRECT means the named seller is us, selling your inventory directly. RESELLER means a partner we have authorized to re-sell it on documented terms.

THE FOUR FIELDS OF AN ADS.TXT LINE
example.com

1 · Domain: the domain of the exchange or seller. Ours is issued with your approval pack.

PA-000000

2 · Publisher ID: your unique ID on that seller. This is the placeholder format Press Anchor uses.

DIRECT

3 · Relationship: DIRECT or RESELLER. Must be uppercase.

9f8e2a…

4 · Authority ID: required on every RESELLER line; matches the entry in sellers.json.

Error clinic

Run a check on a broken file.

This sample file contains four classic mistakes. Run the check to see how a file review reads, the same review our desk runs with you at go-live.

SAMPLE: ADS.TXT (WITH FAULTS)
  1. example.com, PA-000000, DIRECT, 3f81c0e4a1d3b7c9
  2. example.com, PA-XXXXXX, DIRECT, 3f81c0e4a1d3b7c9
  3. example.com, PA-000000, RESELLER
  4. eggsample.com, PA-000000, DIRECT, 3f81c0e4a1d3b7c9
  5. example.com , PA-000000 , DIRECT , 3f81c0e4a1d3b7c9

Field notes

Common mistakes.

  • Hosting at the wrong path

    ads.txt lives at the root, /ads.txt, not in a subfolder. Redirects to other domains break the lookup too.

  • Leaving stale lines

    Lines for partners you no longer work with keep reselling rights you did not mean to grant. Prune when you prune your stack.

  • Confusing ads.txt with app-ads.txt

    Apps use app-ads.txt, hosted on the developer domain listed in the store. A web file will not cover your app inventory.

  • Hand-editing IDs

    One transposed character in a publisher ID silently de-authorizes a whole demand line. Copy, paste, verify.

  • Forgetting the update

    New demand means new lines. When you go live with Press Anchor we send the exact lines and verify the file with you.

1Apply & get your IDYour Press Anchor publisher ID arrives with the approval pack.
2Add the lineCopy from the builder above: DIRECT, with your real ID.
3We verifyThe desk checks your live file before the auction opens.

Clean file, open market.

ads.txt sorted is one item on the go-live checklist. The rest of it lives on the requirements page.