---
title: "Create Platform Experiment"
method: POST
path: "/api/v1/experiments/platform/create"
tags: ["Experiments"]
---

# Create Platform Experiment

`POST /api/v1/experiments/platform/create`

## Request

- Base URL: `https://api.adrex.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adrex.ai/api/v1/experiments/platform/create`
- Auth: HTTP bearer

Create an experiment on the ad platform.

## Request body

- PlatformExperimentCreate
  - `name` string, required
  - `description` string
  - `platform` string, required
  - `campaign_id` string, required
  - `campaign_ids` string[], nullable
  - `account_id` string, required
  - `traffic_split_pct` integer
  - `start_date` string, nullable
  - `end_date` string, nullable
  - `treatment` TreatmentConfig: What to change in the treatment variant.
    - `bidding_strategy` string, nullable
    - `target_cpa` number, nullable
    - `target_roas` number, nullable
    - `budget` number, nullable
    - `headlines` string[], nullable
    - `descriptions` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/adrex/apis/adrex-ai.md) · [All operations](https://skmtc.dev/adrex/apis/adrex-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/adrex/apis/adrex-ai/revisions/4e6f0f0bc902?raw)
