Skip to content

Conversation

@postindustria-code
Copy link
Contributor

Issue #3577

  • Add ConsentGPP constant (value 4) for GPP consent type
  • Add GppSid field to AMP Params struct for gpp_sid parameter
  • Create gpp.ConsentWriter in privacy/gpp package
  • Update ReadPolicy to handle ConsentGPP case
  • Add validateGppSid function for GPP SID validation
  • Set regs.gpp and regs.gppsid in OpenRTB request

When consent_type=4:

  • consent_string is copied to ORTB regs.gpp
  • gpp_sid is validated and copied to regs.gppsid
  • Invalid gpp_sid results in warning and nil gppsid

- Add ConsentGPP constant (value 4) for GPP consent type
- Add GppSid field to AMP Params struct for gpp_sid parameter
- Create gpp.ConsentWriter in privacy/gpp package
- Update ReadPolicy to handle ConsentGPP case
- Add validateGppSid function for GPP SID validation
- Set regs.gpp and regs.gppsid in OpenRTB request

When consent_type=4:
- consent_string is copied to ORTB regs.gpp
- gpp_sid is validated and copied to regs.gppsid
- Invalid gpp_sid results in warning and nil gppsid
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