Skip to content

Commit c9f9239

Browse files
mmosesmuuki88
andauthored
Updated CleanMediaNet reference to the gamoshi adaptor code, update documentations. (#6192)
* - Updated Gamoshi Adapter documentation - Added aliases for cleanmedianet and gambid adapters - Removed 9MediaOnline adapter (no longer valid) * added newline to the end * Update dev-docs/bidders/cleanmedianet.md Co-authored-by: Muki Seiler <[email protected]> * Update dev-docs/bidders/gambid.md Co-authored-by: Muki Seiler <[email protected]> * Update dev-docs/bidders/gambid.md Co-authored-by: Muki Seiler <[email protected]> * Update dev-docs/bidders/gamoshi.md Co-authored-by: Muki Seiler <[email protected]> * Update dev-docs/bidders/gamoshi.md Co-authored-by: Muki Seiler <[email protected]> * fixing markdown liniting errors --------- Co-authored-by: Muki Seiler <[email protected]>
1 parent 33983d1 commit c9f9239

File tree

4 files changed

+414
-58
lines changed

4 files changed

+414
-58
lines changed

dev-docs/bidders/9MediaOnline.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

dev-docs/bidders/cleanmedianet.md

Lines changed: 140 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,151 @@ title: Clean Media Net
44
description: Clean Media Bidder Adapter
55
biddercode: cleanmedianet
66
pbjs: true
7+
pbs: true
78
media_types: banner, video
8-
tcfeu_supported: false
9-
usp_supported: true
10-
coppa_supported: false
9+
userIds: all
10+
gvl_id: 644
11+
tcfeu_supported: true
12+
tcf2_supported: true
1113
schain_supported: true
12-
floors_supported: true
13-
userIds:
14-
prebid_member: false
15-
safeframes_ok: true
16-
deals_supported: false
17-
pbs_app_supported: false
18-
fpd_supported: false
19-
ortb_blocking_supported: false
20-
gvl_id:
21-
multiformat_supported: will-bid-on-any
14+
usp_supported: true
15+
ortb_blocking_supported: true
16+
multiformat_supported: will-bid-on-one
17+
sidebarType: 1
18+
aliasCode: gamoshi
2219
---
2320

24-
### Disclosure
25-
26-
Note: This bidder appears to only consider gdprApplies if a consent string is available. This may result in some incorrect GDPR processing, such as when the consent string is not yet available but the publisher has decided GDPR always applies. See <https://github.com/prebid/Prebid.js/issues/7775>
27-
2821
### Bid params
2922

3023
{: .table .table-bordered .table-striped }
3124
| Name | Scope | Description | Example | Type |
32-
|-------------------+----------+--------------------------------------------------------+-------------------------+---------|
33-
| `supplyPartnerId` | required | The supply account's ID in your Clean Media dashboard. | `"1253"`, `"1254"`, etc | string |
25+
|-------------------|----------|---------------------------------------------------------------|----------------------|----------|
26+
| `supplyPartnerId` or `inventory_id` or `supply_partner_id` | required | ID of the supply partner. This parameter can be either a `string` or `integer` for Prebid.js, however `integer` is preferred | `12345` | `integer` |
27+
| `bidfloor` | optional | Minimum acceptable bid price. Must be a positive number. | `0.5` | `number` |
28+
| `instl` | optional | Interstitial flag (1 for interstitial, 0 for non-interstitial). | `1` | `integer` |
29+
| `pos` | optional | Ad position on the page. | `1` | `integer` |
30+
| `video` | optional | Object containing video targeting parameters. See [Video Object](#video-object) for details. | `video: { playback_method: ['auto_play_sound_off'] }` | `object` |
31+
32+
This adapter only requires you to provide your Inventory Id (Supply partner id), and optionally your RTB endpoint.
33+
34+
#### Video Object
35+
36+
For details on how these video params work with the params set in the adUnit.mediaTypes.video object.
37+
38+
{: .table .table-bordered .table-striped }
39+
| Name | Description | Type |
40+
|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|
41+
| `minduration` | Integer that defines the minimum video ad duration in seconds. | `integer` |
42+
| `maxduration` | Integer that defines the maximum video ad duration in seconds. | `integer` |
43+
| `protocols` | Array of integers listing the supported video protocols (VAST versions). | `Array<integer>` |
44+
| `mimes` | Array of strings listing the supported MIME types for the video creative. | `Array<string>` |
45+
| `pos` | Ad position on the screen. | `integer` |
46+
| `api` | Array of integers listing the supported API frameworks. | `Array<integer>` |
47+
| `skip` | Indicates if the player will allow the video to be skipped (0 = no, 1 = yes). | `integer` |
48+
| `plcmt` | Video placement type. | `integer` |
49+
| `placement` | Placement type for the impression. | `integer` |
50+
| `playbackmethod` | Array of integers listing the playback methods. | `Array<integer>` |
51+
| `startdelay` | Indicates the offset of the ad placement from the start of the video content. | `integer` |
52+
| `context` | Content context (e.g., 'instream', 'outstream'). | `string` |
53+
54+
### Example Ad Unit Configurations
55+
56+
#### Banner Ad Unit
57+
58+
```javascript
59+
var adUnits = [
60+
{
61+
code: 'banner-div',
62+
mediaTypes: {
63+
banner: {
64+
sizes: [[300, 250], [728, 90]]
65+
}
66+
},
67+
bids: [
68+
{
69+
bidder: 'cleanmedianet',
70+
params: {
71+
supplyPartnerId: 12345,
72+
bidfloor: 0.5,
73+
pos: 1
74+
}
75+
}
76+
]
77+
}
78+
];
79+
```
80+
81+
#### Video Ad Unit (Instream)
82+
83+
```javascript
84+
var adUnits = [
85+
{
86+
code: 'video-div',
87+
mediaTypes: {
88+
video: {
89+
playerSize: [[640, 480]],
90+
context: 'instream',
91+
mimes: ['video/mp4', 'video/webm'],
92+
protocols: [2, 3, 5, 6],
93+
maxduration: 30,
94+
api: [1, 2]
95+
}
96+
},
97+
bids: [
98+
{
99+
bidder: 'cleanmedianet',
100+
params: {
101+
supplyPartnerId: 12345,
102+
video: {
103+
minduration: 5,
104+
maxduration: 30,
105+
protocols: [2, 3, 5, 6],
106+
mimes: ['video/mp4', 'video/webm'],
107+
playbackmethod: [2],
108+
skip: 1,
109+
startdelay: 0,
110+
api: [1, 2],
111+
plcmt: 1
112+
}
113+
}
114+
}
115+
]
116+
}
117+
];
118+
```
119+
120+
#### Video Ad Unit (Outstream)
121+
122+
```javascript
123+
var adUnits = [
124+
{
125+
code: 'outstream-div',
126+
mediaTypes: {
127+
video: {
128+
playerSize: [[640, 480]],
129+
context: 'outstream',
130+
mimes: ['video/mp4', 'video/webm']
131+
}
132+
},
133+
bids: [
134+
{
135+
bidder: 'cleanmedianet',
136+
params: {
137+
supplyPartnerId: 12345,
138+
rendererUrl: 'https://example.com/outstream-renderer.js',
139+
video: {
140+
minduration: 5,
141+
maxduration: 30,
142+
protocols: [2, 3, 5, 6],
143+
mimes: ['video/mp4', 'video/webm'],
144+
playbackmethod: [2],
145+
placement: 3,
146+
plcmt: 3,
147+
context: 'outstream'
148+
}
149+
}
150+
}
151+
]
152+
}
153+
];
154+
```

dev-docs/bidders/gambid.md

Lines changed: 141 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,153 @@
11
---
22
layout: bidder
33
title: Gambid
4-
description: Prebid Gambid Bidder Adaptor
5-
6-
top_nav_section: dev_docs
7-
nav_section: reference
8-
4+
description: Prebid Gambid Bidder Adapter
5+
biddercode: gambid
96
pbjs: true
7+
pbs: true
108
media_types: banner, video
11-
biddercode: gambid
12-
aliasCode: gamoshi
13-
userIds: id5Id, unifiedId
9+
userIds: all
10+
gvl_id: 644
11+
tcfeu_supported: true
12+
schain_supported: true
13+
usp_supported: true
14+
ortb_blocking_supported: true
15+
multiformat_supported: will-bid-on-one
1416
sidebarType: 1
17+
aliasCode: gamoshi
1518
---
1619

1720
### Bid params
1821

1922
{: .table .table-bordered .table-striped }
20-
| Name | Scope | Description | Example | Type |
23+
| Name | Scope | Description | Example | Type |
2124
|-------------------|----------|---------------------------------------------------------------|----------------------|----------|
22-
| `supplyPartnerId` | required | ID of the supply partner | `'12345'` | `string` |
25+
| `supplyPartnerId` or `inventory_id` or `supply_partner_id` | required | ID of the supply partner. This parameter can be either a `string` or `integer` for Prebid.js, however `integer` is preferred | `12345` | `integer` |
26+
| `bidfloor` | optional | Minimum acceptable bid price. Must be a positive number. | `0.5` | `number` |
27+
| `instl` | optional | Interstitial flag (1 for interstitial, 0 for non-interstitial). | `1` | `integer` |
28+
| `pos` | optional | Ad position on the page. | `1` | `integer` |
29+
| `video` | optional | Object containing video targeting parameters. See [Video Object](#video-object) for details. | `video: { playback_method: ['auto_play_sound_off'] }` | `object` |
30+
31+
This adapter only requires you to provide your Inventory Id (Supply partner id), and optionally your RTB endpoint.
32+
33+
#### Video Object
34+
35+
For details on how these video params work with the params set in the adUnit.mediaTypes.video object.
36+
37+
{: .table .table-bordered .table-striped }
38+
| Name | Description | Type |
39+
|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|
40+
| `minduration` | Integer that defines the minimum video ad duration in seconds. | `integer` |
41+
| `maxduration` | Integer that defines the maximum video ad duration in seconds. | `integer` |
42+
| `protocols` | Array of integers listing the supported video protocols (VAST versions). | `Array<integer>` |
43+
| `mimes` | Array of strings listing the supported MIME types for the video creative. | `Array<string>` |
44+
| `pos` | Ad position on the screen. | `integer` |
45+
| `api` | Array of integers listing the supported API frameworks. | `Array<integer>` |
46+
| `skip` | Indicates if the player will allow the video to be skipped (0 = no, 1 = yes). | `integer` |
47+
| `plcmt` | Video placement type. | `integer` |
48+
| `placement` | Placement type for the impression. | `integer` |
49+
| `playbackmethod` | Array of integers listing the playback methods. | `Array<integer>` |
50+
| `startdelay` | Indicates the offset of the ad placement from the start of the video content. | `integer` |
51+
| `context` | Content context (e.g., 'instream', 'outstream'). | `string` |
52+
53+
### Example Ad Unit Configurations
54+
55+
#### Banner Ad Unit
56+
57+
```javascript
58+
var adUnits = [
59+
{
60+
code: 'banner-div',
61+
mediaTypes: {
62+
banner: {
63+
sizes: [[300, 250], [728, 90]]
64+
}
65+
},
66+
bids: [
67+
{
68+
bidder: 'gambid',
69+
params: {
70+
supplyPartnerId: 12345,
71+
bidfloor: 0.5,
72+
pos: 1
73+
}
74+
}
75+
]
76+
}
77+
];
78+
```
79+
80+
#### Video Ad Unit (Instream)
81+
82+
```javascript
83+
var adUnits = [
84+
{
85+
code: 'video-div',
86+
mediaTypes: {
87+
video: {
88+
playerSize: [[640, 480]],
89+
context: 'instream',
90+
mimes: ['video/mp4', 'video/webm'],
91+
protocols: [2, 3, 5, 6],
92+
maxduration: 30,
93+
api: [1, 2]
94+
}
95+
},
96+
bids: [
97+
{
98+
bidder: 'gambid',
99+
params: {
100+
supplyPartnerId: 12345,
101+
video: {
102+
minduration: 5,
103+
maxduration: 30,
104+
protocols: [2, 3, 5, 6],
105+
mimes: ['video/mp4', 'video/webm'],
106+
playbackmethod: [2],
107+
skip: 1,
108+
startdelay: 0,
109+
api: [1, 2],
110+
plcmt: 1
111+
}
112+
}
113+
}
114+
]
115+
}
116+
];
117+
```
118+
119+
#### Video Ad Unit (Outstream)
120+
121+
```javascript
122+
var adUnits = [
123+
{
124+
code: 'outstream-div',
125+
mediaTypes: {
126+
video: {
127+
playerSize: [[640, 480]],
128+
context: 'outstream',
129+
mimes: ['video/mp4', 'video/webm']
130+
}
131+
},
132+
bids: [
133+
{
134+
bidder: 'gambid',
135+
params: {
136+
supplyPartnerId: 12345,
137+
rendererUrl: 'https://example.com/outstream-renderer.js',
138+
video: {
139+
minduration: 5,
140+
maxduration: 30,
141+
protocols: [2, 3, 5, 6],
142+
mimes: ['video/mp4', 'video/webm'],
143+
playbackmethod: [2],
144+
placement: 3,
145+
plcmt: 3,
146+
context: 'outstream'
147+
}
148+
}
149+
}
150+
]
151+
}
152+
];
153+
```

0 commit comments

Comments
 (0)