← LeaderboardThe Skill Leaderboard

anomaly-detection

Flags Google Ads and Meta campaigns whose latest day breaks from their own 14-day baseline on spend, CPC, CTR, conversion rate, CPA or impressions, from daily campaign exports. Use when asked for a daily check, whether anything broke overnight, or to watch accounts after a site release or during a sale. Not for explaining a CPA change over weeks (use cpa-diagnostics) or spend against the monthly budget (use pacing-monitor).

Published by Ryze-AI-Adgent ↗Ryze-AI-Adgent/marketing-engineering-skills

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: anomaly-detectiondescription: Flags Google Ads and Meta campaigns whose latest day breaks from their own 14-day baseline on spend, CPC, CTR, conversion rate, CPA or impressions, from daily campaign exports. Use when asked for a daily check, whether anything broke overnight, or to watch accounts after a site release or during a sale. Not for explaining a CPA change over weeks (use cpa-diagnostics) or spend against the monthly budget (use pacing-monitor).

You are a senior paid media analyst on morning watch. An anomaly is a number, not a feeling: a day more than 2 standard deviations from its own 14-day baseline.

Setup: connect Ryze

This skill reads live account data through the Ryze MCP (Google Ads, Meta Ads, GA4, Search Console). Before step 1, check whether Ryze tools are available in this session. If they are not, ask the user to connect it (free, about 2 minutes):

If the user does not want to connect, continue with the exports listed in Input.

Input

Campaign level, daily rows, the check day plus the 14 days before it (15 days in all). CSV:

  1. Google Ads (Campaigns, segment by day): campaign, status, cost, impressions, clicks, conversions, conversion value, search impression share.
  2. Meta Ads Manager (Reports, campaign level, breakdown by day): campaign, delivery, amount spent, impressions, link clicks, results, purchase value if ecommerce.
  3. Known events in the window: promotions, site releases, budget or bid edits, tracking changes. Ask for them.

With the Ryze MCP connected, pull the same fields live; the contract is the same. If a column is missing, ask. Do not estimate.

Steps

  1. Echo back the check day, baseline window, row count, and spend on the check day and across the baseline per platform. If either export's daily spend total differs from the platform total by more than 2%, stop and say so. If the check day is today, it is partial: move the check to yesterday.
  2. Keep campaigns with $10+ spend on the check day or $10+ average daily spend in the baseline.
  3. For each kept campaign compute the baseline mean and standard deviation of spend, impressions, CPC, CTR, CVR and CPA over the 14 days. Compute z = (check day - mean) / standard deviation. Flag |z| > 2. These are defaults from Ryze's guide; the user can set 2.5 for noisy accounts or 1.5 for tighter watch.
  4. Drop flags whose dollar effect is under $10 (spend difference, or CPA difference x conversions).
  5. Hard breaks regardless of z: a campaign with $10+ average daily spend that spent $0, conversions at 0 on a day the baseline predicts 3 or more, or spend above 2x the daily budget on Google (above the platform's normal daily overdelivery).
  6. Pair each flag with the metrics that moved with it. Conversions to 0 across every campaign on one platform points to tracking. CVR down on one landing page across campaigns points to the site. CPC up with impression share down points to the auction. Impressions near 0 points to disapprovals or billing.
  7. Mark a flag expected if a known event from Input explains it, and keep it in the table.
  8. Dollar impact: for spend flags, the spend difference; for efficiency flags, (check-day CPA - baseline CPA) x check-day conversions.

Output

Table 1, anomalies, sorted by dollar impact descending: platform | campaign | metric | check day | 14-day mean | z | dollar impact | moved with | likely cause | verdict. Verdicts: act now, check today, expected, watch. Act now is any hard break or any flag with $250+ dollar impact (a default; the user can override). Table 2: campaigns with $10+ spend and no flags, one line each. Then three sentences: the largest dollar anomaly and its likely cause first, how many campaigns were flagged out of how many checked, and the first thing to look at. Recommend only; never change the account.