Skip to content

Skip all remaining available bidders if priority-groups-only set to true#4764

Open
anishb-ms wants to merge 3 commits into
prebid:masterfrom
anishb-ms:cookie-sync-priority-groups-only
Open

Skip all remaining available bidders if priority-groups-only set to true#4764
anishb-ms wants to merge 3 commits into
prebid:masterfrom
anishb-ms:cookie-sync-priority-groups-only

Conversation

@anishb-ms
Copy link
Copy Markdown

@anishb-ms anishb-ms commented May 4, 2026

Adds a new priority_groups_only account-level configuration option for cooperative cookie syncing. When enabled, only requested bidders and bidders from priority groups are included in the sync — the default behavior of appending all remaining available bidders is skipped.

Changes:

account.go — Added PriorityGroupsOnly *bool to CookieSync struct
chooser.go — Added PriorityGroupsOnly field to Cooperative struct
bidderchooser.go — Conditionally skip appending all available bidders when flag is set
cookie_sync.go — Wire account config into the cooperative sync request
Tests added for all modified packages

#4747

@anishb-ms anishb-ms marked this pull request as ready for review May 4, 2026 09:59
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.

1 participant