From d0dda61cce8cfe830dacb4dd5dd01438056ab8f4 Mon Sep 17 00:00:00 2001 From: Vadym Shatov Date: Fri, 6 Jun 2025 17:19:46 +0300 Subject: [PATCH 1/4] Documentation for Adlane Real Time Data Provider Module --- dev-docs/modules/adlaneRtdProvider.md | 77 +++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 dev-docs/modules/adlaneRtdProvider.md diff --git a/dev-docs/modules/adlaneRtdProvider.md b/dev-docs/modules/adlaneRtdProvider.md new file mode 100644 index 0000000000..66edd76938 --- /dev/null +++ b/dev-docs/modules/adlaneRtdProvider.md @@ -0,0 +1,77 @@ +--- +layout: page_v2 +title: Adlane Real-Time Data Module +display_name: Adlane RTD +description: Adlane Real-Time Data Provider for Age Consent +page_type: module +module_type: rtd +module_code: Adlane Rtd +enable_download: true +vendor_specific: true +sidebarType: 1 +--- + +# Adlane RTD Provider + +## Overview + +The Adlane Real-Time Data (RTD) Provider automatically retrieves age consent 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). + +## Integration + +1. Compile the Adlane RTD Module into your Prebid build: + + ```bash + gulp build --modules=adlaneRtdProvider ... + ``` + +2. Use `setConfig` to instruct Prebid.js to initialize the AdlaneRtdProvider module, as specified below. + +## Configuration + +```javascript +pbjs.setConfig({ + realTimeData: { + auctionDelay: 1000, + dataProviders: [ + { + name: "adlaneRtd", + waitForIt: true, + } + ] + } +}); +``` + +## Parameters + +| Name | Type | Description | Default | +|-----------|---------|-----------------------------------------------|---------| +| name | String | Must be "adlaneRtd" | n/a | +| waitForIt | Boolean | Whether to wait for the module before auction | true | + +## Age Consent Data + +The module attempts to retrieve age consent data from the following sources, in order: + +1. AdlCmp API (if available) +2. Local storage + +The age consent data is added to the bid request in the following format: + +```javascript +{ + ortb2: { + user: { + ext: { + age_consent: { + status: 'accepted', //represents the age consent status. + id: "123456789123456789", //unique identifier for the consent decision // 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 consent decision was made + dob: "01-01-1980", //ISO 8601 date string (e.g., "01-01-1980") // Optional, represents the user's date of birth if provided + } + } + } + } +} +``` From 49c0ce8edc0d49b4f4e1b88fb6e202d10493e07a Mon Sep 17 00:00:00 2001 From: Vadym Shatov Date: Tue, 10 Jun 2025 12:23:18 +0300 Subject: [PATCH 2/4] Update Documentation for Adlane Real Time Data Provider Module --- dev-docs/modules/adlaneRtdProvider.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-docs/modules/adlaneRtdProvider.md b/dev-docs/modules/adlaneRtdProvider.md index 66edd76938..fa7daa749d 100644 --- a/dev-docs/modules/adlaneRtdProvider.md +++ b/dev-docs/modules/adlaneRtdProvider.md @@ -65,10 +65,9 @@ The age consent data is added to the bid request in the following format: user: { ext: { age_consent: { - status: 'accepted', //represents the age consent status. + 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 consent decision // 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 consent decision was made - dob: "01-01-1980", //ISO 8601 date string (e.g., "01-01-1980") // Optional, represents the user's date of birth if provided } } } From 6568a30c4b5bd344d4ed3189ee0a868b30833a03 Mon Sep 17 00:00:00 2001 From: Vadym Shatov Date: Fri, 13 Jun 2025 10:39:02 +0300 Subject: [PATCH 3/4] Update Documentation for Adlane Real Time Data Provider Module --- dev-docs/modules/adlaneRtdProvider.md | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/dev-docs/modules/adlaneRtdProvider.md b/dev-docs/modules/adlaneRtdProvider.md index fa7daa749d..ac75071c46 100644 --- a/dev-docs/modules/adlaneRtdProvider.md +++ b/dev-docs/modules/adlaneRtdProvider.md @@ -15,7 +15,7 @@ sidebarType: 1 ## Overview -The Adlane Real-Time Data (RTD) Provider automatically retrieves age consent 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). +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). ## Integration @@ -25,7 +25,7 @@ The Adlane Real-Time Data (RTD) Provider automatically retrieves age consent inf gulp build --modules=adlaneRtdProvider ... ``` -2. Use `setConfig` to instruct Prebid.js to initialize the AdlaneRtdProvider module, as specified below. +2. Use `setConfig` to instruct Prebid.js to initialize the adlaneRtdProvider module, as specified below. ## Configuration @@ -50,27 +50,27 @@ pbjs.setConfig({ | name | String | Must be "adlaneRtd" | n/a | | waitForIt | Boolean | Whether to wait for the module before auction | true | -## Age Consent Data +## Age Verification Data -The module attempts to retrieve age consent data from the following sources, in order: +The module attempts to retrieve age verification data from the following sources, in order: 1. AdlCmp API (if available) 2. Local storage -The age consent data is added to the bid request in the following format: +The age verification data is added to the bid request in the following format: ```javascript { - ortb2: { - user: { - ext: { - age_consent: { - 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 consent decision // 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 consent decision was made - } + 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 } - } - } + } + } + } } ``` From 7e1446fad967eb2179a759772e225b57fd1e1544 Mon Sep 17 00:00:00 2001 From: Vadym Shatov Date: Sat, 14 Jun 2025 12:09:49 +0300 Subject: [PATCH 4/4] Update Documentation for Adlane Real Time Data Provider Module --- dev-docs/modules/adlaneRtdProvider.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-docs/modules/adlaneRtdProvider.md b/dev-docs/modules/adlaneRtdProvider.md index e530deb9d3..955358d6bb 100644 --- a/dev-docs/modules/adlaneRtdProvider.md +++ b/dev-docs/modules/adlaneRtdProvider.md @@ -1,11 +1,11 @@ --- layout: page_v2 title: Adlane Real-Time Data Module -display_name: Adlane RTD +display_name: Adlane RTD Module description: Adlane Real-Time Data Provider for Age Verification page_type: module module_type: rtd -module_code: Adlane Rtd +module_code: adlaneRtdProvider enable_download: true vendor_specific: true sidebarType: 1 @@ -35,7 +35,7 @@ pbjs.setConfig({ auctionDelay: 1000, dataProviders: [ { - name: "adlaneRtd", + name: "adlane", waitForIt: true, } ] @@ -47,7 +47,7 @@ pbjs.setConfig({ | Name | Type | Description | Default | |-----------|---------|-----------------------------------------------|---------| -| name | String | Must be "adlaneRtd" | n/a | +| name | String | Must be "adlane" | n/a | | waitForIt | Boolean | Whether to wait for the module before auction | true | ## Age Verification Data