In your OpenRTB bid request builder, populate the regs object: set regs.gdpr = 1 for EEA traffic and regs.us_privacy for CCPA traffic (using the legacy 4-character US Privacy string, e.g., '1YNN' for opted-in-to-sale).
For TCF v2.2, set regs.ext.consent (or regs.ext.consents per your exchange's schema) to the base64url-encoded TC String retrieved from the __tcfapi or euconsent-v2 cookie.
For GPP, populate regs.gpp with the GPP string and regs.gpp_sid with the array of active section IDs (e.g., [2] for TCFEUV2, [7] for USPNATV1, [8] for California USCA).
Set user.ext.consent to the same TC String for DSP-side parsing, and user.eids only for users who have granted consent for personal data use under the applicable framework.
Validate bid requests in a staging environment by logging incoming requests from DSPs and confirming they parse the regs and user consent fields correctly before going live.
For server-side header bidding (e.g., via Prebid Server), pass the consent strings in the bidderRequest.gdprConsent.consentString parameter in your Prebid configuration, which Prebid Server maps to the OpenRTB fields automatically.
Known gotchas
The legacy US Privacy string (4-character IABUSA string) is being deprecated in favor of GPP US-state sections; some DSPs still expect the legacy field in regs.us_privacy — check each DSP's integration documentation for which format they accept.
Sending user.eids (identity resolution IDs) for users who have not consented under TCF Purpose 1 (device access) violates TCF policy and may result in your supply being flagged by DSPs or rejected by IAB-certified exchanges.
GPP gpp_sid must accurately list all active sections; an incomplete gpp_sid causes DSPs to ignore sections that are present in the gpp string — always derive gpp_sid programmatically from the sections your CMP has populated.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp