What type of inventory do you have?

Which Connected Device are you using?

Do you have a player solution?

How are you trafficking SpotX?

What version of VPAID does your player support?

Which player are you using?

Which ad-server are you using?

What sort of player do you require?

What are you currently using for ad monetization?

Which player are you using?

Which ad-server are you using?

What sort of player do you require?

What are you currently using for ad monetization?

Does your ad-server support VAST tags?

Which ad-server are you using?

Does your ad-server support MRAID 2.0?

Which player are you using?

Use our plugin

SpotX has partnered with Brightcove to provide an easier, more streamlined way for publishers to use the Brightcove Player. This plugin makes working with SpotX as a primary ad server quick and easy and allows our publishers to use one of the most powerful video player solutions.

Download our documentation

Use our mobile SDK

Monetize your app using our easy-to-implement SDK, or if you're already working with MoPub to help monetize your in-app inventory, use our MoPub plugin.

Read our documentation

Use our Apple tvOS SDK

Monetize your tvOS app using our easy-to-implement SDK

Read our documentation

Place the following code onto your page

<div id="{{form.contentContainerID}}"></div>
<div id="{{form.bannerContainerID}}"></div><p>This is a paragraph of content.</p>
        
<script type="text/javascript">
    function myAdDoneFunction(spotx_ad_found)  {
        if(spotx_ad_found)  {
            document.getElementById("spotxvideo").innerHTML = '[content to be played after ad display]';// code to track ad playing here
        }
        else {
            document.getElementById("spotxvideo").innerHTML = '[backup ad request]';// code to place backup ad request here
        }
    }
</script>
<script type="text/javascript" src="//js.spotx.tv/easi/v1/85394.js"{{strAttributes}}></script><script type="text/javascript">
    function myAdDoneFunction(spotx_ad_found) { if(spotx_ad_found) {} else {}};

    function mobileAndTabletCheck() {
        var check = false;
        (function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check = true})(navigator.userAgent||navigator.vendor||window.opera);
        return check;
    }
    var bMobile = mobileAndTabletCheck(),
        aScriptAttributes = ['type="text/javascript" src="http://js.spotx.tv/easi/v1/85394.js" {{strAttributes}}'];
    if (bMobile)
    {
        aScriptAttributes.push('data-spotx_content_width="{{form.mobileWidth}}"');
        aScriptAttributes.push('data-spotx_content_height="{{form.mobileHeight}}"');
    }
    else
    {
        aScriptAttributes.push('data-spotx_content_width="{{form.width}}"');
        aScriptAttributes.push('data-spotx_content_height="{{form.height}}"');
        aScriptAttributes.push('data-spotx_unmute_on_mouse="1"');
    }
    document.write('<scr' + 'ipt ' + aScriptAttributes.join(" ") + '></scr' + 'ipt>');
</script>
<p>This is a second paragraph of content.</p>
Additional Options

General Info

Channel ID
Content Width
Content Height
Ad Unit Type
Device Type
Autoplay

In-stream Options

Video Container ID
Video Banner ID
Content Type
Video Duration
Video ID
Video Description
Video URL
Video Title

In-content Options

Ad End Behavior
Unmute On Mouse
Mobile Width
Mobile Height

Place the following code into {{macros.name}}

{{callProtocol}}://search.spotxchange.com/{{maMRAID && 'mraid' || 'vast'}}/2.0/85394?prefetch=1autoinit={{mraidAI}}&autoplay=1{{VPAID}}VPI[]=ROKU&VPI[]=MP4&content_page_url={{macros.contentpageurl}}&cb={{macros.cb}}&player_width={{macros.playerwidth}}&player_height={{macros.playerheight}}&app[bundle]={{macros.appbundleid}}&device[ifa]={{macros.ifa}}&player_height=1080&player_width=1920&device[devicetype]={{ macros.devicetype }}&device[make]={{macros.make}}&device[model]={{macros.model}}&app[name]=REPLACE_ME&media_transcoding=low&app[domain]={{macros.appdomain}}&device[ifa]={{macros.ifa}}&app[name]={{macros.appname}}&ip_addr={{macros.ipaddr}}&device[ua]={{macros.ua}}&device[geo][lat]={{macros.lat}}&device[geo][lon]={{macros.lon}}device[dnt]={{macros.dnt}}&device[lmt]={{macros.lmt}}&device[ifa]=REPLACE_ME&user[yob]=REPLACE_ME&user[gender]=REPLACE_ME&VPI[]={{vpi}}
Additional Options
Required? Parameter Description Example Value(s)
YES device[make] Manufacturer of the device Microsoft
YES device[model] Model of the device Xbox 360
YES app[bundle] App Bundle ID com.exampleapps.example
YES app[name] Name of the app where ads are being played My CTV App
YES device[ifa] Device Apple IDFA, Google Advertising ID or Roku RIDA (Clear Text/Unhashed) 38400000-8cf0-11bd-b23e-10b96e40000d
YES device[devicetype] Indicates to SpotX whether the device is a Smart TV (TV with integrated internet, i.e. Samsung, Sony, Toshiba; device type 3) or set top box (connects to a TV, i.e. Roku, Apple TV, Xbox 360; device type 7) 3 or 7
YES content_page_url The URL of the page the ad is played on http%3A%2F%2Fwww.example.com%2Fvideos%2Fexample
YES VPAIDVPI Specifies the type of creative we return 1 or jsMP4ROKU
YES VPI Specifies the type of creative we return AAC|FLAC|MP3|M4A|OGA
YES player_width Width, in pixels, of the player in which the ad is played 1920
YES player_height Height, in pixels, of the player in which the ad is played 1080
YES cb Cachebuster; should be defined as a random value or timestamp 67832734
YES device[ua] Device User Agent is necessary otherwise will default to SpotMarket {{macros.ua}}
YES ip_addr IP Address is necessary if the call is made server-side {{macros.ipaddr}}
ADDITIONAL PARAMETERS - Click to add or remove from your tag
NO cb Cachebuster; should be defined as a random value or timestamp 67832734
YES device[devicetype] Indicates to SpotX whether the device is a Smart TV (TV with integrated internet, i.e. Samsung, Sony, Toshiba; device type 3) or set top box (connects to a TV, i.e. Roku, Apple TV, Xbox 360; device type 7) 3 or 7
Recommended device[geo][lat] and device[geo][lon] Latitude and Longitude of the user's device -24.378528 and -128.325119
NO device[dnt] Device 'Do Not Track' flag - binary value 1 or 0
NO device[lmt] 'Limit Ad Tracking' flag - binary value 1 or 0
Recommended user[yob] The user's date of birth 1994
Recommended user[gender] The user's gender m