From 89de0a01e1a34d329c914564195e1eb641e59781 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 4 Jul 2025 12:11:35 -0300 Subject: [PATCH 1/4] add documentation for 152media RTD module --- dev-docs/modules/oftmediaRtdProvider.md | 86 +++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 dev-docs/modules/oftmediaRtdProvider.md diff --git a/dev-docs/modules/oftmediaRtdProvider.md b/dev-docs/modules/oftmediaRtdProvider.md new file mode 100644 index 0000000000..11db4d5c5b --- /dev/null +++ b/dev-docs/modules/oftmediaRtdProvider.md @@ -0,0 +1,86 @@ +--- +layout: page_v2 +title: 152media RTD Module +display_name: 152media + +description: Real-time data enrichment from 152media +page_type: module +module_type: rtd +module_code : oftmediaRtdProvider +enable_download : true +sidebarType : 1 +--- + +# 152media (Oftmedia) Real-time Data Submodule + +{:.no_toc} + +* TOC +{:toc} + +## Overview + +The 152media Real-time Data (RTD) module enhances programmatic advertising performance by providing contextual and audience-based data at runtime. Integrated into Prebid.js, it enables publishers to: + +- Improve bid relevance with enriched targeting data +- Filter unqualified or low-value bid requests +- Leverage AI-based deal optimization + +This module is maintained by [152media](mailto:hello@152media.com) and requires the global `rtdModule` to function. + +## Usage + +### Build + +To include the 152media RTD module in your Prebid.js build: + +```bash +gulp build --modules="rtdModule,oftmediaRtdProvider" +```` + +> **Note:** `rtdModule` is required as a dependency. + +## Configuration + +Use `pbjs.setConfig` to initialize the 152media RTD module with the following syntax: + +```javascript +pbjs.setConfig({ + realTimeData: { + auctionDelay: 500, // Recommended setting + dataProviders: [ + { + name: "oftmedia", + waitForIt: true, // Ensures data is available before auction starts + params: { + publisherId: "0653b3fc-a645-4bcc-bfee-b8982974dd53", // Required: Get this ID from 152media + keywords: ["red", "blue", "white"], // Optional: Contextual keywords + bidderCode: "appnexus", // Required: Targeted bidder + enrichRequest: true // Optional: Adds additional targeting fields + } + } + ] + } +}); +``` + +## Parameters + +| Parameter | Type | Description | Default | +| ---------------------- | ---------------- | ------------------------------------------------------------ | ------------ | +| `name` | String | Always `"oftmedia"` | | +| `waitForIt` | Boolean | Ensures auction is delayed until data is ready | `false` | +| `params.publisherId` | String | Your unique Publisher ID provided by 152media | **Required** | +| `params.keywords` | Array of Strings | Contextual keywords for enhancing relevance | `[]` | +| `params.bidderCode` | String | Bidder code that should receive the enriched data | **Required** | +| `params.enrichRequest` | Boolean | Enriches the request object with extra targeting information | `false` | +| `params.timeout` | Integer (ms) | Timeout for data retrieval (optional) | `1000` | + +## Output + +When active, the module appends targeting and/or deal data into the ad unit targeting objects and/or modifies the request payload, depending on the configuration and support by the selected bidder. + +## Support + +For questions, help, or to obtain a publisher ID, please contact [hello@152media.com](mailto:hello@152media.com). + From cb741ede245fb993eec475eec33a36f610fcc4c3 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 4 Jul 2025 12:40:23 -0300 Subject: [PATCH 2/4] fix linting errors in 152media RTD module documentation --- dev-docs/modules/oftmediaRtdProvider.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-docs/modules/oftmediaRtdProvider.md b/dev-docs/modules/oftmediaRtdProvider.md index 11db4d5c5b..eb2f53fc2c 100644 --- a/dev-docs/modules/oftmediaRtdProvider.md +++ b/dev-docs/modules/oftmediaRtdProvider.md @@ -22,9 +22,9 @@ sidebarType : 1 The 152media Real-time Data (RTD) module enhances programmatic advertising performance by providing contextual and audience-based data at runtime. Integrated into Prebid.js, it enables publishers to: -- Improve bid relevance with enriched targeting data -- Filter unqualified or low-value bid requests -- Leverage AI-based deal optimization +* Improve bid relevance with enriched targeting data +* Filter unqualified or low-value bid requests +* Leverage AI-based deal optimization This module is maintained by [152media](mailto:hello@152media.com) and requires the global `rtdModule` to function. @@ -83,4 +83,3 @@ When active, the module appends targeting and/or deal data into the ad unit targ ## Support For questions, help, or to obtain a publisher ID, please contact [hello@152media.com](mailto:hello@152media.com). - From 215b5f65c253c582aef86e313eedd290092a1ce3 Mon Sep 17 00:00:00 2001 From: andy <49372179+arezitopedia@users.noreply.github.com> Date: Thu, 21 Aug 2025 10:25:04 -0300 Subject: [PATCH 3/4] Update dev-docs/modules/oftmediaRtdProvider.md Updat with disclaimer about external js file Co-authored-by: Muki Seiler --- dev-docs/modules/oftmediaRtdProvider.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-docs/modules/oftmediaRtdProvider.md b/dev-docs/modules/oftmediaRtdProvider.md index eb2f53fc2c..cc2214a587 100644 --- a/dev-docs/modules/oftmediaRtdProvider.md +++ b/dev-docs/modules/oftmediaRtdProvider.md @@ -28,6 +28,8 @@ The 152media Real-time Data (RTD) module enhances programmatic advertising perfo This module is maintained by [152media](mailto:hello@152media.com) and requires the global `rtdModule` to function. +{% include dev-docs/loads-external-javascript.md %} + ## Usage ### Build From 9a0910966cb18084f27f00fcb37ce0a503cc444c Mon Sep 17 00:00:00 2001 From: Muki Seiler Date: Thu, 21 Aug 2025 16:55:17 +0200 Subject: [PATCH 4/4] Update dev-docs/modules/oftmediaRtdProvider.md --- dev-docs/modules/oftmediaRtdProvider.md | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-docs/modules/oftmediaRtdProvider.md b/dev-docs/modules/oftmediaRtdProvider.md index cc2214a587..ababdb4866 100644 --- a/dev-docs/modules/oftmediaRtdProvider.md +++ b/dev-docs/modules/oftmediaRtdProvider.md @@ -2,7 +2,6 @@ layout: page_v2 title: 152media RTD Module display_name: 152media - description: Real-time data enrichment from 152media page_type: module module_type: rtd