Skip to content

Commit

Permalink
Rubicon adapter: Removed extraneous warning (prebid#3218)
Browse files Browse the repository at this point in the history
* Rubicon adapter: Removed extraneous warning

* removing spaces to kick off the build again

circleci failed on some other adapter
  • Loading branch information
bretg authored and AdSpacesDevelopers committed Jan 30, 2019
1 parent 9eb8fc0 commit 1b31ecf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/rubiconBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,9 @@ export const spec = {
if (typeof bid.params !== 'object') {
return false;
}

if (!/^\d+$/.test(bid.params.accountId)) {
return false;
}

return !!bidType(bid, true);
},
/**
Expand Down Expand Up @@ -581,7 +579,6 @@ function mapSizes(sizes) {
*/
export function hasVideoMediaType(bidRequest) {
if (typeof utils.deepAccess(bidRequest, 'params.video') === 'undefined' && Array.isArray(utils.deepAccess(bidRequest, 'params.sizes'))) {
utils.logWarn('Rubicon bid adapter Warning: no video params found, convert to banner with the bidder size id');
return false;
}
return (bidRequest.mediaType === VIDEO || typeof utils.deepAccess(bidRequest, `mediaTypes.${VIDEO}`) !== 'undefined');
Expand Down

0 comments on commit 1b31ecf

Please sign in to comment.