From 1076e16b729780e9151d35a7f08375c1ebb42e09 Mon Sep 17 00:00:00 2001 From: "asit.sahoo" Date: Fri, 4 Jul 2025 16:22:15 +0530 Subject: [PATCH 1/2] Updated doc for pubmatic analytics and id system --- dev-docs/analytics/pubmatic.md | 2 +- dev-docs/modules/userid-submodules/pubmatic.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-docs/analytics/pubmatic.md b/dev-docs/analytics/pubmatic.md index 40d252b8fa..0d6b417f1a 100644 --- a/dev-docs/analytics/pubmatic.md +++ b/dev-docs/analytics/pubmatic.md @@ -17,7 +17,7 @@ PubMatic team. Please reach out to your account team for more information. {: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |-------------|---------|--------------------|-----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|------------------| -| publisherId | required | The PubMatic Publisher ID | 1001 | int | +| publisherId | required | The PubMatic Publisher ID | 1001 | String | ### Example Configuration diff --git a/dev-docs/modules/userid-submodules/pubmatic.md b/dev-docs/modules/userid-submodules/pubmatic.md index eded7445e3..296fe7cc3e 100644 --- a/dev-docs/modules/userid-submodules/pubmatic.md +++ b/dev-docs/modules/userid-submodules/pubmatic.md @@ -25,7 +25,7 @@ The following configuration parameters are available: | --- | --- | --- | --- | --- | | name | Required | String | The name of this sub-module | `"pubmaticId"` | | params ||| Details for the sub-module initialization || -| params.publisherId | Required | Number | Publisher ID | `123456` | +| params.publisherId | Required | String | Publisher ID | `"123456"` | | storage ||||| | storage.name | Required | String | The name of the cookie or html5 local storage key | `"pubmaticId"` | | storage.type | Required | String | This is where the PubMatic user ID will be stored | `"cookie&html5"` (recommended) or `"html5"` or `"cookie"` | @@ -40,7 +40,7 @@ pbjs.setConfig({ userIds: [{ name: "pubmaticId", params: { - publisherId: 123456 // Example ID + publisherId: "123456" // Example ID }, storage: { name: "pubmaticId", From 2ba7cc4ffcd9b17dc9b7b25d5f57d018c7842fa5 Mon Sep 17 00:00:00 2001 From: "asit.sahoo" Date: Wed, 13 Aug 2025 16:37:51 +0530 Subject: [PATCH 2/2] Update pubmatic.md --- dev-docs/analytics/pubmatic.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-docs/analytics/pubmatic.md b/dev-docs/analytics/pubmatic.md index 0d6b417f1a..843acae59c 100644 --- a/dev-docs/analytics/pubmatic.md +++ b/dev-docs/analytics/pubmatic.md @@ -17,15 +17,15 @@ PubMatic team. Please reach out to your account team for more information. {: .table .table-bordered .table-striped } | Name | Scope | Description | Example | Type | |-------------|---------|--------------------|-----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|------------------| -| publisherId | required | The PubMatic Publisher ID | 1001 | String | +| publisherId | required | The PubMatic Publisher ID | "1001" | string | ### Example Configuration -``` +```javascript pbjs.enableAnalytics({ provider: 'pubmatic', options: { - "publisherId": 12345 // please contact PubMatic to get a publisherId for yourself + "publisherId": "12345" // please contact PubMatic to get a publisherId for yourself } }); ```