Skip to content

Commit 5d8e74c

Browse files
robhazanassertiverichpatmmccann
authored
Fixing inaccuracy regarding TTD adapter and HTTP/2 (prebid#6499)
* Fixing inaccuracy TTD fully supports HTTP/2 * Removing useHttp2 flag All endpoints support HTTP/2. No need for a special flag. * attempting to fix md linting issues * Update ttd.md * Add bid parameters section to TTD documentation * Update ttd.md --------- Co-authored-by: Rich <richard@assertive.ai> Co-authored-by: Patrick McCann <pmccann@cafemedia.com>
1 parent e2559b3 commit 5d8e74c

1 file changed

Lines changed: 21 additions & 22 deletions

File tree

dev-docs/bidders/ttd.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,36 +26,35 @@ gpp_sids: false
2626
fpd_supported: false
2727
---
2828

29-
### Disclosure
30-
31-
This adapter is known to use an HTTP 1 endpoint. Header bidding often generates multiple requests to the same host and bidders are encouraged to change to HTTP 2 or above to help improve publisher page performance via multiplexing.
29+
## Disclosure
3230

3331
{: .alert.alert-danger :}
3432
Note: The Trade Desk Header Bidding adapter requires setup and approval before beginning. Please reach out to <OpenPathPublishers@thetradedesk.com> for more details.
3533

36-
### Bid Params
34+
## Bid Params
3735

3836
{: .table .table-bordered .table-striped }
39-
Name | Scope | Description | Example | Type
40-
--- | --- | --- | --- | ----
41-
`supplySourceId` | required | The TTD-provided supply source name. | `'supplier'` | `String`
42-
`publisherId` | required | The publisher ID. If there is a sellers.json, this should be the same as the seller_id in the sellers.json for the site being trafficked. If there is no sellers.json, this should be hardcoded to "1". | `'1427ab10f2e448057ed3b422'` | `String`
43-
`placementId` | optional | This field is optional if GPID is passed through the GPT module <https://docs.prebid.org/dev-docs/modules/gpt-pre-auction.html>. If that module isn't used, the GPID value should be passed in this field. | `'/1111/home#header'` | `String`
44-
`banner` | optional | Display banner targeting parameters. See the banner section below. | `{}` | `object`
45-
`bidfloor` | optional | Sets a bid floor price | `0.95` | `Float`
46-
`customBidderEndpoint` | optional | Only set if TTD has provided a custom endpoint. If set the custom endpoint will take precedent over the hard-coded endpoints | `https://customBidderEndpoint/bid/bidder/` | `String`
47-
`useHttp2` | optional | When true, the adapter will use an endpoint that supports HTTP2. | `true` | `boolean`
48-
49-
### Banner Object
37+
38+
| Name | Scope | Description | Example | Type |
39+
| --- | --- | --- | --- | --- |
40+
| `supplySourceId` | required | The TTD-provided supply source name. | `'supplier'` | `String` |
41+
| `publisherId` | required | The publisher ID. If there is a sellers.json, this should be the same as the seller_id in the sellers.json for the site being trafficked. If there is no sellers.json, this should be hardcoded to "1". | `'1427ab10f2e448057ed3b422'` | `String` |
42+
| `placementId` | optional | This field is optional if GPID is passed through the GPT module <https://docs.prebid.org/dev-docs/modules/gpt-pre-auction.html>. If that module isn't used, the GPID value should be passed in this field. | `'/1111/home#header'` | `String` |
43+
| `banner` | optional | Display banner targeting parameters. See the banner section below. | `{}` | `object` |
44+
| `bidfloor` | optional | Sets a bid floor price | `0.95` | `Float` |
45+
| `customBidderEndpoint` | optional | Only set if TTD has provided a custom endpoint. If set the custom endpoint will take precedent over the hard-coded endpoints | `https://customBidderEndpoint/bid/bidder/` | `String` |
46+
47+
## Banner Object
5048

5149
The following banner parameters are supported:
5250

5351
{: .table .table-bordered .table-striped }
54-
Name | Scope | Description | Example | Type
55-
--- | --- | --- | --- | ----
56-
`expdir` | optional | Directions in which the banner may expand. See "Expandable Direction" in the [OpenRTB 2.5 docs](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) for possible values. | `[1, 3]` | `Array[integer]`
5752

58-
#### `mediaTypes.banner` Parameters
53+
| Name | Scope | Description | Example | Type |
54+
| --- | --- | --- | --- | --- |
55+
| `expdir` | optional | Directions in which the banner may expand. See "Expandable Direction" in the [OpenRTB 2.5 docs](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) for possible values. | `[1, 3]` | `Array[integer]` |
56+
57+
## `mediaTypes.banner` Parameters
5958

6059
The TTD adapter for banner uses certain parameters in the AdUnit's
6160
[mediaTypes.banner](https://docs.prebid.org/dev-docs/adunit-reference.html#adUnit.mediaTypes.banner) definition. Specifically, `sizes` is required for banner ad units. `pos` is recommended.
@@ -89,9 +88,9 @@ var bannerAdUnit = {
8988
}
9089
```
9190

92-
### Video
91+
## Video
9392

94-
#### `mediaTypes.video` Parameters
93+
## `mediaTypes.video` Parameters
9594

9695
The TTD adapter for video requires certain parameters in the AdUnit's
9796
[mediaTypes.video](https://docs.prebid.org/dev-docs/adunit-reference.html#adUnit.mediaTypes.video) definition. Specifically, `maxduration`, `api`, `mimes`, `plcmt`, and `protocols` are all required for video ad units. `playerSize`, `startdelay`, `playbackmethod`, and `pos` are recommended. `minduration`, `minbitrate`, `maxbitrate`, `skip`, `skipmin`, and `skipafter` are optional.
@@ -192,7 +191,7 @@ Lists of `api`, `playbackmethod`, `protocols`, `pos`, and `expdir` potential val
192191
- `4` : Down
193192
- `5` : Full Screen
194193

195-
### First Party Data (Supported starting prebid v7.49)
194+
## First Party Data (Supported starting prebid v7.49)
196195

197196
Publishers should set [First Party Data](https://docs.prebid.org/features/firstPartyData.html) in the `ortb2` and `ortb2Imp` objects. These fields are supported:
198197

0 commit comments

Comments
 (0)