Skip to content

Commit

Permalink
Return mediaType:video in unruly adapter (prebid#3591)
Browse files Browse the repository at this point in the history
  • Loading branch information
ETNOL authored and mkendall07 committed Mar 4, 2019
1 parent dd26503 commit aa6afa8
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 aa6afa8

Please sign in to comment.