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

Filter Multi-Format Requests (2711) #4162

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

Conversation

pm-isha-bharti
Copy link
Contributor

@pm-isha-bharti pm-isha-bharti commented Jan 18, 2025

Implements 2711

If a multi-format request is received for a bidder in which openrtb2.multiformat-supported is false, the following algorithm will be implemented for each impression:

  1. If the request contains a preferred type (ext.prebid.biddercontrols.BIDDER.prefmtype):
    • If the bidder supports the preferred type, other types are removed for that bidder.
    • If the bidder does not support the preferred type, this impression is not sent to the bidder and a warning is returned.
  2. If the request does not contain a preferred type, and account config account.preferredmediatype.BIDDER contains a preferred type:
    • If the bidder supports the preferred type, other types are removed for that bidder.
    • If the bidder does not support the preferred type, this impression is not sent to the bidder and a warning is returned.
  3. If preferred type is not present in the request or account config:
    • The request is forwarded as is to the bidder. [ This is w.r.t to java implementation]

If openrtb2.multiformat-supported is not defined for the bidder, then default value will be true always i.e each bidder explicitly supports multi-format requests unless defined false in the bidder info yaml.

@pm-isha-bharti pm-isha-bharti marked this pull request as draft January 18, 2025 05:45
@pm-isha-bharti pm-isha-bharti marked this pull request as ready for review January 20, 2025 12:17
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.

1 participant