Browse the help center

Supply chain, sellers.json and ads.txt: setup by scenario

Set up sellers.json, the supply chain (schain) and ads.txt so buyers accept your inventory — the one-time network setup, then seven worked scenarios (DSPs, header bidding and its non-advertiser bidders, tag-based demand, an exchange's multi-line block, intermediaries, a CTV channel behind a stitcher) with the exact settings, the sellers.json entry, the schain node and the ads.txt block each one produces, plus a fix-it list for "Missing lines: N".

How-to network manager admin publisher Admin → White Label → Supply chain; Account → Publishers → site → Basic info → Supply chain; Account → Advertisers → advertiser → Basic info → Demand partner ads.txt / app-ads.txt lines

What it is and why

Buyers check three things before they bid. First, the supply chain in the bid request names who sells the impression. Second, that seller’s sellers.json confirms the seller ID. Third, the publisher’s ads.txt says that seller may sell this site. When the three agree, buyers bid as usual; when one is missing or contradicts another, many bid less or skip the impression. This page shows what to set for seven common setups and what buyers then see. All domains, IDs and names below are invented examples.

Example. The network Northwind Ads sells Sports Daily to DSPs. The bid request says asi: northwind-ads.example, sid: 4831207; https://northwind-ads.example/sellers.json lists seller 4831207 as Sports Daily Media Ltd, sportsdaily.example; and https://sportsdaily.example/ads.txt contains northwind-ads.example, 4831207, DIRECT. One check on each of the three files and the buyer knows the sale is authorised end to end.

Typical scenarios

You sell…SetThen read
A publisher’s site to DSPs over OpenRTBSend supply chain on the DSP partner; the site listed in sellers.json, Publisher type, generated IDScenario 1
Through header bidding, with other bidders in the tagA filled Seller ID (say nw-sd-01) so the tag carries your chain; each non-advertiser bidder’s line in the site’s Additional ads.txt linesScenario 2
To another network’s ad tag (a third-party code banner that resells)That network’s line on its advertiser’s Demand partner ads.txt / app-ads.txt linesScenario 3
Through an exchange that hands you a block with comments and variablesPaste the block as given on the advertiser; drop any OWNERDOMAIN / MANAGERDOMAIN line it refusesScenario 4
A site that is itself a reseller, or a staging site to keep outSeller type Intermediary (+ Confidential); List in sellers.json off for test sitesScenario 5
A CTV channel whose stitcher calls your VAST tagSeller type Intermediary + the stitcher on the video placement, so its schain reaches buyers with your node appendedScenario 7
Anything, and the site reads Missing lines: NWork through the causesNot working?

Where a partner’s ads.txt line goes depends on who the partner is:

PartnerWhere its ads.txt line goes
Sells every site of the networkWhite Label → ads.txt / app-ads.txt lines
A demand partner selling through its own tag (network or exchange tag, DSP seat), set up as an advertiserThe advertiser’s Demand partner ads.txt / app-ads.txt lines (in its Basic info)
Sells one site and is not an advertiser — typically a header-bidding bidderThe site’s Additional ads.txt lines
OWNERDOMAIN= and MANAGERDOMAIN= — who owns the site and who manages its inventoryWhite Label → ads.txt / app-ads.txt lines only

An ordinary advertiser that only buys campaigns has no ads.txt line: ads.txt lists the companies that sell the inventory, not those that buy it.

Step by step

The one-time network setup comes first; each scenario then adds what it needs. The steps and the exact sellers.json entry, schain node and ads.txt block of each scenario are on the subpages.

  1. Set up the network as a seller — the seller domain, Publish sellers.json and its contact address, the network-wide ads.txt lines with OWNERDOMAIN / MANAGERDOMAIN, and List in sellers.json on the sites you sell: Set up the network as a seller.
  2. Scenarios 1 and 2 — the network’s own chain: a publisher sold to DSPs over OpenRTB, and a site sold through header bidding with other bidders in the tag (their lines go in the site’s Additional ads.txt lines): Supply chain for DSPs and header bidding.
  3. Scenarios 3 and 4 — demand partners: another network’s ad tag that resells, and an exchange that hands over a multi-line block with comments and variables, pasted on the advertiser: Demand partners’ ads.txt lines.
  4. Scenarios 5 and 7 — resellers and CTV: a site that is itself an intermediary, test sites kept out of sellers.json, and a CTV channel whose stitcher passes its chain on your VAST tag: Intermediary sites and CTV channels.
  5. Pick the scenario that matches each site or partner and add what it needs; then send the publisher the block from the site’s Supply chain section and watch the check result. Missing lines: N is scenario 6, under Not working?.

Caveats and exceptions

Who can do this. Two permissions, both off for every role until an administrator grants them under Admin → Admin roles & permissions:

PermissionEnabledRead-onlyDisabled (default)
Site Supply Chain (sellers.json, ads.txt / app-ads.txt)Edit a site’s seller type, listing and confidentiality; add and remove its Additional ads.txt lines (with the right to edit the site); list sites from the grid; re-check ads.txtSee the site’s sellers.json fields, its ads.txt block, header-bidding partners and check status, and the grid columns, locked under a sellers.json & ads.txt heading marked Read-only; the seller ID stays editableOnly the seller ID in the Supply chain section, no columns; REST leaves the fields out and refuses the ads.txt endpoints
Advertiser ads.txt / app-ads.txt Lines (demand partners)Paste and remove a demand partner’s ads.txt lines on its advertiserSee the lines; the subsection is marked Read-onlyNo Demand partner ads.txt / app-ads.txt lines subsection; REST refuses the endpoints

The White Label settings need access to Admin → White Label. An admin sets the seller domain, Publish sellers.json and the network-wide lines, and grants the two permissions; a network manager sets per-site supply chain settings and additional lines, demand partners’ lines on their advertisers, and the bulk listing in the grid; a publisher publishes the block shown for the site, and with read-only access to Site Supply Chain sees it on the site page with Copy and Download.

Changing a seller ID changes it everywhere at once — in bid requests (with sellers.json on), header-bidding tags, sellers.json and the ads.txt block. The publisher must update the file too.

The network’s own line follows the chain buyers receive. For DSP partners that is the OpenRTB supply chain: with Publish sellers.json off the installation domain and the generated ID, with it on the seller domain and the site’s seller ID. A site with an active header-bidding tag that carries a chain (seller domain and seller ID both filled in) is asked for the pair the tag sends instead, and for the OpenRTB pair as well only while DSP partners also buy it (an active banner of an active DSP partner on one of its active placements). The relationship follows the site’s Seller type: DIRECT, or RESELLER on an Intermediary site.

Not working?

Scenario 6: the site’s Supply chain section shows the last check of the live file, the address that was read, and what it lacks — whole lines, and header-bidding partners with no line from their ad system. The usual causes of Missing lines: N, File not found and Could not check:

Site Supply chain section with the ads.txt block

CauseWhat to checkWhere
Root domain. The check reads the file at the root domain of the site URL, as buyers’ crawlers do: https://news.sportsdaily.co.uk/live is checked at https://sportsdaily.co.uk/ads.txt. Plain HTTP is tried only when HTTPS cannot be reachedA file only on a subdomain is not foundThe publisher’s web server — the root domain
Redirects. Redirects within the root domain are followed, and one more hop outside it, as the IAB ads.txt 1.1 rules allowA second redirect once outside, or a page that answers HTML, counts as File not found; a redirect to a private address is not followed and shows as Could not check. The reason is shown either wayThe site’s redirect chain
Size. Only the first 1 MB of the file is readA line further down shows as missing, and the section says the file was cutThe file’s length
A header-bidding partner with no line. Any line from Teads (teads.tv) means the file has no record of that ad system at allAdd the line the partner gives you to Additional ads.txt lines and ask the publisher to publish itThe site’s Supply chain section
Apps. An app site is checked for app-ads.txt on the site’s Developer website (the website listed on its store page), not on the store page itselfA site without one shows No domain to checkThe site’s Basic info
Typos in the account ID. Domain and relationship are compared without regard to case; the account ID is compared exactly. The certification ID is not comparedCompare the account ID character by characterThe live file vs the block
Extra fields. A record has at most four fields — domain, account ID, relationship and certification ID — read by the same rules as lines pasted hereA line with a fifth field, or a variable with nothing after =, is not read; anything extra belongs after a ; or a #The live file
Stale result. The check runs every night on a network where at least one role holds the Site Supply Chain permission, enabled or read-only — the permission that shows its result; until a role does, sites read Not checked yetAfter the publisher updates the file, press Re-check now (once a minute per site)The site’s Supply chain section; the roles

Reference

Glossary

TermMeaning
ads.txtA text file on the publisher’s website listing who may sell its inventory
app-ads.txtThe same for apps, on the developer website
sellers.jsonA file on the seller’s domain listing the publishers it sells, by seller ID
schainThe supply chain object in a bid request: one node per company that sells the impression
complete1 when the chain names every seller back to the owner of the inventory, 0 when one is missing
ASIThe seller’s domain in a schain node (asi)
seller_id / sidThe ID the seller gave the publisher; the same value in sellers.json, schain and ads.txt
DIRECTThe account in the ads.txt line belongs to the publisher, or to the seller it contracts directly
RESELLERThe account belongs to a company that resells the inventory on the seller’s behalf
Certification authority IDOptional fourth field (TAG-ID) identifying the ad system
Demand partnerA company that resells the inventory or buys it through its own tag (network or exchange tag, DSP seat) — unlike an advertiser that only buys
Header-bidding partnerA Prebid bidder in the site’s header-bidding tag; it sells under its own ad system and needs its own ads.txt line

Where things live

SettingWhere
Seller domain, Publish sellers.json, contact address, network-wide ads.txt lines, OWNERDOMAIN / MANAGERDOMAINAdmin → White Label → Supply chain
Send supply chain, Seller domain override (asi)Admin → DSP partners → the partner
Seller ID, Seller type, List in sellers.json, Confidential, the ads.txt block, Header-bidding partners, Additional ads.txt lines, Re-check nowAccount → Publishers → site → Basic info → Supply chain
List / Remove from sellers.json in bulk; the sellers.json and ads.txt columnsAccount → Publishers, Sites level
Demand partner ads.txt / app-ads.txt linesAccount → Advertisers → advertiser → Basic info
Server-side ad insertion (the schain macro)The video placement’s VAST configuration — Video behind SSAI
RESTGET /rest-api/sites/{siteId}/ads-txt, POST /rest-api/sites/{siteId}/ads-txt/check (Create and edit a site); the sellers.json fields on the site are schainSellerType, schainConfidential, sellersJsonListed (Supply chain and sellers.json)

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.