update_report_settings
Change a report's settings that apply to all of its widgets: language, excludeMetaCampaigns, period (or from and to) and comparison, any of them. language: en, de, es or fr; it changes how the report reads (labels, dates, numbers, AI text), not its figures. excludeMetaCampaigns: the full list of name terms; Meta Ads campaigns whose name contains any (case-insensitive) are left out of every figure (widgets, blends, share links, PDFs, e-mails, get_report_data), each such widget saying so in its aiNote; [] or null removes it; at most 20 terms of 100 characters. period and comparison: the report's date range and what it is compared with; the preview names the resolved dates, and a widget with its own date range keeps it. Requires MCP write actions; without confirm:true it returns a preview.
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": {
"reportId": "<reportId>"
},
"name": "update_report_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day of a fixed date range, YYYY-MM-DD, on or after from and at most 366 days after today. | |
| from | No | First day of a fixed date range, YYYY-MM-DD, with to and instead of period. A real date from 2000-01-01, not after today in the workspace's time zone. | |
| period | No | The report's period as a preset: last_month, last_quarter, this_month, last_week, last_14_days, last7days, last30days, last90days, last_6_months, last_12_months, quarter_to_date, year_to_date, all_time, today, yesterday, this_week, this_quarter, previous_month, or last_N_today / last_N_yesterday (N 1 to 365). The builder's placeholders (custom, last_custom_today) are refused. For fixed dates, from and to take the place of period. Omit to leave it as it is. | |
| confirm | No | Set true to apply. Omit for a preview. With confirm:true, also pass the preview's previewToken. | |
| language | No | The report's language: en, de, es or fr. Omit to leave it as it is. | |
| reportId | Yes | Report id (from list_reports). | |
| comparison | No | What the period is compared with: previous_period (the period of equal length before it), previous_month (the calendar month before the report's period), previous_year (the same dates a year earlier) or none. There is no custom comparison range. Omit to leave it as it is. | |
| previewToken | No | With confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments). | |
| excludeMetaCampaigns | No | The complete list of name terms: a Meta Ads campaign whose name contains any of them (case-insensitive) is excluded. [] or null = exclude none. Omit to leave the exclusion as it is. At most 20 terms of at most 100 characters. When a period's exclusion cannot be applied or verified (more than 200 matching campaigns, or a campaign list that does not add up to the account's spend), the affected widgets have no figures and get_report_data names the reason in _meta.unavailable. |