Skip to content

Commit

Permalink
Revert "Update smartrtbBidAdapter (#4362)" (#4368)
Browse files Browse the repository at this point in the history
This reverts commit be6704b.
  • Loading branch information
jsnellbaker authored Oct 23, 2019
1 parent be6704b commit 04b8105
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion modules/smartrtbBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ function getDomain () {
export const spec = {
code: BIDDER_CODE,
supportedMediaTypes: [ 'banner', 'video' ],
aliases: ['smrtb'],
isBidRequestValid: function(bid) {
return (bid.params.zoneId !== null);
return (bid.params.pubId !== null &&
bid.params.medId !== null &&
bid.params.zoneId !== null);
},
buildRequests: function(validBidRequests, bidderRequest) {
let stack = (bidderRequest.refererInfo &&
Expand Down
2 changes: 1 addition & 1 deletion modules/smartrtbBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Video is supported but requires a publisher supplied adunit renderer at this tim
},
video: { /* requires publisher supplied renderer */
context: 'outstream',
playerSize: [640, 480]
playerDimension: [640, 480]
}
},
bids: [
Expand Down

0 comments on commit 04b8105

Please sign in to comment.