@@ -5,13 +5,17 @@ description: Prebid Aniview Bidder Adapter
5
5
pbjs : true
6
6
biddercode : aniview
7
7
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
8
11
tcfeu_supported : true
9
12
floors_supported : true
10
13
usp_supported : true
11
14
schain_supported : true
12
15
safeframes_ok : true
13
16
gvl_id : 780
14
17
sidebarType : 1
18
+ userIds : all
15
19
---
16
20
17
21
### Note
@@ -21,29 +25,105 @@ For more information about [Aniview Ad Server](https://www.aniview.com/), please
21
25
### Bid Params
22
26
23
27
{: .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 ` |
28
32
29
- ### Test Parameters
33
+ ### Setup for Video
30
34
31
35
``` javascript
32
- const videoAdUnit = [
33
- {
34
- code: ' video1' ,
36
+ const adUnit = [{
37
+ code: ' videoAdUnit' ,
35
38
mediaTypes: {
36
39
video: {
40
+ // Required
37
41
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 ,
39
51
},
40
52
},
41
53
bids: [{
42
54
bidder: ' aniview' ,
43
55
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
+ }],
48
111
}];
49
112
```
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