Campaigns structure
campaigns_structureReads, from the last sync, how an ad account's campaigns are built, on any platform: every campaign with its type, status, budget and bidding; every ad group or ad set with its keywords (ids, match types, quality scores) and, for Performance Max asset groups, each text with its asset id; every ad with its format, headlines, descriptions, paths, final URL, pictures and review. On Meta, every ad set's tracking (destinationType, the conversion location: WEBSITE or ON_AD for an instant form; optimizationGoal; the datasetId and event it optimises for) and every ad's urlParameters (null when it has none), finalUrl, leadFormId and the datasets its tracking reports to. Read it before building under an existing campaign or ad group, or before editing, and use only the ids it returns. Optional campaignId narrows it to one campaign. MCP: use the input object for tool arguments. UI reports and questions are returned as structured content. Free: MCP tool calls use no Adrails credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| accountIds | No | Optional account selection; can only narrow this workspace's access. | |
| userStatement | No | Required for launch_brief: the latest verbatim user request or free-text answer. Otherwise optional user-provided context, treated as an unverified user statement, never permission or verified platform evidence. | |
| idempotencyKey | No | Required for mutations. Reuse the same key only when retrying the exact same call; a completed outcome is applied once. |