From c7e348562a62a2f0f063615a3a89d65ac7036a04 Mon Sep 17 00:00:00 2001 From: Harman Goei Date: Wed, 18 May 2016 13:42:25 -0700 Subject: [PATCH] fix(pgid, pageURL, refererURL): APPS-11501: Remove pgid, pageURL, refererURL from openx_neo --- src/adapters/openx_neo.js | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/adapters/openx_neo.js b/src/adapters/openx_neo.js index 8da3d77d7c1b..0038fcbe69e8 100644 --- a/src/adapters/openx_neo.js +++ b/src/adapters/openx_neo.js @@ -71,21 +71,9 @@ var OpenxAdapter = function OpenxAdapter(options) { function setGlobalOptionsFromBids(bids) { var opts = options || {}; for (let bid of bids) { - if (bid.params.pageURL) { - opts.pageURL = bid.params.pageURL; - } - - if (bid.params.refererURL) { - opts.refererURL = bid.params.refererURL; - } - if (bid.params.delDomain) { opts.delDomain = bid.params.delDomain; } - - if (bid.params.pgid) { - opts.pgid = bid.params.pgid; - } } return opts; } @@ -235,8 +223,7 @@ var OpenxAdapter = function OpenxAdapter(options) { buildRequest(bids, { ju: currentURL, - jr: opts.refererURL && encodeURIComponent(opts.refererURL) || currentURL, - pgid: opts.pgid, + jr: currentURL, ch: document.charSet || document.characterSet, res: `${screen.width}x${screen.height}x${screen.colorDepth}`, ifr: isIfr,