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

Infer additional consent flags & gate PS join IG #161

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

zapo
Copy link
Member

@zapo zapo commented Jan 13, 2025

This updates the the sdk to gate joinAdInterestGroups based on all the operations done by the iframe it injects:

  • device access
  • creating profiles for advertising purpose
  • measure advertising performance

To do so those consents are gathered depending on the detected jurisdiction similarly to existing "deviceAccess" flag but by looking up different purposes granted to either publisher or given vendor ID.
They default to be allowed (similarly to when we introduced device access) for backward compatibility.

Eventually those will be moved directly to the javascript running in the join iframe to degrade the behavior rather than gating it fully (eg if only measurement is denied, we would only prevent sharedStorage reporting worklet from running and not loose the join). This will also allow other integration points to benefit from consent handling (eg injecting the iframe directly rather than going through the SDK).

@zapo zapo changed the title Infer additional consent flags to gate PS join IG Infer additional consent flags & gate PS join IG Jan 13, 2025
@zapo zapo force-pushed the infer-additional-consent branch from 769b977 to 5c4c55d Compare January 14, 2025 14:59
@zapo zapo force-pushed the infer-additional-consent branch from 71b88f0 to d9f4bcc Compare January 14, 2025 22:18
@zapo zapo requested a review from jmarc101 January 14, 2025 22:18
Copy link

@jmarc101 jmarc101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went over it with @zapo. LGTM

@zapo zapo merged commit 58ebd32 into master Jan 15, 2025
7 checks passed
@zapo zapo deleted the infer-additional-consent branch January 15, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants