Skip to content

Commit c7230a5

Browse files
s-solodovnikovOleksandr Solodovnikov
and
Oleksandr Solodovnikov
authored
Aniview: Add examples and update params list (prebid#5916)
* Aniview: Add examples and update params list * Aniview: Added new line to the end of the file * Aniview: Updated features, params list, examples * Aniview: Clarified gpp_sids, multiformat_supported and userIds; Removed few examples --------- Co-authored-by: Oleksandr Solodovnikov <[email protected]>
1 parent c3ab883 commit c7230a5

File tree

1 file changed

+93
-13
lines changed

1 file changed

+93
-13
lines changed

dev-docs/bidders/aniview.md

+93-13
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ description: Prebid Aniview Bidder Adapter
55
pbjs: true
66
biddercode: aniview
77
media_types: banner, video
8+
gpp_sids: tcfeu, tcfca, usnat, usstate_all, usp
9+
ortb_blocking_supported: true
10+
multiformat_supported: will-bid-on-any
811
tcfeu_supported: true
912
floors_supported: true
1013
usp_supported: true
1114
schain_supported: true
1215
safeframes_ok: true
1316
gvl_id: 780
1417
sidebarType: 1
18+
userIds: all
1519
---
1620

1721
### Note
@@ -21,29 +25,105 @@ For more information about [Aniview Ad Server](https://www.aniview.com/), please
2125
### Bid Params
2226

2327
{: .table .table-bordered .table-striped }
24-
| Name | Scope | Description | Example | Type |
25-
|------------------|----------|------------------|------------------------------|----------|
26-
| `AV_PUBLISHERID` | required | Publisher/Netid | `'55b88d4a181f465b3e8b4567'` | `string` |
27-
| `AV_CHANNELID` | required | Channel id | `'5a5f17a728a06102d14c2718'` | `string` |
28+
| Name | Scope | Description | Example | Type |
29+
|------------------|----------|-----------------------|----------------------|----------|
30+
| `AV_PUBLISHERID` | required | Publisher/Network ID | `'Get from Aniview'` | `string` |
31+
| `AV_CHANNELID` | required | Channel ID | `'Get from Aniview'` | `string` |
2832

29-
### Test Parameters
33+
### Setup for Video
3034

3135
```javascript
32-
const videoAdUnit = [
33-
{
34-
code: 'video1',
36+
const adUnit = [{
37+
code: 'videoAdUnit',
3538
mediaTypes: {
3639
video: {
40+
// Required
3741
playerSize: [[640, 480]],
38-
context: 'outstream'
42+
context: 'outstream',
43+
mimes: ['video/mp4', 'video/mpeg', 'application/javascript'],
44+
45+
// Optional
46+
playbackmethod: [1, 2],
47+
protocols: [1, 2, 3, 5, 6, 7, 8],
48+
api: [1, 2],
49+
maxduration: 60,
50+
plcmt: 4,
3951
},
4052
},
4153
bids: [{
4254
bidder: 'aniview',
4355
params: {
44-
AV_PUBLISHERID: '55b78633181f4603178b4568',
45-
AV_CHANNELID: '5d19dfca4b6236688c0a2fc4'
46-
}
47-
}]
56+
// Required
57+
AV_PUBLISHERID: 'Get from Aniview',
58+
AV_CHANNELID: 'Get from Aniview',
59+
},
60+
}],
61+
}];
62+
```
63+
64+
### Setup for Banner
65+
66+
```javascript
67+
const adUnit = [{
68+
code: 'bannerAdUnit',
69+
mediaTypes: {
70+
banner: {
71+
// Required
72+
sizes: [[300, 250], [300, 600]],
73+
},
74+
},
75+
bids: [{
76+
bidder: 'aniview',
77+
params: {
78+
// Required
79+
AV_PUBLISHERID: 'Get from Aniview',
80+
AV_CHANNELID: 'Get from Aniview',
81+
},
82+
}],
83+
}];
84+
```
85+
86+
### Setup for Multi-format (Banner & Video)
87+
88+
```javascript
89+
const adUnit = [{
90+
code: 'multiformatAdUnit',
91+
mediaTypes: {
92+
banner: {
93+
// Required
94+
sizes: [[300, 250], [300, 600]],
95+
},
96+
video: {
97+
// Required
98+
playerSize: [[640, 480]],
99+
context: 'outstream',
100+
mimes: ['video/mp4', 'video/mpeg', 'application/javascript'],
101+
},
102+
},
103+
bids: [{
104+
bidder: 'aniview',
105+
params: {
106+
// Required
107+
AV_PUBLISHERID: 'Get from Aniview',
108+
AV_CHANNELID: 'Get from Aniview',
109+
},
110+
}],
48111
}];
49112
```
113+
114+
### Bidder specific configs
115+
116+
```javascript
117+
pbjs.setBidderConfig({
118+
bidders: ['aniview'],
119+
config: {
120+
ortb2: {
121+
ext: {
122+
aniview: {
123+
// Additional data to send to the Ad Server
124+
},
125+
},
126+
},
127+
},
128+
}, true);
129+
```

0 commit comments

Comments
 (0)