Skip to content

Files

Latest commit

 

History

History
67 lines (54 loc) · 1.83 KB

iasRtdProvider.md

File metadata and controls

67 lines (54 loc) · 1.83 KB
layout title display_name description page_type module_type module_code enable_download vendor_specific sidebarType
page_v2
Integral Ad Science(IAS) Real Time Data Module
Integral Ad Science(IAS) RTD
RTD provider for Integral Ad Science(IAS)
module
rtd
iasRtdProvider
true
true
1

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:

{: .table .table-bordered .table-striped }

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