How to Audit ads.txt, app-ads.txt, sellers.json and SupplyChain Before Activating a Demand Partner
Editorial note. This article was drafted with AI assistance by the GlobalSun Insights desk and is published as a draft for editorial review. No human editorial sign-off is claimed. Content, figures and links may be revised after review.
Authorization, seller identity, chain transparency and traffic validity are four different questions. None of them substitutes for the others, and a clean answer to one says nothing about the remaining three.
The four artefacts below are often treated as a single compliance checkbox. They are not. Each one answers one question, from one perspective, and the interesting findings usually sit in the disagreements between them.
Four files, four questions
| Artefact | Question it answers | What it cannot show |
|---|---|---|
| ads.txt | Is this advertising system authorized to sell this domain's inventory? | Whether the traffic is human, or the price is fair |
| app-ads.txt | Which systems are authorized for this app's inventory? | Anything about the app's traffic quality |
| sellers.json | Who are the declared sellers of this system, and in what role? | Whether those sellers are authorized by the publisher |
| SupplyChain (schain) | Which systems handled this request, and who sold it? | Whether the underlying traffic is valid |
ads.txt: authorization, not a quality signal
An ads.txt record states that a publisher authorizes a named advertising system to sell its inventory, and identifies the account the relationship runs through. The important distinction is DIRECT versus RESELLER, and it is decided by the publisher's relationship to the listed advertising system account — not by whether the traffic is human, and not by whether the seller is an intermediary you happen to like.
- DIRECT is used when the publisher directly controls the account with the advertising system that will sell the inventory.
- RESELLER is used when the inventory is sold through another party's account, even when that party is an authorized partner.
Two records that look similar can describe very different commercial arrangements, and the same domain can legitimately appear under several systems and several accounts. What the file establishes is authorization and the account path. Treating a DIRECT record as evidence of good traffic is a category error — validity is a separate measurement.
app-ads.txt: the app store path
For app inventory, authorization is asserted at a developer website that the app store listing points to. The app-ads.txt file lives on that developer domain rather than inside the app, and the store listing has to reference the same domain for the chain to be checkable. Common findings are a listing that points at one domain while the file sits on another, or a file that lists systems for a different app of the same developer.
sellers.json: declared sellers and seller type
sellers.json is published by an advertising system and maps seller IDs to the entities behind them, including a seller type: publisher, intermediary, or both. It answers "who is this seller ID?" not "is this seller allowed to sell this domain?" — the permission question belongs to ads.txt.
Expect limited visibility in some records. Sellers can appear with a confidential flag or with parts of their identity withheld, and that is a legitimate state under the specification rather than evidence of wrongdoing. Practical audits therefore check consistency: does every seller ID your requests carry exist in the system's sellers.json, is the seller type plausible for the role it plays, and does the domain on a publisher record match the domain you expect.
SupplyChain (schain): the path the request took
The SupplyChain object describes the intermediaries a bid request passed through, in order. Each node names the advertising system that handled the request and the seller ID under which it did so, and the object carries a flag indicating whether the chain is asserted to be complete. A complete chain with a gap-free sequence of nodes is materially different from an unspecified or incomplete one; comparing the asserted chain to what you know of your own integration is where discrepancies surface.
A worked example, entirely fictional
Everything below is invented for illustration. example.com and example.net are reserved domains and no real publisher, system or partner is described.
| Check | Observed | Finding |
|---|---|---|
| ads.txt record for example.com | ad-system.example.net, 1234, DIRECT | Account 1234 is asserted as directly controlled by the publisher — confirm that is true |
| Bid request seller ID | 1234 | Matches the ads.txt account |
| sellers.json (ad-system.example.net) | Seller 1234 listed, type intermediary, domain example.net | Consistent with the request, but the type suggests a reseller role rather than a publisher record — clarify |
| Schain node | asi ad-system.example.net, sid 1234, complete asserted | Matches the seller ID; verify the asserted chain against the known integration path |
| Second system in path | Seller 5678 present in schain but absent from that system's sellers.json | Reason for clarification, not a conclusion |
| Independent IVT measurement | Not yet run | Traffic validity is still an open question |
None of these lines proves fraud, and none of them proves safety. Together they identify three items to ask about and one measurement still to take — which is exactly what a pre-activation audit should produce.
What to verify before activating a partner
- Confirm the property is one you control or are authorized to represent, and that you can publish to its ads.txt.
- Confirm the exact advertising system domain and the exact account ID, checked character by character. A near-match is a different system or a different account.
- Confirm the partner's seller type and the authorized relationship between the partner, the account and the domain — and get it in writing.
- Check consistency across the whole supply chain: the accounts in your ads.txt, the seller IDs in your bids, the records in each system's sellers.json, and the nodes in schain.
- Confirm the demand partner has approved the integration and expects your traffic under the same account you have declared.
- Take an independent measurement of invalid traffic rather than relying on a single party's report.
Missing or inconsistent data is a question, not a verdict
Confidential seller records, a chain that is not asserted as complete, a seller ID you cannot identify, a lag between publishing a file and a system reading it — each of these is a reason to ask for clarification. Publishing artefacts is asynchronous, cache lifetimes vary, and records can be legitimately withheld. Treat findings as items to confirm with the counterparty, and be equally careful about the opposite error: a tidy, complete set of files is a statement about authorization and transparency, and it is not a measurement of traffic validity.
Pilot before you switch anything on
Do not treat a clean audit as a licence for an unrestricted launch. Agree a limited pilot instead: a named set of properties, a capped share of traffic, a defined start and end date, quality monitoring with agreed metrics and thresholds, and stop criteria that either party can invoke. Review the pilot against those criteria before expanding, and keep the monitoring running after expansion — supply chains change without telling you.
If you are auditing a partner and want a second pair of eyes on the authorization and transparency side, contact the Global Sun team. We publish our own sellers.json for the same reason we ask our partners to publish theirs.