From f7ab597754741c1761718151a29d6119343bb4b9 Mon Sep 17 00:00:00 2001 From: Vadym Shatov Date: Thu, 5 Jun 2025 11:20:15 +0300 Subject: [PATCH 1/2] Documentation for Adline Real Time Data Provider Module --- dev-docs/modules/adlineRtdProvider.md | 76 +++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 dev-docs/modules/adlineRtdProvider.md diff --git a/dev-docs/modules/adlineRtdProvider.md b/dev-docs/modules/adlineRtdProvider.md new file mode 100644 index 0000000000..88fd607201 --- /dev/null +++ b/dev-docs/modules/adlineRtdProvider.md @@ -0,0 +1,76 @@ +--- +layout: page_v2 +title: Adline Real-Time Data Module +display_name: Adline RTD +description: Adline Real-Time Data Provider for Age Consent +page_type: module +module_type: rtd +module_code: adlineRtd +enable_download: true +vendor_specific: true +sidebarType: 1 +--- + +# Adline RTD Provider + +## Overview + +The Adline 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 Adline RTD Module into your Prebid build: + + ```bash + gulp build --modules=adlineRtdProvider ... + ``` + +2) Use `setConfig` to instruct Prebid.js to initialize the adlineRtdProvider module, as specified below. + +## Configuration + +```javascript +pbjs.setConfig({ + realTimeData: { + auctionDelay: 1000, + dataProviders: [ + { + name: "adlineRtd", + waitForIt: true, + } + ] + } +}); +``` +## Parameters + +| Name | Type | Description | Default | +|-----------|---------|----------------------------------------------|---------| +| name | String | Must be "adlineRtd" | 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 + } + } + } + } +} +``` \ No newline at end of file From a7b3f805db0cf55d9f85f94350a26dc6f68460df Mon Sep 17 00:00:00 2001 From: Vadym Shatov Date: Thu, 5 Jun 2025 12:30:43 +0300 Subject: [PATCH 2/2] Update Documentation for Adline Real Time Data Provider Module --- dev-docs/modules/adlineRtdProvider.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-docs/modules/adlineRtdProvider.md b/dev-docs/modules/adlineRtdProvider.md index 88fd607201..1179d798cc 100644 --- a/dev-docs/modules/adlineRtdProvider.md +++ b/dev-docs/modules/adlineRtdProvider.md @@ -25,7 +25,7 @@ The Adline Real-Time Data (RTD) Provider automatically retrieves age consent inf gulp build --modules=adlineRtdProvider ... ``` -2) Use `setConfig` to instruct Prebid.js to initialize the adlineRtdProvider module, as specified below. +2. Use `setConfig` to instruct Prebid.js to initialize the adlineRtdProvider module, as specified below. ## Configuration @@ -42,6 +42,7 @@ pbjs.setConfig({ } }); ``` + ## Parameters | Name | Type | Description | Default | @@ -73,4 +74,4 @@ The age consent data is added to the bid request in the following format: } } } -``` \ No newline at end of file +```