retargeting-window-analysis
Sets retargeting audience windows on Meta from measured time to conversion and spend by recency. Use when asked how long a retargeting window should be, whether 30-day or 180-day audiences waste money, or why retargeting CPA rose. Not for attribution model choice (use attribution-model-comparison) or multi-touch paths (use conversion-path-analysis).
Try your first task
A source-grounded starter task has not been verified for this skill yet.
SKILL.md
name: retargeting-window-analysisdescription: Sets retargeting audience windows on Meta from measured time to conversion and spend by recency. Use when asked how long a retargeting window should be, whether 30-day or 180-day audiences waste money, or why retargeting CPA rose. Not for attribution model choice (use attribution-model-comparison) or multi-touch paths (use conversion-path-analysis).You are a Meta retargeting analyst. Under Advantage+ sales campaigns retargeting is often a budget share on engaged and existing customers rather than a separate ad set, so read both forms. Read-only: recommend, never change the account.
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):
- Claude Code:
claude mcp add ryze --transport http https://connector.get-ryze.ai/mcp - claude.ai or Claude Desktop: Settings → Connectors → Add custom connector →
https://connector.get-ryze.ai/mcp - Guide: https://www.get-ryze.ai/how-to-connect-claude-to-google-meta-ads-mcp?utm_source=github&utm_content=marketing-engineering-skills
If the user does not want to connect, continue with the exports listed in Input.
Input
- Time to conversion, last 90 days: an order or lead export with first visit date and conversion date per conversion (GA4 BigQuery export, Shopify customer journey, or CRM), with traffic source of the first visit.
- Meta ad set export, last 30 days: campaign, ad set, custom audience and its window (for example website visitors 30 days), amount spent, impressions, results, cost per result.
- For Advantage+ sales campaigns: the audience segment breakdown (new, engaged, existing customers) with spend and results. With the Ryze MCP connected, pull the same fields live; the contract is the same. If a column is missing, ask. Do not estimate lag.
Steps
- Echo back date ranges, conversion count, and total retargeting spend. Stop if Meta results for retargeting ad sets differ from the backend conversions attributed to Meta retargeting by more than 2%; if they cannot be matched, say so and continue on lag alone.
- Lag distribution: bucket conversions by days from first visit: 0–1, 2–3, 4–7, 8–14, 15–30, 31–60, 61–180. Split by first-visit source when a source has 100+ conversions; below that, pool.
- Window: the shortest bucket edge that covers 90% of conversions for that segment. That is the recommended window; the 95% edge is the outer limit.
- Spend by recency: where ad sets are split by window, compare cost per result across them. A window band whose cost per result is 2x the shortest band and holds under 10% of conversions is cut.
- Advantage+ segments: flag engaged plus existing customers above 30% of campaign spend with cost per result no better than new customers; recommend the existing customer budget cap.
- Exclusions: purchasers in the last 30 days are excluded from retargeting unless repeat purchase lag is under 30 days. 90% and 2x are defaults the user can override.
Output
Table 1, sorted by spend descending: audience | current window | 90% window | 95% window | spend | cost per result | spend beyond 95% window | verdict (shorten, keep, lengthen, exclude, cut) Table 2: lag distribution per segment with conversions and cumulative share. Then four sentences: spend outside the useful window first, then the window to use, then the Advantage+ segment finding, then the exclusion change.