Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dev-docs/analytics/pubmatic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | int |
| 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
}
});
```
4 changes: 2 additions & 2 deletions dev-docs/modules/userid-submodules/pubmatic.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"` |
Expand All @@ -40,7 +40,7 @@ pbjs.setConfig({
userIds: [{
name: "pubmaticId",
params: {
publisherId: 123456 // Example ID
publisherId: "123456" // Example ID
},
storage: {
name: "pubmaticId",
Expand Down