Advertising vendor · Google LLC

Google AdSense Cookies: List With Purpose and Retention

Last verified 2026-10-17 · Updated 2026-10-17

On this page
  1. Cookies Google AdSense sets
  2. Scripts, pixels, and endpoints
  3. Does Google AdSense need consent?
  4. How to add Google AdSense to a consent banner
  5. Who runs Google AdSense
  6. Google AdSense cookie FAQs
  7. Sources

Scripts, Pixels, and Endpoints Google AdSense Loads

Google AdSense loads 1 known script, pixel, or data endpoint. Each row gives the host to look for in the Network tab of Chrome DevTools or in a cookie scanner report.

TypeResourceHostWhat it does
ScriptAdSense code (adsbygoogle.js)pagead2.googlesyndication.comThe AdSense code loads from pagead2.googlesyndication.com, fills the ad units of the page, and writes the __gads and __gpi cookies.

Who Runs Google AdSense

Google LLC runs Google AdSense from the United States, and Google Ireland Limited provides Google services to users in the European Economic Area (EEA) and Switzerland. Google lists AdSense as a controller service under the Google Ads Controller-Controller Data Protection Terms.

Read how Google LLC handles the data in the Google AdSense privacy policy, and sign the Google Ads Controller-Controller Data Protection 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 AdSense Cookie FAQs

Does Google AdSense need consent?

Yes, the Google AdSense 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 AdSense. Secondly, the UK PECR requires consent before a site sets the advertising cookies of Google AdSense. Thirdly, the CCPA sets no general opt-in requirement for the advertising cookies of Google AdSense, 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 AdSense cookies last?

The cookies of Google AdSense last from 180 days (6 months) to 13 months (395 days). The __eoi cookie lasts the shortest time, and the __gads cookie lasts longest. The retention column of the cookie list gives the lifetime of each cookie.

How do I block Google AdSense cookies?

Block the Google AdSense cookies by holding back the AdSense code (adsbygoogle.js) until the visitor accepts advertising cookies. Tag the AdSense code (adsbygoogle.js) with data-cookie-consent="targeting" in TermsFeed Free Cookie Consent, or add Google AdSense as a vendor in TermsFeed Privacy Consent. The page of the __gads cookie gives the full steps and the settings of Google AdSense.

Sources for the Google AdSense Cookies

The facts on this page come from the documentation Google publishes, checked on 2026-10-17. The list gives every source, so you check each fact yourself.