Skip to content

Commit

Permalink
Add adrelevantis bid adapter doc (#2329)
Browse files Browse the repository at this point in the history
* Create adrelevantis.md

* Update adrelevantis.md
  • Loading branch information
ghguo committed Sep 29, 2020
1 parent ac2e221 commit d1fcad9
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions dev-docs/bidders/adrelevantis.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
layout: bidder
title: Adrelevantis
description: Prebid Adrelevantis (adrelevantis.xyz) Bidder Adaptor
biddercode: adrelevantis
media_types: banner, video, native
pbjs: true
---

### Note:
This adapter is for displaying ads relevant to page content. Page content is analyzed dynamically in realtime to get its IAB Categories and keywords. The IAB Categories and keywords are sent as First Party Data of the bidder. DSP can, then, bid on the IAB Categories and keywords. You can find more info at (https://adrelevantis.xyz/2020/06/28/content-driven-header-bidding-with-prebid-js/).

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|-------------|---------|----------|
| `placementId` | required | Placement id | `234234` | `integer` |
| `cpm` | optional | forces bidder to insert custom cpm bid | 0.50 | `decimal` |

#### First Party Data
Page content is analyzed at DOMContentLoaded event. The results (keywords and categories) are set as fpd of the bidder prior to requesting bids.

```
pbjs.setBidderConfig({
bidders: ['adrelevantis'],
config: {
fpd: {
context: {
keywords: keywords,
data: {
category: categories
}
}
}
}
});
```

0 comments on commit d1fcad9

Please sign in to comment.