Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebid SDK support for SharedID #1057

Open
bretg opened this issue Oct 11, 2024 · 2 comments
Open

Prebid SDK support for SharedID #1057

bretg opened this issue Oct 11, 2024 · 2 comments

Comments

@bretg
Copy link
Contributor

bretg commented Oct 11, 2024

As more of the ecosystem supports SharedID, it's time to consider adding support for it to PBSDK.

Proposal:

  1. Create a way for app developers to opt into having Prebid SDK generate a shared ID. e.g. Prebid global class function createSharedId()
  2. This function would need to check for permission:
    1. If LimitAdTracking (LMT) is set, there's no permission. Remove any previously stored SharedID value.
    2. If GDPR is in scope and there's not Purpose 1 consent, remove any previously stored SharedID value. See GDPR Device Access consent and reading/writing of cookies #375, involving gdprApplies and deviceAccessConsent.
    3. On iOS, if ATTS is other than 3, remove any previously stored SharedID value.
  3. If allowed to create SharedID and it doesn't already exist in device local storage, generate a UUID as per generateUUID in https://github.com/prebid/Prebid.js/blob/master/src/utils.js and stored it.
  4. When building the ORTB, check device local storage and append the following ORTB object to the user.eids array:
{
  "source": "pubcid.org",
   "uids": [{
            "id": 'SHAREDID_VALUE',
            "atype": 1
        }]
}
@jdwieland8282
Copy link
Member

Would Yahoo offer a legal opinion of how setting a SharediD on the device would comply with the various regulatory environments, ex. gdpr, cpra, etc..

@bretg bretg moved this from Triage to Ready for Dev in Prebid Mobile Prioritization Dec 18, 2024
@bretg
Copy link
Contributor Author

bretg commented Dec 18, 2024

Discussed in the Identity committee - flipped to ready-for-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready for Dev
Development

No branches or pull requests

2 participants