← Back to Blog

A Monitoring Agent for Google Ads Conversion Tracking: The Five Checks Worth Automating, and How They Run

Ihor Odariuk
· updated · 6 min read
Quick answer

A Google Ads monitoring agent runs on a schedule, reads the account through scripts or the API, and alerts when a rule breaks. Five checks matter: only real leads drive bidding, conversions arrive in the expected range, no money goes out without a real call, no campaign changes status unnoticed, and the lead form still delivers.

Contents · 10 sections

A monitoring agent for Google Ads conversion tracking is a small program that runs on a schedule, reads your account through Google Ads scripts or the Google Ads API, compares what it finds with rules you set, and sends an alert when something is off. It does not need AI. It needs the right checks: which conversion actions are allowed to drive bidding, whether conversions arrived in the expected range, whether money is being spent without a real call, whether a campaign changed status, and whether the lead form still delivers. Google's free monitors cover a different layer, the tag itself, and are described in tag monitoring for conversion tags.

Why build one when Google already sends alerts?

Because Google's alerts watch whether data arrives, and some failures are about what the data means: a tag that fires on every page load still sends data, and a campaign can spend money on calls too short to be leads. The same principle is behind the AI automation bug in LLM observability for business automations: monitor the output, not just whether the process ran.

Where should the agent run?

Two options, both from Google.

Google Ads scripts Google Ads API
Hosting Serverless, managed by Google Your own server or computer
Language JavaScript in a browser editor Any client library (I use Python)
Schedule Hourly, daily, weekly, monthly or on demand Whatever your scheduler does
Time limit 30 minutes per run Your own
Many accounts Manager scripts, up to 50 accounts in parallel Loop over accounts
Credentials A Google Ads account; Google says no developer credentials to manage API developer credentials

The figures in the scripts column are from Google's Google Ads scripts overview, which also says scripts can run Google Ads Query Language (GAQL) queries and connect to Google Sheets and Drive. The scripts reporting page names the two reporting methods, AdsApp.report() and AdsApp.search(). For one account, scripts are the shorter path. My own checks run on the API from a scheduler on a Mac, because they also read the CRM and the website.

Check 1: only real leads may drive bidding

Every run, list the conversion actions that are enabled and primary, and flag any whose name is not on your list of real results.

SELECT conversion_action.name,
       conversion_action.primary_for_goal,
       conversion_action.status
FROM conversion_action
WHERE conversion_action.status = 'ENABLED'
  AND conversion_action.primary_for_goal = TRUE

This is a line from the account audit I run across several city accounts of one company. It exists because primary actions are what Google uses for bidding; Google's primary and secondary actions page says primary actions appear in the Conversions column and are used for bidding, while secondary actions are for observation. A page-view or button-click action that someone switches to primary quietly retrains the bidding. The check catches it on the next run instead of at the end of the month.

Check 2: conversions arrived in the expected range

Pull conversions by action for the last 7 days and compare with your own baseline.

SELECT segments.conversion_action_name,
       metrics.all_conversions
FROM campaign
WHERE segments.date DURING LAST_7_DAYS
  AND metrics.all_conversions > 0

Alert on two things: an action that drops to zero while campaigns are spending, and an action that jumps far above its usual count. The jump matters too. On one site, a single informational page produced 2,137 phone-tap events in eight days, almost all from overseas traffic. The breakdown is in the lead attribution gap post.

Before calling a zero a failure, check that the action is older than the window and that campaigns were running. Google's "Awaiting conversions" status lists new actions, paused campaigns and low traffic as the usual reasons, per its troubleshooting page.

Check 3: no money is spent without a real call

This check uses your own definition of a real result, not Google's. Mine is a stop-loss that runs every 30 minutes on one company's search campaigns:

  • If a campaign has spent $200 over the last 3 days (today included) without a single call from ads of 60 seconds or longer, it is paused for the rest of the day.
  • Before the call center opens the next morning, it re-enables only the campaigns it paused itself.
  • Campaigns paused by hand are never touched.
  • A campaign it re-enabled starts a fresh window, so old spend does not pause it again at once.

The duration threshold matters because short calls are not leads. On the same company, a call-from-ads conversion with a 60-second minimum had counted one overseas call of exactly 60 seconds as a lead; the threshold for that conversion was raised to 120 seconds.

Check 4: no campaign changed status without notice

A daily check for campaigns that stopped spending. Mine looks at yesterday's cost per Local Services Ads campaign and raises an alarm when a campaign spent less than a dollar, skipping campaigns that have had no spend for the last two weeks, because those were switched off on purpose.

The reason it exists: all five of one company's Local Services Ads campaigns were paused from the web interface one afternoon and switched back on only after three full days without a single impression. It was found because I went looking in the account's change history, not because anything alerted. Now the same question is asked automatically every day. The reporting side of those accounts is in Local Services Ads reporting.

Check 5: the lead form still delivers

The conversion tag can be perfect while the form behind it is broken. On one site I ran a check every 30 minutes that the form endpoint answers the way it does when a submission succeeds. On a cleaning company's site, a small form change once held every submission for activation for about 15 minutes, described in offline conversion tracking. That outage was shorter than one 30-minute cycle, so a form check is a backstop, not a replacement for sending one real test lead after every change.

Where should alerts go?

Somewhere a person reads during the working day. Mine write to a log that the scheduler keeps, and the Local Services Ads check exits with an error code when there is an alarm. Three rules that keep alerts useful:

  1. One alert per problem, not per run. Keep a small state file so the same issue is not repeated every 30 minutes.
  2. Say what to do. "Campaign X paused by stop-loss, $200 in 3 days, no call of 60 s or longer, re-enabled before the call center opens" is actionable. "Anomaly detected" is not.
  3. Never let the agent make changes it cannot undo. Mine only pauses, and re-enables only what it paused itself. It does not change bids, budgets or conversion settings.

Should the agent use AI?

Only where judgment helps, such as reading call transcripts to tell a real customer from a wrong number. The five checks above are rules, and rules are cheaper, faster and easier to trust. An AI layer on top of bad rules gives confident wrong answers.

Start with checks 1 and 3, then add the status and form checks

Start with checks 1 and 3. They need two queries and one rule each, and they cover bidding on the wrong action and paying for calls that are not leads. Add the status and form checks next.

If you want these checks built for your accounts, see AI automation and Google Ads conversion tracking. Prices are on pricing, and the free written diagnostic is the place to start.

Related:

The package for this
Google Ads conversion tracking setupfrom $399

One clean Google Tag Manager container, GA4 key events for form fills and phone clicks, Google Ads conversions where only real leads drive bidding, and calls tracked by channel.