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
Copy file name to clipboardExpand all lines: modules/improvedigitalBidAdapter.md
+23-81Lines changed: 23 additions & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,98 +13,40 @@ This module connects publishers to Improve Digital's demand sources through Preb
13
13
# Test Parameters
14
14
15
15
```javascript
16
-
var adUnits = [{
17
-
code:'div-gpt-ad-1499748733608-0',
18
-
sizes: [[600, 290]],
16
+
constadUnits= [{
17
+
code:'banner-ad-unit',
18
+
mediaTypes: {
19
+
banner: {
20
+
sizes: [[300, 250]],
21
+
}
22
+
},
19
23
bids: [
20
24
{
21
25
bidder:'improvedigital',
22
26
params: {
23
-
publisherId:123,
24
-
placementId:1053688
27
+
publisherId:950,
28
+
placementId:22135702,
25
29
}
26
30
}
27
31
]
28
32
}, {
29
-
code:'div-gpt-ad-1499748833901-0',
30
-
sizes: [[250, 250]],
31
-
bids: [{
32
-
bidder:'improvedigital',
33
-
params: {
34
-
publisherId:123,
35
-
placementId:1053689,
36
-
keyValues: {
37
-
testKey: ["testValue"]
38
-
}
33
+
code:'video-ad-unit',
34
+
mediaTypes: {
35
+
video: {
36
+
playerSize: [640, 480],
37
+
context:'instream',
38
+
plcmt:2,
39
39
}
40
-
}]
41
-
}, {
42
-
code:'div-gpt-ad-1499748913322-0',
43
-
sizes: [[300, 300]],
40
+
},
44
41
bids: [{
45
42
bidder:'improvedigital',
46
43
params: {
47
-
publisherId:123,
48
-
placementId:1053687,
49
-
size: {
50
-
w:300,
51
-
h:300
52
-
}
53
-
}
54
-
}]
44
+
publisherId:950,
45
+
placementId:22137694,
46
+
keyValues: {
47
+
testKey: ["testValue"],
48
+
},
49
+
},
50
+
}],
55
51
}];
56
52
```
57
-
58
-
# Additional Information
59
-
60
-
## Bid params
61
-
62
-
| Name | Scope | Description | Example | Type |
63
-
| --- | --- | --- | --- | --- |
64
-
|`placementId`| required | The placement ID from Improve Digital. |`1234567`|`integer`|
65
-
|`publisherId`| required | The publisher ID from Improve Digital. |`4567`|`integer`|
66
-
|`keyValues`| optional | Contains one or more key-value pairings for key-value targeting |`{ testKey1: ['testValueA'], testKey2: ['testValueB', 'testValueC'] }`|`object`|
|`extend`| optional | See the [Extend mode section](#extend-mode)|`true`|`boolean`|
70
-
71
-
## Configuration
72
-
73
-
### Sizes
74
-
75
-
By default, the adapter sends Prebid ad unit sizes to Improve Digital’s ad server. If the ad server should only respond with creative sizes as defined for each placement in the Origin platform, turn off `usePrebidSizes` adapter parameter like this:
76
-
77
-
```javascript
78
-
pbjs.setConfig({
79
-
improvedigital: { usePrebidSizes:false }
80
-
});
81
-
```
82
-
83
-
### Extend Mode
84
-
85
-
Improve Digital Extend mode provides publishers with access to additional demand from other SSPs. Before enabling please contact our team for more information.
86
-
The Extend mode can be enabled:
87
-
88
-
* per ad unit via the `extend`[bid param](#bid-params)
89
-
* for all ad units via `setConfig()`:
90
-
91
-
```javascript
92
-
pbjs.setConfig({
93
-
improvedigital: {
94
-
extend:true
95
-
}
96
-
});
97
-
```
98
-
99
-
### MultiBid
100
-
101
-
Improve Digital supports Prebid's MultiBid feature. More on enabling MultiBid can be found here: [MultiBid](./multibid/index.md). An example of how to enable MultiBid for Improve Digital:
0 commit comments