-
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.
I want to add dgkeyword rtd module page. (#3016)
- Loading branch information
1 parent
09b14c4
commit d9fc0c3
Showing
1 changed file
with
58 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,58 @@ | ||
--- | ||
layout: page_v2 | ||
title: Digital Garage Keyword Module | ||
display_name: Digital Garage Keyword | ||
description: Digital Garage Keyword | ||
page_type: module | ||
module_type: rtd | ||
module_code : dgkeywordRtdProvider | ||
enable_download : true | ||
sidebarType : 1 | ||
--- | ||
|
||
# Digital Garage Keyword Module | ||
{:.no_toc} | ||
|
||
* TOC | ||
{:toc} | ||
|
||
## Integration | ||
|
||
1) Compile the Digital Garage Keyword Module and Appnexus Bid Adapter into your Prebid build: | ||
|
||
``` | ||
gulp build --modules="dgkeywordRtdProvider,appnexusBidAdapter,..." | ||
``` | ||
|
||
2) Use `setConfig` to instruct Prebid.js to initilize the dgkeyword module, as specified below. | ||
|
||
## Configuration | ||
|
||
This module is configured as part of the `realTimeData.dataProviders` | ||
|
||
```javascript | ||
var DGKEYWORD_TIMEOUT = 1000; | ||
pbjs.setConfig({ | ||
realTimeData: { | ||
auctionDelay: DGKEYWORD_TIMEOUT, | ||
dataProviders: [{ | ||
name: 'dgkeyword', | ||
waitForIt: true, | ||
params: { | ||
timeout: DGKEYWORD_TIMEOUT | ||
} | ||
}] | ||
} | ||
}); | ||
``` | ||
|
||
Syntax details: | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name |Type | Description | Notes | | ||
| :------------ | :------------ | :------------ |:------------ | | ||
| name | String | Real time data module name | Always 'dgkeyword' | | ||
| waitForIt | Boolean | Should be `true` if there's an `auctionDelay` defined (optional) | `false` | | ||
| params | Object | | | | ||
| params.timeout | Integer |timeout (ms)| 1000 | | ||
|