-
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
Sonobi Adapter - Enable size overrides #1141
Conversation
Hey, the code in general looks good to me. I'd recommend a more thorough unit test, though... the ones you have don't really test the content of the changed code at all. Can you give me some context into why you're adding this, though? An ad's size is it's size... so I'm not sure why sonobi would want to see a different size than the actual one. I'm wondering if there's some use-case not considered by the prebid core code which you're hacking your way around. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I agree, however, the use case goes as follows:
|
ok.. thanks for the background! I do suspect there's a more general feature request buried in here... but this'll work for now. We might be able to incorporate something into the prebid 1.0 API, when we're ready to make breaking changes, so that all the adapters won't have to implement it individually. |
…built * 'master' of https://github.com/prebid/Prebid.js: (21 commits) add lodash as dependency (prebid#1174) fix size mapping for s2s (prebid#1175) Improve footer styling (prebid#1171) Bugfix: internal bids requested overwritten (prebid#1173) pre-release version bump Prebid 0.23.0 Release Yieldbot adapter - multiple requestBids per pageview (prebid#1146) Widespace adapter validate size fix (prebid#1140) Audience Network: bid when at least one valid slot size (prebid#1148) Quantcast adaptor (prebid#1063) AOL Adapter - ONE Mobile endpoint implemented. (prebid#1115) Prebid Server to Server (prebid#1165) Pubgears Header Bidding Adapter (prebid#953) remove old adloader#trackPixel (prebid#1159) added audit beacon to detect misuse of this bidder. Detects auctions… (prebid#1134) Bidfluence CDN endpoint URL update (prebid#1163) AdSupply adapter (prebid#1162) Sonobi Adapter - Enable size overrides (prebid#1141) Added an editorconfig file to match jshint and jssrc files. (prebid#1147) force cpm to be a number (prebid#1161) ...
Type of change
Description of change
Enable optional size overrides on a per-slot basis