prebid-server icon indicating copy to clipboard operation
prebid-server copied to clipboard

Set the GPC extension

Open bretg opened this issue 1 year ago • 3 comments

The IAB has defined a new ORTB extension to carry the GPC flag. https://github.com/InteractiveAdvertisingBureau/openrtb/pull/99/files

Prebid Server needs to support this:

  1. If the incoming request already contains regs.ext.gpc, use that.
  2. Otherwise, if there's an HTTP header for Sec-GPC with a value of "1" or 1, set regs.ext.gpc to "1".
  3. Since PBS is already copying the header through, leave that functionality. The value will be available in both places. Someday we might be able to stop copying the header location once everyone's reading from ORTB.

bretg avatar May 04 '23 20:05 bretg