From d1fcad93cf9423317d25985b90e6f06275317c0d Mon Sep 17 00:00:00 2001 From: ghguo Date: Tue, 29 Sep 2020 18:02:23 -0400 Subject: [PATCH] Add adrelevantis bid adapter doc (#2329) * Create adrelevantis.md * Update adrelevantis.md --- dev-docs/bidders/adrelevantis.md | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dev-docs/bidders/adrelevantis.md diff --git a/dev-docs/bidders/adrelevantis.md b/dev-docs/bidders/adrelevantis.md new file mode 100644 index 0000000000..d291678721 --- /dev/null +++ b/dev-docs/bidders/adrelevantis.md @@ -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 + } + } + } + } +}); +```