# Create a Meta ad study

Create a Meta A/B test (split test) comparing 2 to 10 cells of campaigns or ad sets of this ad account, with each cell's share of the audience summing to 100. Works on your own Meta Ads account, connected through Get MCP Ads. The preview is free; the change costs $0.05 when you confirm it. Needs ad account id, name, level and more.

Create a Meta A/B test (split test) comparing 2 to 10 cells of campaigns or ad sets of this ad account, with each cell's share of the audience summing to 100. Created on the ad account's Business; the campaigns keep their own status and budgets, so paused campaigns spend nothing. Conversion Lift studies are set up with Meta and are not created here. Local preview by default. No automatic retry. Account ownership is checked before Meta validation or mutation. Agentik price: free to preview; $0.05 when the change is applied (confirm: true without validateOnly).

- Tool ID: `meta-ads/create-ad-study`
- Name in the catalog: Meta: Create ad study
- Provider: [Meta Ads](/providers/meta-ads.md)
- Capability: [Meta Ads campaign management](/tools/meta-ads/campaign-management.md)
- Price: free preview, $0.05 per applied change
- 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,
  "multipliers": [
    {
      "all": [
        {
          "field": "confirm",
          "equals": true
        },
        {
          "field": "validateOnly",
          "truthy": false
        }
      ],
      "setUsd": 0.05
    }
  ]
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "adAccountId": {
      "type": "string",
      "pattern": "^(act_)?\\d+$",
      "description": "Selected owning ad account ID, with or without act_. Every referenced ad object must belong to it."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400,
      "description": "Exact business name to give this object. Do not derive it from an uploaded filename."
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "description": "What the test compares."
    },
    "level": {
      "type": "string",
      "enum": [
        "campaigns",
        "adsets"
      ],
      "description": "What each cell holds: campaigns or ad sets of this ad account."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "Start of the test, ISO 8601 with UTC offset, in the future."
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "End of the test, ISO 8601 with UTC offset, after the start."
    },
    "cells": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 400,
            "description": "Cell name."
          },
          "treatmentPercentage": {
            "type": "integer",
            "minimum": 1,
            "maximum": 99,
            "description": "Share of the audience in this cell."
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^\\d+$"
            },
            "minItems": 1,
            "maxItems": 100,
            "description": "Campaign or ad set IDs of the cell."
          }
        },
        "required": [
          "name",
          "treatmentPercentage",
          "ids"
        ],
        "additionalProperties": false
      },
      "minItems": 2,
      "maxItems": 10,
      "description": "The cells; their shares sum to 100 and no entity is in two cells."
    },
    "confirm": {
      "type": "boolean",
      "description": "Apply only when true. Default is a local preview with no API mutation."
    },
    "validateOnly": {
      "type": "boolean",
      "description": "Ask Meta to validate, without creating or changing an object. Mutually exclusive with confirm."
    },
    "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."
    },
    "reason": {
      "type": "string",
      "maxLength": 500,
      "description": "Why, in the person's words or from the evidence (e.g. CPA twice the target for 7 days). Saved with the change in the shared client journal."
    }
  },
  "required": [
    "adAccountId",
    "name",
    "level",
    "startTime",
    "endTime",
    "cells"
  ]
}
```

## 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/create-ad-study) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

## Provider websites

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

---

[HTML page](/providers/meta-ads/create-ad-study) · [Agent index](/llms.txt)
