Understanding schain: SupplyChain Object Basics

Equalize Team5 min read
Understanding schain: SupplyChain Object Basics

Schain is the supply-chain object on a bid request: an ordered list of who touched the impression before the buyer saw it. Each hop is a node. The node says which company it is and whether that company was paid to resell. Buyers read the list to decide whether the path is one they trust. A missing list, or a list that does not match the path you actually ran, is not a formatting detail. It is a reason to bid less or not at all.

Publishers meet schain when a request leaves their page, passes through a wrapper or a server, and arrives at a buyer who wants the route in writing. If you operate the only hop, the object is short. If a partner resells, the object has to grow in order, with that partner's node, or the buyer is looking at a path that is shorter than the truth.

What the object is for

The object exists so a buyer can see the chain instead of guessing it. Complete means the list describes every intermediary that forwarded the request. The flags on a node say whether that node is the publisher or a reseller. Order matters. A chain that names the right companies in the wrong sequence is still a story the buyer cannot reconcile with the traffic.

You do not invent nodes for companies that did not touch the request, and you do not drop a node because the list looks cleaner when it is short. Clean, here, means accurate. Header bidding in 2026 splits paths between the browser and a server. Schain has to describe the path that particular request took. A client-side call and a server-side call are allowed to have different chains. They are not allowed to share a chain that is true of neither.

If you cannot say, for one impression, which companies were in the chain, you are not ready to send the object. Send fewer hops until you can. A short true chain is easier to defend than a long one you copied from a sample.

Where publishers get it wrong

The usual mistakes are mechanical. The wrapper adds itself and forgets the publisher node, or the publisher node is present and the reseller who actually forwarded the bid is not. Two paths overwrite one object, so the server-side request claims it was direct. A stored chain from a test seat goes out in production. The buyer compares the list to the ads.txt they already fetched. When the names disagree, the request looks like something else was inserted.

ads.txt is the file that says who may sell you. Schain is the claim about who did sell this impression. They are checked against each other. A partner who is absent from ads.txt and present in the chain, or present in ads.txt and mysteriously missing from a request they clearly forwarded, is a discrepancy you will feel as a rejected or discounted bid. You will rarely see the words "bad schain" in a revenue meeting. You will see a buyer go quiet on one path.

Log the object you sent, next to the path id. If you cannot join them, you cannot tell a good chain from a default. A publisher monetization stack is observable only if this field is one of the things you can point at after the auction.

What to keep stable

Pick the seller id you publish and use it. Changing the node identifier because a new integration suggested a different string will look, to a buyer, like a new seller. Keep the complete flag honest. If you know there is a hop you have not listed, do not mark the chain complete to satisfy a validator.

When you add a partner, add the node as part of turning them on, not as a follow-up ticket. When you remove a partner, remove the node in the same change. Schain that lags the routing table is how yesterday's path gets sold as today's.

Direct does not mean "we wish we were direct." It means this request did not pass through a reseller. If it did, say so. Buyers pay for the distinction because it tells them whose incentives shaped the impression. Hiding a hop does not make the inventory more premium. It makes the premium claim unverifiable.

A list you can read aloud

Schain is finished when a person on your team can read one request's chain aloud and have it match the systems that forwarded that request. Publisher, then the server path, then anyone who resold it, in that order, with the identifiers you also publish for sellers. Anything you cannot read aloud should not be in the object, and any hop you cannot omit should not be missing from it.

Buyers already do this reading. The work is to make the reading boring. A boring, accurate chain is the one that stops being a reason to shade the bid.