Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83a7f7c

Browse files
montu1996Mitesh Thakor
andauthored
Update Dailyhunt Doc (prebid#1977)
* update dailyhunt doc * change docs * update doc * fix reviewer chnages Co-authored-by: Mitesh Thakor <[email protected]>
1 parent 0838a0a commit 83a7f7c

File tree

1 file changed

+64
-11
lines changed

1 file changed

+64
-11
lines changed

dev-docs/bidders/dailyhunt.md

Lines changed: 64 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,55 @@ title: Dailyhunt
44
description: Prebid Dailyhunt Bidder Adaptor
55
hide: true
66
biddercode: dailyhunt
7-
media_types: display, native
7+
media_types: display, native, video
88
gdpr_supported: true
99
---
1010

1111
### Bid Params
1212

1313
{: .table .table-bordered .table-striped }
14-
| Name | Scope | Description | Example | Type |
15-
|-------------------|----------|----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|------------|
16-
| `partnerId` | required | Serving ads based on partnerId. Contact Dailyhunt for PartnerIds. | `'pb-partner'` | `string` |
14+
| Name | Scope | Description | Example | Type |
15+
|------|----------|-------------|---------|------|
16+
| `placement_id` | required | Serving ads based on placement_id. Contact Dailyhunt for placement_id. | `1` | `int` |
17+
| `publisher_id` | required | Serving ads based on publisher_id. Contact Dailyhunt for publisher_id. | `1` | `int` |
18+
| `partner_name` | required | Serving ads based on partner_name. Contact Dailyhunt for partner_name. | `dailyhunt` | `string` |
19+
| `test_mode` | optional | Serving test mode campaign only. | `true` | `bool` |
20+
| `bidfloor` | optional | Minimum bid for this bid expressed in CPM. | `1.4` | `float` |
21+
| `video` | optional | A Video object required if this bid is offered as a video ad opportunity. It is ortb video object. | `video: { w: 640, h: 480, mimes: ["video/mp4"] }` | `object` |
22+
|`site` | optional | Details about the publisher’s website. It is ortb site object. | `site:{id:"102855",cat:["IAB3-1"],domain:"http://m.dailyhunt.in",page:"http://m.dailyhunt.in/1234.html "}` | `object` |
23+
| `device` | optional | Details about the user’s device to which the impression will be delivered. It is ortb device object. | `device: { ip: "64.124.253.1", os: "OS X", ua: "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.16) }` | `object` |
24+
| `user` | optional | Details about the human user of the device; the advertising audience. It is ortb user object. | `user: { id: "456789876567897654678987656789", gender: "M", gender: 1990, keywords: "marketing,traveling,reading" }` | `object` |
25+
| `publisher` | optional | Details about the Publisher of the site. It is ortb publisher object. | `publisher: { id: "8953", name: "dailyhunt", "cat": [ "IAB3-1" ], "domain": "m.dailyhunt.in" }` | `object` |
1726

18-
### Test Parameters
27+
**Notes: The `video`, `site`, `device`, `user`, `publisher` objects are all ORTB objects. Please refer to the [ORTB documentation](https://www.iab.com/wp-content/uploads/2016/03/OpenRTB-API-Specification-Version-2-5-FINAL.pdf) for additional details.**
28+
29+
# Test Parameters
1930
```
2031
var adUnits = [
2132
{
22-
code: 'test-banner-adunit-code',
33+
code: '/83414793/prebid_test_display',
2334
sizes: [[300, 250], [320, 50]],
35+
mediaTypes: {
36+
banner : {
37+
sizes: [[300, 250], [320, 50]],
38+
}
39+
},
2440
bids: [
2541
{
2642
bidder: 'dailyhunt',
2743
params: {
28-
partnerId: 'pb-partnerId'
44+
placement_id: 1,
45+
publisher_id: 1,
46+
partner_name: 'dailyhunt',
47+
device: {
48+
ip: "182.23.143.212"
49+
}
2950
}
3051
}
3152
]
3253
},
3354
{
34-
code: 'test-native-adunit-code',
55+
code: '/83414793/prebid_test_native',
3556
sizes: [[300, 250]],
3657
mediaTypes: {
3758
native: {
@@ -44,16 +65,48 @@ gdpr_supported: true
4465
image: {
4566
required: true
4667
},
47-
sponsoredBy: {
68+
cta: {
4869
required: true
49-
},
70+
}
71+
}
72+
},
73+
bids: [
74+
{
75+
bidder: 'dailyhunt',
76+
params: {
77+
placement_id: 1,
78+
publisher_id: 1,
79+
partner_name: 'dailyhunt',
80+
device: {
81+
ip: "182.23.143.212"
82+
}
83+
}
84+
}
85+
]
86+
},
87+
{
88+
code: '/83414793/prebid_test_video',
89+
mediaTypes: {
90+
video: {
91+
playerSize: [1280, 720],
92+
context: 'instream'
5093
}
5194
},
5295
bids: [
5396
{
5497
bidder: 'dailyhunt',
5598
params: {
56-
partnerId: 'pb-partnerId'
99+
placement_id: 1,
100+
publisher_id: 1,
101+
partner_name: 'dailyhunt',
102+
device: {
103+
ip: "182.23.143.212"
104+
},
105+
video: {
106+
mimes: [
107+
'video/mp4'
108+
]
109+
}
57110
}
58111
}
59112
]

0 commit comments

Comments
 (0)