Skip to content

Commit fb8f239

Browse files
authored
dasBidAdapter.md (#75)
1 parent 0b98ff9 commit fb8f239

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

modules/dasBidAdapter.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Overview
2+
3+
```
4+
Module Name: DAS Bidder Adapter
5+
Module Type: Bidder Adapter
6+
Maintainer: support@ringpublishing.com
7+
```
8+
9+
# Description
10+
11+
Module that connects to DAS demand sources.
12+
Only banner and native format is supported.
13+
14+
# Test Parameters
15+
```js
16+
var adUnits = [{
17+
code: 'test-div-ad',
18+
mediaTypes: {
19+
banner: {
20+
sizes: [[300, 250], [300, 600]]
21+
}
22+
},
23+
bids: [{
24+
bidder: 'das',
25+
params: {
26+
network: '4178463',
27+
site: 'test',
28+
area: 'areatest',
29+
slot: 'slot'
30+
}
31+
}]
32+
}];
33+
```
34+
35+
# Parameters
36+
37+
| Name | Scope | Type | Description | Example |
38+
|------------------------------|----------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
39+
| network | required | String | Specific identifier provided by DAS | `"4178463"` |
40+
| site | required | String | Specific identifier name (case-insensitive) that is associated with this ad unit. Represents the website/domain in the ad unit hierarchy | `"example_com"` |
41+
| area | required | String | Ad unit category name; only case-insensitive alphanumeric with underscores and hyphens are allowed. Represents the content section or category (e.g., sport, news, lifestyle) | `"sport"` |
42+
| slot | required | String | Ad unit placement name (case-insensitive) | `"slot"` |
43+
| slotSequence | optional | Number | Ad unit sequence position provided by DAS | `1` |
44+
| pageContext | optional | Object | Web page context data | `{}` |
45+
| pageContext.dr | optional | String | Document referrer URL address | `"https://example.com/"` |
46+
| pageContext.du | optional | String | Document URL address | `"https://example.com/sport/football/article.html?id=932016a5-02fc-4d5c-b643-fafc2f270f06"` |
47+
| pageContext.dv | optional | String | Document virtual address as slash-separated path that may consist of any number of parts (case-insensitive alphanumeric with underscores and hyphens); first part should be the same as `site` value and second as `area` value; next parts may reflect website navigation | `"example_com/sport/football"` |
48+
| pageContext.keyWords | optional | String[] | List of keywords associated with this ad unit; only case-insensitive alphanumeric with underscores and hyphens are allowed | `["euro", "lewandowski"]` |
49+
| pageContext.keyValues | optional | Object | Key-values associated with this ad unit (case-insensitive); following characters are not allowed in the values: `" ' = ! + # * ~ ; ^ ( ) < > [ ] & @` | `{}` |
50+
| pageContext.keyValues.ci | optional | String | Content unique identifier | `"932016a5-02fc-4d5c-b643-fafc2f270f06"` |
51+
| pageContext.keyValues.adunit | optional | String | Ad unit name | `"example_com/sport"` |
52+
| customParams | optional | Object | Custom request params | `{}` |

0 commit comments

Comments
 (0)