UNPKG

mk9-prebid

Version:

Header Bidding Management Library

35 lines (28 loc) 1.91 kB
## FloC ID User ID Submodule ### Building Prebid with Floc Id Support Your Prebid build must include the modules for both **userId** and **flocIdSystem** submodule. Follow the build instructions for Prebid as explained in the top level README.md file of the Prebid source tree. ex: $ gulp build --modules=userId,flocIdSystem ### Prebid Params Individual params may be set for the FloC ID User ID Submodule. ``` pbjs.setConfig({ userSync: { userIds: [{ name: 'flocId', params: { token: "Registered token or default sharedid.org token" } }] } }); ``` ### Parameter Descriptions for the `userSync` Configuration Section The below parameters apply only to the FloC ID User ID Module integration. | Params under usersync.userIds[]| Scope | Type | Description | Example | | --- | --- | --- | --- | --- | | name | Required | String | ID value for the Floc ID module - `"flocId"` | `"flocId"` | | params | Optional | Object | Details for flocId syncing. | | | params.token | Optional | Object | Publisher registered token.To get new token, register https://developer.chrome.com/origintrials/#/trials/active for Federated Learning of Cohorts. Default sharedid.org token: token: "A3dHTSoNUMjjERBLlrvJSelNnwWUCwVQhZ5tNQ+sll7y+LkPPVZXtB77u2y7CweRIxiYaGwGXNlW1/dFp8VMEgIAAAB+eyJvcmlnaW4iOiJodHRwczovL3NoYXJlZGlkLm9yZzo0NDMiLCJmZWF0dXJlIjoiSW50ZXJlc3RDb2hvcnRBUEkiLCJleHBpcnkiOjE2MjYyMjA3OTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"| token: "A3dHTSoNUMjjERBLlrvJSelNnwWUCwVQhZ5tNQ+sll7y+LkPPVZXtB77u2y7CweRIxiYaGwGXNlW1/dFp8VMEgIAAAB+eyJvcmlnaW4iOiJodHRwczovL3NoYXJlZGlkLm9yZzo0NDMiLCJmZWF0dXJlIjoiSW50ZXJlc3RDb2hvcnRBUEkiLCJleHBpcnkiOjE2MjYyMjA3OTksImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9" | | storage | Not Allowed | Object | Will ask browser for cohort everytime. Setting storage will fail id lookup ||