Google Ads

Google Ads

Google Ads is Google's advertising platform for search, display, and remarketing campaigns. Conversion tracking scripts fire on advertiser landing pages to measure actions taken after ad clicks. The remarketing tag builds audience lists for retargeting users across Google's ad network.

Overview

Google Ads is Google's advertising platform covering search ads, display ads, video ads, and remarketing campaigns. Its scripts appear on advertiser websites to measure conversions and build audience lists for retargeting.

What This Script Does

Google Ads deploys two primary script types on advertiser sites:

Conversion tracking (gtag.js with AW- config): Fires when a user completes a desired action (purchase, signup, form submission) after clicking a Google ad. The script reads the gclid (Google Click Identifier) parameter from the landing page URL and sets the _gcl_aw cookie to store it. When a conversion fires, the script sends the conversion event, value, and gclid back to Google Ads servers to attribute the conversion to the originating ad click and keyword.

Remarketing tag (gtag.js with DC- config or google_remarketing): Collects page visit data and adds visitors to audience lists in Google Ads. Sets the IDE cookie via doubleclick.net (third-party, 1-year expiry) and the _gcl_au cookie (first-party, 90-day expiry). These cookies enable Google to show targeted ads to your site's visitors as they browse other sites in the Google Display Network and YouTube.

Additional cookies include DSID, 1P_JAR, and NID set on google.com domains. Network requests fire to googleads.g.doubleclick.net, www.googleadservices.com, and google.com/pagead.

Enhanced Conversions: Some implementations collect hashed email addresses or phone numbers at conversion time and send them to Google for improved attribution matching.

Consent & Compliance

Google Ads falls squarely under the marketing consent category.

Under GDPR and ePrivacy, Google Ads scripts require explicit opt-in consent before loading. They set persistent cookies for cross-site tracking, transmit personal data (IP addresses, cookie identifiers, potentially hashed email addresses) to Google, and enable behavioral advertising across the web. There is no legitimate interest justification for advertising tracking.

Under CCPA, Google Ads remarketing constitutes "sharing" of personal information for cross-context behavioral advertising under the CPRA amendments. Users must be offered the right to opt out.

Google Consent Mode v2 allows Google Ads tags to load in a restricted mode when consent is denied, sending cookieless pings with ad_storage=denied and ad_user_data=denied. This preserves some conversion modeling capability without storing cookies, but the tags still fire network requests to Google. Whether this restricted mode requires consent is jurisdiction-dependent — some DPAs consider any data transmission to require consent.

Requirements for EEA targeting: Sites running Google Ads campaigns targeting EEA users must implement Google Consent Mode v2 and pass ad_storage, analytics_storage, ad_user_data, and ad_personalization signals. Without this, Google will not process EEA user data for measurement or personalization.

Should You Block This Without Consent?

Yes. Google Ads scripts exist solely for advertising measurement and retargeting. They set cross-site tracking cookies and share personal data with Google's advertising platform. Block all Google Ads scripts until the user grants marketing consent. If using Google Consent Mode v2, you may choose to load the tags in restricted mode without consent, but evaluate whether your jurisdiction treats the resulting data transmission as requiring consent.

Is Google Ads GDPR compliant?

Google Ads typically loads marketing trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Google Ads can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Google Ads, not on Google Ads itself.

Visit website

Consent Categories

Also Known As

Google Ads pixelremarketing taggclidGoogle Ads conversion trackingGoogle AdWords

Industries

Computers Electronics and TechnologySearch Engines

Tracked Domains (6)

Google Ads's trackers are very common, seen on about 50% of the sites ConsentStack has scanned. Scan your own site to see which of these are firing before consent.

doubleclick.netMarketing

doubleclick.net is a marketing domain operated by Google Ads, used to serve ads, build audiences, and measure ad conversions. Seen on about 50% of scanned sites.

googlesyndication.comMarketing

googlesyndication.com is a marketing domain operated by Google Ads, used to serve ads, build audiences, and measure ad conversions. Seen on about 25% of scanned sites.

googleadservices.comMarketing

googleadservices.com is a marketing domain operated by Google Ads, used to serve ads, build audiences, and measure ad conversions. Seen on about 7% of scanned sites.

2mdn.netMarketing

2mdn.net is a marketing domain operated by Google Ads, used to serve ads, build audiences, and measure ad conversions. Seen on about 5% of scanned sites.

ad.doubleclick.netMarketing

ad.doubleclick.net is a marketing domain operated by Google Ads, used to serve ads, build audiences, and measure ad conversions.

googleads.g.doubleclick.netMarketing

googleads.g.doubleclick.net is a marketing domain operated by Google Ads, used to serve ads, build audiences, and measure ad conversions.

Frequently Asked Questions

Other Google Products

Firebase
Firebase
Firebase is Google's mobile and web application development platform offering authentication, real-time database, cloud functions, and analytics. Web SDK scripts initialize Firebase services and may track app events via Firebase Analytics, which is powered by Google Analytics 4. Widely used in single-page apps and PWAs for backend infrastructure and usage tracking.
Google Analytics
Google Analytics
Google Analytics is the world's most widely deployed web analytics platform. Scripts track page views, sessions, user demographics, traffic sources, and conversion events. Drops cookies to identify returning visitors and attribute user journeys across sessions.
Google Fonts
Google Fonts
Google Fonts is a free font hosting service that serves hundreds of typeface families via a global CDN. Stylesheets and font files load from fonts.googleapis.com and fonts.gstatic.com to deliver web fonts to visitors. No advertising or tracking functionality is included.
Google Maps
Google Maps
Google Maps is the dominant web mapping service used for embedded maps and location features on websites. Scripts load interactive map tiles, geocoding, and Places API functionality through the Maps JavaScript API. May set cookies to remember map preferences and manage API quota.
Google Tag Manager
Google Tag Manager
Google Tag Manager is a tag management system that lets marketers deploy and update analytics and marketing scripts without code changes. The GTM container script loads synchronously in the page head and injects configured tags, triggers, and variables on behalf of other vendors. No data collection of its own — acts as a loader for other scripts.
reCAPTCHA
reCAPTCHA
Google reCAPTCHA is a bot detection and spam prevention service protecting web forms, login pages, and checkout flows. Scripts analyze user behavior, mouse movements, and browser fingerprints to distinguish humans from bots. The invisible reCAPTCHA v3 scores interactions without requiring user challenges.
YouTube
YouTube
YouTube is Google's video platform, widely used to embed video content on external websites. The YouTube iframe player loads JavaScript that communicates with Google's servers for video playback, quality control, and ad serving. Embedded players may set cookies tied to the viewer's Google account to track watch history and personalize recommendations.
Google Search
Google Search
Google Search appears on websites through the Programmable Search Engine, enabling custom site-specific search functionality. Scripts load the search widget from Google's servers to render search bars and display results within the host website. Sends search queries to Google's index and may set cookies for search personalization and query history.
Sign in with Google
Sign in with Google
Sign in with Google is an OAuth-based authentication service that enables users to log into websites using their Google account credentials. Scripts load the Google Identity Services library, display sign-in buttons, and handle token exchange for secure authentication. Stores session tokens and authentication cookies to maintain login state across page visits.
YouTube Player
YouTube Player
YouTube Player embeds YouTube videos on external websites via iframe. Scripts load from Google's servers and set cookies for video playback preferences, watch history, and ad targeting. Cookies are dropped even when visitors only view the embed without interacting with the player.

Related Vendors

Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Google Analytics
Google Analytics
Google Analytics is the world's most widely deployed web analytics platform. Scripts track page views, sessions, user demographics, traffic sources, and conversion events. Drops cookies to identify returning visitors and attribute user journeys across sessions.
AdMaven
AdMaven
AdMaven is an ad network specializing in popunder, push notification, and interstitial ad formats. Its scripts load ad creatives into web pages and track impressions, clicks, and conversions. Cookies are set to identify visitors for ad targeting, frequency capping, and advertiser conversion reporting.
Meta Pixel
Meta Pixel
Meta Pixel (formerly Facebook Pixel) is a conversion tracking and audience-building tool used by advertisers running campaigns on Facebook and Instagram. Scripts fire events on advertiser websites when users complete actions like purchases or form submissions. Collected data is used for ad targeting, retargeting, and conversion attribution.
Facebook
Facebook
Meta's ad and measurement platform, widely embedded on non-Facebook websites via the Meta Pixel. Tracks page views, purchase events, and custom conversions to power retargeting campaigns on Facebook and Instagram. Uses cookies and browser fingerprinting to build audience profiles across the web.
Freshsales
Freshsales
Freshsales is a CRM platform by Freshworks. Its scripts track website visitor behavior including page views, button clicks, and form interactions. It sets persistent cookies for visitor identification and lead scoring, sending browsing activity data to Freshsales servers for sales pipeline management.

Manage consent for Google Ads

ConsentStack automatically detects and manages Google Ads trackers so your site stays compliant with global privacy regulations.