ads-google

Installation
SKILL.md

ads-google

Google Ads conversion tracking for a web app has three layers, and they stack — get the lower ones right or the top one has nothing to count:

  1. GA4 client tag (gtag.js) — fires purchase in the browser. Easy to see in a real browser, easy to miss server-side.
  2. GA4 server-side Measurement Protocol — your backend posts the same purchase to GA4 after the charge actually succeeds (e.g. a payment webhook), so you don't lose conversions to ad-blockers, closed tabs, or client failures.
  3. Google Ads conversion import from GA4 — Google Ads doesn't track the purchase itself; it imports the GA4 purchase event as a conversion action. If GA4 never recorded the event, there is nothing to import.

You configure these in order. Skipping layer 2 is the usual reason "it worked in testing but production shows nothing."

When to use

  • Triggers: 'Google Ads conversion tracking', 'GA4 Measurement Protocol', '0 conversions', 'import GA4 conversion', 'small Search campaign', 'Customer Match', 'GA4 pageviews zero'.
  • Three layers: GA4 client gtag, GA4 server Measurement Protocol (an unset api_secret silently no-ops), and Google Ads import of a GA4 conversion marked Primary. Verification via the GA4 Data API and GAQL.
  • API launch nuances (containsEuPoliticalAdvertising, text-only search ads, OAuth project enablement); Customer Match via crm_based_user_list and OfflineUserDataJob (about 1,000-member floor); a gtag page_view ordering bug that zeroes GA4 pageviews.
  • Small-budget Search setup: defaults that burn money (Display Network, Search partners, all languages, no negatives), bidding with no history (Manual CPC or Maximize Clicks), long-tail vs head terms, and a search-volume check before spend.

GA4 client tag (gtag)

Installs
1
GitHub Stars
1
First Seen
Nov 15, 2026