campaign_manage
Read campaigns and stage page-scale, content-sweep, or bulk-edit campaigns and blog articles. All staging is proposal-based and approval-gated; nothing publishes without the user. Already scoped to the connected workspace and its site; call directly, no domain or site parameter is needed. Cost: list/get reads are FREE. Creating/approving a campaign bills AI credits per page only as the staged work actually executes; nothing is spent at staging time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | propose_page_scale only (required): page kind, e.g. "location pages". | |
| rows | No | propose_page_scale, rowSourceKind=user: one object per page. | |
| urls | No | propose_bulk_edit, selectorKind=urls: the pages. | |
| brief | No | manage+update_brief: replacement brief. Also propose_page_scale (template brief) and propose_content_sweep (shared direction). | |
| title | No | propose_page_scale (required), propose_content_sweep (required), propose_bulk_edit (optional). | |
| action | Yes | Which operation to run. list (campaigns with status + task counts); manage (approve/pause/resume/abandon/update a campaign); propose_page_scale (programmatic landing pages at scale); propose_content_sweep (N distinct blog articles as a campaign); propose_bulk_edit (one instruction across many pages); write_articles (direct N-article staging). | |
| status | No | list only: filter campaigns by status. | |
| topics | No | propose_content_sweep (required, up to 50) and write_articles (required, 2-50). One distinct article per topic. | |
| confirm | No | manage only, approve + abandon: must be true - attests the user explicitly asked for this (approve releases work + spend; abandon is irreversible). | |
| maxPages | No | propose_bulk_edit only: cap the sweep size. | |
| segments | No | propose_bulk_edit: advanced mixed-template selectors (overrides selectorKind/instruction). | |
| taskType | No | propose_bulk_edit only (required): the sweep type, e.g. ctr_fix, schema, content_refresh. | |
| rowPrompt | No | propose_page_scale, rowSourceKind=ai: dataset to generate. | |
| rowTarget | No | propose_page_scale only: target number of rows/pages. | |
| campaignId | No | manage only: the campaign to act on. | |
| pathPrefix | No | propose_bulk_edit, selectorKind=path_prefix: the prefix. | |
| autoPublish | No | write_articles only: default false (stage as drafts). | |
| instruction | No | propose_bulk_edit only: shared per-page brief. | |
| user_intent | No | Optional: one short sentence describing what the user is ultimately trying to achieve with this request. Used by SEOmatic to tailor answers and improve the product; never required. | |
| allowGenText | No | propose_page_scale only: allow per-row AI text (costs credits). | |
| manageAction | No | manage only: what to do to the campaign. approve releases the campaign to execution (the USER must have explicitly said yes first). | |
| pageTemplate | No | propose_page_scale only: built-in template id. | |
| selectorKind | No | propose_bulk_edit only: how to select pages. | |
| rowSourceKind | No | propose_page_scale only (required): where page rows come from. | |
| publishAsDraft | No | propose_page_scale only: publish pages as drafts. | |
| libraryDatasetId | No | propose_page_scale, rowSourceKind=library: dataset id to attach. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||