diff --git a/modules/justpremiumBidAdapter.js b/modules/justpremiumBidAdapter.js index 6e044c42640c..db15598a0e6f 100644 --- a/modules/justpremiumBidAdapter.js +++ b/modules/justpremiumBidAdapter.js @@ -72,7 +72,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) } diff --git a/test/spec/modules/justpremiumBidAdapter_spec.js b/test/spec/modules/justpremiumBidAdapter_spec.js index 769810a3f3fb..17961f04c7b8 100644 --- a/test/spec/modules/justpremiumBidAdapter_spec.js +++ b/test/spec/modules/justpremiumBidAdapter_spec.js @@ -83,7 +83,8 @@ describe('justpremium adapter', () => { cpm: 0.52, netRevenue: true, currency: 'USD', - ttl: 60000 + ttl: 60000, + format: 'lb' } ] @@ -99,6 +100,7 @@ describe('justpremium adapter', () => { expect(result[0].ttl).to.equal(60000) expect(result[0].creativeId).to.equal(3213123) expect(result[0].netRevenue).to.equal(true) + expect(result[0].format).to.equal('lb') }) it('Verify wrong server response', () => {