Skip to content

Commit

Permalink
adot: add the documentation for the bidder comnfig of prebid js (#2827)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giudici-a authored Apr 7, 2021
1 parent 0be8b50 commit a292f73
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions dev-docs/bidders/adot.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,42 @@ pbs: true
| `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

You can set a publisherId using `pbjs.setBidderConfig` for the bidder `adot`

#### Example

```javascript
pbjs.setBidderConfig({
bidders: ['adot'],
config: {
adot: {
publisherId: '__MY_PUBLISHER_ID__'
}
}
});
```

#### Specific publisher path

You can set a specific publisher path using `pbjs.setBidderConfig` for the bidder `adot`
The bidrequest will add this path to the bidder endpoint

#### Example

```javascript
pbjs.setBidderConfig({
bidders: ['adot'],
config: {
adot: {
publisherPath: '__MY_PUBLISHER_PATH__'
}
}
});
```


### Prebid server

Expand Down

0 comments on commit a292f73

Please sign in to comment.