Advertising vendor · Google LLC
Google Ads Cookies: List With Purpose and Retention
Last verified 2026-10-16 · Updated 2026-10-16
On this page
Cookies Google Ads Sets on Your Site
Google Ads sets up to 3 _gcl_ cookies on your domain, led by _gcl_au, plus the _gcl_ls local storage key, and Google sets its own cookies on doubleclick.net.
| Name | Type | Category | Party | Retention | What it does |
|---|---|---|---|---|---|
_gcl_au | Cookie | Advertising | First-party | 90 days (3 months) | The _gcl_au cookie is a Google Ads advertising cookie that links conversions to ad clicks for 90 days and needs consent in the EU. |
_gcl_aw | Cookie | Advertising | First-party | 90 days (3 months) | The _gcl_aw cookie stores the Google click ID (GCLID) of a visitor who clicked a Google ad, for 90 days. |
_gcl_dc | Cookie | Advertising | First-party | 90 days (3 months) | The _gcl_dc cookie stores the click ID of a Campaign Manager 360 or Display and Video 360 ad, for 90 days. |
_gcl_ls | Local storage | Advertising | First-party | No expiry | The _gcl_ls local storage key keeps the conversion linker data of Google Ads, which scans found written by gtm.js. |
test_cookie | Cookie | Advertising | Third-party | Session | The test_cookie cookie checks on doubleclick.net whether the browser accepts cookies before Google serves ads. |
Scripts, Pixels, and Endpoints Google Ads Loads
Google Ads loads 5 known scripts, pixels, and data endpoints. Each row gives the host to look for in the Network tab of Chrome DevTools or in a cookie scanner report.
| Type | Resource | Host | What it does |
|---|---|---|---|
| Script | Google tag for Google Ads (gtag.js) | www.googletagmanager.com | The Google tag loads Google Ads conversion tracking and writes the _gcl_au cookie. |
| Script | Google Ads remarketing script (viewthroughconversion) | googleads.g.doubleclick.net | The remarketing script records the visit for Google Ads remarketing lists and view-through conversions. |
| Pixel | Google Ads remarketing list pixel (1p-user-list) | www.google.comwww.google.frwww.google.de | The remarketing list pixel adds the visitor to a Google Ads audience, and the auditor scans found the pixel after consent on 2 sites. |
| Data endpoint | Google Ads conversion endpoint (googleadservices.com) | www.googleadservices.com | The conversion endpoint receives each conversion with the identifiers from the _gcl_ cookies. |
| Data endpoint | Google Ads remarketing endpoint (rmkt/collect) | www.google.com | The remarketing endpoint receives page views for Google Ads remarketing lists. |
Does Google Ads Need Consent?
Yes, the Google Ads cookies need consent in the EU and the UK, and need no prior opt-in in California. The table gives the rule for each law, taken from the page of the _gcl_au cookie.
| Law | Consent before the cookies are set | Opt-out right | Source |
|---|---|---|---|
| EU ePrivacy Directive + GDPR | Required | Withdraw at any time | Article 5(3), ePrivacy Directive |
| UK PECR | Required | Withdraw at any time | Regulation 6 and Schedule A1, PECR |
| California CCPA | No general opt-in | Opt out of sale and sharing | Cal. Civ. Code 1798.120 |
The consent table describes what each law requires and is not legal advice. Whether a law applies to your site depends on where your visitors are, where your business is based, and how you set up Google Ads, such as conversion linking and Google Consent Mode v2.
Read the reason for each answer in the consent rules for the _gcl_au cookie.
How to Add Google Ads to a Consent Banner
Add Google Ads to a consent banner by holding back the Google tag with your AW- ID until the visitor accepts advertising cookies. Both TermsFeed products block Google Ads in the Advertising category.
Add Google Ads to TermsFeed Free Cookie Consent
TermsFeed Free Cookie Consent runs a tagged script only after the visitor accepts its category. Change type="text/javascript" to type="text/plain" and add data-cookie-consent="targeting".
<script type="text/plain" data-cookie-consent="targeting" async src="https://www.googletagmanager.com/gtag/js?id=AW-YOUR_ID"></script>
<script type="text/plain" data-cookie-consent="targeting">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-YOUR_ID');
</script>
Cookie Consent is free and needs no account. Build your free consent banner with TermsFeed Free Cookie Consent.
Add Google Ads to TermsFeed Privacy Consent
Add Google Ads from its template in TermsFeed Privacy Consent, and Privacy Consent loads the Google tag with your AW- ID and sends Google Consent Mode v2 for you. Google Ads sets its cookies and adds visitors to remarketing lists only after the visitor accepts the Advertising vendor category.
The Google Ads template asks for the Google tag ID and fills every other field of the vendor. Pick the "Google Ads" card under Advertising, enter the Google tag ID, and click "Add Google Ads". Find the Google tag ID in Google Ads under Tools › Data manager › Google tag; the ID starts with AW-. The illustration shows the template form in the TermsFeed app.
Privacy Consent detects the location of each visitor and records every answer in a consent log. Set up Google Ads from its template with TermsFeed Privacy Consent.
Follow every step, the vendor settings, and the check in Chrome DevTools in how to block the _gcl_au cookie.
Who Runs Google Ads
Google LLC runs Google Ads from the United States, and Google Ireland Limited provides Google Ads to advertisers in the European Economic Area (EEA) and Switzerland. Google Ads runs under the Google Ads Data Processing Terms.
Read how Google LLC handles the data in the Google Ads privacy policy, and sign the Google Ads Data Processing Terms before you collect data from visitors in the EU or the UK. Both documents appear in the sources at the end of this page.
Google Ads Cookie FAQs
Does Google Ads need consent?
Yes, the Google Ads cookies need consent in the EU and the UK, and need no prior opt-in in California. Firstly, the ePrivacy Directive requires consent before a site sets the advertising cookies of Google Ads. Secondly, the UK PECR requires consent before a site sets the advertising cookies of Google Ads. Thirdly, the CCPA sets no general opt-in requirement for the advertising cookies of Google Ads, and the table gives the opt-out right of visitors. The consent section of this page gives the table for each law.
How long do Google Ads cookies last?
The cookies of Google Ads last up to 90 days (3 months), and 1 cookie lasts for the browser session. A session cookie such as test_cookie has no expiry date, and the _gcl_au cookie lasts longest. The retention column of the cookie list gives the lifetime of each cookie.
How do I block Google Ads cookies?
Block the Google Ads cookies by holding back the Google tag with your AW- ID until the visitor accepts advertising cookies. Tag the Google tag with your AW- ID with data-cookie-consent="targeting" in TermsFeed Free Cookie Consent, or add Google Ads as a vendor in TermsFeed Privacy Consent. The page of the _gcl_au cookie gives the full steps and the settings of Google Ads.
Sources for the Google Ads Cookies
The facts on this page come from the documentation Google publishes, checked on 2026-10-16. The list gives every source, so you check each fact yourself.
- Google, How Google uses cookies
- Google Ads Help, About conversion tracking
- Google Tag Platform, Consent mode overview
- TermsFeed website auditor scans, 25 September and 9 October 2026 (internal)
- Google Ads privacy policy
- Google Ads Data Processing Terms