Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 972 Bytes

liveIntentRtdProvider.md

File metadata and controls

45 lines (33 loc) · 972 Bytes

Overview

Module Name: LiveIntent Provider Module Type: Rtd Provider Maintainer: [email protected]

Description

This module extracts segments from bidRequest.userId.lipb.segments enriched by the userID module and injects them in ortb2.user.data array entry.

Please visit LiveIntent for more information.

Testing

To run the example and test the Rtd provider:

gulp serve --modules=appnexusBidAdapter,rtdModule,liveIntentRtdProvider,userId,liveIntentIdSystem

Open chrome with this URL: http://localhost:9999/integrationExamples/gpt/liveIntentRtdProviderExample.html

To run the unit test:

gulp test --file "test/spec/modules/liveIntentRtdProvider_spec.js"

Integration

gulp build --modules=userId,liveIntentIdSystem,rtdModule,liveIntentRtdProvider
pbjs.setConfig({
  realTimeData: {
    dataProviders:[{
      name: 'liveintent',
      waitForIt: true
    }]
  }
});