Skip to content

Commit

Permalink
fiix size in prebidserver (#2364)
Browse files Browse the repository at this point in the history
  • Loading branch information
snapwich authored and jaiminpanchal27 committed Apr 13, 2018
1 parent 335f59a commit 2ed32db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/prebidServerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ const OPEN_RTB_PROTOCOL = {
let banner;
// default to banner if mediaTypes isn't defined
if (utils.isEmpty(adUnit.mediaTypes)) {
const sizeObjects = adUnit.sizes.map(size => ({ w: size.w, h: size.h }));
const sizeObjects = adUnit.sizes.map(size => ({ w: size[0], h: size[1] }));
banner = {format: sizeObjects};
}

Expand Down

0 comments on commit 2ed32db

Please sign in to comment.