Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Rubicon Adapter - Size Map needs updating, extra sizes.

Open mjwhaley opened this issue 10 years ago • 4 comments

@mkendall07 Might be worth updating the Rubicon size mapping within the adapter as currently its missing the 468x60 and 970x90 sizes. The full sizes we are using are below.

var RUBICON_SIZE_MAP = { '468x60': 1, '728x90': 2, '160x600': 9, '300x600': 10, '300x250': 15, '320x50': 43, '300x1050': 54, '970x90': 55, '970x250': 57 };

mjwhaley avatar May 04 '16 16:05 mjwhaley

Thanks @mjwhaley

@bretg - is there any other sizes missing in the Rubicon adapter? It would be good to get them all in.

These are current ones:

var RUBICON_SIZE_MAP = {
    '728x90': 2,
    '160x600': 9,
    '300x600': 10,
    '300x250': 15,
    '320x50': 43,
    '300x1050': 54,
    '970x250': 57
  };

mkendall07 avatar May 05 '16 21:05 mkendall07

@mkendall07 - will review the sizes today. The wrinkle is that there's another list of sizes at the account level - even if a size is on the prebid list, they could currently have to request the size to be added for their account. Will see if this can be ironed out.

bretg avatar May 06 '16 14:05 bretg

@mkendall07 - pull request 345. Note I took the opportunity to add a call to 'setIntegration', which was going to be a separate issue and pull request anyhow.

Also note that we're looking into simplifying the size map - ideally not needing it in both the Prebid adapter and our underlying code.

bretg avatar May 10 '16 14:05 bretg

#345 has merged, closing.

protonate avatar Jun 07 '16 21:06 protonate