Skip to content

Commit ea6003d

Browse files
committed
Add HypeLab Prebid Server docs
1 parent 063b300 commit ea6003d

1 file changed

Lines changed: 70 additions & 16 deletions

File tree

dev-docs/bidders/hypelab.md

Lines changed: 70 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,51 +3,105 @@ layout: bidder
33
title: HypeLab
44
description: Prebid HypeLab Bidder Adapter
55
pbjs: true
6-
pbs: false
6+
pbs: true
77
biddercode: hypelab
88
sidebarType: 1
9-
media_types: banner
9+
media_types: banner, video, native
1010
userIds: all
1111
safeframes_ok: false
1212
floors_supported: false
1313
fpd_supported: false
14+
gvl_id: none
15+
pbs_app_supported: false
16+
prebid_member: false
17+
multiformat_supported: will-bid-on-one
1418
ortb_blocking_supported: false
1519
---
1620

17-
### Registration
21+
## Registration
1822

1923
The HypeLab adapter requires setup and approval from the HypeLab team. Please reach out to your account manager for more information.
2024

21-
### Bid Params
25+
## Bid Params
2226

2327
{: .table .table-bordered .table-striped }
2428
| Name | Scope | Description | Example | Type |
25-
|---------------|----------|------------------|---------|----------|
29+
| --------------- | ---------- | ------------------ | --------- | ---------- |
2630
| `property_slug` | required | The property slug | `prebid` | `string` |
2731
| `placement_slug` | required | The placement slug | `test_placement` | `string` |
2832

29-
30-
### Example Banner Configuration
33+
## Example Banner Configuration
3134

3235
```js
3336
var adUnits = [
3437
{
35-
code: 'banner-div',
38+
code: "banner-div",
3639
mediaTypes: {
3740
banner: {
3841
sizes: [[728, 90]],
3942
},
4043
},
4144
bids: [
42-
{
43-
bidder: 'hypelab',
44-
params: {
45-
property_slug: 'prebid',
46-
placement_slug: 'test_placement'
45+
{
46+
bidder: "hypelab",
47+
params: {
48+
property_slug: "prebid",
49+
placement_slug: "test_placement",
50+
},
51+
},
52+
],
53+
},
54+
];
55+
```
56+
57+
## Prebid Server Params
58+
59+
The Prebid Server adapter uses the same bidder parameters as the Prebid.js adapter.
60+
HypeLab's Prebid Server adapter supports banner, video, and native media types.
61+
62+
{: .table .table-bordered .table-striped }
63+
| Name | Scope | Description | Example | Type |
64+
| --------------- | ---------- | ------------------ | --------- | ---------- |
65+
| `property_slug` | required | The HypeLab property slug | `prebid` | `string` |
66+
| `placement_slug` | required | The HypeLab placement slug | `test_placement` | `string` |
67+
68+
## Prebid Server Test Request
69+
70+
The following request can be sent to Prebid Server's `/openrtb2/auction` endpoint
71+
to verify that the HypeLab adapter is configured correctly for banner inventory.
72+
73+
```json
74+
{
75+
"id": "hypelab-test-request",
76+
"test": 1,
77+
"imp": [
78+
{
79+
"id": "hypelab-banner-imp",
80+
"banner": {
81+
"format": [
82+
{
83+
"w": 300,
84+
"h": 250
85+
}
86+
]
87+
},
88+
"ext": {
89+
"prebid": {
90+
"bidder": {
91+
"hypelab": {
92+
"property_slug": "prebid",
93+
"placement_slug": "test_placement"
4794
}
95+
}
4896
}
49-
]
97+
}
98+
}
99+
],
100+
"site": {
101+
"page": "https://publisher.example"
102+
},
103+
"device": {
104+
"ua": "Mozilla/5.0"
50105
}
51-
]
106+
}
52107
```
53-

0 commit comments

Comments
 (0)