# Meta Ads performance by hour of day

Hour-of-day performance in the account's timezone. Works on your own Meta Ads account, connected through Get MCP Ads. Needs ad account id, level and metrics.

Hour-of-day performance in the account's timezone. Runs meta-ads/get-insights with breakdowns hourly_stats_aggregated_by_advertiser_time_zone. Agentik price: $0.005 per call.

- Tool ID: `meta-ads/performance-by-hour`
- Name in the catalog: Meta: Performance by hour of day
- 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."
    },
    "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/performance-by-hour) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

## Provider websites

- [Get MCP Ads](https://www.getmcpads.com/)

---

[HTML page](/providers/meta-ads/performance-by-hour) · [Agent index](/llms.txt)
