Draft a Google Search campaign
Validates a campaign exactly as the web Campaigns page does (copy only from an approved draft, the project's own HTTPS domain with no utm_* parameters (recomention adds its own tag), whole days in the account's time zone, at least 4 days, one UTC month) and asks Google to validate it without creating anything. Returns the approval hash to create with. Spends nothing and holds no budget. 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.
apiKeyAuthorizationBearer <token>An API key (rmk_…).
id*stringapplication/json- body
form*The reviewed campaign.
application/json- response
draft*curl -X POST 'https://api.recomention.com/v1/projects/string/ads/campaigns/draft' \ -H 'Content-Type: application/json' \ -d '{ "form": { "connectionId": "string", "draftId": "string", "draftVersion": 1, "name": "string", "headlines": [ "string", "string", "string" ], "descriptions": [ "string", "string" ], "finalUrl": "http://example.com", "keywords": [ { "text": "string", "matchType": "EXACT" } ], "geoTargetIds": [ "string" ], "firstDay": "string", "lastDay": "string", "lifetimeCap": "string", "maxCpc": "string", "nonPolitical": true }}'{ "draft": { "approvalHash": "string", "form": { "connectionId": "string", "draftId": "string", "draftVersion": 1, "name": "string", "headlines": [ "string", "string", "string" ], "descriptions": [ "string", "string" ], "finalUrl": "http://example.com", "keywords": [ { "text": "string", "matchType": "EXACT" } ], "geoTargetIds": [ "string" ], "firstDay": "string", "lastDay": "string", "lifetimeCap": "string", "maxCpc": "string", "nonPolitical": true }, "schedule": { "startAt": "string", "endAt": "string", "timeZone": "string" }, "account": { "accountId": "string", "currency": "string", "timeZone": "string" }, "monthlyBudget": { "month": "string", "limit": "string", "committed": "string", "enabled": true }, "initialStatus": "PAUSED", "reservationDisclosure": "string", "providerValidation": { "state": "string", "note": "string" } }}