Configure GDPR / TCF consent enforcement
Set the network's GDPR policy and no-consent restriction so the ad server honours IAB TCF 2.x consent — refusing to serve, or serving with cookies and identifying data stripped — choose what a request without consent still gets, pass the privacy signals on to DSPs, and read the per-request verdict out of a troubleshooting log task.
The ad server can decide, per ad request, whether the visitor consented under the IAB Transparency & Consent Framework — and if not, either refuse to serve or serve with cookies and identifying data stripped. You set that once, on one card, for the whole network. Out of the box the policy is Default: GDPR does not affect ad serving at all, and every visitor is served with cookies, whether or not a consent string arrived.
Example. Northwind Media gets 35% of its impressions from EEA visitors, and its publishers’ CMPs report that about 1 in 5 of those visitors declines. With the policy at Require IAB consent and the restriction Do not use any cookies, the 7% of impressions that are EEA no-consent still serve — but without any cookie, so no frequency cap, retargeting or cookie sync runs for them. With Do not serve ads instead, those 7% get no banner at all, and only the troubleshooting log says why.
Typical scenarios
| You want | Set | What happens to an EEA visitor without consent |
|---|---|---|
| Keep serving everyone, but set no cookie without consent | GDPR policy Require IAB consent, No-consent restriction Do not use any cookies | The ad serves; no cookie is set or read; server-side capping still works; IP, geo and user agent stay intact |
| Serve, and keep nothing that identifies the visitor | Require IAB consent, Do not use any cookies or server-side processing | The ad serves anonymised: IP truncated, geo cut to country, user agent replaced, no user id, DSPs get no identifiers |
| Serve nothing without consent | Require IAB consent, Do not serve ads | No banner is selected; the request is anonymised in the logs |
| Keep your direct campaigns on no-consent traffic, but keep OpenRTB demand out of it | A cookie-only restriction and Restrict DSP mediation ticked | Direct creatives win; OpenRTB creatives are dropped from the auction |
| Treat a Global Privacy Control opt-out as “no” even when the CMP said “yes” | Honour GPC opt-out signal | A request with gpc=1 or Sec-GPC: 1 in GDPR scope fails consent before anything else is checked |
| Let DSPs see the consent string, US Privacy, GPP and COPPA flags | Pass privacy signals to DSPs (works under Default too) | The bid request carries regs.gdpr, user.consent, regs.us_privacy, regs.gpp, regs.coppa |
| Stop cookies on one site while its own banner is still open — no TCF CMP involved | data-cookie-policy="1" on that site’s tag | Cookies and server-side capping are off for that request, whatever the network policy says — see How do I stop Epom setting cookies until the visitor consents? |
Step by step
-
Go to Admin → Ad serving → System preferences and scroll to the last card, GDPR (TCF 2.x Supported, Epom Vendor ID = 849). The whole page needs the System Preferences admin permission; there is no GDPR-only permission.

-
Set GDPR policy to Require IAB consent. Default leaves ad serving alone; Require IAB consent switches enforcement on and enables the rest of the card.
-
Pick a No-consent restriction — the decision that matters, see What “no consent” actually costs. The select is disabled while the policy is Default, and the save is rejected if you leave it empty with the policy at Require IAB consent. If consent strings are not flowing yet, start with a cookie-only restriction, not Do not serve ads.
-
Check the IAB vendor id. It prefills to 849 whether or not a value has ever been stored, and is required once the policy is Require IAB consent. Leave it at 849 unless your network has its own Global Vendor List registration.
-
Tick whichever of the five verification options apply — Restrict DSP mediation, Check disclosed vendors, Verify CMP against the IAB list, Enforce TCF policy version and Honour GPC opt-out signal. Min TCF policy version sits next to IAB vendor id and stays greyed out until Enforce TCF policy version is ticked; it takes 2–10 (
4= TCF v2.2). All five are off as shipped. -
Tick Pass privacy signals to DSPs if programmatic demand should receive the privacy signals the request carried — see Pass privacy signals to DSPs. It is editable under every policy, Default included.
-
Click Save. A green Done toast means the card was stored; a refused save shows an error toast and marks the field to fix. The save is recorded in the Actions log. The ad servers pick the change up within a minute; there is no button to apply it sooner.
-
Confirm on real traffic: run a troubleshooting log task over an EEA placement for a few minutes and look for the
TCF Consent Info: …line on each request —vendorConsent=trueis a pass,vendorConsent=falsemeans your id is not in the string — and forNo banner can be selected due to failed GDPR policy constraints., which is a refusal under Do not serve ads.A refused request reads like this in the downloaded log (the values are an example):
TCF Consent Info: version=2, cmpId=10, vendorId=849, vendorConsent=false, vendorDisclosed=true, vendorLI=false, checkDisclosedVendors=false, purposes=[1,2,3,4,7,9,10] No banner can be selected due to failed GDPR policy constraints.
Every field, the decision order, the request signals and the macros are in the GDPR / TCF consent reference.
Caveats and exceptions
- Only TCF 2.x is accepted. A string that decodes to any other version is treated as no
consent, silently. There is no TCF 1.1 support: the ad tag reads no
__cmp, and the/rest-api/tcf/1.1/…endpoints answer 404. - The string has to reach the ad request. The standard Epom JavaScript tag fetches one for
you: it looks for a
__tcfapiv2 CMP on the page (and, when the CMP lives in an ancestor frame, talks to it through the__tcfapiLocatorframe bypostMessage), waits up to 5 seconds, and sends the result asgdprandgdprConsentIab. You wire the string yourself only for server-to-server, VAST and header-bidding integrations, or when you put it on the tag asdata-gdpr-consent-iab— which makes the tag skip the CMP lookup entirely. - What is in scope. A request is in GDPR scope when it carries
gdpr=1; out of scope withgdpr=0; and with the parameter absent, in scope when it carries aucvalue at all, otherwise when the IP geolocates to a country on the EEA list. So the gate self-activates for European traffic even from tags that never send agdprflag. Clicks and the tracking hits that follow an ad land on the same side of the gate as the ad request. - The “EEA” list is configuration, and it is not literally the EEA. It ships with 32 country codes, and two of them — CH (Switzerland) and GB (United Kingdom) — are not EEA members; the UK is covered by its own UK GDPR. The list is a server-side setting, not in the UI: ask Epom support or your account manager to show or change it before you assume the gate covers exactly the countries you have in mind.
- A refused save stores nothing. Require IAB consent with an empty No-consent restriction, or an empty IAB vendor id, is rejected as a whole (Valid value is required), the field is marked and an error toast shows. Only a green Done means the card was saved — this holds for every card on the page.
- Under Default most of the card is locked. Only GDPR policy, Honour GPC opt-out signal and Pass privacy signals to DSPs can be edited; the rest is greyed out and keeps its stored values. To prepare enforcement, switch the policy to Require IAB consent first, then edit the rest and save together.
- Do not serve ads without strings flowing takes European delivery to zero. In-scope
requests with no string are no-consent by definition. Verify with a troubleshooting log task
that
TCF Consent Infolines are appearing before you pick the hard restriction; if they are not, pick a cookie-only restriction first. - A wrong IAB vendor id looks like a total consent failure. No string will ever grant a vendor you are not registered as, so every in-scope request reads as no-consent.
- Verify CMP against the IAB list accepts every
cmpIdwhile the IAB Europe Global CMP List has not been loaded yet; once loaded (it is refreshed daily) it rejects unknown and deleted ids. - Check disclosed vendors only works when the CMP actually emits the disclosed-vendors segment; when it does not, every string fails this check.
- Honour GPC opt-out signal outranks a valid consent string and
uc=1. A visitor who accepted everything in your CMP but sendsSec-GPC: 1is treated as no-consent — the intent (CPRA-style), but it visibly lowers your consent rate, so turn it on deliberately. It does nothing while the policy is Default, even though it is the one checkbox that saves in that state, and nothing for a request outside GDPR scope: a GPC signal alone does not bring a request into scope. - Restrict DSP mediation is independent of the restriction level. It drops OpenRTB
creatives from the auction for no-consent requests whatever the restriction says (excluded
with the reason
GDPR_MEDIATION_RESTRICTED); no other creative type is affected. You can serve direct creatives under a cookie-only restriction while pulling OpenRTB demand out — pick a serving restriction and tick the box. - A tag’s own cookie policy survives everywhere but one place.
data-cookie-policyon a tag asks for a cookie policy per request. GDPR overrides it only for in-scope requests that fail the consent check; every other request keeps whatever the tag asked for. - Privacy signals are forwarded, not enforced. With Pass privacy signals to DSPs on, a US opt-out or a COPPA flag reaches the DSP as it came; it does not by itself anonymise the bid request or change whether an ad is served — that is still the policy and restriction.
- Roles. Administrators get this card with System Preferences. Without it the sidebar entry is hidden and the page’s cards fail to load (403 Access denied). Network managers, publishers and advertisers cannot see or override consent enforcement; they see only the consequence — under Do not serve ads, EEA traffic without consent produces no impression and no error.
Not working?
| Symptom | Check | Where |
|---|---|---|
| EEA delivery dropped to (almost) zero after you saved | The restriction is Do not serve ads and no consent strings arrive. Look for TCF Consent Info lines; if a request shows only the refusal line, the string never reached it — a CMP or tag problem, not a settings problem. Switch to a cookie-only restriction while you fix the tag. | A troubleshooting log task on an EEA placement; the GDPR card |
| Every request reads as no-consent although the CMP reports high consent | IAB vendor id is not the id your network is registered as — keep 849 unless you have your own GVL registration. Or Check disclosed vendors is on and the CMP does not emit that segment: vendorDisclosed=false with checkDisclosedVendors=true in the log line. Or the string is not TCF 2.x. | The GDPR card; the TCF Consent Info line (version=, vendorId=, vendorDisclosed=) |
| Consent rate fell after you ticked Honour GPC opt-out signal | Expected: a GPC header or gpc=1 beats a valid consent string and uc=1. Untick it if that is not the policy you want. | The GDPR card |
| The save is refused with Valid value is required | No-consent restriction or IAB vendor id is empty while the policy is Require IAB consent. Fill it; the whole card is stored only on a green Done. | The GDPR card |
Cookies still appear with cookie-policy=1 on the tag | A format that fires a second ad request of its own (a video slider’s inner VAST, an outstream player) does not see the outer tag’s attribute. Put &cookie-policy=$$COOKIE_POLICY$$ on the inner request URL. | The creative or template’s inner request URL |
| Cookie sync stopped for some visitors | Expected under cookie-policy 1, 2 or 3, or under a no-consent restriction that forbids the user ID: the Epom user ID is not resolved, so the partner hop that exchanges it is skipped and $$UUID$$ stays empty. Under 3 the call still copies the plain data cookies across your domains; under 1 and 2 it sets nothing. | The tag’s data-cookie-policy and the /multi-cookie.* call’s cookie-policy; the GDPR card’s restriction |
| DSP creatives never win on no-consent EEA traffic | Under the two anonymising restrictions the bid request carries no user id, so a DSP whose Allow empty DSP UUID is off sits the auction out; with Restrict DSP mediation on, OpenRTB creatives are removed outright. Both are by design. | DSP partner parameters; the GDPR card |
The DSP says it gets no gdpr / us_privacy / gpp | Pass privacy signals to DSPs is off, or the partner’s OpenRTB version puts the fields under regs.ext / user.ext rather than regs / user. | The GDPR card; the DSP partner’s OpenRTB version |
| Sub-country geo or carrier targeting stops matching for some EEA visitors | Expected for anonymised requests: only the country survives the lookup. | The restriction on the GDPR card |
| The page shows 403 Access denied or the sidebar entry is missing | Your admin role lacks System Preferences. | Admin → Users & access → Admin roles & permissions |
Reference
The two decisions
| Field | What it does |
|---|---|
| GDPR policy — Default | GDPR does not affect ad serving at all. The restriction, the IAB vendor id and every verification option except GPC opt-out are ignored and greyed out. This is the shipped default. |
| GDPR policy — Require IAB consent | Enforcement is on. Every in-scope request is checked for consent for your vendor id, and a failing one gets the No-consent restriction. |
| No-consent restriction | What an in-scope, no-consent request gets. Four values, and only the first withholds the ad — see below. Required when the policy is Require IAB consent. |
The five consent-verification options — vendor id, Restrict DSP mediation, Check disclosed vendors, Verify CMP against the IAB list, Enforce TCF policy version with Min TCF policy version, Honour GPC opt-out signal — are described one by one in the reference, together with the order the checks run in and every request parameter the ad server reads.
The card is also read and changed by GET and POST /rest-api/system-preferences.do, under the
gdpr fields, and by the assistant’s system_preferences / system_preferences_set tools — the
same System Preferences permission. A consent option sent while the policy is Default is not
applied, exactly as it is not applied here; the call names it in ignoredFields rather than
answering a plain success.
What “no consent” actually costs
Three of the four restrictions still serve an ad. What changes is how much of the visitor the ad server is allowed to keep.
| Restriction | Ad served? | Cookies | Server-side capping | Request anonymised |
|---|---|---|---|---|
| Do not serve ads | No — no banner is selected at all | none | no | yes |
| Do not use UID cookies | yes | all except the user-identifier cookie | yes | no |
| Do not use any cookies | yes | none set or read | yes | no |
| Do not use any cookies or server-side processing | yes | none set or read | no — skipped, and noted in the troubleshooting log | yes |
Anonymised is the strong one, and it is the same treatment under both Do not serve ads and Do not use any cookies or server-side processing. For that request the ad server:
- truncates the IP — the last IPv4 octet becomes zero, in the request itself, in
X-Forwarded-For, and in everything logged. An IPv6 address loses its last group while the request is matched (IP ranges, click and impression fraud checks), and keeps only its first three groups (its /48) in everything logged and in the bid request DSPs receive; - keeps only country from geo — region, city, latitude, longitude and mobile carrier are discarded by the lookup, so sub-country geo targeting and carrier targeting cannot match;
- replaces the user agent with the literal string
GDPR, and skips OS and OS-version detection altogether; - drops the user id, so cookie-based capping and frequency counting have no subject;
- strips the identifying headers from server-side trackers —
X-Forwarded-For,X-Real-IPand the six high-entropy client hints (sec-ch-ua-model,-full-version-list,-full-version,-platform-version,-arch,-bitness) are not forwarded to the tracker URL. See Server-side trackers; - withholds the identifiers from DSPs — the OpenRTB bid request carries the truncated IP and
the
GDPRuser agent, and no user id, advertising id (device.ifa), synced buyer id (user.buyeruid), bidder data the DSP keeps in our cookie (user.customdata) or coordinates the tag passed. A DSP creative whose Allow empty DSP UUID parameter is off therefore sits that auction out, as it does for any visitor its partner has not synced. See the OpenRTB integration reference.
The two cookie-only restrictions leave all of that intact — they change nothing but which cookies may be written and read.
Pass privacy signals to DSPs
Pass privacy signals to DSPs, the last checkbox on the card, decides whether programmatic demand hears the privacy signals the request carried. It is not a consent rule, so it stays editable and is saved under every policy, Default included. Off by default.
| Signal on the request | On: what the bid request carries (OpenRTB 2.6 partner) | On: older OpenRTB versions |
|---|---|---|
gdpr (stated, or inferred from the country) | regs.gdpr | regs.ext.gdpr |
gdprConsentIab | user.consent | user.ext.consent |
usPrivacy | regs.us_privacy | regs.ext.us_privacy |
gpp, gppSid | regs.gpp, regs.gpp_sid | regs.ext.gpp, regs.ext.gpp_sid |
coppa | regs.coppa | regs.coppa |
The version is the OpenRTB version set on the DSP partner. Off, none of
these fields is written. While it is off, the $$GDPR$$ and $$GDPR_CONSENT_IAB$$ macros in the
partner’s endpoint URL or custom parameters remain the only route — see
Passing consent downstream.
How do I stop Epom setting cookies until the visitor consents?
The network policy decides what happens to EU traffic without consent. A site can also switch cookies off per request, whatever the policy — while your own consent banner is still open, or on a site with no TCF CMP.
| Where the ad is requested | What to add |
|---|---|
| JavaScript tag | data-cookie-policy="1" on the tag element |
| VAST, native or API request URL | &cookie-policy=1 on the URL |
| A VAST or ad URL inside a creative or template (video slider, outstream, a wrapped partner tag) | &cookie-policy=$$COOKIE_POLICY$$, so the inner request inherits the outer one’s value |
cookie-policy values: 0 normal; 1 no cookies read or set and no server-side capping; 2
no cookies, server-side capping still on; 3 no user-ID cookie only, other cookies and capping
on. Any value other than 0 is carried into that ad’s impression and click URLs, so the tracking
hits stay cookie-free too. uc=0 / data-user-consent="0" is different: it marks the visitor as
not consenting, and the network’s no-consent Restriction decides what that means. What the
cookie beacons and cookie sync do under each value:
reference.
Related
- GDPR / TCF consent reference — every option, the decision order, the request signals, the macros and the troubleshooting log lines
- Admin area map
- Actions log and troubleshooting log tasks — where the save is recorded, and how to capture the consent verdict for real requests
- Macros —
$$GDPR$$and$$GDPR_CONSENT_IAB$$ - Configure DSP partners — where to put the macros for outbound demand
- Server-side trackers — the headers anonymity removes