-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add adrelevantis bid adapter doc (#2329)
* Create adrelevantis.md * Update adrelevantis.md
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} | ||
}); | ||
``` |