Skip to content

Commit fa0c49b

Browse files
gchicoyeGabriel Chicoye
andauthored
Ybidder & Netads adapter added (#6360)
* ybidder adapter added * netads adapter added --------- Co-authored-by: Gabriel Chicoye <[email protected]>
1 parent 935e29d commit fa0c49b

File tree

2 files changed

+210
-0
lines changed

2 files changed

+210
-0
lines changed

dev-docs/bidders/netads.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
layout: bidder
3+
title: Netads
4+
description: Prebid Netads Bidder Adapter
5+
pbjs: true
6+
pbs: true
7+
biddercode: netads
8+
gvl_id: 965
9+
usp_supported: true
10+
gpp_sids: tcfeu
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 | `"testnexx"` | `string` |
31+
| `placement` | required*| Placement | `"TEST_PLACEMENT"` | `string` |
32+
33+
You *must* only include one ID field - either `tagId` or `placement`, not both. If you have questions on which parameter to use, please reach out to your Account Manager.
34+
The `tagId` and `placement` are **mutually exclusive** but at least one is required. If you pass both, `tagId` takes precedence.
35+
36+
### First Party Data
37+
38+
Publishers should use the `ortb2` method of setting [First Party Data](/features/firstPartyData.html).
39+
The following fields are supported:
40+
41+
* ortb2.site.ext.data.*
42+
* ortb2.site.content.data[]
43+
* ortb2.user.ext.data.*
44+
* ortb2.user.data[]
45+
46+
### Test Parameters
47+
48+
```javascript
49+
var adUnits = [
50+
// Banner adUnit
51+
{
52+
code: 'banner-div',
53+
mediaTypes: {
54+
banner: {
55+
sizes: [[300, 250], [300,600]]
56+
}
57+
},
58+
bids: [{
59+
bidder: 'netads',
60+
params: {
61+
tagId: 'testnexx'
62+
}
63+
}]
64+
},
65+
// Video adUnit
66+
{
67+
code: 'video1',
68+
mediaTypes: {
69+
video: {
70+
playerSize: [640, 480],
71+
context: 'instream'
72+
}
73+
},
74+
bids: [{
75+
bidder: 'netads',
76+
params: {
77+
tagId: 'testnexx'
78+
}
79+
}]
80+
},
81+
// Native adUnit
82+
{
83+
code: 'native1',
84+
mediaTypes:
85+
native: {
86+
title: {
87+
required: true
88+
},
89+
image: {
90+
required: true
91+
},
92+
sponsoredBy: {
93+
required: true
94+
}
95+
}
96+
},
97+
bids: [{
98+
bidder: 'netads',
99+
params: {
100+
tagId: 'testnexx'
101+
}
102+
}]
103+
}
104+
];
105+
```

dev-docs/bidders/ybidder.md

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
---
2+
layout: bidder
3+
title: Ybidder
4+
description: Prebid Ybidder Bidder Adapter
5+
pbjs: true
6+
pbs: true
7+
biddercode: ybidder
8+
gvl_id: 1253
9+
usp_supported: true
10+
gpp_sids: tcfeu
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 | `"testnexx"` | `string` |
31+
| `placement` | required*| Placement | `"TEST_PLACEMENT"` | `string` |
32+
33+
You *must* only include one ID field - either `tagId` or `placement`, not both. If you have questions on which parameter to use, please reach out to your Account Manager.
34+
The `tagId` and `placement` are **mutually exclusive** but at least one is required. If you pass both, `tagId` takes precedence.
35+
36+
### First Party Data
37+
38+
Publishers should use the `ortb2` method of setting [First Party Data](/features/firstPartyData.html).
39+
The following fields are supported:
40+
41+
* ortb2.site.ext.data.*
42+
* ortb2.site.content.data[]
43+
* ortb2.user.ext.data.*
44+
* ortb2.user.data[]
45+
46+
### Test Parameters
47+
48+
```javascript
49+
var adUnits = [
50+
// Banner adUnit
51+
{
52+
code: 'banner-div',
53+
mediaTypes: {
54+
banner: {
55+
sizes: [[300, 250], [300,600]]
56+
}
57+
},
58+
bids: [{
59+
bidder: 'ybidder',
60+
params: {
61+
tagId: 'testnexx'
62+
}
63+
}]
64+
},
65+
// Video adUnit
66+
{
67+
code: 'video1',
68+
mediaTypes: {
69+
video: {
70+
playerSize: [640, 480],
71+
context: 'instream'
72+
}
73+
},
74+
bids: [{
75+
bidder: 'ybidder',
76+
params: {
77+
tagId: 'testnexx'
78+
}
79+
}]
80+
},
81+
// Native adUnit
82+
{
83+
code: 'native1',
84+
mediaTypes:
85+
native: {
86+
title: {
87+
required: true
88+
},
89+
image: {
90+
required: true
91+
},
92+
sponsoredBy: {
93+
required: true
94+
}
95+
}
96+
},
97+
bids: [{
98+
bidder: 'ybidder',
99+
params: {
100+
tagId: 'testnexx'
101+
}
102+
}]
103+
}
104+
];
105+
```

0 commit comments

Comments
 (0)