51Degrees RTD submodule - example of usage
div-banner-native-1
div-banner-native-2
Testing/Debugging Guidance
- Make sure you have
debug: true under pbjs.setConfig in this example code (be sure to remove it for production!)
- Make sure you have replaced
<YOUR RESOURCE KEY> in this example code with the one you have obtained
from the 51Degrees Configurator Tool
- Replace the placeholder
tdlUrl in the example with your real TDL endpoint
- Pick a marketing preference in the PMP CMP overlay when it appears; the module reads
localStorage['__51d_pmp_pref'] to derive the cloud's id.usage evidence
- Open DevTools Console in your browser and refresh the page
- Observe the enriched ORTB shown below:
device, device.geo, and user.eids. Also check the console for [51Degrees RTD Submodule]: reqBidsConfigObj:
Enriched ORTB2 device data
user.eids