Supply Chain Object Module
Service Providers who manage Prebid wrappers on behalf of multiple publishers and handle payments to the publishers need to declare their intermediary status in the Supply Chain (a.k.a SChain) object. The IAB OpenRTB SupplyChain Object Specification prohibits SSPs from adding upstream intermediaries, so publishers or Prebid.js managed service providers need to specify schain information.
Two modes are supported:
  - 
    Global Supply Chains
 Use this configuration when the Prebid.js implementation is managed by an entity that needs to add an SChain node to every bid request. i.e. payments flow through this entity for all traffic.
 
- 
    Bidder-Specific Supply Chains
 Use this configuration when one or more bid adapters is an entity (such as a reseller) that requires an SChain node, but other adapters do not require the node. e.g. payments flow through a bidder that doesn’t add its own schain node.
 
How to Use the Module
Since Prebid 10, schain is treated as first party data: this module just copies schain.config into ortb2.source.ext.schain. You may provide it (or ortb2.source.schain) directly, removing the need for this module.
Note that bidder-specific first party data is merged with global first party data, while up until Prebid 9 bidder-specific schains override the global schain. The simplest way to upgrade to 10 is to avoid using both.
First, build the schain module into your Prebid.js package:
gulp build --modules=schain,...
The module performs validations on the schain data provided and makes it available to bidder adapters on the bidRequest object.
Global Supply Chains
Call setConfig with the schain object to be used:
pbjs.setConfig({
  "schain": {
    "validation": "strict",
    "config": {
      "ver":"1.0",
      "complete": 1,
      "nodes": [
        {
          "asi":"indirectseller.com",
          "sid":"00001",
          "hp":1
        }
      ]
    }
  }
});
Bidder-Specific Supply Chains
This method uses the pbjs.setBidderConfig function, with a syntax similar to the global scenario above.
pbjs.setBidderConfig({
  "bidders": ['bidderA'],   // can list more bidders here if they share the same config
  "config": {
    "schain": {
      "validation": "relaxed",
      "config": {
        "ver":"1.0",
        "complete": 1,
        "nodes": [
          {
            "asi":"bidderA.com",
            "sid":"00001",
            "hp":1
          }
        ]
      }
    }
  }
});
You can find more information about the pbjs.setBidderConfig function in the Publisher API Reference.
Prebid 10 : You can either use above method or ortb2.source.schain property to pass schain. You can read more about passing First Party Data. As far as precedence is concerned, ortb2.source.schain property takes precedence over the schain config setup via pbjs.setConfig using above mentioned method.
Global and Bidder-Specific Together
Yes, you can set both global and bidder-specific SChain configs. When together, the schain config setup via pbjs.setConfig acts as a global config that applies to all your bidders, while pbjs.setBidderConfig overrides the global config for the noted bidder(s).
SChain Config Syntax
Prebid 10 : Validation will be automatically performed by the validationFpdModule if you have included it in your Prebid.js build. If the skipValidation parameter is set to true in the validationFpdModule configuration, validation will be skipped. Please visit the validationFpdModule documentation for more information.
  
    
      | SChain Param | Scope | Type | Description | Example | 
  
  
    
      | validation (deprecated from Prebid 10) | optional | string | 'strict': In this mode, schain object will not be passed to adapters if it is invalid. Errors are thrown for invalid schain object.'relaxed': Errors are thrown for an invalid schain object but the invalid schain object is still passed to adapters.'off': No validations are performed and schain object is passed as-is to adapters. The default value is'strict'. | ‘strict’ | 
    
      | config | required | object | This is the full Supply Chain object sent to bidders conforming to the IAB OpenRTB SupplyChain Object Specification. | (See examples above) | 
  
Prebid 10 : Adapters can read bidderRequest.ortb2.source.ext.schain instead of bidRequest.schain.
Adapters can read the bidRequest.schain object and pass it through to their endpoint. The adapter does not need to be concerned about whether a bidder-specific schain was provided; the system will provide the relevant one.
Adapters Supporting the schain Module
  
  152Media
  
  
  1Accord
  
  
  33Across
  
  
  360PlayVid
  
  
  9Dots Media
  
  
  A1Media
  
  
  A4G
  
  
  AAX
  
  
  ablida
  
  
  Aceex
  
  
  AcuityAds
  
  
  Ad2iction
  
  
  adWMG
  
  
  Adagio
  
  
  Adasta Media
  
  
  Adbite
  
  
  AdBlender
  
  
  AdBookPSP
  
  
  AdButler
  
  
  AdDefend
  
  
  Addigi
  
  
  AdElement
  
  
  AdformOpenRTB
  
  
  AdFusion
  
  
  AdFusion
  
  
  Ad Generation
  
  
  AdGrid
  
  
  AdHash
  
  
  Adhese
  
  
  Adinify
  
  
  Adipolo
  
  
  AdKernel
  
  
  AdKernelAdn
  
  
  Adklip
  
  
  Adliveconnect
  
  
  Adlive Plus
  
  
  Adlivetech
  
  
  ADman Media
  
  
  Admaru
  
  
  AdMatic
  
  
  AdMatic GMBH
  
  
  admedia
  
  
  AdMixer
  
  
  AdmixerADX
  
  
  Adnimation
  
  
  AdNow
  
  
  Adnuntius
  
  
  adOmega
  
  
  Adoppler
  
  
  Adot
  
  
  AdPartner
  
  
  AdPlus
  
  
  AdPluto
  
  
  AdPluto DSP
  
  
  Adpone
  
  
  AdPort
  
  
  Adprime
  
  
  Adquery
  
  
  Adrelevantis
  
  
  Adrino
  
  
  adriver
  
  
  Ads Interactive
  
  
  AdsInteractive
  
  
  adsolut
  
  
  AdSparc
  
  
  AdSpirit
  
  
  adstir
  
  
  AdsYield
  
  
  AdTarget Teknoloji
  
  
  Adtarget
  
  
  AdTarget.org
  
  
  Adtelligent
  
  
  AdTonos
  
  
  Adtarget.me
  
  
  AdTrue
  
  
  AdUp Technology
  
  
  Advangelists
  
  
  Advertising.com
  
  
  Adverxo
  
  
  AdView
  
  
  adxcg
  
  
  Adyoulike
  
  
  Adzymic
  
  
  AFP
  
  
  Afront
  
  
  AIDEM
  
  
  AJA
  
  
  Akcelo
  
  
  AlgoriX
  
  
  Alkimi
  
  
  Altstar Media
  
  
  Alvads
  
  
  Ampliffy
  
  
  AMX RTB
  
  
  AMX RTB
  
  
  AndBeyond.Media
  
  
  Aniview
  
  
  AnyClip
  
  
  Anzu
  
  
  Anzu Exchange
  
  
  AOL
  
  
  Apacdex
  
  
  Apester
  
  
  AppStockSSP
  
  
  Appier
  
  
  AppierBR
  
  
  AppierExt
  
  
  AppierGM
  
  
  Applogy
  
  
  AppNexus
  
  
  Appstock
  
  
  Appush
  
  
  AP Stream
  
  
  Artechnology
  
  
  Arteebee
  
  
  Aseal
  
  
  Adserver.Online
  
  
  AstraOne
  
  
  Attekmi
  
  
  Audience Network
  
  
  Audience Media
  
  
  AudienceRun
  
  
  Automatad OpenRTB Bid Adapter
  
  
  Avantis Video
  
  
  Avocet
  
  
  Axis
  
  
  Axonix
  
  
  BCM
  
  
  BCM International
  
  
  Beachfront
  
  
  BEdigitech
  
  
  Beintoo
  
  
  Bematterfull
  
  
  BeOp
  
  
  Between
  
  
  Bidbuddy
  
  
  Biddo
  
  
  Bidgency Group
  
  
  Bid Glass
  
  
  Bidmachine
  
  
  Bidmatic
  
  
  BidMyAdz
  
  
  BidsCube
  
  
  Bidsmind
  
  
  Bidstack
  
  
  stailamedia Bidder
  
  
  Bidsxchange
  
  
  Bidtheatre
  
  
  BigRichMedia
  
  
  BigoAd
  
  
  Bitmedia
  
  
  Blasto
  
  
  BLIINK
  
  
  blis
  
  
  Blockthrough
  
  
  Blue
  
  
  Blue Billywig
  
  
  Bluesea
  
  
  Blue Media Services LTDA
  
  
  Bright Mountain Media
  
  
  Boldwin
  
  
  brainx
  
  
  brainy
  
  
  Brave
  
  
  Brid
  
  
  Bridgeupp
  
  
  Bridgewell
  
  
  Brightroll
  
  
  Browsi
  
  
  Bucksense
  
  
  Buzzoola
  
  
  BoldwinX
  
  
  C1X
  
  
  Cadent Aperture MX
  
  
  Caroda
  
  
  Clickonometrics
  
  
  chtnw
  
  
  Clean Media Net
  
  
  Clickforce
  
  
  CodeFuel
  
  
  Cointraffic
  
  
  Coinzilla
  
  
  Collectcent
  
  
  Colombia
  
  
  Colossus
  
  
  Colossus
  
  
  Compass
  
  
  Conceptx
  
  
  Concert
  
  
  CondorX
  
  
  Connatix
  
  
  ConnectAd
  
  
  connekt.ai
  
  
  Consumable
  
  
  Consumable
  
  
  ContentExchange
  
  
  Content Ignite
  
  
  Contxtful
  
  
  Converge-Digital
  
  
  Copper6SSP
  
  
  Cordless.co
  
  
  Cox
  
  
  CPMStar
  
  
  craft
  
  
  Criteo
  
  
  C-WIRE
  
  
  Dailymotion
  
  
  DAN Marketplace
  
  
  DataBlocks
  
  
  Datawrkz
  
  
  Deepintent
  
  
  DEFINE MEDIA
  
  
  Defy Media
  
  
  Delta Projects
  
  
  Denakop
  
  
  Dexerto
  
  
  Dianomi
  
  
  diDNA Display
  
  
  diDNA Video
  
  
  Digiad DMCC
  
  
  Digitalcaramel
  
  
  Digital Matter
  
  
  DiscoveryDsp
  
  
  Displayio
  
  
  DisplayioAds
  
  
  DistrictM
  
  
  DistrictmDMX
  
  
  DistroScale
  
  
  DivReach
  
  
  Djax
  
  
  DistrictM DMX
  
  
  Doceree
  
  
  Doceree AdManager
  
  
  Dochase
  
  
  driftpixel
  
  
  Geniee
  
  
  DSPx
  
  
  Duration Media
  
  
  dvgroup
  
  
  DXKulture
  
  
  E-volution tech
  
  
  Easybid
  
  
  EngageBDR
  
  
  eClick
  
  
  EClickAds
  
  
  Edge226
  
  
  eHealthcareSolutions
  
  
  eHealthcareSolutions
  
  
  8pod
  
  
  Embi Media
  
  
  emetriq
  
  
  Empower
  
  
  EMTV
  
  
  EngageADX
  
  
  Engage BDR
  
  
  Engageya
  
  
  E-Planning
  
  
  Epom
  
  
  Epom DSP
  
  
  Epsilon
  
  
  Equativ
  
  
  eRGADX
  
  
  Escalax
  
  
  Eskimi
  
  
  Etarget
  
  
  Evolution Technologies
  
  
  EXADS
  
  
  EX.CO
  
  
  Eywamedia
  
  
  FairTrade
  
  
  Feature Forward
  
  
  FeedAd
  
  
  FelixAds
  
  
  Filmzie
  
  
  Finative
  
  
  flatads
  
  
  flipp
  
  
  fluct
  
  
  Freedom Ad Network
  
  
  freepass
  
  
  FreeWheelssp
  
  
  FRVR Ad Network
  
  
  FutureAds
  
  
  FWSSP
  
  
  Fyber
  
  
  Gambid
  
  
  Gamma
  
  
  Gamoshi
  
  
  GetIntent
  
  
  IPAX
  
  
  Gjirafa
  
  
  Glimpse Protocol
  
  
  Global Sun
  
  
  Globalsun
  
  
  Glomex
  
  
  Glomex Bidder
  
  
  GMOSSP
  
  
  Gnet
  
  
  Go2Net
  
  
  Goldbach
  
  
  Gourmet Ads
  
  
  GreedyGame
  
  
  Greenbids
  
  
  TheMediaGrid
  
  
  TheMediaGridNM
  
  
  GrowAdvertising
  
  
  GumGum
  
  
  GXOne
  
  
  H12 Media
  
  
  Headbidder.net
  
  
  Head Bidding
  
  
  Holid
  
  
  HouseOfPubs
  
  
  HuaweiAds
  
  
  Huddled Masses
  
  
  Hybrid.ai
  
  
  HypeLab
  
  
  HyperBrainz
  
  
  Integral Ad Science (IAS)
  
  
  IDX bidder adapter
  
  
  iion
  
  
  Illumin
  
  
  iMedia Digital Services (iMDS)
  
  
  Impactify
  
  
  Improve Digital
  
  
  IncrementX
  
  
  Indicue
  
  
  Infinety
  
  
  InfyTV
  
  
  Inmar
  
  
  InMobi
  
  
  Innity
  
  
  Inskin
  
  
  Insticator
  
  
  Integr8
  
  
  intenze
  
  
  InteractiveOffers
  
  
  intertech
  
  
  Invamia
  
  
  Invibes
  
  
  iPROM
  
  
  iQM
  
  
  IQX
  
  
  IQzone
  
  
  IVS Bidder Adapter
  
  
  Index Exchange (Prebid Server)
  
  
  Index Exchange
  
  
  Jambojar
  
  
  JANet
  
  
  JDPMedia
  
  
  Jixie
  
  
  Justpremium
  
  
  JW Player
  
  
  Kargo
  
  
  Kidoz
  
  
  Kimberlite
  
  
  Kivi
  
  
  Kobler
  
  
  Krushmedia
  
  
  Kuantyx
  
  
  Kubient
  
  
  Kueez
  
  
  KueezRTB
  
  
  Kumma
  
  
  Lane4
  
  
  Lasso
  
  
  LemmaDigital
  
  
  Lifestreet
  
  
  Limelight Digital
  
  
  Livewrapped
  
  
  LKQD
  
  
  LM KiviAds
  
  
  LockerDome
  
  
  Logan
  
  
  Logicad for Publishers
  
  
  Loopme
  
  
  Loyal
  
  
  Lucead
  
  
  Lunamedia
  
  
  LunamediaHB
  
  
  LuponMedia
  
  
  mabidder
  
  
  MadSense
  
  
  Madvertise
  
  
  MallTv
  
  
  MANTIS Ad Network
  
  
  MarkApp
  
  
  Marsmedia
  
  
  MathildeAds
  
  
  Matomy
  
  
  Media Consortium
  
  
  MediaBrama
  
  
  MediaEyes
  
  
  MediaForce
  
  
  MediaFuse
  
  
  MediaGo
  
  
  MEDIAIMPACT
  
  
  Mediakeys
  
  
  Media.net
  
  
  Mediasniper
  
  
  MediaSquare
  
  
  MediaYo
  
  
  MeloZen
  
  
  MetaX
  
  
  Mgid
  
  
  MgidX
  
  
  Michao
  
  
  MicroAd
  
  
  MinuteMedia
  
  
  MinuteMediaPlus
  
  
  Missena
  
  
  Mobfox_PB
  
  
  MobileFuse
  
  
  Mobkoi
  
  
  Monetix
  
  
  Monetix Ads
  
  
  Motionspots
  
  
  Motorik
  
  
  Moving Up
  
  
  Microsoft
  
  
  My6Sense
  
  
  myTarget
  
  
  Nativery
  
  
  Nativo
  
  
  NetAddiction
  
  
  Newdream
  
  
  NewsPassID
  
  
  NextMillennium
  
  
  NextRoll
  
  
  Nexverse
  
  
  Nexx360
  
  
  NinthDecimal
  
  
  Nobid
  
  
  Orangeclickmedia
  
  
  One Fifty Two Media
  
  
  ogury
  
  
  Omnidex
  
  
  Online Media Solutions
  
  
  ONE by AOL Display
  
  
  ONE by AOL Mobile
  
  
  Oneplanetonly
  
  
  OneTag
  
  
  Onomagic
  
  
  OpaMarketplace
  
  
  OPEN8
  
  
  OpenWeb
  
  
  OpenWeb Video
  
  
  OpenWebXChange
  
  
  OpenX
  
  
  OpenX Outstream
  
  
  OperaAds
  
  
  OppaMedia
  
  
  OptimizeRx
  
  
  OpsCo
  
  
  Optable
  
  
  Optidigital
  
  
  Optimatic
  
  
  Optimera
  
  
  Opt Out Advertising
  
  
  Oraki
  
  
  OCM Media
  
  
  Orbidder
  
  
  Orbitsoft
  
  
  OTM
  
  
  ottadvisors Video
  
  
  Outbrain
  
  
  Outbrain - Old
  
  
  OwnAdX
  
  
  Ozone Project
  
  
  Padsquad
  
  
  Page Science
  
  
  Pangle
  
  
  Peak226
  
  
  Performax
  
  
  PGAM
  
  
  PGAM MEDIA
  
  
  PGAMSSP
  
  
  PilotX
  
  
  PinkLion
  
  
  Pixad
  
  
  Pixelpluses
  
  
  PixFuture
  
  
  Playdigo
  
  
  Playwire
  
  
  Pollux Network
  
  
  Polymorph
  
  
  Preciso
  
  
  Prisma
  
  
  Prismassp
  
  
  ProgrammaticX
  
  
  Programmatica
  
  
  Project Agora
  
  
  Proxistore
  
  
  PStudio
  
  
  PubCircle
  
  
  pubGENIUS
  
  
  Publir
  
  
  PubMatic
  
  
  PubNative
  
  
  Pubrise
  
  
  Pubtech
  
  
  Pub-X
  
  
  PubxAi
  
  
  PulsePoint
  
  
  PubWise
  
  
  Playground XYZ
  
  
  Qortex
  
  
  QT
  
  
  Quantcast
  
  
  Quantum
  
  
  Quantumdex
  
  
  Qwarry
  
  
  r2b2
  
  
  Rads
  
  
  Rakuten
  
  
  RingierAxelSpringer
  
  
  Readpeak
  
  
  Rediads
  
  
  Redtram
  
  
  Relaido
  
  
  Relay
  
  
  Relevant Digital
  
  
  RelevateHealth
  
  
  ResetDigital
  
  
  ResponsiveAds
  
  
  RetailSpot
  
  
  RevBid
  
  
  RevContent
  
  
  Revnew
  
  
  REXRTB
  
  
  RhythmOne
  
  
  Rich Audience
  
  
  RingierAxelSpringer
  
  
  Rise
  
  
  RiseMediaTech
  
  
  RiseXChange
  
  
  RixEngine
  
  
  RobustApps
  
  
  Robusta
  
  
  RocketLab
  
  
  RockYou
  
  
  Roundel
  
  
  RtbAnalytica
  
  
  Rtb Demand
  
  
  RtbDemand.com
  
  
  RTBHouse
  
  
  RtbSape
  
  
  RTB Stack
  
  
  Rubicon Project
  
  
  Rumble Advertising Center
  
  
  RxNetwork
  
  
  rxrtb
  
  
  SA Lunamedia
  
  
  Saambaa
  
  
  SARA
  
  
  Scattered
  
  
  scoremedia
  
  
  Screencore
  
  
  Seeding Alliance
  
  
  seedtag
  
  
  Select Media Display
  
  
  SelectMedia Video
  
  
  Setupad
  
  
  Sevio
  
  
  Sharethrough
  
  
  Shinez
  
  
  ShinezRTB
  
  
  ShowHeroes
  
  
  SilverMob
  
  
  Silverpush
  
  
  Slimcut
  
  
  Smaato
  
  
  smartadline
  
  
  Smart AdServer
  
  
  Attekmi
  
  
  smartico
  
  
  smartx
  
  
  SmartyAds
  
  
  SmartyExchange
  
  
  SmartyTech
  
  
  Smile Wanted
  
  
  SMN
  
  
  Smoot
  
  
  SmootAI
  
  
  Smrtconnect
  
  
  Snigel
  
  
  Somo Audience
  
  
  Sonic Twist Media
  
  
  Sonobi
  
  
  Sovrn
  
  
  Sparteo
  
  
  SpinX
  
  
  Sportplatz Media
  
  
  SpotX
  
  
  SSMas
  
  
  sspBC
  
  
  Geniee SSP
  
  
  StackAdapt
  
  
  stailamedia
  
  
  Start.io
  
  
  Stellor Media Rtb
  
  
  StellorMedia
  
  
  StickyAdsTv
  
  
  STN
  
  
  Streamkey
  
  
  Streamlyn
  
  
  Streamvision
  
  
  StroeerCore
  
  
  SMARTSTREAM.TV
  
  
  Sublime
  
  
  Suim
  
  
  SUNT Content
  
  
  Supply2
  
  
  Synacor Media
  
  
  Taboola
  
  
  T-Advertising Solutions
  
  
  Tagoras
  
  
  Talkads
  
  
  Tapnative
  
  
  tappx
  
  
  TargetVideo
  
  
  Teads
  
  
  Teal
  
  
  Telaria
  
  
  TE Medya
  
  
  TGM
  
  
  TheAdx
  
  
  The Ads
  
  
  The Moneytizer
  
  
  TPMN
  
  
  TradPlus
  
  
  TrafficGate
  
  
  Trafficroots
  
  
  Tredio
  
  
  Tremor
  
  
  Trion Interactive
  
  
  TripleLift
  
  
  TripleLift Native
  
  
  TrueReach
  
  
  TrustedStack
  
  
  TrustX
  
  
  TrustX (standalone)
  
  
  The Trade Desk
  
  
  Türk Telekom
  
  
  Twist Digital
  
  
  ucfunnel
  
  
  Underdog Media
  
  
  Undertone
  
  
  Unibots
  
  
  UNICORN
  
  
  UNIQUEST
  
  
  UNIQUEST Widget
  
  
  Unruly
  
  
  UOL
  
  
  UrekaMedia
  
  
  Vaaya Media
  
  
  Valuad
  
  
  Valueimpression
  
  
  VDO.AI
  
  
  Velonium
  
  
  ventes
  
  
  Vertamedia
  
  
  Viant
  
  
  Vibrant Media
  
  
  Vidazoo
  
  
  VidCrunch
  
  
  VidCrunch LLC
  
  
  VideoByte
  
  
  VideoHeroes
  
  
  videonow
  
  
  Video Reach
  
  
  Vidoomy
  
  
  Viewdeos Server
  
  
  ViewdeosDX Client
  
  
  VimayX
  
  
  Viously
  
  
  viqeo
  
  
  VisibleMeasures
  
  
  Vistars
  
  
  YOC VIS.X
  
  
  VLYBY
  
  
  Voise Tech
  
  
  VOX
  
  
  VRTCAL Markets Inc.
  
  
  vungle
  
  
  Vuukle
  
  
  waardex
  
  
  WaardeX
  
  
  Welect
  
  
  Widespace
  
  
  WINR
  
  
  WIPES
  
  
  Xapads
  
  
  xe.works
  
  
  Xendiz
  
  
  XTRM QB
  
  
  Yahoo Advertising
  
  
  Yandex
  
  
  YeahMobi
  
  
  Yieldbot
  
  
  Yieldlab
  
  
  YieldLift
  
  
  Yieldlove
  
  
  Yieldmo
  
  
  Yield Nexus
  
  
  YieldOne
  
  
  Yobee
  
  
  Zentotem
  
  
  ZeroClickFraud
  
  
  Zeta Global
  
  
  Zeta Global SSP
  
  
  zMaticoo
  
 
Further Reading