Skip to content

Commit

Permalink
adding PG dealsonly flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bretg committed Feb 15, 2022
1 parent 00bb251 commit 6c4399b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,34 @@ which causes PBS-core to place the video-related attributes on the response.
}
```

##### PG Deals Extensions (PBS-Java only)

In support of [Programmatic Guaranteed](/prebid-server/features/pg/pbs-pg-idx.html),
there are two extensions at the bidder level to control behavior:

- imp[].ext.prebid.bidder.BIDDER.`dealsonly` - if `true`, PBS will call the bidder, but if there's no deal ID in the response, it will reject the bid. This allows for scenarios where a bidder is called twice, once for Open Market bids, once for deals bids. Defaults to `false`.
- imp[].ext.prebid.bidder.BIDDER.`pgdealsonly` - If `true` and no PG line item for this bidder matches in this impression, PBS will not even call the bid adapter. This saves network bandwidth when no PG line items are available. Defaults to `false`.

These flags can be used separately or together. For example:

```
{
"imp": [{
"ext": {
"prebid": {
"bidder": {
"bidderA": {
...,
"dealsonly": true,
"pgdealsonly": true
}
}
}
}
}]
}
```

#### OpenRTB Response Extensions

##### Bidder Response Times
Expand Down

0 comments on commit 6c4399b

Please sign in to comment.