Skip to content

Commit a124b09

Browse files
authored
Add documentation for new scoremedia aliases (#6037)
* added scoremedia.md documentation * Update scoremedia.md Test ID
1 parent c481c79 commit a124b09

File tree

1 file changed

+121
-0
lines changed

1 file changed

+121
-0
lines changed

dev-docs/modules/scoremedia.md

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
layout: bidder
3+
title: scoremedia
4+
description: Prebid scoremedia Bidder Adapter
5+
pbjs: true
6+
biddercode: scoremedia
7+
gvl_id: 965
8+
tcfeu_supported: true
9+
usp_supported: true
10+
gpp_supported: true
11+
schain_supported: true
12+
dchain_supported: false
13+
floors_supported: true
14+
userIds: all
15+
tcfeu_supported: true
16+
media_types: banner, video, native
17+
safeframes_ok: true
18+
deals_supported: true
19+
sidebarType: 1
20+
fpd_supported: true
21+
multiformat_supported: will-bid-on-any
22+
23+
---
24+
25+
### Bid Params
26+
27+
{: .table .table-bordered .table-striped }
28+
| Name | Scope | Description | Example | Type |
29+
|---------------|----------|----------------------------|-------------------------------------- |-----------|
30+
| `tagId` | required | tag ID | `"795dtj21"` | `string` |
31+
32+
### First Party Data
33+
34+
Publishers should use the `ortb2` method of setting [First Party Data](/features/firstPartyData.html).
35+
The following fields are supported:
36+
37+
* ortb2.site.ext.data.*
38+
* ortb2.site.content.data[]
39+
* ortb2.user.ext.data.*
40+
* ortb2.user.data[]
41+
42+
### Test Parameters
43+
44+
```javascript
45+
var adUnits = [
46+
// Banner adUnit
47+
{
48+
code: 'banner-div',
49+
mediaTypes: {
50+
banner: {
51+
sizes: [[300, 250], [300,600]]
52+
}
53+
},
54+
bids: [{
55+
bidder: 'scoremedia',
56+
params: {
57+
tagId: '795dtj21'
58+
}
59+
}]
60+
},
61+
// Video adUnit
62+
{
63+
code: 'video1',
64+
mediaTypes: {
65+
video: {
66+
playerSize: [640, 480],
67+
context: 'instream'
68+
}
69+
},
70+
bids: [{
71+
bidder: 'scoremedia',
72+
params: {
73+
tagId: '795dtj21'
74+
}
75+
}]
76+
},
77+
// Native adUnit
78+
{
79+
code: 'native1',
80+
mediaTypes:
81+
native: {
82+
title: {
83+
required: true
84+
},
85+
image: {
86+
required: true
87+
},
88+
sponsoredBy: {
89+
required: true
90+
}
91+
}
92+
},
93+
bids: [{
94+
bidder: 'scoremedia',
95+
params: {
96+
tagId: '795dtj21'
97+
}
98+
}]
99+
},
100+
// Multiformat Ad
101+
{
102+
code: 'multi1',
103+
mediaTypes: {
104+
video: {
105+
playerSize: [640, 480],
106+
context: 'instream'
107+
},
108+
banner: {
109+
sizes: [[300, 250], [300,600]]
110+
}
111+
},
112+
bids: [{
113+
bidder: 'scoremedia',
114+
params: {
115+
tagId: '795dtj21',
116+
videoTagId: 'testscore'
117+
}
118+
}]
119+
};
120+
];
121+
```

0 commit comments

Comments
 (0)