API reference
List ad campaigns
The project's Google and Meta campaigns with state and revision, the month budgets, the Google connection, the approved drafts a campaign may use and whether this owner can launch now. Changes nothing. 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.
GET
apiKeyheader
AuthorizationBearer <token>An API key (rmk_…).
id*stringCampaigns and budgets.
application/json- response
ads*curl -X GET 'https://api.recomention.com/v1/projects/string/ads/campaigns'Example Response
{ "ads": { "googleLaunchAvailable": true, "connection": { "connectionId": "string", "accountId": "string", "name": "string", "currency": "string", "timeZone": "string" }, "drafts": [ { "id": "string", "version": 0, "title": "string", "body": "string" } ], "monthlyBudgets": [ { "month": "string", "limit": "string", "committed": "string", "enabled": true } ], "campaigns": [ { "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" } ] }}