Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 694 Bytes

dgkeywordRtdProvider.md

File metadata and controls

29 lines (23 loc) · 694 Bytes

Integration

  1. Compile the Digital Garage Keyword Module and Appnexus Bid Adapter into your Prebid build:
gulp build --modules="dgkeywordRtdProvider,appnexusBidAdapter,..."  
  1. 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

var DGKEYWORD_TIMEOUT = 1000;
pbjs.setConfig({
    realTimeData: {
        auctionDelay: DGKEYWORD_TIMEOUT,
        dataProviders: [{
            name: 'dgkeyword',
            waitForIt: true,
            params: {
                timeout: DGKEYWORD_TIMEOUT
            }
        }]
    }
});