# Validate a TikTok Ads query

Validate a TikTok metric/dimension combination BEFORE executing. Works on your own TikTok Ads account, connected through Get MCP Ads. Needs metrics.

Validate a TikTok metric/dimension combination BEFORE executing. Checks dimension grouping rules, lifetime compatibility, and metric/dimension compatibility. Agentik price: $0.005 per call.

- Tool ID: `tiktok-ads/validate-query`
- Name in the catalog: TikTok: Validate query
- Provider: [TikTok Ads](/providers/tiktok-ads.md)
- Capability: [TikTok Ads reporting](/tools/tiktok-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": {
    "metrics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "description": "Metric keys to validate"
    },
    "dimensions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Dimension keys to validate"
    },
    "dataLevel": {
      "type": "string",
      "enum": [
        "AUCTION_ADVERTISER",
        "AUCTION_CAMPAIGN",
        "AUCTION_ADGROUP",
        "AUCTION_AD"
      ],
      "default": "AUCTION_CAMPAIGN",
      "description": "TikTok reporting aggregation level. Metrics and dimensions must be compatible with this level."
    },
    "reportType": {
      "type": "string",
      "enum": [
        "BASIC",
        "AUDIENCE"
      ],
      "description": "Native provider report type; determines supported metrics and dimensions."
    },
    "queryLifetime": {
      "type": "boolean",
      "default": false,
      "description": "Request lifetime reporting instead of the explicit reporting period where TikTok supports it."
    },
    "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": [
    "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/tiktok-ads/validate-query) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tiktok-ads/validate-query) · [Agent index](/llms.txt)
