Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update smartrtbBidAdapter #4362

Merged
merged 11 commits into from
Oct 23, 2019
5 changes: 1 addition & 4 deletions modules/smartrtbBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ function getDomain () {
export const spec = {
code: BIDDER_CODE,
supportedMediaTypes: [ 'banner', 'video' ],
aliases: ['smrtb'],
isBidRequestValid: function(bid) {
return (bid.params.pubId !== null &&
bid.params.medId !== null &&
bid.params.zoneId !== null);
return (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',
playerDimension: [640, 480]
playerSize: [640, 480]
}
},
bids: [
Expand Down