Skip to content

Commit 84ce1c6

Browse files
konduit-devalexander-kislitsynbretgMax Shevchenko
authored
Konduit Accelerate documentation (prebid#1945)
* Konduit Module initial documentation version. * re-ordering modules in left-nav * minor edits added the gulp build command, general wordsmithing * Updated konduit documentation * Updated konduit.md file * Reverted chacges in sidebar.yml Co-authored-by: Alexander Kislitsyn <[email protected]> Co-authored-by: bretg <[email protected]> Co-authored-by: Max Shevchenko <[email protected]>
1 parent 1fcddf6 commit 84ce1c6

File tree

3 files changed

+61
-29
lines changed

3 files changed

+61
-29
lines changed

dev-docs/modules/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ If you are looking for bidder adapter parameters, see [Bidders' Params]({{site.b
4747
| [**Freewheel**](/dev-docs/modules/freewheel.html) | Passes key value targeting to Freewheel SDK |
4848
| [**Google Ad Manager Video**](/dev-docs/modules/dfp_video.html) | Required for serving instream video through Google Ad Manager. |
4949
| [**IAB Category Translation**](/dev-docs/modules/categoryTranslation.html) | Converts IAB sub category to Ad server category for long-form videos. |
50-
| [**Konduit Accelerate**](/dev-docs/modules/konduit.html) | Module for serving instream video through Konduit Accelerate service. |
50+
| [**Konduit Accelerate**](/dev-docs/modules/konduit.html) | Provides Real Time Start Rate Performance per Bidder. |
5151

5252
## Testing and Debug Modules
5353

dev-docs/modules/konduit.md

Lines changed: 59 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,55 +8,86 @@ display_name : Konduit Accelerate
88
enable_download : true
99
sidebarType : 1
1010
---
11-
11+
1212
# Konduit Accelerate Module
1313
{:.no_toc}
14-
15-
The Konduit Accelerate module applies the [Konduit](http://konduit.me/) video acceleration optimization to a publisher’s existing Prebid setup. This optimization can reduce load times and increase ad starts. To install the module, follow these instructions:
16-
17-
14+
15+
The Konduit Accelerate module applies the [Konduit](https://konduitvideo.com/) video acceleration optimization to a publisher’s existing Prebid setup. This optimization provides publishers with tools to monetize previously lost revenue and drive higher fill rates on their video inventory.
16+
17+
To install the module, follow these instructions:
18+
1819
### Step 1: Prepare the base Prebid file
19-
20+
2021
Build your Prebid.js package in one of two ways:
21-
22-
1. Receive an email package from the Prebid [Download](/download.html) page.
23-
2. From the command line, run
22+
23+
- Receive an email package from the Prebid [Download](/download.html) page.
24+
25+
- From the command line, run
2426
`gulp build --modules=konduitWrapper,...`
25-
26-
27+
28+
2729
### Step 2: Implement module code on page
28-
30+
31+
- Add konduitId as config using `setConfig` prebid method (`pbjs.setConfig({ konduit: { konduitId: your_konduit_id } })`)
32+
2933
- Insert the Konduit module code in the source code of your page.
30-
The module exposes the `pbjs.adServers.konduit.buildVastUrl` function.
31-
- Provide input parameters to the function, including a bid to be accelerated (usually a winning bid) and Konduit-specific parameters (as shown in the sample code below).
32-
33-
34+
The module exposes the `pbjs.adServers.konduit.processBids` function.
35+
36+
- Provide input parameters to the function (all parameters are shown in the table below).
37+
38+
{: .table .table-bordered .table-striped }
39+
| Param | Type | Description | Default |
40+
|---+---+---+---+---|
41+
| bid | object | prebid object with VAST url that should be cached | if the bid parameter is not passed then first winning bid will be used |
42+
| adUnitCode | string | adUnitCode where a winner bid can be found | - |
43+
| timeout | number | max time to wait for Konduit response with cache key and kCpm data | 1000 |
44+
| callback | function | callback function is called once Konduit caches data for the bid. Arguments of this function are - `error` and `bids` (error should be `null` if Konduit request is successful). | - |
45+
46+
### Step 3: GAM related configuration
47+
48+
In order for Konduit’s module to be completely integrated, line item Creatives need to be adjusted in GAM.
49+
Please contact [[email protected]](mailto:[email protected]) for assistance.
50+
51+
Standard implementation requires only Creative VAST URL update with the following URL:
52+
```
53+
https://p.konduit.me/api/vastProxy?konduit_hb=1&konduit_hb_awarded=1&konduit_cache_key=%%PATTERN:konduit_cache_key%%&konduit_id=%%PATTERN:konduit_id%%
54+
```
55+
3456
### Sample Code
35-
57+
3658
We recommended using the Konduit module function call in the `bidsBackHandler` callback function.
37-
59+
3860
```javascript
3961
pbjs.que.push(function() {
62+
pbjs.setConfig({
63+
konduit: {
64+
konduitId: your_konduit_id,
65+
}
66+
});
4067
pbjs.addAdUnits(videoAdUnits);
4168
pbjs.requestBids({
4269
bidsBackHandler: function(bids) {
4370
var winnerBid = pbjs.getHighestCpmBids('videoAd')[0];
44-
45-
var vastTagUrl = pbjs.adServers.konduit.buildVastUrl({
71+
72+
pbjs.adServers.konduit.processBids({
4673
bid: winnerBid,
47-
params: {
48-
konduit_id: '{konduit_client_id}',
74+
adUnitCode: videoAdUnit[0].code,
75+
timeout: 1500,
76+
callback: function (error, bids) {
77+
var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
78+
...
79+
});
80+
81+
invokeVideoPlayer(videoUrl);
4982
}
5083
});
51-
52-
invokeVideoPlayer(vastTagUrl);
5384
}
5485
});
5586
});
5687
```
57-
58-
88+
89+
5990
## Further Reading
60-
91+
6192
[Getting Started Example]({{site.baseurl}}/dev-docs/getting-started.html)
62-
[Prebid.js for Video]({{site.baseurl}}/prebid-video/video-overview.html)
93+
[Prebid.js for Video]({{site.baseurl}}/prebid-video/video-overview.html)

overview/analytics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ There are several analytics adapter plugins available to track header bidding pe
2222
| [Google Analytics]({{site.baseurl}}/overview/ga-analytics.html) | Free up to a certain volume. See [terms](https://www.google.com/analytics/terms/) | [Website](https://www.google.com/analytics) |
2323
| Invisibly Analytics | Contact vendor | [Website](https://invisibly.com/) |
2424
| Kargo Analytics | Contact vendor | [Website](https://kargo.com/) |
25+
| Konduit Accelerate | Contact vendor | [Website](https://konduitvideo.com/) |
2526
| Livewrapped Analytics | Contact vendor | [Website](https://livewrapped.com/) |
2627
| LiveYield | Contact vendor | [Website](https://www.pubocean.com/liveyield) |
2728
| OpenX | Contact vendor | [Website](https://www.openx.com/publishers/header-bidding/) |

0 commit comments

Comments
 (0)