Skip to content

Supply Chain (schain)

The schain field designed to provide transparency and verifiability in the digital advertising supply chain. It represents the entities involved in the selling and reselling of ad inventory. These identifiers typically include the certification authority domain, seller account ID, and a list of intermediate entities (such as exchanges or aggregators) that have participated in the ad transaction.

Prior to requesting bids, aggregators or resellers must declare their seller information to facilitate a transparent and efficient bidding process.

ParameterRequiredTypeDescription
asirequiredstringcanonical domain of the ad system where sellers.json is hosted
sidrequiredstringseller ID associated with the seller or reseller account
hprequiredinteger1 or 0 indicating if this node is involved in the payment flow
js
// define supply chain
aps.record("ad/schain/define", {
  schain: {
    complete: 1,
    ver: "1.0",
    nodes: [
      {
        asi: "string",
        sid: "string",
        hp: integer,
      },
    ],
  },
});
// define supply chain
aps.record("ad/schain/define", {
  schain: {
    complete: 1,
    ver: "1.0",
    nodes: [
      {
        asi: "string",
        sid: "string",
        hp: integer,
      },
    ],
  },
});