Track an ad campaign
ad_campaigns_createTrack an ad campaign run on Meta, TikTok, Google or Amazon (platform, ad account, budget, creatives). Sigmora does not launch ads yet: create it on the platform and record it here. Free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"platform": "<platform>",
"adAccountId": "<adAccountId>",
"currency": "<currency>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "ad_campaigns_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The campaign's name, up to 300 characters. | |
| endsAt | No | When it ends, RFC 3339 with an offset; not before startsAt. Null for not set. | |
| status | No | `draft` (default), `active`, `paused` or `ended`. | draft |
| currency | Yes | ISO 4217 currency of every amount here (e.g. `usd`); stored lower case. | |
| platform | Yes | The ad platform: `meta`, `tiktok`, `google` or `amazon`. | |
| startsAt | No | When it starts, RFC 3339 with an offset. Null for not set. | |
| workspace | No | Workspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored. | |
| adAccountId | Yes | The ad account's id on that platform (e.g. Meta `act_123`). | |
| creativeIds | No | The creatives it runs: `id`s from POST /v1/ad-creatives (up to 50). | |
| contentBrandId | No | The Channel the campaign promotes: `id` from GET /v1/brands. Null for none. | |
| idempotencyKey | Yes | Required for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`. | |
| dailyBudgetMinor | No | Daily budget in minor units of currency (cents). Null for none. | |
| totalBudgetMinor | No | Lifetime budget in minor units of currency (cents). Null for none. | |
| externalCampaignId | No | The campaign's id on the platform, once it exists there. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||