Skip to content

Commit

Permalink
adding partnerId and changing publisherId by partnerId
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaso committed Jul 1, 2022
1 parent 069acf7 commit 9c645ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dev-docs/analytics/audigent.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The Audigent privacy policy is at [https://audigent.com/privacypolicy/](https://
| Parameter | Scope | Type | Description | Example |
| --- | --- | --- | --- | --- |
| provider | Required | String | The name of this module: `hadronAnalytics` | `hadronAnalytics` |
| options.publisherID | Required | Number | Audigent's PublisherID | `1234` |
| options.partnerID | Required | Number | This is the Audigent Partner ID obtained from Audigent. | `1234` |
| options.eventsToTrack | Required | Array of strings | Filters the set of tracked events | `['auctionEnd','bidWon']` |


Expand Down
14 changes: 3 additions & 11 deletions dev-docs/modules/hadronRtdProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ pbjs.setConfig(
waitForIt: true,
params: {
segmentCache: false,
requestParams: {
publisherId: 1234
}
partnerId: 1234
}
}
]
Expand All @@ -82,7 +80,7 @@ pbjs.setConfig(
| params | Object | | |
| params.handleRtd | Function | A passable RTD handler that allows custom adunit and ortb2 logic to be configured. The function signature is (bidConfig, rtd, rtdConfig, pbConfig) => {}. | Optional |
| params.segmentCache | Boolean | This parameter tells the Hadron RTD module to attempt reading segments from a local storage cache instead of always requesting them from the Audigent server. | Optional. Defaults to false. |
| params.requestParams | Object | Publisher partner specific configuration options, such as optional publisher id and other segment query related metadata to be submitted to Audigent's backend with each request. Contact prebid@audigent.com for more information. | Optional |
| params.partnerId | Number | This is the Audigent Partner ID obtained from Audigent. | Required |
| params.hadronIdUrl | String | Parameter to specify alternate hadronid endpoint url. | Optional |

## Publisher Customized RTD Handling
Expand Down Expand Up @@ -119,9 +117,7 @@ pbjs.setConfig(
}
},
segmentCache: false,
requestParams: {
publisherId: 1234
}
partnerId: 1234
}
}
]
Expand All @@ -144,7 +140,3 @@ To view an example of available segments returned by Audigent's backends:
and then point your browser at:

`http://localhost:9999/integrationExamples/gpt/hadronRtdProvider_example.html`




4 changes: 4 additions & 0 deletions dev-docs/modules/userId.md
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,9 @@ pbjs.setConfig({
storage: {
name: 'hadronId',
type: 'html5'
},
params: {
partnerId: 1234
}
}]
}
Expand All @@ -816,6 +819,7 @@ The following configuration parameters are available:
| params | Optional | Object | Used to store params for the HadronId system |
| params.url | Optional | String | Set an alternate GET url for HadronId with this parameter |
| params.urlArg | Optional | Object | Optional url parameter for params.url |
| params.partnerId | Required | Number | This is the Audigent Partner ID obtained from Audigent. |

### ID+

Expand Down

0 comments on commit 9c645ea

Please sign in to comment.