---
title: Top campaigns yesterday
description: A one-line prompt to surface the best-spending campaigns of the previous day.
---

A recipe is a prompt that works today against AdCrunch's MCP tools. Copy, paste into your AI client, replace the placeholder, run.

## Prompt

> Show me my top 5 campaigns by spend for yesterday across all my Meta advertisers. Sort descending, include ROAS if available, and flag any whose spend dropped more than 30% versus the prior day.

## What the agent does

1. Calls `list_advertisers({ provider: 'meta' })` to enumerate your Meta accounts.
2. Calls `query_insights` with `date: yesterday`, `groupBy: 'campaign'`, `sortBy: 'spend desc'`, `limit: 5`.
3. Calls `query_insights` again with `date: 2_days_ago` for the comparison.
4. Joins the two and formats the answer.

:::tip

This is a good first prompt to confirm your setup works end-to-end. If the agent can answer this, every other recipe will work too.

:::
