AdSense ads.txt Unauthorized: What It Means and What to Fix
AdSense ads.txt Unauthorized: Status-Then-File reads the status column, fixes your pub-ID seller line, and proves the root file—not Not found crawl triage.

AdSense ads.txt Unauthorized means Google crawled your domain, loaded an ads.txt file, and did not find your publisher ID in that file—not that your account vanished and not that the crawler never saw a file at all.
This page is Status-Then-File. Read ads.txt for AdSense: what Authorized, Not found, and Unauthorized mean first—that URL owns the status dictionary. When the column says Not found, switch to AdSense ads.txt Not Found: What to Fix First (crawl and hosting triage). This page is not AdSense review time. It is not ads not showing (blank units can have other causes).
Read Unauthorized as “wrong or missing pub-ID inside a file Google did see.” Fix the seller line at the root, prove it in a browser, then wait for re-crawl—do not open a second AdSense account.
Official: Ads.txt statuses · Create ads.txt · Resolve common ads.txt issues · Ensure ads.txt can be crawled · Find your publisher ID. Menu labels in AdSense can change; trust the live Help article when something looks different in your account.
Disclosure: This guide explains AdSense connection hygiene. It does not promise earnings, RPM, or approval outcomes.
Table of contents
- Status-Then-File
- What Unauthorized reports—and what it does not
- Fix the seller line before you rewrite the site
- When the file exists but Google still disagrees
- Unauthorized vs Not found vs Authorized
- Mistakes that keep Unauthorized stuck
- FAQ
- Prove the line, then wait
Status-Then-File
STATUS-THEN-FILE
1. READ → Sites column says Unauthorized (not Not found)
2. OPEN → https://yourdomain.com/ads.txt in a private window
3. COMPARE → pub- ID in file vs Account → Settings → Account information
4. COPY → seller line from AdSense Fix flow (exact characters)
5. HOST → root domain that matches the site URL in AdSense
6. WAIT → few days; low traffic can take longer (per Google)
7. CHECK → Sites → ads.txt status / “check for updates”
The original value is the order. Beginners often rebuild the whole blog or paste ad unit code into ads.txt while the status column already proves a file loaded—just without the right seller declaration. Status first. File second. Crawl patience third.
What Unauthorized reports—and what it does not
Google’s status article separates ads.txt connection states from approval states:
| ads.txt status | What it tells you |
|---|---|
| Unauthorized | File found; your publisher ID missing from that file—requests may be rejected |
| Not found | No ads.txt found on the last crawl—see the Not found triage owner |
| Authorized | Publisher ID found; no action required for this column |
| Not applicable | Some platform-managed setups—ignore per Help |
Unauthorized answers: Is my pub- ID declared as an authorized seller on this domain? It does not answer “why is my balance on hold,” “why is review pending,” or “why is RPM low.” Payment holds belong on payment on hold. Estimated swings belong on estimated earnings vs final payments.
If units are blank after you fix the line, continue on ads not showing—policy, consent, and code paths are separate checks.
Fix the seller line before you rewrite the site
Work this sequence when the column already says Unauthorized:
- Confirm you are fixing the right domain. AdSense Sites lists the URL Google associates with the property. Subfolder installs on someone else’s apex cannot always host their own seller file—Help’s troubleshooter covers top-domain cases.
- Open the live ads.txt URL. You should see plain text, not an HTML 404 page dressed as content. If the browser cannot load a file, you may actually be in Not found territory—re-read the status meanings owner.
- Find your publisher ID in Account → Settings. Use the
pub-form documented for ads.txt, not a confused paste from an ad slot—see publisher ID vs ca-pub / ad client. - Replace or add the Google seller line. Typical AdSense-only shape (verify live Help):
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
Replace zeros with your ID. Keep DIRECT and the certification authority token exactly as AdSense shows in Copy—not a shortened line from a forum screenshot.
- Save as plain text at the root (
/ads.txt), not inside/blog/, not as a WordPress page slug, not as Media attachment URL. - Re-open in a private window after cache clears on your host. You should see your pub- ID on its own line.
For theme-level ad snippets after the seller file is clean, use WordPress AdSense code placement—that owner does not replace ads.txt hygiene.
When the file exists but Google still disagrees
If your browser shows the correct line but AdSense still reports Unauthorized, walk Google’s common issues and crawl guidance:
- Typo or wrong account. Multiple AdSense accounts mean multiple pub- IDs. The line must match the account tied to this site.
- Extra characters. BOM markers, smart quotes, trailing spaces, or HTML wrappers break parsing.
- Wrong partner line only. A file that lists another network but omits
google.com, pub-…stays Unauthorized for AdSense. - www vs apex split. Redirect both hosts to one canonical ads.txt or duplicate the seller line on both if your host requires it—confirm what AdSense lists.
- Timing. Fresh fixes need a re-crawl. Google documents multi-day waits; low ad-request sites can take up to a month.
- robots.txt or WAF blocks. Crawlers must reach
/ads.txtwith HTTP 200. A human browser logged in as admin is not proof.
Do not remove and re-add the site solely to refresh ads.txt. That habit delays approval review (review-time owner) without guaranteeing a faster seller-file crawl.
Unauthorized vs Not found vs Authorized
Use this quick branch so you open the right CashPilot URL:
| Column | First job | CashPilot owner |
|---|---|---|
| Unauthorized | Fix pub- ID inside existing file | This page (Status-Then-File) |
| Not found | Host file at root; prove crawl | Not found triage |
| Authorized | None for ads.txt column | Status dictionary for reading only |
All three statuses are defined together on the dictionary owner—keep it bookmarked. This page assumes you already know Unauthorized ≠ Not found and you are here to fix the seller declaration.
Mistakes that keep Unauthorized stuck
| Mistake | Why it fails |
|---|---|
Pasting ca-pub from an ad unit into ads.txt | Wrong field—use pub- seller format from Account settings |
| Editing ads.txt on staging only | AdSense crawls the live monetized domain |
| Adding dozens of network lines but skipping Google | Missing google.com seller line keeps AdSense Unauthorized |
| Deleting the file to “reset” | Drops you toward Not found and delays monetization |
| Opening a second AdSense account | Creates identity problems; fix the line on the original property |
None of these are secret “RPM hacks.” They are file hygiene.
FAQ
What does Unauthorized mean?
Your publisher ID was not found in the ads.txt file Google loaded on the last crawl—fix the seller line.
Is this the Not found fix page?
No. Not found means no file was seen. Start on the Not found triage owner when that column shows Not found.
Will Unauthorized block all earnings forever?
Google documents that unauthorized declarations can cause ad requests to be rejected until fixed. Resolve the file, wait for re-crawl, then monitor serving and Payments separately.
Can I ignore Unauthorized on a new site?
No. Fix seller declaration early so buyers and Google treat your inventory as declared. Ignoring it while scaling traffic invites serving and policy friction later.
Prove the line, then wait
Status-Then-File in one line: read Unauthorized, open live /ads.txt, match pub- to Account settings, copy Google’s seller line exactly, prove HTTP 200 text at the root, then use Sites → check for updates and wait per Google’s timing notes.
Keep the status dictionary open for column definitions. Switch to Not found triage if the label changes after a bad edit. When ads.txt turns Authorized but units stay blank, continue on ads not showing—you have finished the seller-file branch for now.
Keep learning
More guides in the same topic lane.
Word to Excel or Protect Excel: Which Job First?
Word to Excel builds a sheet from DOCX tables; Protect Excel locks an XLSX. See which job to run first when conversion and a password both appear in one brief.
PDF OCR or PDF to Word: Which Job?
PDF OCR adds a searchable text layer to scans; PDF to Word exports an editable DOCX. Choose the job when the PDF is image-only versus ready for Word editing.
JPG to PDF or Compress PDF: Which Job First?
JPG to PDF combines images into one PDF; Compress PDF shrinks an existing PDF. See which job to run first when photos versus file size drive the brief.