# Get MCP Ads campaigns, ad sets and ads

One level of a selected ad account (campaigns, ad sets, ad groups or Performance Max asset groups, ads, or Google Shopping products, brands and product types). Works on your own connected ad and analytics accounts. Needs platform, account id and level.

One level of a selected ad account (campaigns, ad sets, ad groups or Performance Max asset groups, ads, or Google Shopping products, brands and product types) over a period, with the equal-length previous period and each row's parents. Used by the Ads cockpit's drill-down. Meta, Google Ads and TikTok. Agentik price: $0.005 per call.

- Tool ID: `getmcpads/get-account-entities`
- Name in the catalog: Get MCP Ads: Campaigns, ad sets and ads
- Provider: [Get MCP Ads](/providers/getmcpads.md)
- Capability: [Cross-platform ads reporting](/tools/advertising/cross-platform-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": {
    "workspace_id": {
      "type": "string",
      "description": "Client workspace of the account."
    },
    "platform": {
      "type": "string",
      "enum": [
        "meta_ads",
        "google_ads",
        "tiktok_ads"
      ],
      "description": "Source of the account."
    },
    "account_id": {
      "type": "string",
      "description": "Selected ad account."
    },
    "level": {
      "type": "string",
      "enum": [
        "campaign",
        "adset",
        "ad",
        "product"
      ],
      "description": "campaign, adset (ad sets, ad groups, Performance Max asset groups), ad, or product (Google Shopping)."
    },
    "group_by": {
      "type": "string",
      "enum": [
        "product",
        "brand",
        "category"
      ],
      "description": "Google Shopping only: product, brand or category (product type)."
    },
    "campaign_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "description": "Only children of these campaigns."
    },
    "adset_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "description": "Only ads of these ad sets or ad groups."
    },
    "period": {
      "type": "string",
      "enum": [
        "last_7_days",
        "last_14_days",
        "last_30_days",
        "month_to_date",
        "last_month"
      ],
      "description": "Reporting period. Omit to use the default period from the plugin settings."
    },
    "since": {
      "type": "string",
      "description": "YYYY-MM-DD, with until, instead of period."
    },
    "until": {
      "type": "string",
      "description": "YYYY-MM-DD, with since, instead of period."
    }
  },
  "required": [
    "platform",
    "account_id",
    "level"
  ],
  "additionalProperties": false
}
```

## 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/getmcpads/get-account-entities) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/getmcpads/get-account-entities) · [Agent index](/llms.txt)
