FLoC ID
This module was removed in Prebid.js 7.0
The Federated Learning of Cohorts (FLoC) system provides a privacy-preserving mechanism for interest-based ad selection. As a user moves around the web, their browser uses the FLoC algorithm to work out an “interest cohort”, which will be the same for thousands of browsers with a similar recent browsing history. The user’s browser is associated with one interest cohort at a time and recalculates its cohort periodically (currently once every seven days during this initial origin trial) on the user’s device, without sharing individual browsing data with the browser vendor or anyone else.
There are two important things to note when using the FLoC Userid Sub adapter.
-
Unlike other user id subadapters FLoC ids cannot be stored in a cookie or Local Storage. FLoC ids change periodically and should always be fetched from the FLoC API
-
The function
(getGlobal()).getUserIds
returnsuserId.flocId.id=value
into the bid request NOTuserid.userIdAsEids
.
To include the FLoC user id module use:
$ gulp build --modules=flocIdSystem
Note: FLoC is still in a trial period. How to take part in the FLoC origin trial. During the trial, a token is required. Publishers may get their own token or use sharedid’s token if they choose. Use this without the line breaks: A3dHTSoNUMjjERBLlrvJSelNnwWUCwVQhZ5tNQ+sll7y+LkPPVZXtB77u2y7CweRIxiYaGw GXNlW1/dFp8VMEgIAAAB+eyJvcmlnaW4iOiJodHRwczovL3NoYXJlZGlkLm9yZzo0NDMiLC JmZWF0dXJlIjoiSW50ZXJlc3RDb2hvcnRBUEkiLCJleHBpcnkiOjE2MjYyMjA3OTksImlzU 3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9