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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
128 changes: 68 additions & 60 deletions dev-docs/bidders/deepintent.md
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the floor module supported meta data as well as this is the most common way to set floor prices in prebid

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,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 +47,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 +107,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
},
},
},
],
},
];
```