Glossary
Consent string
Published · Last updated
Next scheduled review:
A consent string is a compact, encoded record of a user's privacy choices, generated by a consent management platform and passed through the advertising chain, that tells each vendor which purposes the user has consented to or objected to and under which legal basis.
Two formats are in use. The TCF TC string, defined in IAB Europe's framework, encodes the version, creation and update timestamps, the consent management platform, the Global Vendor List version, purpose consents, purpose legitimate interests, vendor consents, vendor legitimate interests, publisher restrictions and, in v2.3, disclosed vendors (IAB Europe, TCF; TCF technical specifications on GitHub). The Global Privacy Platform (GPP) string, defined by IAB Tech Lab, is a container that carries sections for multiple jurisdictions, including TCF for the EU and the US state privacy sections, with a header that lists which sections are present (IAB Tech Lab, GPP Consent String Specification). IAB Tech Lab updated GPP and released DDRF v2 on 23 October 2025 (IAB Tech Lab, 23 October 2025).
In OpenRTB the GPP string goes in regs.gpp with the applicable section IDs in regs.gpp_sid, and the TC string in user.consent (OpenRTB 2.6, sections 3.2.3 and 3.2.20). A bidder must parse the string on every request, which is a QPS cost, and must log what it saw, which is a compliance cost; the consent string is also what the IAB Tech Lab Agent Registry ties to a company's GPP ID when an agent is registered (IAB Tech Lab, Agent Registry).
Example: "regs": { "gpp": "DBABMA~CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA", "gpp_sid": [2] } is a GPP string whose header (DBABMA) announces one section, section 2 (TCF EU), followed by the TC string.
Related: TCF, bid request, UID2, MHMDA.
Source: IAB Europe, TCF technical specifications; IAB Tech Lab, Global Privacy Platform Consent String Specification; OpenRTB 2.6.
Sources
Used in
- CNIL cookie rules: consent exemptions, the refuse-all button and every major cookie sanction
- Is contextual advertising outside GDPR and ePrivacy? Context fields, IP addresses and Article 5(3)
- Cookie banner rules by country: EU member states, the UK, Switzerland and US states compared
- Data residency requirements by country: what each law means for advertising data
- Data Sovereignty in Ad Tech: CLOUD Act, Residency, EU Stack
- First-Party Data Strategy for Publishers: 2026 Guide
- GDPR, ePrivacy and TCF 2.3 and 2.4 Consent Signals
- GPP and TCF implementation for engineers: how consent travels from the CMP to the bid request
- How Real-Time Bidding Works: The Ad Auction Step by Step, in Milliseconds
- Privacy Sandbox and Cookies: Identity Options for 2026
- Identity graph architecture: how to build a first-party identity graph
- Log-level data in programmatic: what you get and how to use it
- OpenRTB 2.6 explained: a bid request example, field by field
- OpenRTB 2.5 vs 2.6 vs 3.0: what changed, and which version the market actually uses
- Prebid Server Cookie Sync and User Sync Explained: /cookie_sync, /setuid and the uids Cookie
- RTB Display Ads in Email Newsletters: 2026 Benchmarks
- RTB Performance Strategies for First-Party Media Buyers
- Is a TCF consent string enough for GDPR? What the signal records and what it does not
- US State Privacy Laws Tracker 2027: Comprehensive Laws, Effective Dates and Ad Tech Rules
- Ad Tech Glossary
- AAMP (Agentic Advertising Management Protocols)
- Bid request
- CMP
- Consent mode
- CPNI (customer proprietary network information)
- EUID
- GPP
- Joint controller
- Legitimate interest
- MHMDA (Washington My Health My Data Act)
- TCF (Transparency and Consent Framework)
- Topics API
- UID2 (Unified ID 2.0)
- US Privacy String
- GPP consent string decoder: read every section of a Global Privacy Protocol string
- TCF 2.3 decoder: read any TC String, including the Disclosed Vendors segment
- Ad Tech Compliance: Guides, Comparisons and Tools
- Data Sovereignty: Guides, Comparisons and Tools
- Identity and Privacy: Guides, Comparisons and Tools
- RTB Architecture: Guides, Comparisons and Tools
- Open-source CMPs: Klaro and Orejime, and why neither is a TCF consent management platform