Move Pitchlane campaigns to a folder
move_campaignsMove one or more Pitchlane campaigns into a folder, or out of their folder (folder_id: null). A campaign is in at most one folder, so moving it into one takes it out of the one it was in. Nothing else about the campaigns changes, and archived campaigns can be moved too. Up to 50 campaigns a call; each is moved on its own, and the answer says which were moved, which were not and why, and (when the batch was cut short) which are in doubt or were never sent. Get campaign ids from list_campaigns and folder ids from list_folders (create_folder makes a new one).
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_ids": "<campaign_ids>",
"folder_id": "<folder_id>"
},
"name": "move_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_id | Yes | The id of the folder to move them into, as list_folders returns it. `null` takes them out of their folder. | |
| campaign_ids | Yes | The ids of the campaigns to move, as list_campaigns returns them, 1 to 50. |