Skip to content

Commit

Permalink
PBS deals update (prebid#3679)
Browse files Browse the repository at this point in the history
explaining the difference in what's sent to the ad server based on whether PBJS is present.
  • Loading branch information
bretg authored and jlaso committed Aug 31, 2023
1 parent 2cf2867 commit 0b0cddc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions prebid-server/features/pbs-deals.md
Original file line number Diff line number Diff line change
@@ -14,8 +14,10 @@ Prebid Server supports Private MarketPlace deals in this way:
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).
Note that is PBS is called from Prebid.js, the javascript code will make sure that hb_deal_BIDDER is present in the KVPs.

However, if Prebid.js is not present, PBS KVP responses are used by the adserver.
So for app and AMP, if line items are targeted to `hb_deal`, only winning bids will be seen. If instead, line items are targeted to `hb_deal_BIDDER`, all deals will be seen if `ext.prebid.targeting.includebidderkeys` is defined to be true.

## Related Reading

0 comments on commit 0b0cddc

Please sign in to comment.