# Meta Ads insights

Works on your own Meta Ads account, connected through Get MCP Ads. Needs ad account id, level and metrics.

Meta performance. For purchases, leads or conversion analysis request actions (and action_values for revenue), or explicit metrics such as purchases/omni_purchases/leads. The native conversions field is not a universal conversion total; its absence does not mean purchases or leads are unavailable. Label the exact action_type and never sum overlapping purchase types. Fields: meta://metrics, meta://dimensions, meta://breakdowns. Compatible query results are merged. Agentik price: $0.005 per call.

- Tool ID: `meta-ads/get-insights`
- Name in the catalog: Meta: Get insights
- Provider: [Meta Ads](/providers/meta-ads.md)
- Capability: [Meta Ads reporting](/tools/meta-ads/reporting.md)
- Price: $0.005 per call
- Workspace access is automatic. Connect a platform using the link and notice returned to your AI assistant; an owner or admin completes platform consent and returns to the conversation; see the [guide](/docs/getmcpads.md).
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.005
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "adAccountId": {
      "type": "string",
      "description": "Meta account ID."
    },
    "level": {
      "type": "string",
      "enum": [
        "account",
        "campaign",
        "adset",
        "ad"
      ],
      "description": "Aggregation level: account, campaign, adset, or ad"
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "Keys from meta://metrics."
    },
    "dimensions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "description": "meta://dimensions fields. Metadata is current."
    },
    "adsetIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d+$"
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Ad set IDs; adset/ad levels."
    },
    "effectiveStatus": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "PAUSED"
      ],
      "description": "Effective delivery status at the selected level."
    },
    "breakdowns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Keys from meta://breakdowns."
    },
    "actionBreakdowns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Action dimensions, e.g. action_type. Action reports only."
    },
    "datePreset": {
      "type": "string",
      "enum": [
        "today",
        "yesterday",
        "this_month",
        "last_month",
        "this_quarter",
        "maximum",
        "data_maximum",
        "last_3d",
        "last_7d",
        "last_14d",
        "last_28d",
        "last_30d",
        "last_90d",
        "last_week_mon_sun",
        "last_week_sun_sat",
        "last_quarter",
        "last_year",
        "this_week_mon_today",
        "this_week_sun_today",
        "this_year"
      ],
      "description": "Predefined date range (e.g., last_7d, last_30d)"
    },
    "timeRange": {
      "type": "object",
      "properties": {
        "since": {
          "type": "string",
          "description": "Start date YYYY-MM-DD"
        },
        "until": {
          "type": "string",
          "description": "End date YYYY-MM-DD"
        }
      },
      "required": [
        "since",
        "until"
      ],
      "additionalProperties": false,
      "description": "Custom date range with since/until in YYYY-MM-DD format"
    },
    "timeIncrement": {
      "anyOf": [
        {
          "type": "number",
          "const": 1
        },
        {
          "type": "number",
          "const": 7
        },
        {
          "type": "number",
          "const": 14
        },
        {
          "type": "number",
          "const": 28
        },
        {
          "type": "number",
          "const": 30
        },
        {
          "type": "string"
        }
      ],
      "description": "1=daily, 7=weekly, monthly or all_days."
    },
    "adIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d+$"
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Ad IDs; ad level only."
    },
    "campaignIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d+$"
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Campaign IDs; campaign/adset/ad levels."
    },
    "attributionMode": {
      "type": "string",
      "enum": [
        "account",
        "adset",
        "explicit"
      ],
      "default": "account",
      "description": "Account/ad-set settings or explicit windows. Never inferred from values."
    },
    "attributionWindows": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "1d_click",
          "7d_click",
          "28d_click",
          "1d_view",
          "1d_ev"
        ]
      },
      "minItems": 1,
      "maxItems": 5,
      "description": "Required with explicit mode; identical across queries/totals."
    },
    "actionReportTime": {
      "type": "string",
      "enum": [
        "impression",
        "conversion",
        "mixed"
      ],
      "default": "impression",
      "description": "Date basis for actions."
    },
    "includeAccountTotals": {
      "type": "boolean",
      "default": false,
      "description": "Native account totals with identical measurement; no entity filters, dimensions or breakdowns."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5000,
      "default": 500,
      "description": "Maximum number of returned items or rows. The declared bounds and default apply; use pagination for additional results."
    },
    "workspace_id": {
      "type": "string",
      "description": "Authorized workspace ID from list_accounts/list_workspaces. Use the user's chosen workspace; never guess between clients. Optional when a unique account identifies it."
    }
  },
  "required": [
    "adAccountId",
    "level",
    "metrics"
  ]
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[REST inspection](https://api.agentik.cc/v1/tools/meta-ads/get-insights) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/meta-ads/get-insights) · [Agent index](/llms.txt)
