Browse the help center

Privacy signals and ads.txt on your pages

Get consent and ads.txt right before traffic reaches your slots — what the Epom tag reads from your consent manager (TCF 2.x), what a visitor without consent gets, how US privacy signals are treated, the vendor ID (849) to list in your CMP, where your ads.txt lines come from and how the nightly check judges the live file — with a fix-it checklist.

How-to publisher network manager Account → Publishers → site → zone → placement → Ad tags & API

What it is and why

Before real traffic reaches your slots, two things outside the ad tag have to be right. The consent your visitors give in your consent manager has to reach the ad server — the Universal JS tag does that on its own for a TCF 2.x CMP — and your ads.txt has to authorise the network that sells your inventory, or buyers bid less or not at all. The tag behaves the same for every role; the lines come from your network, and the site’s Supply chain block that shows them (with Re-check now) needs the Site Supply Chain permission, which no stock role has — ask your network manager for the lines and the check.

Example. A German news site loads its CMP and the Epom tag on every page. A visitor accepts the banner: the tag waits for the CMP (at most 5 seconds), sends the TCF string with the request, and the slot fills with a normal ad. The next visitor declines. The request carries a string with no consent for vendor 849, and what that visitor gets is the network’s choice — on a network set to Do not serve ads the slot shows the placement’s Default code; on Do not use any cookies it shows an ad with no cookies. Meanwhile buyers crawling https://example.de/ads.txt find northwind-ads.example, 4831207, DIRECT and keep bidding.

Typical scenarios

You haveDoWhere
A website with EEA visitors and a TCF 2.x CMPAdd vendor 849 (or the ID your network gave you) to the CMP’s vendor list; load the CMP before the tag; nothing elseYour CMP; the page
A video player or outstream unit that loads its own VAST URLPut gdpr=1&gdprConsentIab=<string> on that URL — the player does not see the tag’s attributesThe VAST URL your player calls
An app that calls the ad APISend gdpr, gdprConsentIab (or your own verdict as uc), and usPrivacy / gpp / gppSid / coppa as request parameters; publish app-ads.txt on the developer websiteThe API request; the developer website listed on the store page
A page where your own logic already knows the verdictdata-user-consent="1" or "0" on the <ins> elementThe tag
A visitor who opted out under CCPA and your legal setup requires acting on itDo not load the tag for that visitor, or set data-cookie-policy — the ad server only passes usPrivacy on, it does not enforce itThe page
A new site going livePublish the lines from the site’s Supply chain section at https://<root domain>/ads.txt, then press Re-check now — or ask your network manager to, if the block is not on your roleAccount → Publishers → the site (the Site Supply Chain permission); your web server

Step by step

Two tasks, each on its own page: the consent signals your pages send, and the ads.txt file buyers read.

  1. Pass consent and privacy signals — list vendor 849 in your TCF 2.x CMP, load the CMP before the tag, pass the signals as parameters on URLs you build yourself, and test from a browser that accepted the banner. What the tag reads, what a visitor without consent gets and how US privacy signals are treated: Pass consent and privacy signals to the ad server.
  2. Publish your ads.txt — get the lines from your network manager (the site’s Supply chain section), publish them at https://<root domain>/ads.txt (or app-ads.txt on the developer website), then press Re-check now and confirm All lines present. Where the lines come from and what each check result means: Publish your ads.txt and app-ads.txt.

Caveats and exceptions

Who does what. As a publisher, everything on this page is on your pages and in your CMP; the consent policy and your ads.txt lines come from your network. As a network manager, send each publisher the lines from its site’s Supply chain section, watch the check result, and tell them which no-consent behaviour the network uses — the policy itself is set by your network administrator.

The tag-side caveats (data-gdpr-consent-iab, the 5-second CMP wait, players with their own VAST URL) are on Pass consent and privacy signals to the ad server; how the live file is fetched is on Publish your ads.txt and app-ads.txt.

Not working?

SymptomCheckWhere
EEA visitors get no ad, or an ad without cookiesThe visitor declined (or has not answered) and the network’s no-consent policy is Do not serve ads / a no-cookie option; or vendor 849 is missing from your CMP’s vendor listThe CMP’s vendor list; ask your network manager which policy applies
The first ad on a page carries no consent stringThe CMP answered after the 5-second waitYour CMP’s load order — load it before the tag
A slot sends no consent at alldata-gdpr-consent-iab is set from an empty variable, which also stops the CMP lookupThe tag’s <ins> attributes — remove the attribute
The video player’s requests carry no consentThe player loads its own VAST URL and never sees the tag’s attributesAdd gdpr / gdprConsentIab to the VAST URL
A string from an old-style CMP is ignoredOnly TCF 2.x strings count; any other version is treated as no consentYour CMP’s TCF version
Buyers under CCPA still get bidsusPrivacy is passed on, not enforcedStop the tag yourself for opted-out visitors
ads.txt check says File not found although the file is thereThe file is on a subdomain, the root domain answers a web page or an error, the redirect chain breaks the IAB rules, or bot protection refuses the check’s user agent (the status code is shown)https://<root domain>/ads.txt in a browser; your CDN / bot rules
Could not checkNo answer over HTTPS or HTTP, a timeout, or a host / redirect target that is not a public addressThe site’s DNS and hosting; the shown reason
Missing lines: N right after publishingThe result is from last night’s checkPress Re-check now (Site Supply Chain enabled)
A line is in the file but still reported missingThe account ID differs in case or spelling (domain and relationship are compared case-insensitively, the account ID exactly), or the line sits beyond the first 1 MBThe line character by character; the file size
No domain to checkThe site has no URL, or the app site has no Developer websiteThe site’s Basic info
The check result is not shown at allNo role on the network holds the Site Supply Chain permission, so the nightly check does not runAsk the administrator to grant it, enabled or read-only

Reference

Options and fields

Attributes go on the tag’s <ins> element; the request-parameter form is for VAST, API and other URLs you build yourself.

Tag attributeRequest parameterWhat it does
data-gdprgdpr1 = GDPR applies, 0 = it does not. Without it the CMP’s answer is used, then the visitor’s location.
data-gdpr-consent-iabgdprConsentIabThe TCF 2.x consent string. Set it and the tag stops asking the CMP.
data-user-consentucYour own verdict: 1 = consented, 0 = not. Overrides the consent string.
data-cookie-policycookie-policyCookies for this request, whatever the network setting: 0 normal; 1 no cookies and no server-side frequency counting; 2 no cookies; 3 no user-ID cookie only.
—usPrivacyThe IAB US Privacy string, such as 1YNN. Passed on, not enforced.
—gpp, gppSidThe IAB GPP string and the comma-separated ids of the sections that apply. Passed on, not enforced.
—coppa1 for child-directed traffic. Passed on, not enforced.
ItemValue
Epom’s IAB Global Vendor List ID849 (a network may check a different ID)
CMP wait5 seconds, then the request goes out with what it has
ads.txt checknightly, on networks where a role holds Site Supply Chain; Re-check now on demand; root domain, HTTPS then HTTP, redirects within the root domain + one hop, first 1 MB, user agent Mozilla/5.0 (compatible; ads.txt check)
RESTGET /rest-api/sites/{siteId}/ads-txt (lines and last check), POST /rest-api/sites/{siteId}/ads-txt/check (queue a re-check) — see Create and edit a site

Related pages

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.