Back to Bidders



Bidder Code spotx Member yes
Media Types video GDPR TCF Support yes
User IDs id5Id, pubCommonId, unifiedId USP/CCPA Support yes
Supply Chain Support yes COPPA Support no
Demand Chain Support no Safeframes OK no
Supports Deals check with bidder Prebid.js Adapter yes
IAB GVL ID 165 Prebid Server Adapter no
Floors Module Support yes First Party Data Support check with bidder

"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


There was an issue in the SpotX adapter in PBJS 4.31 that assumed all publishers had already set the ignoreVideoCacheKey. Publishers using SpotX that haven’t yet updated their ad server line items and turned on the ignoreVideoCacheKey option should avoid Prebid.js 4.31 - 4.35.

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 here   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 here   integer
position optional Number corresponding to the position of the ad. See SpotX documentation here   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 from the list here: EASI Attributes. (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

Back to Bidders