Skip to content
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

EXCH-11782 Media type/mtype clean up #60

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sergseven
Copy link

@sergseven sergseven commented Mar 6, 2025

We remove the media type guessing logic, so we are ultimately rely on the bid.mtype response value, which is now required.

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Updated bidder adapter

  • Code style update (formatting, local variables)

  • Refactoring (no functional changes, no api changes)

  • Build related changes

  • CI related changes

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

  • Other

Description of change

Other information

@sergseven sergseven changed the title Media type/mtype clean up EXCH-11782 Media type/mtype clean up Mar 6, 2025
@sergseven sergseven marked this pull request as ready for review March 6, 2025 17:36
function buildRequests(bids, bidderRequest) {
let videoBids = bids.filter(bid => isVideoBid(bid));
let bannerAndNativeBids = bids.filter(bid => isBannerBid(bid) || isNativeBid(bid))
function buildRequests(bidRequests, bidderRequest) {
Copy link
Author

Choose a reason for hiding this comment

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

NOTE: there is a room for an improvement to remove this custom logic at all, since we support multi-imp multi-adplacement bidrequests(https://github.com/openx/exchange-diagrams/blob/master/misc/multi-glossary.md#multi-imp-multi-ad-placement-bidrequest).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants