create_experiment
Define and launch new A/B test experiments (ad studies) for your campaigns. Configure start and end times and specify detailed test cells using the Meta Marketing API.
Instructions
Create a new A/B test experiment (ad study).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Experiment name | |
| type | No | Study type | |
| cells | Yes | JSON array of test cells: [{name, campaign_id}] | |
| end_time | Yes | End time in ISO 8601 or Unix timestamp | |
| account_id | No | Ad account ID to create the experiment in (e.g. 'act_123' or '123'). Falls back to META_AD_ACCOUNT_ID env var if omitted. | |
| start_time | Yes | Start time in ISO 8601 or Unix timestamp | |
| description | No | Experiment description |