SpotX

Features

Bidder CodespotxPrebid.org Memberyes
Media Typesdisplay, videoGDPR Supportyes
User IDsid5Id, pubCommonId, unifiedIdCOPPA Supportno

"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_spotxhb_bidder_spotxhb_adid_spotx
hb_size_spotxhb_source_spotxhb_format_spotx
hb_cache_host_spotxhb_cache_id_spotxhb_uuid_spotx

"Deal ID" Ad Server Key

hb_deal_spotx

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 integer
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

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