You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Copy file name to clipboardExpand all lines: dev-docs/bidders/ttd.md
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,36 +26,35 @@ gpp_sids: false
26
26
fpd_supported: false
27
27
---
28
28
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
32
30
33
31
{: .alert.alert-danger :}
34
32
Note: The Trade Desk Header Bidding adapter requires setup and approval before beginning. Please reach out to <OpenPathPublishers@thetradedesk.com> for more details.
`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`
`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
50
48
51
49
The following banner parameters are supported:
52
50
53
51
{: .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]`
57
52
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
59
58
60
59
The TTD adapter for banner uses certain parameters in the AdUnit's
61
60
[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 = {
89
88
}
90
89
```
91
90
92
-
###Video
91
+
## Video
93
92
94
-
####`mediaTypes.video` Parameters
93
+
## `mediaTypes.video` Parameters
95
94
96
95
The TTD adapter for video requires certain parameters in the AdUnit's
97
96
[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
192
191
-`4` : Down
193
192
-`5` : Full Screen
194
193
195
-
###First Party Data (Supported starting prebid v7.49)
194
+
## First Party Data (Supported starting prebid v7.49)
196
195
197
196
Publishers should set [First Party Data](https://docs.prebid.org/features/firstPartyData.html) in the `ortb2` and `ortb2Imp` objects. These fields are supported:
0 commit comments