| layout | page_v2 |
|---|---|
| title | Adlane Real-Time Data Module |
| display_name | Adlane RTD Module |
| description | Adlane Real-Time Data Provider for Age Verification |
| page_type | module |
| module_type | rtd |
| module_code | adlaneRtdProvider |
| enable_download | true |
| vendor_specific | true |
| sidebarType | 1 |
The Adlane Real-Time Data (RTD) Provider automatically retrieves age verification information and adds it to the bid stream, allowing for age-appropriate ad targeting. This module does not have a Global Vendor List ID (GVL ID).
-
Compile the Adlane RTD Module into your Prebid build:
gulp build --modules=adlaneRtdProvider ...
-
Use
setConfigto instruct Prebid.js to initialize the adlaneRtdProvider module, as specified below.
pbjs.setConfig({
realTimeData: {
auctionDelay: 1000,
dataProviders: [
{
name: "adlane",
waitForIt: true,
}
]
}
});| Name | Type | Description | Default |
|---|---|---|---|
| name | String | Must be "adlane" | n/a |
| waitForIt | Boolean | Whether to wait for the module before auction | true |
The module attempts to retrieve age verification data from the following sources, in order:
- AdlCmp API (if available)
- Local storage
The age verification data is added to the bid request in the following format:
{
ortb2: {
regs: {
ext: {
age_verification: {
status: 'accepted', //The acceptance indicates that the user has confirmed they are 21 years of age or older (accepted/declined)
id: "123456789123456789", //unique identifier for the age verification // Optional
decisionDate: "2011-10-05T14:48:00.000Z", //ISO 8601 date string (e.g.,"2011-10-05T14:48:00.000Z") // Optional, represents the date when the age verification decision was made
}
}
}
}
}