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
|`context`| Optional | String | The video context, either `'instream'`, `'outstream'`, or `'adpod'` (for long-form videos). Example: `context: 'outstream'`|
|`context`| Recommended | String | The video context, either `'instream'`, `'outstream'`, or `'adpod'` (for long-form videos). Example: `context: 'outstream'`. Defaults to 'instream'. |
190
+
|`placement`| Recommended | Integer | 1=in-stream, 2=in-banner, 3=in-article, 4=in-feed, 5=interstitial/floating. **Highly recommended** because some bidders require more than context=outstream. |
188
191
|`playerSize`| Optional | Array[Integer,Integer]| The size (width, height) of the video player on the page, in pixels. Example: `playerSize: [640, 480]`|
189
192
|`api`| Recommended | Array[Integer]| List of supported API frameworks for this impression. If an API is not explicitly listed, it is assumed not to be supported. For list, see [OpenRTB spec][openRTB]. |
190
193
|`mimes`| Recommended | Array[String]| Content MIME types supported, e.g., `"video/x-ms-wmv"`, `"video/mp4"`. **Required by OpenRTB when using [Prebid Server][pbServer]**. |
@@ -210,10 +213,6 @@ enabled; only applicable if the ad is skippable., see [OpenRTB spec][openRTB].
210
213
|`pos`| Optional | Integer | Ad position on screen, see [OpenRTB spec][openRTB]. |
211
214
|`playbackend`| Optional | Integer | The event that causes playback to end, see [OpenRTB spec][openRTB]. |
212
215
213
-
214
-
215
-
216
-
217
216
If `'video.context'` is set to `'adpod'` then the following parameters are also available.
The ID5 Analytics Adapter is free to use during our Beta period, but requires a simple registration with ID5. Please visit [id5.io/solutions](https://id5.io/solutions#publishers) to sign up and request your ID5 Partner Number to get started. If you're already using the ID5 Universal ID, you may use your existing Partner Number with the analytics adapter.
16
+
17
+
The ID5 privacy policy is at [https://id5.io/platform-privacy-policy](https://id5.io/platform-privacy-policy).
18
+
19
+
#### Analytics Options
20
+
21
+
{: .table .table-bordered .table-striped }
22
+
| Parameter | Scope | Type | Description | Example |
23
+
| --- | --- | --- | --- | --- |
24
+
| provider | Required | String | The name of this module: `id5Analytics`|`id5Analytics`|
25
+
| options.partnerId | Required | Number | This is the ID5 Partner Number obtained from registering with ID5. |`1234`|
26
+
| options.eventsToTrack | Optional | Array of strings | Overrides the set of tracked events |`['auctionEnd','bidWon']`|
27
+
28
+
29
+
### Example Configuration
30
+
31
+
```javascript
32
+
pbjs.enableAnalytics({
33
+
provider:'id5Analytics',
34
+
options: {
35
+
partnerId:173// change to the Partner Number you received from ID5
*NOTE*: The AdBookPSP Bidder Adapter requires setup and approval before use. The adapter uses custom targeting keys that require a dedicated Google Ad Manager setup to work. Please reach out to your AdbookPSP representative for more details.
17
+
18
+
### Bid Params
19
+
20
+
{: .table .table-bordered .table-striped }
21
+
|Name|Scope|Description|Example|Type|
22
+
|----|-----|-----------|-------|----|
23
+
|`orgId`|optional|Org ID listed in the Deal File|`abc123`|`string`|
24
+
|`placementId`|optional|Placement ID listed in the Deal File|`abc123`|`string`|
25
+
26
+
Each adUnit with `adbookpsp` adapter has to have either `placementId` or `orgId` set.
27
+
28
+
```js
29
+
var adUnits = [
30
+
{
31
+
bids: [
32
+
{
33
+
bidder:'adbookpsp',
34
+
params: {
35
+
placementId:'example-placement-id',
36
+
orgId:'example-org-id',
37
+
},
38
+
},
39
+
],
40
+
},
41
+
];
42
+
```
43
+
44
+
Alternatively, `orgId` can be set globally while configuring prebid.js:
45
+
46
+
```js
47
+
pbjs.setConfig({
48
+
adbookpsp: {
49
+
orgId:'example-org-id',
50
+
},
51
+
});
52
+
```
53
+
54
+
*NOTE*: adUnit orgId will take precedence over the globally set orgId.
55
+
56
+
#### Banner parameters
57
+
58
+
Required:
59
+
60
+
- sizes
61
+
62
+
Example configuration:
63
+
64
+
```js
65
+
var adUnits = [
66
+
{
67
+
code:'div-1',
68
+
mediaTypes: {
69
+
banner: {
70
+
sizes: [[300, 250]],
71
+
},
72
+
}
73
+
},
74
+
];
75
+
```
76
+
77
+
#### Video parameters
78
+
79
+
Required:
80
+
81
+
- context
82
+
- mimes
83
+
- playerSize
84
+
85
+
Additionaly, all `Video` object parameters described in chapter `3.2.7` of the [OpenRTB 2.5 specification](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) can be passed as bidder params.
86
+
87
+
Example configuration:
88
+
89
+
```js
90
+
var adUnits = [
91
+
{
92
+
code:'div-1',
93
+
mediaTypes: {
94
+
video: {
95
+
context:'outstream',
96
+
mimes: ['video/mp4', 'video/x-flv'],
97
+
playerSize: [400, 300],
98
+
protocols: [2, 3],
99
+
},
100
+
},
101
+
bids: [
102
+
{
103
+
bidder:'adbookpsp',
104
+
params: {
105
+
placementId:'example-placement-id',
106
+
video: {
107
+
placement:2,
108
+
},
109
+
},
110
+
},
111
+
],
112
+
},
113
+
];
114
+
```
115
+
116
+
*NOTE*: Supporting outstream video requires the publisher to set up a renderer as described [in the Prebid docs](https://docs.prebid.org/dev-docs/show-outstream-video-ads.html).
117
+
118
+
#### Testing params
119
+
120
+
To test the adapter, either `placementId: 'example-placement-id'` or `orgId: 'example-org-id'` can be used.
121
+
122
+
*NOTE*: If any adUnit uses the testing params, all adUnits will receive testing responses.
Setting of the `orgId` can be done in the `pbjs.setConfig()` call. If this is the case, both `orgId` and `placementId` become optional. Remember to only call `pbjs.setConfig()` once as each call overwrites anything set in previous calls.
158
+
159
+
Enabling iframe based user syncs is also encouraged.
160
+
161
+
```javascript
162
+
pbjs.setConfig({
163
+
adbookpsp: {
164
+
orgId:'example-org-id',
165
+
winTrackingEnabled:true,
166
+
},
167
+
userSync: {
168
+
filterSettings: {
169
+
iframe: {
170
+
bidders:'*',
171
+
filter:'include',
172
+
},
173
+
},
174
+
},
175
+
});
176
+
```
177
+
178
+
### Privacy
179
+
180
+
GDPR and US Privacy are both supported by default.
181
+
182
+
#### Event tracking
183
+
184
+
This adapter tracks win events for it’s bids. This functionality can be disabled by adding `winTrackingEnabled: false` to the adapter configuration:
185
+
186
+
```js
187
+
pbjs.setConfig({
188
+
adbookpsp: {
189
+
winTrackingEnabled:false,
190
+
},
191
+
});
192
+
```
193
+
194
+
#### COPPA support
195
+
196
+
COPPA support can be enabled for all the visitors by changing the config value:
Copy file name to clipboardExpand all lines: dev-docs/bidders/adf.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
layout: bidder
3
3
title: AdformOpenRTB
4
-
description: Prebid Adf Bidder Adaptor
4
+
description: Prebid Adform Bidder Adaptor
5
5
biddercode: adf
6
6
media_types: banner, native, video
7
7
gdpr_supported: true
@@ -38,3 +38,7 @@ pbjs.setConfig({
38
38
}
39
39
});
40
40
```
41
+
42
+
### Multi-format ads
43
+
44
+
Adform bid adapter does not support multi-format ad unit setup. Please use [twin ad unit codes]({{site.baseurl}}/dev-docs/adunit-reference.html#twin-adunit-codes) to enable multi-format auctions.
**Adform bid adapter is deprecated since Prebid 5.0. Please refer to [AdformOpenRTB adapter](#adf) documentation to fetch bids from Adform demand sources.**
0 commit comments