Attribute Guide

Google Shopping ads_redirect Attribute: Ad Click Tracking & URL Override Guide

Complete guide to the ads_redirect attribute in Google Merchant Center. How to use it for ad-click tracking URLs, keeping your canonical link clean for SEO,…

Updated 6 min readBoostora Team
ads_redirect — Separating Tracking URLs from Canonical URLs

Running Shoe — Men's — Size 42

€89.00example-store.com
link: clean canonical URLads_redirect: URL + tracking params

link = "https://example-store.com/shoes/42" (clean, canonical, SEO-safe). ads_redirect = full URL with UTM + ValueTrack. Ad clicks go through ads_redirect; organic stays clean.

Running Shoe — Men's — Size 42

€89.00example-store.com

link = "https://example-store.com/shoes/42?utm_source=google&utm_medium=cpc&utm_campaign=shopping&gclid=..." — canonical URL is polluted with tracking params. Google may index the UTM-tagged URL. SEO crawl budget wasted.

When ads_redirect is set, ad clicks use ads_redirect as the destination; free listing clicks use the standard link attribute. This lets you attach tracking parameters (UTM, GCLID, affiliate tokens) exclusively to paid traffic without polluting the canonical product URL that Google indexes for SEO.

What is the ads_redirect attribute?

The ads_redirect attribute provides an alternative URL that Google uses as the click destination for Shopping ads and Dynamic Remarketing ad clicks — instead of the standard link attribute URL. When ads_redirect is set, paid ad clicks route through ads_redirect while free listing (organic Shopping tab) clicks continue to use the canonical link URL. This separation is the attribute’s core value proposition.

The primary use case is keeping tracking parameters (UTM codes, ValueTrack parameters, affiliate tokens, third-party redirect chains) out of the canonical product URL. By placing all tracking instrumentation in ads_redirect, the link attribute stays clean — the page Google indexes, the URL that appears in Search Console, and the destination for organic traffic all remain uncluttered by paid-campaign tracking parameters.

Technical specifications

Feed nameads_redirect
RequiredOptional
Max length2,000 characters
ProtocolMust begin with http:// or https://
ValueTrack supportYes — all standard ValueTrack parameters are supported
Final destinationMust resolve to the same product page as the link attribute
Applies toShopping ads, Display/Remarketing ads — NOT free listings
Domain requirementMust be a verified domain in Merchant Center (or a verified redirect chain that terminates at a verified domain)

Where it applies

  • Shopping Ads (PLAs) — When a shopper clicks a Shopping ad, Google uses ads_redirect as the click destination if it is set. Tracking parameters embedded in ads_redirect are passed to your analytics platform. The link URL is still what Google shows as the display URL and uses for indexing purposes.

  • Dynamic Remarketing Ads — Google uses ads_redirect for the click destination in dynamically assembled Display/Remarketing ads that feature specific products from your feed. This ensures remarketing ad clicks are separately tracked from Shopping ad clicks if you use channel-specific UTM parameters.

  • Free Product Listings — ads_redirect does NOT apply to free listing clicks. Shoppers clicking your free listing in the Shopping tab always land on the link URL. This is by design — free listings are organic and should not pass through paid-traffic tracking infrastructure.

Rules

  • Final destination must match the link URL’s product page — Redirecting to a different product, a category page, or a homepage is a policy violation. Tracking redirects are permitted as intermediate steps, but the end product page must be the same.

  • Domain must be verified in Merchant Center — If ads_redirect routes through a tracking domain or affiliate redirect, the final landing domain must be the website verified in your Merchant Center account.

  • Must begin with http:// or https:// — Relative URLs, JavaScript, or other non-standard URL schemes are not accepted.

  • ValueTrack parameters require correct syntax — Use curly braces exactly as documented ({lpurl}, {campaignid}, etc.). Incorrectly formatted ValueTrack parameters are passed as literal strings to your analytics platform, breaking tracking.

  • The link attribute remains mandatory — ads_redirect supplements but never replaces the link attribute. Both must be valid URLs.

Best practices

Standard URL construction pattern

A well-structured ads_redirect URL combines the canonical product URL with tracking parameters:

link (canonical)https://example.com/products/running-shoe-42
ads_redirect (tracked)https://example.com/products/running-shoe-42?utm_source=google&utm_medium=cpc&utm_campaign=shopping_footwear&utm_content={adgroupid}&utm_term={keyword}

ValueTrack parameters to include

The most useful ValueTrack parameters for Shopping campaign attribution:

  • {campaignid} — Google Ads campaign ID (useful for cross-referencing reports)

  • {adgroupid} — Ad group ID

  • {product_id} — The product ID from your feed (links analytics data to feed data)

  • {merchant_id} — Your Merchant Center account ID

  • {ifmobile:mobile}{ifnotmobile:desktop} — Device type for segmented analysis

Affiliate tracking pattern

When routing through an affiliate tracking platform:

linkhttps://example.com/products/shoe-42
ads_redirecthttps://track.affiliatetool.com/click?pid=123&aid=456&destination=https%3A%2F%2Fexample.com%2Fproducts%2Fshoe-42

Verify that the affiliate platform’s redirect chain ultimately lands on the same product page. Test this manually before scaling to the full catalog.

Impact on performance

  • Attribution accuracy — With ads_redirect carrying campaign-specific UTM parameters, Shopping ad traffic is correctly tagged in Google Analytics / GA4, enabling accurate channel attribution, ROAS calculation, and conversion path analysis. Without it, Shopping ad sessions may appear as “direct” or “organic” traffic in analytics.

  • SEO hygiene — Keeping tracking parameters out of the canonical link URL prevents Google Search from indexing parameterized versions of your product pages, reducing duplicate content risk and keeping crawl budget focused on your actual product URLs.

  • Ad disapproval risk reduction — Placing tracking parameters in ads_redirect rather than link reduces the risk of ad disapproval due to URL mismatch errors — Google validates that the link URL resolves correctly without needing to parse tracking parameters from it.

  • Third-party analytics — For retailers using third-party attribution tools (Northbeam, Triple Whale, Rockerbox), ads_redirect is the correct place to add the platform’s tracking pixel URL or server-side tracking parameters without modifying the canonical product URL.

Common mistakes

  • Setting ads_redirect to a different product page than the link attribute — causes immediate ad disapproval

  • Leaving the link attribute with embedded UTM parameters and not using ads_redirect — pollutes canonical URLs and can cause SEO issues

  • Incorrectly formatted ValueTrack parameters (e.g., using square brackets instead of curly braces) — parameters are passed as literal strings, breaking tracking

  • Routing through an unverified domain in the redirect chain — even if the final destination is verified, intermediate unverified redirects can cause disapproval

  • Setting ads_redirect to a redirect that points to a generic category or homepage — violates Google’s landing page policy

  • Forgetting to test the complete redirect chain before publishing — always click the ads_redirect URL manually to confirm the final landing page

Pro tips

  • Use ads_redirect for A/B landing page testing — Route ad traffic via ads_redirect to an alternative landing page URL while keeping the link attribute pointing to the canonical page. This lets you test page variants without touching the canonical URL or SEO-indexed page, and you can measure variant performance through the UTM parameters attached to each ads_redirect variant.

  • Maintain ads_redirect in a supplemental feed — If your tracking parameters change (campaign restructure, new UTM taxonomy, analytics platform migration), a supplemental feed with just id + ads_redirect lets you update tracking across the entire catalog without regenerating the primary feed. This is especially valuable for large catalogs where full feed regeneration takes hours.

  • Validate the full redirect chain with a URL checker tool before launch — Use a tool like the Google Ads URL checker or a curl command to follow the full redirect chain from ads_redirect to final landing page. Confirm status codes are 200 (not 404 or 302 chains longer than 3 hops, which can slow page load and lose tracking parameters).

  • Include {product_id} in ValueTrack parameters — This links your Google Ads click data directly to specific products in your feed, enabling SKU-level attribution analysis — essential for optimizing bids on high-catalog-count Shopping campaigns where aggregate ROAS masks significant product-level variation.

Frequently asked questions

What is ads_redirect and how is it different from the link attribute?
The link attribute is the canonical product URL — used for both organic (free listing) clicks and as the base URL Google indexes. ads_redirect is an override URL used exclusively for paid ad clicks (Shopping ads and Display Remarketing ads). When ads_redirect is set, any shopper who clicks your Shopping ad lands on the ads_redirect URL, not the link URL. Free listing clicks always use link, regardless of ads_redirect.
When should I use ads_redirect instead of putting tracking params in the link?
Use ads_redirect whenever you want to keep tracking parameters out of your canonical product URL. If you embed UTM parameters or third-party tracking tokens directly in the link attribute, Google may index the tracked URL — causing duplicate content issues in SEO, consuming crawl budget on parameterized URLs, and making it harder to identify canonical pages in Google Search Console. ads_redirect neatly separates "the page that gets indexed" from "the URL that gets tracked".
Can I use ValueTrack parameters in ads_redirect?
Yes — and this is one of the primary reasons to use it. ValueTrack parameters like {lpurl}, {campaignid}, {adgroupid}, {keyword}, and {matchtype} are fully supported in ads_redirect. Google substitutes these dynamically at click time, passing campaign-level data to your analytics platform without hardcoding campaign IDs that change over time.
Does ads_redirect affect where Google sends free listing (organic) clicks?
No. ads_redirect only applies to paid ad clicks (Shopping ads and Display Remarketing ads). Free listing clicks in the Shopping tab always go to the link attribute URL, regardless of what is set in ads_redirect. This separation is the core utility of the attribute.
Does the ads_redirect URL need to resolve to the same landing page as link?
Yes — the final landing page must be the same product page as the link URL. ads_redirect cannot redirect to a different product, a category page, or a homepage. It can add tracking parameters or route through a redirect/proxy for affiliate tracking, but the end destination must be the same product. Mismatching the landing page violates Google's policies and can cause ad disapproval.
Is ads_redirect compatible with third-party affiliate tracking platforms?
Yes — ads_redirect is commonly used with affiliate tracking platforms (Impact, CJ, Awin, etc.) that require clicks to pass through their redirect server before arriving at the retailer's product page. The ads_redirect URL points to the affiliate redirect endpoint, which then forwards to the final product page. The link attribute stays as the clean product URL for SEO purposes. Always verify the affiliate redirect's final destination matches the product page.
What is the character limit for ads_redirect?
The ads_redirect attribute supports up to 2,000 characters. This is the same limit as the link attribute. In practice, even complex URLs with multiple tracking parameters rarely approach this limit — a typical ads_redirect with UTM parameters and ValueTrack codes is under 300 characters.

Related guides