API reference
Pause a campaign
Pauses a campaign in its ad account (Google, or an existing Meta campaign). Always allowed, even when launching is switched off; no confirmation and no key permission needed. No cap is released. Served by the web app, which holds the ad connections: call `https://www.recomention.com/api/v1` + this path with the same key (the npm MCP server and the CLI do). Here it answers 409 with code feature_disabled and that path.
POST
apiKeyheader
AuthorizationBearer <token>An API key (rmk_…).
id*stringcampaignId*stringThe paused campaign.
application/json- response
campaign*reused*booleancurl -X POST 'https://api.recomention.com/v1/projects/string/ads/campaigns/string/pause'Example Response
{ "campaign": { "id": "string", "provider": "string", "state": "string", "revision": 0, "month": "string", "lifetimeCap": "string", "startAt": "string", "endAt": "string", "scheduleTimeZone": "string", "draftId": "string", "draftVersion": 0, "accountId": "string", "confirmed": true, "receipt": { "property1": "string", "property2": "string" }, "errorCode": "string", "createdAt": "string" }, "reused": true}