forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oxxion Rtd Module: add bid filtering (prebid#10100)
* oxxion Filtering * fix test while video is activated * fix init * add details * fix typo * remove md5
- Loading branch information
1 parent
9e6f4b1
commit 7708f16
Showing
3 changed files
with
256 additions
and
16 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
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 |
---|---|---|
|
@@ -7,12 +7,12 @@ Maintainer: [email protected] | |
# Oxxion Real-Time-Data submodule | ||
|
||
Oxxion helps you to understand how your prebid stack performs. | ||
This Rtd module is to use in order to improve video events tracking. | ||
This Rtd module is to use in order to improve video events tracking and/or to filter bidder requested. | ||
|
||
# Integration | ||
|
||
Make sure to have the following modules listed while building prebid : `rtdModule,oxxionRtdProvider` | ||
`rtbModule` is required to activate real-time-data submodules. | ||
`rtdModule` is required to activate real-time-data submodules. | ||
For example : | ||
``` | ||
gulp build --modules=schain,priceFloors,currency,consentManagement,appnexusBidAdapter,rubiconBidAdapter,rtdModule,oxxionRtdProvider | ||
|
@@ -23,14 +23,16 @@ Then add the oxxion Rtd module to your prebid configuration : | |
pbjs.setConfig( | ||
... | ||
realTimeData: { | ||
auctionDelay: 200, | ||
auctionDelay: 300, | ||
dataProviders: [ | ||
{ | ||
name: "oxxionRtd", | ||
waitForIt: true, | ||
params: { | ||
domain: "test.endpoint", | ||
contexts: ["instream"], | ||
threshold: false, | ||
samplingRate: 10, | ||
} | ||
} | ||
] | ||
|
@@ -39,10 +41,23 @@ pbjs.setConfig( | |
) | ||
``` | ||
|
||
# setConfig Parameters | ||
# setConfig Parameters General | ||
|
||
| Name | Type | Description | | ||
|:---------------------------------|:---------|:------------------------------------------------------------------------------------------------------------| | ||
| domain | String | This string identifies yourself in Oxxion's systems and is provided to you by your Oxxion representative. | | ||
|
||
# setConfig Parameters for Video Tracking | ||
|
||
| Name | Type | Description | | ||
|:---------------------------------|:---------|:------------------------------------------------------------------------------------------------------------| | ||
| contexts | Array | Array defining which video contexts to add tracking events into. Values can be instream and/or outstream. | | ||
|
||
# setConfig Parameters for bidder filtering | ||
|
||
| Name | Type | Description | | ||
|:---------------------------------|:-----------|:------------------------------------------------------------------------------------------------------------| | ||
| threshold | Float/Bool | False or minimum expected bid rate to call a bidder (ex: 1.0 for 1% bid rate). | | ||
| samplingRate | Integer | Percentage of request not meeting the criterias to run anyway in order to check for any change. | | ||
| bidders | Array | Optional: If set, filtering will only be applied to bidders listed. | ||
|
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