From f4b2d9294f94e2082ef16cd9a7a6a3f223560e54 Mon Sep 17 00:00:00 2001 From: Eric Nolte Date: Wed, 27 Feb 2019 10:08:55 -0500 Subject: [PATCH] Return mediaType:video in unruly adapter --- modules/unrulyBidAdapter.js | 3 ++- test/spec/modules/unrulyBidAdapter_spec.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/unrulyBidAdapter.js b/modules/unrulyBidAdapter.js index 8fb7e1913b3..5647d2cd6a3 100644 --- a/modules/unrulyBidAdapter.js +++ b/modules/unrulyBidAdapter.js @@ -29,7 +29,8 @@ const serverResponseToBid = (bid, rendererInstance) => ({ creativeId: bid.bidId, ttl: 360, currency: 'USD', - renderer: rendererInstance + renderer: rendererInstance, + mediaType: VIDEO }); const buildPrebidResponseAndInstallRenderer = bids => diff --git a/test/spec/modules/unrulyBidAdapter_spec.js b/test/spec/modules/unrulyBidAdapter_spec.js index b27fdc5c78b..e39f9a8e996 100644 --- a/test/spec/modules/unrulyBidAdapter_spec.js +++ b/test/spec/modules/unrulyBidAdapter_spec.js @@ -146,7 +146,8 @@ describe('UnrulyAdapter', function () { creativeId: 'mockBidId', ttl: 360, currency: 'USD', - renderer: fakeRenderer + renderer: fakeRenderer, + mediaType: 'video' } ]) });