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

Dailymotion Bid Adaptor: initial release #3

Merged
merged 1 commit into from
Jan 22, 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
7 changes: 4 additions & 3 deletions modules/dailymotionBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Dailymotion prebid adapter.

Before calling this adapter, you need to set its configuration with a call to setConfig like this:

```
```javascript
config.setConfig({
dailymotion: {
api_key: 'test_api_key',
Expand All @@ -25,6 +25,7 @@ config.setConfig({
```

This call must be made before each auction. Here's a description of each parameter:

* `api_key` is your publisher API key. For testing purpose, you can use "dailymotion-testing".
* `position` parameter is the ad position in the video and must either be "preroll", "midroll" or "postroll".
* `xid` is the Dailymotion video identifier and should be provided to have better contextual data and higher fillrate.
Expand All @@ -33,7 +34,7 @@ This call must be made before each auction. Here's a description of each paramet

By setting the following configuration options, you'll get a constant response to any request to validate your adapter integration:

```
```javascript
config.setConfig({
dailymotion: {
api_key: 'dailymotion-testing',
Expand All @@ -46,7 +47,7 @@ Please note that failing to set these configuration options will result in the a

# Sample video AdUnit

```
```javascript
const adUnits = [
{
code: 'test-ad-unit',
Expand Down