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

PBS AMP endpoint support for GPP #3577

Open
bretg opened this issue Mar 18, 2024 · 2 comments
Open

PBS AMP endpoint support for GPP #3577

bretg opened this issue Mar 18, 2024 · 2 comments

Comments

@bretg
Copy link
Contributor

bretg commented Mar 18, 2024

AMP has added support for GPP consent as described in ampproject/amphtml#38628

The design is that RTC vendor strings will be enhanced to pass one more additional value:

&gpp_sid=CONSENT_METADATA(gppSectionId)

In addition to this new field, two existing fields can take new values: if the consent_type field is 4, then the consent_string value is formatted as a GPP string.

So basically this issue an extension to the original AMP consent issue #1817

  1. If consent_type==4
    1. if the consent_string query string parameter is present, copy the the value as a string to ORTB regs.gpp.
    2. if the gpp_sid query string parameter is present, check that the value is a comma-separated list of numbers and if so, copy the value as a string to ORTB regs.gpp_sid. If the validation fails, regs.gpp_sid should be empty.
    3. If in debug mode, any URL decode or validation issue should be emitted as a warning.

Note: GPP strings are supposed to be URL safe, so no decoding should be necessary.

@bretg bretg changed the title AMP support for GPP PBS AMP endpoint support for GPP Mar 18, 2024
@bretg
Copy link
Contributor Author

bretg commented Mar 18, 2024

FYI - the rubicon callout-vendor file update at ampproject/amphtml#39916

@bretg bretg moved this from Triage to Ready for Dev in Prebid Server Prioritization Mar 22, 2024
@bretg bretg added the PBS-Go label Dec 11, 2024
@bretg
Copy link
Contributor Author

bretg commented Dec 11, 2024

This was done with PBS-Java 3.3

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

No branches or pull requests

1 participant