Ads.txt is a public plain-text file in which a website declares its authorized advertising sellers. Publish provider-approved records at your root domain’s /ads.txt address, preserve existing active partners, and check that crawlers receive text rather than a homepage or login screen. Correct seller account IDs and relationships matter; publishing the file alone does not guarantee revenue or approval.
An ads.txt warning deserves investigation, but not a rushed replacement of every seller record. The problem may be a missing file, the wrong account ID, a cached response or a crawler that receives your homepage instead of plain text. This guide helps website publishers identify which problem they actually have, make a reversible correction, and verify the public result. It includes a WordPress workflow and a hosting checklist for static sites. The advice applies to US publishers and international websites; ads.txt authorization is not a country-specific CPM setting. Google and IAB Tech Lab sources are linked throughout, and no real publisher account ID is provided or invented here.
What is ads.txt and what problem does it solve?
Ads.txt stands for Authorized Digital Sellers. IAB Tech Lab developed it so website publishers can publicly declare the advertising systems and seller accounts authorized to sell their inventory. Buyers can use that declaration when evaluating whether an offered impression comes through an authorized route. The mechanism addresses inventory misrepresentation; it is not an ad tag, an analytics script or a payment instruction. A correctly published file does not show an ad on the page by itself. Google explains the purpose and setup at https://support.google.com/adsense/answer/12171612?hl=en . A useful publisher workflow treats authorization and ad delivery as separate checks instead of assuming one proves the other.
Ads.txt vs robots.txt vs app-ads.txt
These files answer different questions. Ads.txt declares authorized sellers for website inventory. Robots.txt communicates crawling instructions to compliant web crawlers; it cannot substitute for seller records. App-ads.txt is the companion mechanism for apps and uses the developer website associated with the app store listing. A mobile-friendly website is still a website, so it does not need app-ads.txt simply because readers use phones. If your business also publishes a native app, follow that platform’s instructions separately. The IAB specification describes the distinction at https://iabtechlab.com/wp-content/uploads/2022/04/Ads.txt-1.1.pdf . Keep each file under the control of someone who understands its purpose, especially during a hosting migration.
The fields in an ads.txt seller record
A seller record identifies an advertising system domain, an account ID in that system, and the account relationship; it may also include a certification authority ID. The advertising system domain is not automatically the domain of the agency managing your website. The account ID must identify the actual seller account authorized for the relevant arrangement, not an analytics property or an unrelated login name. Request the exact record from the partner’s official account interface or verified support contact. Preserve its field order and spelling. An example found on a public blog is not safe production data: another publisher’s ID can authorize the wrong account without solving your own warning.
DIRECT vs RESELLER: choose the actual account relationship
DIRECT indicates that the publisher directly controls the account identified in the record. RESELLER indicates that another entity controls the account and is authorized to resell the publisher’s inventory. The label describes account control, not a promise that one path always pays more or has fewer fees. An intermediary can supply a legitimate RESELLER record; changing it to DIRECT does not convert that arrangement into a direct account. Consult the IAB specification and the partner before editing this field. Keep a note of who supplied the record and why it is needed. That record of authorization is more useful than a large file copied from an unrelated site.
How to create and publish an ads.txt file
Start by saving your existing public file if one exists. Obtain the approved records for every active partner and combine them in a plain-text document, with one seller record per line. Avoid a word processor that saves rich text or adds formatting characters. Publish it so the root-domain /ads.txt address returns the intended text. For a static website, put the file in the deployment’s public root according to your host’s instructions, and check that a catch-all page rule does not intercept it. For managed publishing platforms, use their supported ads.txt setting. Then open the public address while signed out. Seeing the file only in an administrator preview does not establish public accessibility.
How to add ads.txt in WordPress
First identify which feature currently owns the public response: a physical file, an advertising plugin, a dedicated ads.txt plugin or a hosting integration. Google’s FAQ suggests a plugin may be suitable at https://support.google.com/adsense/answer/9785052?hl=en . If your advertising plugin already manages ads.txt, update that feature rather than installing a second competing writer. On self-hosted WordPress, a server-level file can override a virtual response, so check what the public URL actually returns after saving. Back up existing records, add the approved lines, clear relevant caches and inspect the result while signed out. The location of an editor in WordPress is not proof of which system controls the final file.
Fix an ads.txt “not found” warning
Visit the expected root-domain /ads.txt URL and inspect its response. A missing-file error is one possibility; an apparently successful page can also be wrong if it contains your homepage, a security challenge or an HTML error template. Confirm that the address serves the expected plain text without requiring a login. Check whether your site redirects between apex and www hosts, and whether the file remains accessible along that route. Review crawler access using Google’s guide at https://support.google.com/adsense/answer/7679060?hl=en . Do not start by replacing valid seller IDs when the actual issue is that Google cannot fetch the file. Reachability and record correctness are separate troubleshooting stages.
Ads.txt redirects, subdomains and the root domain
Do not assume a file on a blog subdomain covers every publishing arrangement. Google’s FAQ documents subdomain referrals and redirect handling at https://support.google.com/adsense/answer/9785052?hl=en . For a subdomain with a different authorized seller or publisher ID, a root-domain subdomain declaration can be relevant. Google supports a single HTTP redirect outside the original root domain and multiple redirects that remain within it, subject to its documented conditions. Rather than designing a complicated redirect chain, publish a straightforward reachable response when possible. Ask the host or monetization partner to review a managed redirect arrangement before changing it. A canonical tag on an HTML article does not resolve an ads.txt hosting error.
Caching and security rules can hide a correct edit
An editor can show the new record while a content delivery network still serves an older file. Compare the public response after clearing the relevant file cache and check whether different hosts return different versions. Security middleware can also serve a challenge to automated requests even when your own browser succeeds. Ask the host to investigate the particular ads.txt request instead of turning off site-wide protection. Record the final URL, response status and visible records before and after the change. Do not include private session cookies, account passwords or tokens in support messages. The goal is consistent public delivery of this intentional public file, not broader access to your website administration.
How long does an ads.txt update take?
Google says changes can take a few days to appear in AdSense and may take up to a month when a site makes few ad requests: https://support.google.com/adsense/answer/12171612?hl=en . That guidance is not a guarantee about every buyer’s refresh schedule. Once the public response and required record are correct, use the checks available in the provider interface and keep the verified version stable. Avoid editing the file every few hours solely because the dashboard has not changed yet. If the status persists beyond the provider’s guidance, supply evidence of the correct response and ask for investigation. Separate the time your file went live from the time each platform last read it.
Ads.txt, sellers.json and supply-chain transparency
Ads.txt is the publisher-side authorization declaration. Sellers.json discloses seller information from advertising systems, while the OpenRTB SupplyChain object describes entities involved in a bid request’s selling path. They are related transparency mechanisms, not three interchangeable files to upload into your site root. IAB’s implementation guide explains their relationship at https://iabtechlab.com/wp-content/uploads/2022/04/Ads.txt-1.1-Implementation-Guide.pdf . Ask a partner to clarify its seller identity and supplied records when the account mapping is unclear. Do not attempt to invent a sellers.json entry for an exchange you do not operate. Correct authorization is one part of inventory quality; it does not establish complete fraud prevention or certify a monetization provider.
Can fixing ads.txt increase website ad revenue?
Correct authorization can make inventory eligible for buyers that enforce authorized-seller checks. It does not establish a guaranteed CPM increase or a predictable number of additional bids. Traffic, consent, demand, floor settings, timeouts and placements can still constrain delivery. Compare matched reporting periods and inspect authorization status before attributing a revenue change to the file. Use https://ritsads.com/cpm-vs-rpm-ecpm/ to distinguish per-impression rates from net page RPM, then https://ritsads.com/ad-revenue-calculator/ for explicitly hypothetical planning scenarios. Do not describe the difference between two unmatched weeks as recovered revenue caused solely by ads.txt. A resolved warning is a configuration result, not a measured commercial outcome.
A safe maintenance checklist for growing publishers
Assign an owner for the file and keep a dated internal change log with the partner, approved record and reason for the edit. Review records when adding or removing a monetization relationship, changing hosts or moving to a new managed service. Remove an obsolete record only after confirming that the associated path is no longer authorized or needed. Avoid importing hundreds of lines to make the file look comprehensive. Preserve a rollback copy, inspect the public text after every deployment and ask active partners to confirm important account changes. For larger operations, connect this process with the reporting and rollout checklist at https://ritsads.com/enterprise-publisher-adops-guide/ .
What to send when asking for publisher support
Share the affected website, the public ads.txt URL, the warning wording, the relevant seller record and the date of your last verified change. Include the final response address if it redirects. Account IDs in ads.txt are intentionally public, but remove unrelated personal information and never send login credentials. Ask RITS for the exact approved records for your proposed arrangement rather than copying a generic list from this article. RITS offers Display, Video and Native with Net-60 payment terms. This guide does not confirm a specific seller ID, guarantee approval, promise instant authorization or override another provider’s policies. Use the direct contact options to discuss your actual setup.
Sources and scope of this ads.txt guide
The field definitions and relationship guidance follow IAB Tech Lab’s ads.txt specification and implementation guide. Google’s ads.txt guide, FAQ, crawler-access page and troubleshooter supply the AdSense-specific checks linked above. Instructions for another provider can differ, so use its current official account records and hosting requirements. The troubleshooting order here is editorial guidance: inspect the public response, verify the record, then monitor the provider’s status. RITS publishes the article and can benefit when a reader contacts its team. It contains no live audit of your website, no replacement for contractual authorization, and no claim that a corrected file by itself will improve search rankings or earnings.
Ads.txt warning: what to check first
| Symptom | First check | What the check does not prove |
|---|---|---|
| Not found | Public root-domain /ads.txt response and crawler access | That the seller records are correct |
| Unauthorized | Required account ID and relationship against the public file | That all buyers have refreshed their data |
| Old records still visible | Host, plugin ownership and relevant caching | That the dashboard status is current |
| Homepage appears at /ads.txt | Hosting fallback rules and file placement | That an HTTP success response contains valid text |
| Correct file, unchanged warning | Provider recheck options and stated update timing | A guaranteed revenue recovery |
Frequently asked questions
What is ads.txt?
A public plain-text declaration of the advertising systems and seller accounts authorized to sell a website’s inventory.
Where should an ads.txt file be published?
At the root-domain /ads.txt address, using your host or platform’s supported mechanism. Verify the public response rather than only the editor.
Is ads.txt an ad code?
No. It declares seller authorization. Ad tags and delivery integrations are separate.
What is the difference between DIRECT and RESELLER?
DIRECT describes an account the publisher directly controls; RESELLER describes an authorized account controlled by another entity. Use the actual relationship.
How do I add ads.txt in WordPress?
Use the existing supported ad-management feature or an appropriate plugin, avoid competing writers, preserve active records and verify the signed-out public result.
Why does Google say ads.txt is not found?
Investigate the root URL, redirects and crawler response. Missing files, HTML fallbacks and blocked automated requests require different fixes.
Why does ads.txt say unauthorized?
Check the exact seller account ID, advertising system domain and supplied relationship in the public file against your provider’s required record.
Can I copy another website’s ads.txt?
Not safely. Its account IDs and authorizations belong to that website’s arrangements, not necessarily yours.
Should I replace all existing lines when adding a network?
No. Back up and preserve records for active authorized partners, then add only approved records for the new arrangement.
How long does AdSense take to notice changes?
Google says a few days may be needed, or up to a month for sites with few ad requests. Verify the live file before waiting for a status change.
Can ads.txt use a redirect?
Google documents supported redirects with limits, including a single redirect outside the original root domain. Follow the provider’s instructions and inspect the complete route.
Do mobile websites need app-ads.txt?
A mobile website uses website ads.txt. App-ads.txt is for app inventory and follows the associated app-store developer website workflow.
Does ads.txt replace sellers.json?
No. They disclose different parts of the selling relationship and are maintained by different participants.
Will fixing ads.txt guarantee higher CPM?
No. Authorization can affect buyer eligibility, but demand, traffic, delivery and reporting still determine earnings.
Which records should I add for RITS Ads?
Request the exact approved records from RITS for your arrangement. RITS offers Display, Video and Native and uses Net-60 payment terms.