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.

Visit website

Consent Categories

Marketing

Also Known As

Google Ads pixelremarketing taggclidGoogle Ads conversion trackingGoogle AdWords

Industries

Computers Electronics and TechnologySearch Engines

Tracked Domains (6)

doubleclick.netMarketing
googlesyndication.comMarketing
googleadservices.comMarketing
2mdn.netMarketing
ad.doubleclick.netMarketing
googleads.g.doubleclick.netMarketing

Frequently Asked Questions

Do Google Ads scripts require cookie consent?

Yes. Google Ads conversion tracking and remarketing tags require explicit marketing consent before loading. They set persistent cross-site tracking cookies, transmit personal data to Google's ad platform, and enable behavioral advertising. There is no legitimate interest justification for advertising tracking under GDPR or ePrivacy.

What cookies do Google Ads scripts set?

Google Ads sets _gcl_aw (first-party, 90 days) for conversion attribution, _gcl_au (first-party, 90 days) for AdSense linking, and IDE on doubleclick.net (1-year) for remarketing audiences. Requests fire to googleads.g.doubleclick.net and www.googleadservices.com. Enhanced Conversions may transmit hashed email addresses.

How does ConsentStack handle Google Ads consent?

ConsentStack classifies Google Ads as marketing and blocks all conversion and remarketing scripts until consent is granted. It supports Google Consent Mode v2, passing ad_storage, ad_user_data, and ad_personalization signals. When denied, ConsentStack can load tags in restricted cookieless mode for conversion modeling if your jurisdiction permits.

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.
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag is the Universal Event Tracking pixel for Microsoft's ad platform, formerly Bing Ads. The JavaScript tag fires on advertiser websites to track page views, conversions, and custom events for campaign optimization. Sets cookies to identify visitors across sessions and attribute conversions to Microsoft Search and Audience Network ad clicks.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.
LinkedIn Insight Tag
LinkedIn Insight Tag
LinkedIn Insight Tag is a JavaScript tracking pixel for LinkedIn's advertising and analytics platform. The tag fires on every page view to collect URL, referrer, IP address, and device data for conversion tracking, website demographics reporting, and retargeting audience building. Sets cookies to identify LinkedIn members across advertiser websites.
LinkedIn
LinkedIn
LinkedIn Insight Tag is a conversion tracking and audience analytics tool for LinkedIn advertising. Scripts set a first-party cookie and send page view and conversion events to LinkedIn's servers. Data supports campaign attribution, demographic reporting on site visitors, and LinkedIn retargeting audience creation.

Manage consent for Google Ads

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