# meta_get_performance_trend

> Track how CPC, CPM, cost per result, ROAS, CTR and conversion rate move over a period, day by day or week by week, at account, campaign or ad set level…

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads)

Track how CPC, CPM, cost per result, ROAS, CTR and conversion rate move over a period, day by day or week by week, at account, campaign or ad set level, with totals compared with the previous period of the same length. Ratios are recomputed from sums, never averaged.

|  |  |
| --- | --- |
| Source | [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads) |
| Kind | Read |
| Discovery | Reachable through `search_tools` and `run_tool` |
| Account parameter | `adAccountId` |
| Endpoint | https://mcp.getmcpads.com/meta-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `adAccountId` | string | Required | Owning advertising account ID. Use the exact ID returned by account discovery; do not substitute a campaign or business ID. |
| `since` | string | Optional | First day, YYYY-MM-DD, in the ad account time zone. |
| `until` | string | Optional | Last day, YYYY-MM-DD. Defaults to yesterday (UTC). |
| `level` | string | Optional | Default account. One of: `account`, `campaign`, `adset`. |
| `ids` | array | Optional | Campaign or ad set IDs for those levels. |
| `granularity` | string | Optional | Default day. One of: `day`, `week`. |
| `resultActionType` | string | Optional | Exact action_type counted as a result, for example omni_purchase, lead or offsite_conversion.fb_pixel_purchase. Default omni_purchase. Never several overlapping purchase types. |

## Calling it

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "meta_get_performance_trend",
    "args": {
      "adAccountId": "<string>"
    }
  }
}
```

- [Meta Ads metrics](https://www.getmcpads.com/docs/sources/meta-ads/metrics): What you can ask for.
- [Meta Ads dimensions](https://www.getmcpads.com/docs/sources/meta-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/meta-ads/tools/meta_get_performance_trend
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
