Skip to content

Commit

Permalink
Return mediaType:video in unruly adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
ETNOL committed Feb 27, 2019
1 parent b6c5644 commit f4b2d92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion modules/unrulyBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const serverResponseToBid = (bid, rendererInstance) => ({
creativeId: bid.bidId,
ttl: 360,
currency: 'USD',
renderer: rendererInstance
renderer: rendererInstance,
mediaType: VIDEO
});

const buildPrebidResponseAndInstallRenderer = bids =>
Expand Down
3 changes: 2 additions & 1 deletion test/spec/modules/unrulyBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ describe('UnrulyAdapter', function () {
creativeId: 'mockBidId',
ttl: 360,
currency: 'USD',
renderer: fakeRenderer
renderer: fakeRenderer,
mediaType: 'video'
}
])
});
Expand Down

0 comments on commit f4b2d92

Please sign in to comment.