The Geoedge Realtime module lets publishers block bad ads such as automatic redirects, malware, offensive creatives and landing pages. To use this module, you’ll need to work with Geoedge to get an account and customer key.
Disclosure: This module loads external code that is not open source and has not been reviewed by Prebid.org.
Build the geoedge RTD module into the Prebid.js package with:
gulp build --modules=geoedgeRtdProvider,...
Use setConfig to instruct Prebid.js to initilize the geoedge module, as specified below.
This module is configured as part of the realTimeData.dataProviders object:
pbjs.setConfig({
realTimeData: {
dataProviders: [{
name: 'geoedge',
params: {
key: '123123', // obtain your key from Geoedge support
bidders: {
'bidderA': true, // monitor bids form this bidder
'bidderB': false // do not monitor bids form this bidder.
},
wap: true
}
}]
}
});
Parameters details:
| Name | Type | Description | Notes |
|---|---|---|---|
| name | String | Real time data module name | Required, always ‘geoedge’ |
| params | Object | ||
| params.key | String | Customer key | Required, contact Geoedge to get your key |
| params.bidders | Object | Bidders to monitor | Optional, list of bidder to include / exclude from monitoring. Omitting this will monitor bids from all bidders. |
| params.wap | Boolean | Wrap after preload | Optional, defaults to false. Set to true if you want to monitor only after the module has preloaded the monitoring client. |
| params.outstream | Boolean | Monitor outstream video | Optional, defaults to false. Set to true to extend monitoring to outstream video bids. See Outstream video below. |
Video creatives are VAST rather than HTML, so they cannot be wrapped the way display creatives are.
With outstream: true the module instead wraps the bid’s own renderer.render and asks the
monitoring client whether the creative may run:
pbjs.setConfig({
realTimeData: {
dataProviders: [{
name: 'geoedge',
params: {
key: '123123',
outstream: true
}
}]
}
});
Behavior worth knowing before enabling it:
safeRenderer,
and bids whose VAST reaches a player straight from targeting or Prebid Cache, are left untouched.To view an integration example:
in your cli run:
gulp serve --modules=msftBidAdapter,geoedgeRtdProvider
in your browser, navigate to:
http://localhost:9999/integrationExamples/gpt/geoedgeRtdProvider_example.html