Skip to content

Fix #3894 - update sizeConfig logic around multiformat bids#3938

Merged
idettman merged 1 commit intomasterfrom
sizeConfig-multiformat
Jul 9, 2019
Merged

Fix #3894 - update sizeConfig logic around multiformat bids#3938
idettman merged 1 commit intomasterfrom
sizeConfig-multiformat

Conversation

@jsnellbaker
Copy link
Collaborator

@jsnellbaker jsnellbaker commented Jun 21, 2019

Type of change

  • Bugfix
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?

Description of change

This PR is a fix for #3894

It modifies the logic used by the sizeConfig when processing a multiformat bid.

If the bid includes a banner mediaType, then the sizeConfig logic will be respected in that if the label rules don't pass or all the sizes are filtered out, the entire adUnit/bid (whichever is level is checked) will be removed from the request.

If the bid does not include the banner type (even when the multiformat bid is just native + video), then sizeConfig logic is not applied.

Other information

Docs PR: prebid/prebid.github.io#1366

@jaiminpanchal27
Copy link
Collaborator

test comment to check github integration in slack

@jaiminpanchal27
Copy link
Collaborator

test comment to check github integration in slack 2

@jsnellbaker
Copy link
Collaborator Author

test comment

@jaiminpanchal27 jaiminpanchal27 requested a review from snapwich July 1, 2019 16:27
@jaiminpanchal27 jaiminpanchal27 added LGTM needs 2nd review Core module updates require two approvals from the core team and removed needs review labels Jul 1, 2019
Copy link
Contributor

@idettman idettman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@idettman idettman merged commit f2b0f52 into master Jul 9, 2019
leonardlabat pushed a commit to criteo-forks/Prebid.js that referenced this pull request Jul 30, 2019
VideoReach pushed a commit to VideoReach/Prebid.js that referenced this pull request Aug 1, 2019
sa1omon pushed a commit to gamoshi/Prebid.js that referenced this pull request Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM needs 2nd review Core module updates require two approvals from the core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments