Installation
Async Loader Snippet
!function(){if(!window.n360ortb){window.n360ortb={init:function(){e("init",arguments)},fetchBids:function(){e("fetchBids",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},que:[]};var n=document.createElement("script");n.async=!0,n.src="https://lib.nexx360.io/nexx360_ortb.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)}function e(n,t){window.n360ortb.que.push([n,t])}}();Formatted Version
!function() {
if (!window.n360ortb) {
window.n360ortb = {
init: function() { e("init", arguments) },
fetchBids: function() { e("fetchBids", arguments) },
setDisplayBids: function() {},
targetingKeys: function() { return [] },
que: []
};
var n = document.createElement("script");
n.async = !0;
n.src = "https://lib.nexx360.io/nexx360_ortb.js";
var t = document.getElementsByTagName("script")[0];
t.parentNode.insertBefore(n, t);
}
function e(n, t) {
window.n360ortb.que.push([n, t]);
}
}();How It Works
Script URL
Command Queue Pattern
Complete HTML Example
Next Steps
Last updated
Was this helpful?