From d6d05cfef5ea9e9ff63722a64bf074f376300983 Mon Sep 17 00:00:00 2001 From: Olivier Sazos Date: Thu, 16 May 2024 11:21:19 +0200 Subject: [PATCH] Add Adagio Rtd Provider doc --- dev-docs/modules/adagioRtdProvider.md | 69 +++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 dev-docs/modules/adagioRtdProvider.md diff --git a/dev-docs/modules/adagioRtdProvider.md b/dev-docs/modules/adagioRtdProvider.md new file mode 100644 index 0000000000..5be1d4073e --- /dev/null +++ b/dev-docs/modules/adagioRtdProvider.md @@ -0,0 +1,69 @@ +--- +layout: page_v2 +title: Adagio Rtd Module +display_name: Adagio Rtd Module +description: The Adagio Rtd module computes and collects data required to leverage Adagio viewability and attention prediction engine. +page_type: module +module_type: rtd +module_code : adagioRtdProvider +enable_download : true +vendor_specific: true +sidebarType : 1 +--- + +# Adagio Realtime Module + +{:.no_toc} + +* TOC +{:toc} + +## Overview + +This module can be used in combination with [Adagio Bid Adapter](/dev-docs/bidders/adagioBidAdapter.md) (SSP) and/or with Adagio prebid server endpoint. +It computes and collects data required to leverage Adagio viewability and attention prediction engine. + +Please contact [contact@adagio.io](contact@adagio.io) for more information. + +## Configuration + +This module is configured as part of the `realTimeData.dataProviders` object. + +```javascript +pbjs.setConfig({ + realTimeData: { + dataProviders:[{ + name: 'adagio', + params: { + organizationId: '1000', // Required. Provided by Adagio + site: "my-site" // Required. Provided by Adagio + } + }] + } +}); +``` + +Syntax details: + +{: .table .table-bordered .table-striped } +| Name | Scope | Description | Example | Type | +|-------------------------|----------|-----------------------------------------------|-------------|----------| +| `name` | required | Real time data module name: Always `'adagio'` | `'adagio'` | `string` | +| `params` | required | | | `Object` | +| `params.organizationId` | required | Account id provided by Adagio. | `'1000'` | `string` | +| `params.site` | required | Account site name provided by Adagio. | `'my-site'` | `string` | + + +## Installation + +To install the module, follow these instructions: + +- Contact Adagio to get an account + +- Build the prebid.js file + + - Option 1: Use Prebid [Download](/download.html) page to build the prebid package. Ensure that you do check *Adagio* in Bidder Adapters and *Adagio Rtd Module* in Vendor-Specific Modules + + - Option 2: From the command line, run `gulp build --modules=adagioBidAdapter,rtdModule,adagioRtdProvider,...` + +- Enable Adagio Real Time Module using `pbjs.setConfig`. Example is provided in Configuration section. \ No newline at end of file