Back to Bidders



Bidder Code spotx Member yes
Prebid.js Adapter yes Prebid Server Adapter no
Media Types video Multi Format Support check with bidder
TCF-EU Support yes IAB GVL ID 165
GPP Support check with bidder DSA Support check with bidder
USP/CCPA Support yes COPPA Support check with bidder
Supply Chain Support yes Demand Chain Support check with bidder
Safeframes OK no Supports Deals check with bidder
Floors Module Support yes First Party Data Support check with bidder
User IDs id5Id, sharedId, unifiedId ORTB Blocking Support check with bidder
Privacy Sandbox check with bidder


The SpotX adapter requires setup and approval from your Magnite account manager. Please reach out to them for more information.

Bid Params

Name Scope Description Example Type
channel_id required A unique 5 digit ID that is generated by the SpotX publisher platform when a channel is created '85394' string
ad_unit required Token that describes which ad unit to play: instream or outstream 'outstream' string
outstream_function optional Custom function to be used as a renderer. function(bid){console.log(bid);} function
outstream_options optional Object to set options on the SpotX renderer. See outstream_options Object {} object
secure optional Boolean identifying whether the requests should be https or not (used to override the protocol if the page isn’t secure). true boolean
mimes optional List of MIME types to allow in ad. ['application/javascript', 'video/mp4', 'video/webm'] array
ad_volume optional Value between 0 and 1 to denote the volume the ad should start at 0.7 float
price_floor optional Set the current channel price floor in real time. 10 float
hide_skin optional Set to true to hide the SpotX skin   boolean
custom optional An object containing key-value pairs for reporting. See SpotX documentation.   object
min_duration optional Minimum video ad duration in seconds   integer
max_duration optional Maximum video ad duration in seconds   integer
placement_type optional Number corresponding to the type of ad placement. See SpotX documentation.   integer
position optional Number corresponding to the position of the ad. See SpotX documentation.   integer
page optional The URL of the page the ad is being displayed on. Used to override the detected referrer if necessary '' string

outstream_options Object

Name Scope Description Example Type
slot required ID of element that video ad should be rendered into. 'adSlot1' string
ad_mute optional Set to true to start the ad with the volume muted. true boolean
playersize_auto_adapt optional Set to true to make video auto-adapt to the ad’s dimensions true boolean
in_iframe optional ID of iFrame element to insert EASI script tag. 'iframe1' string
custom_override optional Object of script tag attributes to override. (Note: Exclude data-spotx_ from attribute name; channel_id, vast_url, content_page_url, and ad_unit overrides are ignored.) {content_height: 300, content_width: 400} object

"Send All Bids" Ad Server Keys

These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.
hb_pb_spotx hb_bidder_spotx hb_adid_spotx
hb_size_spotx hb_source_spotx hb_format_spotx
hb_cache_host_spotx hb_cache_id_spotx hb_uuid_spotx
hb_cache_path_spotx hb_deal_spotx

Back to Bidders