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

PBS deals: added preferdeals flag #3514

Merged
merged 1 commit into from
Jan 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion prebid-server/features/pbs-deals.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ Prebid Server supports Private MarketPlace deals in this way:
2. Prebid-style ad server targeting is also applied:
1. If the deal is the highest bid overall and the [`ext.prebid.targeting.includewinners`](/prebid-server/endpoints/openrtb2/pbs-endpoint-auction.html#targeting) option is on, then the `hb_deal` targeting value will contain the winning deal ID.
2. If the deal is the highest bid for a particular bidder and the [`ext.prebid.targeting.includebidderkeys`](/prebid-server/endpoints/openrtb2/pbs-endpoint-auction.html#targeting) is on, then the `hb_deal_BIDDER` targeting value will contain that deal ID
2. If the [`ext.prebid.targeting.preferdeals`](/prebid-server/endpoints/openrtb2/pbs-endpoint-auction.html#targeting) flag is true, then PBS will choose the highest value deal as the overall winner before choosing the highest value non-deal.

Ad server line items should be targeted to `hb_deal_BIDDER` (for sendAllBids)
or `hb_deal` (for sendTopBid).

Currently Prebid Server doesn't support the option of preferring deals over open market bids, though a [PreferDeals](https://github.com/prebid/prebid-server/issues/1355) flag is being considered.
## Related Reading

- [Prebid Server Targeting](/prebid-server/endpoints/openrtb2/pbs-endpoint-auction.html#targeting)