Skip to main content
AEM → Google AdsIntegration guide

Connecting Adobe Experience Manager to Google Ads

AEM sits inside the wider Adobe stack, which usually means Adobe Analytics is already in place and answering a different question from your ad platforms. Google Ads knows what you spent and which click it came from, and nothing at all about what happened afterwards. The join between them succeeds or fails on one thing: whether the GCLID reaches the commerce order behind AEM before the conversion happens, because Google Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

AEM to Google Ads: keep the gclid past Dispatcher caching

With gclid on Dispatcher's ignoreUrlParams list, AEM templates never see it, so capture gclid, gbraid and wbraid in the browser or CDN, store them in a first-party cookie, and pass them into the commerce order. Upload orders to an Import action with total, currency and click time, add Enhanced Conversions, and send refunds as adjustments.

AEM teams often add gclid to the Dispatcher ignoreUrlParams list, because otherwise every ad click with a unique gclid is a cache miss that hits the publish tier. That is the right call for performance, and it also means no server-side AEM template ever sees the gclid. Capture it in the browser or at the CDN, store it in a first-party cookie, and pass it into the commerce order when the order is created. Do the same for gbraid and wbraid, which some iOS traffic carries instead.

The commerce order then becomes an upload to a conversion action created as Import, with the order total, currency and the original click time. Where gclid coverage is weak, as it often is on enterprise sites with strict consent banners, add Enhanced Conversions with the hashed email from the commerce account. Refunds and cancellations go back as conversion adjustments against the same order rather than as new negative uploads.

AEM Forms lead sites have a different problem: the deal closes in a CRM weeks later. Google only accepts imports for clicks within the last 90 days, so long enterprise cycles need an earlier qualified-lead action as well as the closed deal. Check that the website tag and the import are not both set as primary for the same purchase.

AEM → Google Ads · what breaks

Why this join usually fails — AEM → Google Ads

  1. 01

    The GCLID never reaches AEM

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  2. 02

    Three systems that will never agree

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  3. 03

    The conversion action is the wrong type

    Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.

  4. 04

    Nothing reconciles afterwards

    Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.

AEM → Google Ads · the fix

What working looks like — AEM → Google Ads

  • The GCLID on every order

  • Conversions arriving in Google Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent — which is what lets Smart Bidding optimize toward revenue instead of toward form fills.

  • Reconciled against the source

    Adobe Experience Manager's own records are the reference, not either dashboard.

AEM → Google Ads · architecture

How AEM and Google Ads actually connect

  1. 1

    Adobe Experience Manager holds the truth

    In most AEM deployments the commerce engine is separate, and Adobe Analytics reports on its own model with its own attribution. None of those three will agree by default and that is expected rather than broken.

  2. 2

    Google Ads needs a click to match

    Google Ads matches an uploaded conversion back to a click using the GCLID. The conversion action must be created as an import type — an upload against a website-tag conversion action is rejected. Uploads must also land inside Google's window: the click has to be within the last 90 days.

  3. 3

    The identifier is the bridge

    The GCLID, captured at the visit and carried into the commerce order behind AEM.

  4. 4

    The event source decides reliability

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  5. 5

    Deduplication at the destination

    Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.

AEM → Google Ads · normal or broken

Working vs. broken, side by side — AEM → Google Ads

Normal, not a fault

  • The GCLID present on the order

    Visible on the record itself in Adobe Experience Manager, not merely captured somewhere on the site.

  • Sent from your commerce system's order event

  • Deduplicated correctly

    Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.

  • Reconciles with the source

    Google Ads's count and Adobe Experience Manager's records agree within a few percent over a closed window.

Actually broken

  • The GCLID missing on most records

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  • Sent from the browser

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  • Counted twice, or not at all

    Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Adobe Experience Manager.

AEM → Google Ads · diagnose

Diagnostic order — AEM → Google Ads

  1. 01

    Count orders carrying the GCLID

  2. 02

    Follow one real conversion end to end

  3. 03

    Map which system answers which question before building

    In an Adobe stack this framing saves more time than any implementation detail.

  4. 04

    Check the conversion action type and the upload diagnostics

    In Google Ads, Goals → Conversions → Uploads shows every upload with its error rows. Read the errors rather than the success count; a file can import successfully with most rows rejected.

  5. 05

    Read the match rate, not the success message

    Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.

AEM → Google Ads · prove

How it gets proven — AEM → Google Ads

Against Adobe Experience Manager's own records, not against either platform's dashboard.

Source of truth

Your commerce system — AEM manages experiences, not transactions.

  • The GCLID confirmed present on a live order.
  • The Uploads diagnostics read row by row, with the accepted count reconciled against conversions appearing in campaign reporting.
  • Conversions confirmed sourced from the commerce system, with the Adobe Analytics difference explained rather than reconciled.

AEM → Google Ads · free audit

What we check in the free audit

  • Count orders carrying the GCLID
  • Follow one real conversion end to end
  • Map which system answers which question before building
  • Check the conversion action type and the upload diagnostics
  • Read the match rate, not the success message

Checked against

Your commerce system — AEM manages experiences, not transactions.

Get my free conversion tracking audit

Free30 minutesNo obligation

AEM → Google Ads · when not to buy

When you don't need this — AEM → Google Ads

  • If Google Ads already reports conversions that reconcile against Adobe Experience Manager's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GCLID.
  • If Adobe Analytics already answers your reporting needs, the remaining work is only feeding ad platforms — a much smaller scope.
  • If your sales close inside a few days and your website tag already reports accurately, you may not need offline import at all. It exists to solve the delay between click and revenue.

AEM → Google Ads · what we deliver

What gets built — AEM → Google Ads

  • Identifier capture into AEM

    Capture the identifier server-side and persist it to the commerce order, and if you use the Adobe client data layer, add the identifier explicitly rather than assuming it propagates.

  • Event source: your commerce system's order event

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  • Dispatch to Google Ads

    Offline Conversion Import through the Google Ads API, or a scheduled upload. Enhanced conversions for leads where GCLID coverage is poor and you have consented email addresses.

  • Reversals where they exist

    Handled at the commerce layer.

Written guarantee

95%+ tracking accuracy

Measured against Your commerce system — AEM manages experiences, not transactions.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

AEM → Google Ads questions, answered

Unique query strings defeat the cache unless gclid is listed in ignoreUrlParams. List it there, then read it client-side, because the cached page will not contain it.

Free · 30 min

Get AEM and Google Ads joined properly

Free30 minutesNo obligation