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

adot: add new pbs bid param placementPath #3590

Merged
merged 4 commits into from
Mar 15, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 2 additions & 7 deletions dev-docs/bidders/adot.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,14 @@ floors_supported: true
| Name | Scope | Description | Example | Type |
|---------------------|-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|------------------|
| `placementId` | optional | The placement ID from Adot. | `'adot_placement_224521'` | `string` |
| `position` | optional | Specify the position of the ad as a relative measure of visibility or prominence. Allowed values: Unknown: `0` (default); Above the fold: `1` ; Below the fold: `3`. | `0` | `integer-` |
| `video` | required if the adUnit is a video | Object containing video targeting parameters. See [Video Object](#adot-video-object) for details. | `video: { mimes: ['video/mp4'] }` | `object` |
| `video` | optional | Object containing video targeting parameters. See [Video Object](#adot-video-object) for details. | | `object` |

#### Video Object

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Type |
|-------------------|-------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|
| `mimes` | required | Array of strings listing the content MIME types supported, e.g., `['video/mp4']`. | `Array<string>` |
| `minduration` | optional | Integer that defines the minimum video ad duration in seconds. | `integer` |
| `maxduration` | optional | Integer that defines the maximum video ad duration in seconds. | `integer` |
| `protocols` | required | Array of supported video protocols, e.g., `[2, 3]` | `Array<integer>` |
| `container` | optional | Selector used for finding the element in which the video player will be displayed, e.g., `#div-1`. The `ad unit code` will be used if no `container` is provided. | `string` |
| `instreamContext` | required if `video.context` is `instream` | String used to define the type of instream video. Allowed values: Pre-roll: `pre-roll`; Mid-roll: `mid-roll` ; Post-roll: `post-roll`. | `string` |

#### Bid Config
#### PublisherId
Expand Down Expand Up @@ -80,6 +74,7 @@ pbjs.setBidderConfig({
|---------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|------------------|
| `placementId` | optional | An ID which identifies this placement of the impression. | `'adot_placement_224521'` | `string` |
| `parallax` | optional (only for prebid-server) | Specify if the wanted advertising's creative is a parallax. | `true/false` | `boolean` |
| `placementPath` | optional | Specific to each integration. Do not use until asked by someone from adot. | `/hubvisor` | `string` |

#### Testing Bid Request

Expand Down