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, status, quality scores, review, and spend and conversions over the sync's days, the ones that spent most kept when a campaign is large) and, for Performance Max asset groups, each text with its asset id and the assets Google disapproved; for Shopping ad groups and Performance Max asset groups, the products their listing groups include and exclude, by brand, category, product type, custom label or item id; on Google, each campaign's own negative keywords, the shared negative lists it uses and the extensions Google holds back, and its controls: the portfolio strategy it bids with and the target actually in force with what sets it, Google's suggested budget, the placement exclusion and brand lists it uses, labels, ad schedule and device bid adjustments; at account level the portfolio strategies, every shared list with its first entries, what the account excludes and its user lists with their sizes; 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 optimizes for) and every ad's urlParameters (null when it has none), finalUrl, leadFormId and the datasets its tracking reports to. Its ids are the ones meta_edit, google_ads_edit and google_ads_build take for existing entities. campaignId narrows it to one campaign.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "campaigns_structure"
}
}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 user's request or answer for this launch, in their own words. Otherwise optional: the user's request for this call, 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. |