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

Global Privacy Control (Firefox) is sent as integer #12435

Closed
linux019 opened this issue Nov 12, 2024 · 0 comments · Fixed by #12436
Closed

Global Privacy Control (Firefox) is sent as integer #12435

linux019 opened this issue Nov 12, 2024 · 0 comments · Fixed by #12436

Comments

@linux019
Copy link

Type of issue

Bug

Description

The issue is that this flag had added this to Prebid.js before it was approved for the ORTB specs.
The first proposal was with integer, but it was then changed and approved as string.

InteractiveAdvertisingBureau/openrtb#123
InteractiveAdvertisingBureau/openrtb#123 (comment)

Prebid server decodes it as string
https://github.com/prebid/prebid-server/blob/106f6e450a2f6ab3ce986299468b9f657f4a0826/openrtb_ext/request_wrapper.go#L1234

Steps to reproduce

Test page

Expected results

GPC should be a string in the auction request
"regs": {
"ext": {
"gpc": "1"
}
},

Actual results

Platform details

Only Firefox support GPC

deepSetValue(regs, 'ext.gpc', 1);

Other information

#8925

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

Successfully merging a pull request may close this issue.

1 participant