Guide 06 · ads.txt and sellers.json
Three small files and one object carry most of the identity work in programmatic advertising. ads.txt lists who may sell a publisher's inventory, sellers.json names who stands behind each seller account, and the supply chain object carries the chain of hops inside a bid request. This guide walks each record and shows how buyers check the three against each other.
In short
- ads.txt
- Version 1.1, current, posted at the publisher's root domain
- sellers.json
- Version 1.0, July 2019, posted at the ad system's root domain
- SupplyChain Object
- Version 1.0, in
source.schainsince OpenRTB 2.6
Three records carry identity through the programmatic supply chain. ads.txt is the file a publisher posts to declare which companies may sell its inventory. sellers.json is the file an advertising system posts to name the company behind every account id it sells under. The supply chain object travels inside a bid request and lists each hop between the two.
What the three records are
The IAB Tech Lab published ads.txt in 2017 to fight counterfeit inventory: ad space offered under a site's name by a party the site never authorized. The file is posted at the web root of the domain itself, which is what proves the site authored it, and the format borrows from robots.txt. A buyer crawling site.domain can read, in a few lines of plain text, which advertising systems and account ids may sell that domain's inventory, and whether each is a direct relationship or a reseller.
ads.txt names accounts but says nothing about the companies that own them, and it does not describe the path an impression takes between publisher and buyer. sellers.json, published in 2019, is the registry that names the legal entity behind each account id. The supply chain object, an OpenRTB extension built for 2.5 and carried in the source object since 2.6, records the hops of one bid request as it travels. The Tech Lab's October 2026 supply chain info sheet sums up the division of labour: ads.txt is authorization, sellers.json is identity, and the supply chain object is the chain of custody.
ads.txt: the record and the directives
The file is served at /ads.txt on the root domain, with a text/plain content type, over HTTP or HTTPS, HTTPS preferred. Redirects within the same root domain are followed; a single redirect to a third-party domain is allowed, which covers delegation of the file's upkeep to a partner. A 404 means no declarations exist. Consuming systems cache the file and re-check it, with a default expiry of seven days when the server sets none.
One record per line, three required fields and one optional:
| Field | What it holds |
|---|---|
| 1 · Advertising system domain | The canonical domain of the exchange, SSP or wrapper that bidders connect to. |
| 2 · Publisher's account id | The id of the seller or reseller account in that system, the same value used in transactions, usually publisher.id in OpenRTB. |
| 3 · Account type | DIRECT when the publisher controls the account, RESELLER when another company does. Case insensitive. |
| 4 · Certification authority id | Optional. The id of the advertising system at a certification authority, today the Trustworthy Accountability Group (TAG). The spec notes such ids are superseded by the identifiers in sellers.json and may be deprecated. |
A short file with the two relationship types and the two most useful directives:
# ads.txt file for publisher.example
OWNERDOMAIN=owner.example # the business domain that owns this site
sample-exchange.example, 12345, DIRECT, d75815a79 # the publisher controls this account
sample-exchange.example, XF436, DIRECT
sample-ssp.example, 9675, RESELLER, f496211 # a company authorized to resell this inventory
contact=adops@publisher.exampleFive variable declarations are part of the specification:
| Directive | What it does |
|---|---|
contact | A contact address for the owner of the file. |
subdomain | Points crawlers to an ads.txt on a subdomain of the root domain, which then governs that subdomain alone. |
inventorypartnerdomain | Names a partner that owns part of the ad space inside the site or app; crawlers follow it to the partner's ads.txt. Built for CTV and other inventory-sharing setups, one hop only. |
ownerdomain | The business domain of the company that owns the site or app. Recommended in every file. This is the value buyers match against sellers.json. |
managerdomain | The domain of a primary or exclusive monetization partner, with an optional country code for regional managers. |
The file can also carry comments after a # and extension data after a semicolon. A publisher who authorizes nobody can publish a well-formed file that names no real system, so crawlers can tell an empty authorization apart from an error page.
app-ads.txt: the same record for apps
An app has no domain of its own, so it cannot post the file where the ad request points. app-ads.txt, the extension for apps distributed through mobile and connected TV app stores, solves this through the app store listing. The developer provides a website URL in the listing and posts the file at /app-ads.txt on that developer domain. The record format is the same as ads.txt, with one difference: the subdomain directive is unused in app-ads.txt and ignored if present.
A verifier finds the file in three steps. It reads the store listing page, which the store marks up with appstore:developer_url, appstore:bundle_id and appstore:store_id meta tags. It canonicalizes the developer URL, removing www. and m. prefixes and keeping one level of subdomain. It then fetches /app-ads.txt over HTTPS, falling back to the parent domain's file if the subdomain has none. A developer changing domains should keep the old file in place; the spec suggests around 30 days.
The other half is in the bid request. Networks and SSPs issuing bid requests for app inventory include the storeurl field pointing at the store listing, a requirement of the TAG Inventory Quality Guidelines, so the verifier knows which listing to crawl.
sellers.json: who stands behind an account
ads.txt never explains whose company operates account 12345. sellers.json does. Every advertising system listed in an ads.txt file, and every system named in a supply chain node, should publish the file at /sellers.json on its root domain, served as application/json and cached under the same seven-day default. The top-level object carries a version (the only valid value is "1.0"), optional contact_email and contact_address, optional identifiers such as TAG ids and Dun & Bradstreet DUNS numbers, and the sellers array, which must include every seller, confidential or not.
| Seller field | What it holds |
|---|---|
seller_id | Required. The same id as the ads.txt line and the supply chain node's sid. One id maps to exactly one paid entity. |
seller_type | Required. PUBLISHER: the inventory is on a medium the named entity owns and the system pays them directly. INTERMEDIARY: the inventory is not owned by the named entity, or the system does not pay them directly. BOTH: the account carries both kinds. |
name, domain | The legal entity paid for the inventory and its business domain, required unless the entry is confidential. For intermediaries the domain is the root domain of their own sellers.json file. |
is_confidential | 1 withholds the name and domain. The seller id stays in the file; the identity does not. |
is_passthrough | 1 marks a facilitator between an upstream supplier and a system the buyer must have an account relationship with to transact the inventory. |
comment | Optional description, useful when one entity holds several seller ids. |
A file for the system named in the ads.txt sample above:
{
"version": "1.0",
"contact_email": "adops@sample-exchange.example",
"sellers": [
{ "seller_id": "12345", // the same id as the ads.txt line above
"name": "Sample publisher",
"domain": "publisher.example",
"seller_type": "PUBLISHER" },
{ "seller_id": "4410",
"name": "Sample network",
"domain": "sample-network.example",
"seller_type": "INTERMEDIARY" },
{ "seller_id": "555", "seller_type": "INTERMEDIARY",
"is_confidential": 1 } // no name or domain: identity withheld
]
}Google Ad Manager, for one, publishes its file at realtimebidding.google.com/sellers.json; a publisher using Ad Manager chooses in account settings whether to be listed with a business name and domain, and the help pages state plainly that a publisher who does not cannot be seen by buyers under either.
The supply chain object
ads.txt and sellers.json are files a buyer reads ahead of time. The supply chain object travels with the bid request itself, in source.schain under OpenRTB 2.6 and later, in source.ext.schain under 2.5, and in BidRequest.ext.schain under 2.4 and earlier. It holds ver, the specification version, "1.0" today; complete, 1 when every paying party back to the inventory's owner appears in the chain; and nodes, the ordered list of sellers.
| Node field | What it holds |
|---|---|
asi | Required. The canonical domain of the advertising system, the same value as field 1 of the ads.txt line. |
sid | Required. The seller account id in that system, the same value as the ads.txt line, limited to 64 characters. |
hp | Required. 1 when the system pays this seller. In version 1.0 every node is a paying one, and the field must still be carried forward. |
rid | Optional. The request id this seller issued for the auction. |
name, domain | Optional. The company name and domain, and the spec says they should be left out when the system's sellers.json already holds them. |
The order means something. In a complete chain the first node is the advertising system that the inventory's owner authorized first, and the last node is whoever sent this bid request. The rules for building one are short. A system originating the request creates the object with complete 1 and itself as the only node. A system reselling inventory that had no chain creates one with complete 0 and its own node. A system reselling inventory that had a chain copies it, keeps the original complete value, and appends its own node. Copying a chain without inserting yourself is invalid, and such a request should carry no chain at all. The guide to OpenRTB 2.6 shows where source is in the request.
How the checks run
A buyer that enforces authorization crawls ads.txt for the site.domain of a web bid, or follows the store listing to app-ads.txt for an app bid, and looks for a line whose system domain and account id match the bid. Verification providers run the same crawl for reporting and enforcement on behalf of buyers and sellers. The Tech Lab's inventory sharing guidance names the three possible outcomes:
| Outcome | When it happens |
|---|---|
| Authorized | A valid file was found and the bid's advertising system and account id appear on a line in it. |
| Unauthorized | A valid file was found and the system and account id do not appear on any line. |
| Nonparticipating | No valid file could be found: no store record, no developer domain, no file, or a server error. With an inventorypartnerdomain in play the equivalent result is called inconclusive, authorization cannot be determined. |
Then the identity check. Each node of the chain names an asi that should publish sellers.json, and its sid should resolve there to one named entity. The implementation guidance ties the files together through the domain directives: when the resolved seller's domain equals the ads.txt ownerdomain, the seller is the owner of the inventory; when it equals a managerdomain, it is the owner's monetization manager, for a given country where a country code is declared; when it equals neither, the path is a reseller path. That rule is what supply path optimization tools are built on: the same inventory often reaches a buyer over several paths, and these checks tell the buyer which is the most direct one.
Common errors and what they cost
None of these costs is a percentage; each is a reclassification the specifications themselves describe.
| Error | What it costs |
|---|---|
| No file, or a malformed file | Consumers are told to ignore malformed contents. The inventory reads as nonparticipating or unauthorized, and buyers that enforce authorization stop bidding on it. |
| An id that does not match the transaction | The crawl matches on the account id the bid carries. A line with the wrong id is the same as no line: unauthorized. |
| DIRECT on an account the publisher does not control | The cross-check against sellers.json reclassifies the path as reseller, and the publisher's assumption that it sells direct fails. The guidance asks publishers to re-validate every DIRECT entry. |
| Lines left behind after a provider change | An authorization stays valid on paper for a party that no longer works for the publisher. |
| Missing sellers.json, or a confidential entry | Nodes cannot be resolved to a company. A confidential entry omits name and domain by design, so the buyer sees an id with no identity behind it. |
| A chain forwarded without the reseller's own node | Invalid by the specification. A missing hp, or an sid over 64 characters, breaks validation the same way. |
Two managerdomain lines for one country | Consumers are told to treat the declaration as if none existed for that country. |
The three records also have a stated limit. The app-ads.txt specification points out that no file can stop a platform from relabelling an unauthorized publisher id as an authorized one before the impression is offered, and that authorized inventory still needs screening for invalid traffic. The files narrow who may sell; they do not vouch for what is sold.
What it means here
Vall Media sells web inventory through Prebid header bidding and Google Ad Manager with Google AdX, and reaches demand-side platforms over OpenRTB 2.x through PMP deal ids and the open first-price auction. A publisher authorizes the network and the platform by adding their lines to ads.txt, and the buyers reading those lines resolve them against the sellers.json files of the systems on them; an app that sells through the same systems declares them the same way, in app-ads.txt on its developer domain. The page for DSPs collects the checks a buyer can run before connecting, and the web monetization page lists the authorized seller file among the things a site needs in place before it goes live.
Checklist
- Post ads.txt at your root domain as
text/plainover HTTPS, and mark an accountDIRECTonly when you control it. - Add
ownerdomaineven when it matches the site domain, and keep it equal tosellers.domainin every sellers.json that lists you as a publisher. - For an app, set the developer website in the store listing and publish app-ads.txt there; when you move domains, leave the old file in place for about 30 days.
- If you resell, append your node to the chain and keep
completehonest; never forward a chain without adding your own node. - Publish sellers.json with every seller in it, and set
seller_typeandis_confidentialthe way you trade. - Before buying, match all three: the node's
asiandsidappear in the authorized seller file, and the id resolves to a named seller in sellers.json.
Checked against
- IAB Tech Lab, Authorized Digital Sellers (ads.txt) specification, version 1.1, the current version, final release in 2022, maintained with the app-ads.txt specification in the Tech Lab's public Supply-Chain-Validation repository.
- IAB Tech Lab, Authorized Sellers for Apps (app-ads.txt) specification, version 1.0, the final version listed for industry adoption on the Tech Lab ads.txt page.
- IAB Tech Lab, ads.txt implementation guidance and the ads.txt and app-ads.txt guidance for inventory sharing, for the owner and manager checks and the authorized, unauthorized and nonparticipating outcomes, both in the same repository.
- IAB Tech Lab, sellers.json specification, version 1.0, July 2019, the only version.
- IAB Tech Lab, OpenRTB SupplyChain Object specification, version 1.0, maintained with the OpenRTB 2.x specifications in a public repository.
- IAB Tech Lab, Supply Chain info sheet, October 2026, for the authorization, identity and chain-of-custody summary.
- Google Ad Manager help, Provide seller information with sellers.json, for how Google publishes its file and what a publisher controls in it.