From 978696809f63bbac19f5cfe2a0f30332182dcb46 Mon Sep 17 00:00:00 2001 From: Norbert Date: Thu, 7 Jun 2018 14:30:26 +0200 Subject: [PATCH] bugfix #2691 --- modules/justpremiumBidAdapter.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/justpremiumBidAdapter.js b/modules/justpremiumBidAdapter.js index 6e044c42640..af0fb320e8c 100644 --- a/modules/justpremiumBidAdapter.js +++ b/modules/justpremiumBidAdapter.js @@ -2,7 +2,8 @@ import { registerBidder } from 'src/adapters/bidderFactory' import { getTopWindowLocation } from 'src/utils' const BIDDER_CODE = 'justpremium' -const ENDPOINT_URL = getTopWindowLocation().protocol + '//pre.ads.justpremium.com/v/2.0/t/xhr' +// const ENDPOINT_URL = getTopWindowLocation().protocol + '//pre.ads.justpremium.com/v/2.0/t/xhr' +var ENDPOINT_URL = top.document.location.protocol + '//h.jpdev:9191/v/2.0/t/xhr'; const pixels = [] export const spec = { @@ -72,7 +73,8 @@ export const spec = { cpm: bid.price, netRevenue: true, currency: bid.currency || 'USD', - ttl: bid.ttl || spec.time + ttl: bid.ttl || spec.time, + format: bid.format } bidResponses.push(bidResponse) }