Integral Ad Science(IAS) Real Time Data Module

Overview

Integral Ad Science(IAS) Real Time Data Module. Please contact Integral Ad Science(IAS) for information.

Integration

1) Compile Integral Ad Science(IAS) RTD Provider into your Prebid build:

`gulp build --modules=iasBidAdapter,iasRtdProvider`...

2) Use setConfig to instruct Prebid.js to initialize the IAS module, as specified below.

Configuration

This module is configured as part of the realTimeData.dataProviders object.

Configuration example for using RTD module with the ias provider:

  pbjs.setConfig({
    realTimeData: {
      dataProviders: [
        {
          name: 'ias',
          waitForIt: true,
          params: {
            pubId: '1234',
            keyMappings: {
              'id': 'ias_id'
            },
            pageUrl: 'https://integralads.com/test',
            adUnitPath: {
              'one-div-id': '/012345/ad/unit/path'
            }
          }
        }
      ]
    }

Parameters details:

Name Type Scope Description
pubId string required IAS publisher ID
keyMappings object optional map from the default IAS key-value ids to any necessary custom key-value id
pageUrl string optional URL of the external page (e.g. when prebid is called from inside an iframe) that IAS needs to classify
adUnitPath object optional map from the ad slot ids to their ad unit paths