Skip to content

Latest commit

 

History

History
67 lines (54 loc) · 1.83 KB

File metadata and controls

67 lines (54 loc) · 1.83 KB
layout page_v2
title Integral Ad Science(IAS) Real Time Data Module
display_name Integral Ad Science(IAS) RTD
description RTD provider for Integral Ad Science(IAS)
page_type module
module_type rtd
module_code iasRtdProvider
enable_download true
vendor_specific true
sidebarType 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