From 7d501ea8e1384c6c2548b7e304a68a4aa52f7482 Mon Sep 17 00:00:00 2001 From: eknis Date: Fri, 8 Jul 2022 20:32:58 +0900 Subject: [PATCH 1/2] add imRtdProvider doc --- dev-docs/modules/imRtdProvider.md | 73 +++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 dev-docs/modules/imRtdProvider.md diff --git a/dev-docs/modules/imRtdProvider.md b/dev-docs/modules/imRtdProvider.md new file mode 100644 index 0000000000..410f0b5471 --- /dev/null +++ b/dev-docs/modules/imRtdProvider.md @@ -0,0 +1,73 @@ +--- +layout: page_v2 +title: Intimate Merger Real time Data Provider +display_name: Intimate Merger Real-time Data Submodule +description: Intimate Merger Real-time Data Submodule +page_type: module +module_type: rtd +module_code : imRtdProvider +enable_download : true +sidebarType : 1 +--- + +# Intimate Merger Real time Data Provider +{:.no_toc} + +* TOC +{:toc} + +This module reads segments from [[Intimate Merger]] audience data platform and attaches them as targeting keys to bid requests. + +The audience data platform performs segmentation even in environments where 3rd party cookies are not available, but curretly only available in Japan. + + +## Usage + +Add it to your Prebid.js package with: + +`gulp build --modules=rtdModule,imRtdProvider` + +## Publisher Customized RTD Handling + +The following configuration parameters are available: + +``` +pbjs.setConfig( + ... + realTimeData: { + auctionDelay: 5000, + dataProviders: [ + { + name: "im", + waitForIt: true, + params: { + cid: 5126, // Set your Intimate Merger Customer ID here for production + setGptKeyValues: true + } + } + ] + } + ... +} +``` + +## Parameters + +{: .table .table-bordered .table-striped } +| Param under dataProviders | Scope | Type | Description | Example | +| --- | --- | --- | --- | --- | +| name | Required | String | The name of this module. | `"im"` | +| waitForIt | Optional | Boolean | Required to ensure that the auction is delayed until prefetch is complete. Defaults to false but recommended to true | `true` | +| params | Required | Object | Details of module params. | | +| params.cid | Required | Number | This is the Customer ID value obtained via Intimate Merger. | `5126` | +| params.setGptKeyValues | Optional | Boolean | This is set targeting for GPT/GAM. Default setting is true. | `true` | + +## Testing + +First, make sure to add the Intimate Merger submodule to your Prebid.js package with: + +`gulp serve --modules=rtdModule,imRtdProvider` + +and then point your browser at: + +`http://localhost:9999/integrationExamples/gpt/imRtdProvider_example.html` From 52a5133864f4386b159af91d78892aecf32a1946 Mon Sep 17 00:00:00 2001 From: eknis Date: Wed, 20 Jul 2022 18:24:04 +0900 Subject: [PATCH 2/2] add corp link --- dev-docs/modules/imRtdProvider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-docs/modules/imRtdProvider.md b/dev-docs/modules/imRtdProvider.md index 410f0b5471..7eee3bc60e 100644 --- a/dev-docs/modules/imRtdProvider.md +++ b/dev-docs/modules/imRtdProvider.md @@ -16,7 +16,7 @@ sidebarType : 1 * TOC {:toc} -This module reads segments from [[Intimate Merger]] audience data platform and attaches them as targeting keys to bid requests. +This module reads segments from [Intimate Merger](https://corp.intimatemerger.com/) audience data platform and attaches them as targeting keys to bid requests. The audience data platform performs segmentation even in environments where 3rd party cookies are not available, but curretly only available in Japan.