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

Shaping rules module #12663

Open
patmmccann opened this issue Jan 15, 2025 · 3 comments
Open

Shaping rules module #12663

patmmccann opened this issue Jan 15, 2025 · 3 comments
Assignees

Comments

@patmmccann
Copy link
Collaborator

patmmccann commented Jan 15, 2025

https://docs.google.com/document/d/1LcUkGfWL4aKFys0MRSNjKgo8NML2gS3VUtf1GQFKF_4/edit?tab=t.0#heading=h.pmf1z9jap8my outlines a PBS module with analogous rules processing to the floors module to remove bidders from ad units. This issue is to track building a similar module for this project.

The sustainability committee will hash this out, but the general idea is a rules file could be defined with multiple models and a skiprate following the floors rules file json structure, will handle certain schema such as derivatives of Intl timezone such as

const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
, derivatives of useragent, etc.

It should also set analytics labels indicating which model was chosen or if there was a skip.

@dgirardi
Copy link
Collaborator

This has some overlap with activity controls. Perhaps it could be implemented as a module that translates that schema into activity rules?

@patmmccann
Copy link
Collaborator Author

This has some overlap with activity controls. Perhaps it could be implemented as a module that translates that schema into activity rules?

Could a bidder activity rule vary by ad unit?

@dgirardi
Copy link
Collaborator

Could a bidder activity rule vary by ad unit?

Not as of right now, but we could add the ad unit as a parameter.

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

No branches or pull requests

3 participants