Skip to content

Commit

Permalink
.md file lint issue resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditi0101 committed Jan 22, 2024
1 parent cf02545 commit f178b49
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions dev-docs/bidders/dailymotion.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ ortb_blocking_supported: false

### Registration

To use the adapter with any non-test request, you first need to ask an API key from Dailymotion. Please contact us through **DailymotionPrebid.js@dailymotion.com**.
To use the adapter with any non-test request, you first need to ask an API key from Dailymotion. Please contact us through <DailymotionPrebid.js@dailymotion.com> .

This API key will ensure proper identification of your inventory and allow you to get real bids.

# Configuration options

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 @@ -38,6 +38,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 @@ -46,7 +47,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 @@ -59,7 +60,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 All @@ -76,5 +77,3 @@ const adUnits = [
}
];
```


0 comments on commit f178b49

Please sign in to comment.