Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeepIntent Bid Adapter: update docs with bid floor support #5616

Merged
merged 5 commits into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 69 additions & 60 deletions dev-docs/bidders/deepintent.md
bretg marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pbjs: true
pbs: true
biddercode: deepintent
media_types: banner, video
floors_supported: true
tcfeu_supported: true
usp_supported: true
coppa_supported: true
Expand All @@ -19,6 +20,7 @@ sidebarType: 1
| Name | Scope | Description | Example | Type |
|---------------|----------|--------------------|------------------------------|----------|
| `tagId` | mandatory| Ad Tag Id | `'1399'` | `string` |
| `bidfloor` | optional | bid floor price in USD| `1.5` | `number` |
| `height` | optional | height of the creative| `350` | `number` |
| `width` | optional | width of the creative | `250` | `number` |
| `custom` | optional | custom key value params| `'{"position":"right-box"}''`| `object` |
Expand Down Expand Up @@ -46,36 +48,39 @@ pbjs.setConfig({

```javascript
var adUnits = [
{
code: 'div-22',
mediaTypes: {
banner: {
sizes: [
[300, 250],
[300, 600]
]
}
},
bids: [{
bidder: 'deepintent',
params: {
tagId: "1399",
height: 300,
width: 250,
pos: 1,
user: {
gender: "F",
uid: "publisher_uid",
buyeruid: "test_buyeruid",
yob: 2000
},
custom: {
"position": "right-box"
}
}
}]
}
];
{
code: "div-22",
mediaTypes: {
banner: {
sizes: [
[300, 250],
[300, 600],
],
},
},
bids: [
{
bidder: "deepintent",
params: {
tagId: "1399",
bidfloor: 1.5,
height: 300,
width: 250,
pos: 1,
user: {
gender: "F",
uid: "publisher_uid",
buyeruid: "test_buyeruid",
yob: 2000,
},
custom: {
position: "right-box",
},
},
},
],
},
];
```

### video parameters
Expand Down Expand Up @@ -103,36 +108,40 @@ Deepintent supports video as of Prebid v1.16.0

```javascript
var videoAdUnits = [
{
code: 'test-div-video',
{
code: "test-div-video",
mediaTypes: {
video: {
playerSize: [640, 480],
context: 'instream'
}
video: {
playerSize: [640, 480],
context: "instream",
},
},
bids: [{
bidder: 'deepintent',
params: {
tagId: "1399", // required
publisherId: '32572', // required
adSlot: '38519891@300x250' // required
video: {
mimes: ['video/mp4','video/x-flv'], // required
skip: 1, // optional
minduration: 5, // optional
maxduration: 30, // optional
startdelay: 5, // optional
playbackmethod: [1,3], // optional
api: [ 1, 2 ], // optional
protocols: [ 2, 3 ], // optional
battr: [ 13, 14 ], // optional
linearity: 1, // optional
placement: 2, // optional
minbitrate: 10, // optional
maxbitrate: 10 // optional
}
}
}]
}]
bids: [
{
bidder: "deepintent",
params: {
tagId: "1399", // required
publisherId: "32572", // required
adSlot: "38519891@300x250", // required
bidfloor: 1.5, // optional
video: {
mimes: ["video/mp4", "video/x-flv"], // required
skip: 1, // optional
minduration: 5, // optional
maxduration: 30, // optional
startdelay: 5, // optional
playbackmethod: [1, 3], // optional
api: [1, 2], // optional
protocols: [2, 3], // optional
battr: [13, 14], // optional
linearity: 1, // optional
placement: 2, // optional
minbitrate: 10, // optional
maxbitrate: 10, // optional
},
},
},
],
},
];
```