-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
RTB House adapter update #2708
RTB House adapter update #2708
Conversation
@piwanczak - this is simple enough code-wise, but higher level question -- where is this size coming from? Is this size a custom item on your bidder.params or are you inferring that the overall AdUnit.mediaTypes.banner.sizes should display this behavior? |
@bretg the latter one. I'm assuming AdUnit.mediaTypes.banner.sizes should be either be single bracket, two elem array or array of two elem arrays. Fix is based on inconsistent publisher config - sizes could be either of the two. |
@mkendall07 - have we heard of other cases where AdUnit.mediaTypes.banner.sizes is [w,h] rather than [[w,h]]? The underlying suggestion here is to have the platform convert to double array if only a single array is provided. If this is a common scenario, then having just one adapter cover it doesn't do as much good as the platform converting to the expected form. |
prebid core should do this but I don't think it does. |
@piwanczak #2738, once merged, will fix the inconsistency and you'll be able to depend on a double array [[w,h]] |
So... the implication is that this change shouldn't be needed after #2738 ... would you agree @piwanczak ? |
@bretg Correct, once #2738 is merged my fix is unnecessary. |
@piwanczak #2738 has been merged |
Good news. Closing. |
Thank you! |
Type of change
Description of change
Add support for single bracket sizes array, ex: [300, 250]
next to canon one - [[300, 250]]