Basics

sellers.json explained: fields, seller types and how to read one

By Stoqlab team · Updated · 6 min read

sellers.json is a file an SSP, exchange or ad network publishes at the root of its domain to list every seller account it pays, with the account's type and, unless the seller is confidential, its legal name and business domain. app-ads.txt is the publisher saying who may sell; sellers.json is the network saying who those accounts belong to. Reading both tells a buyer whether the account in a bid request is the app owner's or a reseller's, and whether that matches the publisher's declaration.

The format is the IAB Tech Lab sellers.json specification, version 1.0. The file lives at /sellers.json on the same domain the network asks publishers to use in field #1 of app-ads.txt, so pubmatic.com lines are checked against https://pubmatic.com/sellers.json.

What is in the file

{
  "version": "1.0",
  "contact_email": "…",
  "identifiers": [{ "name": "TAG-ID", "value": "…" }],
  "sellers": [
    { "seller_id": "4821", "seller_type": "PUBLISHER",    "name": "Example Games Ltd", "domain": "examplegames.example" },
    { "seller_id": "7730", "seller_type": "INTERMEDIARY", "name": "Example Mediation",  "domain": "mediation.example" },
    { "seller_id": "9102", "seller_type": "PUBLISHER",    "is_confidential": 1 }
  ]
}

Top level: version (required, "1.0"), sellers (required), and optionally contact_email, contact_address and identifiers such as the network's TAG ID or a D-U-N-S number. Every seller has to be listed, confidential ones included.

The seller fields

FieldMeaning
seller_idRequired. The account ID: the same value as field #2 of app-ads.txt and sid in the SupplyChain object.
seller_typeRequired. PUBLISHER, INTERMEDIARY or BOTH (below).
nameThe legal entity paid for inventory sold under the account. Required unless confidential.
domainThat entity's business domain. Required unless confidential or the seller has no web presence.
is_confidentialOptional, default 0. With 1, name and domain are left out.
is_passthroughOptional, default 0. Marks a seller that passes inventory from its source on to the next system while keeping its own account there. Rarely used.
commentOptional free text, useful when one company has several accounts.

PUBLISHER, INTERMEDIARY, BOTH

A PUBLISHER account owns the inventory and is paid for it directly; an app developer's own account is the typical case. An INTERMEDIARY does not own the inventory it sells, or is not paid as its owner: resellers, ad networks and mediation companies selling other publishers' apps. BOTH means the account carries both kinds, and a buyer cannot tell from the file which one applies to a given request, so a BOTH entry confirms that the account exists and little else.

How a line is checked against it

For a line pubmatic.com, 4821, DIRECT in an app's app-ads.txt, a verifier:

  1. fetches pubmatic.com's sellers.json;
  2. looks for seller_id 4821. Not there: the line points to an account the network does not (or no longer) pay, and buyers drop the path;
  3. compares the type with the relationship: DIRECT should be a PUBLISHER, RESELLER an INTERMEDIARY. A mismatch usually means the line or the network's listing is wrong;
  4. for DIRECT, may compare the seller's domain with the app's developer domain or its OWNERDOMAIN. A match confirms the line both ways.

An INTERMEDIARY's domain often belongs to another network with its own sellers.json. Following it gives the next hop of the declared path; How to read a supply path walks through one. To try it on a real network, the sellers.json validator checks a file against the specification and the seller ID lookup finds one account and the apps that declare it.

Confidential sellers

Confidentiality exists for sellers with a legitimate reason not to be named, often individuals. A confidential entry tells a buyer only that the account exists, so many buyers treat a high confidential share as a reason to prefer other paths. Each network page in the network directory, PubMatic's for example, shows the confidential share next to the seller counts.