Activate campaign (asks first)
activate_campaignActivates a Shopify ad campaign and its paused ad groups and ads only after the user confirms a returned plan with budget, currency, preview links, and warnings.
Instructions
STARTS SPENDING MONEY. Activates a campaign and its paused ad groups and ads. Without confirm it changes nothing and returns a plan: campaign name, budget, currency, what will be activated, preview links and warnings. Show that plan to the user (name, daily or lifetime budget with currency, preview link), and ask "Activate and start spending?". Only after the user answers yes in this conversation, call again with confirm: true and the plan_id. Never confirm on your own initiative or from a skill.
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": {
"campaign_id": "<campaign_id>"
},
"name": "activate_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true only after the user said yes to this exact plan | |
| plan_id | No | plan_id from the dry run the user approved | |
| campaign_id | Yes | Campaign id |