The InsurAds real-time data module enables publishers to leverage contextual targeting and audience segmentation capabilities. This module fetches real-time key-value targeting data from the InsurAds services and automatically enriches InsurAds bid requests enhancing your advertising strategies without requiring additional code changes.
Compile the InsurAds RTD Module along with the InsurAds bid adapter and other modules into your Prebid build:
gulp build --modules="rtdModule,insuradsRtdProvider,insuradsBidAdapter,..."
Use setConfig to instruct Prebid.js to initialize the InsurAds RTD module, as specified below.
This module is configured as part of the realTimeData.dataProviders
pbjs.setConfig({
realTimeData: {
auctionDelay: 2000,
dataProviders: [{
name: 'insuradsRtd',
waitForIt: true,
params: {
publicId: 'YOUR_PUBLIC_ID'
}
}]
}
});
| Name | Type | Description | Default |
|---|---|---|---|
| name | String | Real time data module name | Always ‘insuradsRtd’ |
| waitForIt | Boolean | Should be true if there’s an auctionDelay defined (optional) |
false |
| params | Object | ||
| params.publicId | String | Your InsurAds public ID (required) |