recomentionDocs
API reference

Enable a campaign (can spend)

Re-verifies the paused campaign in Google Ads and enables it, so it can serve and spend from its start time up to its cap. Needs confirmSpend: true, a second confirmation separate from create; without it nothing is changed. Only campaigns created through this API (a campaign created on the dashboard answers 409: enable it there). Already enabled answers reused: true. Early access — owner-only until Google verifies campaign management. Google Search only. Needs an API key whose owner allowed it to run ad campaigns (Account → Developers; otherwise 403 KEY_NOT_ALLOWED). The server's ad switches, campaign and monthly caps, the owner's enabled monthly budget and, until Google verifies the app, the owner allowlist all apply; a refusal says which. 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
/v1/projects/{id}/ads/campaigns/{campaignId}/enable

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (rmk_…).

Path Parameters

id*string
campaignId*string

Request Body

application/json
  1. body
confirmSpend*boolean

Response Body

The enabled campaign.

application/json
  1. response
campaign*
reused*boolean
Example Request
curl -X POST 'https://api.recomention.com/v1/projects/string/ads/campaigns/string/enable' \  -H 'Content-Type: application/json' \  -d '{  "confirmSpend": true}'
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}