Skip to content

Commit 4379257

Browse files
committed
Update OpenX docs with native support
1 parent f985cef commit 4379257

File tree

1 file changed

+85
-1
lines changed

1 file changed

+85
-1
lines changed

dev-docs/bidders/openx.md

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Prebid OpenX Bidder Adaptor
55
pbjs: true
66
pbs: true
77
biddercode: openx
8-
media_types: banner, video
8+
media_types: banner, video, native
99
schain_supported: true
1010
tcfeu_supported: true
1111
usp_supported: true
@@ -154,6 +154,63 @@ var videoAdUnits = [
154154
}]
155155
```
156156

157+
#### Native
158+
159+
{: .table .table-bordered .table-striped }
160+
161+
| Name | Scope | Description | Example | Type |
162+
| ---- | ----- | ----------- | ------- | ---- |
163+
| `delDomain` ~~or `platform`~~** | required | OpenX delivery domain provided by your OpenX representative. | "PUBLISHER-d.openx.net" | String |
164+
| `unit` | required | OpenX ad unit ID provided by your OpenX representative. | "1611023122" | String |
165+
| `customParams` | optional | User-defined targeting key-value pairs. customParams applies to a specific unit. | `{key1: "v1", key2: ["v2","v3"]}` | Object |
166+
| `customFloor` | optional | Minimum price in USD. customFloor applies to a specific unit. For example, use the following value to set a $1.50 floor: 1.50 <br/><br/> **WARNING:**<br/> Misuse of this parameter can impact revenue.<br/><br/>Note:<br/> OpenX suggests using the [Price Floor Module](/dev-docs/modules/floors.html) instead of customFloor. The Price Floor Module is prioritized over customFloor if both are present. | 1.50 | Number |
167+
| `doNotTrack` | optional | Prevents advertiser from using data for this user. <br/><br/> **WARNING:**<br/> Impacts all bids in the request. May impact revenue. | true | Boolean |
168+
| `coppa` | optional | Enables Child's Online Privacy Protection Act (COPPA) regulations. **WARNING:**<br/> Impacts all bids in the request. May impact revenue. | true | Boolean |
169+
170+
** platform is deprecated. Please use delDomain instead. If you have any questions please contact your representative.
171+
172+
### AdUnit Format for Native
173+
174+
```javascript
175+
var adUnits = [
176+
{
177+
code: 'test-div-native',
178+
mediaTypes: {
179+
native: {
180+
ortb: {
181+
assets: [
182+
{
183+
id: 1,
184+
required: 1,
185+
img: {
186+
type: 3,
187+
w: 150,
188+
h: 50,
189+
}
190+
}, {
191+
id: 2,
192+
required: 1,
193+
title: {
194+
len: 80
195+
}
196+
}
197+
]
198+
}
199+
}
200+
},
201+
bids: [
202+
{
203+
bidder: 'openx',
204+
params: {
205+
unit: '539439964',
206+
delDomain: 'se-demo-d.openx.net'
207+
}
208+
}
209+
]
210+
}
211+
];
212+
```
213+
157214
### Example
158215

159216
```javascript
@@ -202,6 +259,33 @@ var adUnits = [
202259
delDomain: 'PUBLISHER-d.openx.net'
203260
}
204261
}]
262+
},
263+
{
264+
code: 'native1',
265+
mediaTypes: {
266+
native: {
267+
ortb: {
268+
assets: [
269+
{
270+
id: 1,
271+
required: 1,
272+
img: {
273+
type: 3,
274+
w: 150,
275+
h: 50,
276+
}
277+
}
278+
]
279+
}
280+
}
281+
},
282+
bids: [{
283+
bidder: 'openx',
284+
params: {
285+
unit: '539439964',
286+
delDomain: 'se-demo-d.openx.net'
287+
}
288+
}]
205289
}
206290
];
207291
```

0 commit comments

Comments
 (0)