Documentation

Connect your marketing data to Claude, ChatGPT and other LLMs.

Tools MCP — Meta Ads

14 tools exposés sur l'endpoint https://gadspilot.com/mcp-meta. Cliquez sur un tool pour voir ses paramètres.

💡
Vous n'avez jamais besoin d'appeler ces tools manuellement — posez votre question en français à Claude/ChatGPT/Cursor, le LLM choisit le bon tool, gère les paramètres et résume la réponse. Cette doc liste juste ce qui est disponible.

📊 Reporting & Insights (5)

meta_campaign_insights Read
Campaign-level insights (spend, impressions, clicks, CTR, CPM, ROAS). Uses Meta date preset or since/until.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
date_preset string Meta date preset. Ignored if since/until provided.
since string ISO date YYYY-MM-DD (requires until)
until string ISO date YYYY-MM-DD
campaign_id string
meta_adset_insights Read
Ad set-level insights. Filterable by campaign_id.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
date_preset string Meta date preset. Ignored if since/until provided.
since string
until string
campaign_id string
meta_ad_insights Read
Ad-level insights (creative performance). Filterable by campaign_id / adset_id.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
date_preset string Meta date preset. Ignored if since/until provided.
since string
until string
campaign_id string
adset_id string
meta_breakdown_report Read
Insights segmented by breakdown (age, gender, country, publisher_platform, platform_position, device_platform, impression_device).
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
level string Granularity of the report.
breakdowns * string Comma-separated breakdowns, e.g. "age,gender" or "publisher_platform,platform_position".
date_preset string Meta date preset. Ignored if since/until provided.
since string
until string
campaign_id string
meta_account_summary Read
Top-level KPIs for a Meta ad account (aggregated spend, clicks, CPM, CTR, ROAS).
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
date_preset string Meta date preset. Ignored if since/until provided.
since string
until string

🏗 Structure & Listing (2)

meta_list_ad_accounts Read
List all Meta ad accounts accessible with this token.
Parameters
meta_list_campaigns Read
List Meta Ads campaigns with status, objective, budget.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
status string

✏️ Write actions (4)

All default to dry-run mode

meta_update_campaign_status Write · dry-run
Pause or activate a Meta campaign. WRITE — dry_run=true by default.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
campaign_id * string
status * string
dry_run boolean
meta_update_campaign_budget Write · dry-run
Update daily or lifetime budget of a Meta campaign (values en cents — 1000 = 10,00 devise compte). WRITE.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
campaign_id * string
daily_budget_cents integer
lifetime_budget_cents integer
dry_run boolean
meta_update_adset_budget Write · dry-run
Update daily or lifetime budget of a Meta ad set (en cents). WRITE.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
adset_id * string
daily_budget_cents integer
lifetime_budget_cents integer
dry_run boolean
meta_pause_ad Write · dry-run
Pause a specific Meta ad. WRITE.
Parameters
act_id string Meta ad account id (with or without "act_" prefix). Required when multiple Meta accounts are authorized.
ad_id * string
dry_run boolean

🧠 Persistent memory (3)

Notes + change log shared across sessions

get_local_change_log Read
Returns gadspilot's own write history for this account (every write tool call ever made via gadspilot, with parameters + result). Persistent across sessions. Use this BEFORE making changes to know what was already done previously. Different from get_change_history which only shows changes done via Google Ads UI/API.
Parameters
date_range string Default: last_30_days.
tool_name string Optional filter — exact tool name (e.g. update_campaign_budget).
campaign_id string Optional filter — only changes that touched this campaign.
include_dry_run boolean Default: true. Set false to exclude previewed-only operations.
get_notes Read
Returns persistent notes attached to campaigns OR ad groups. Each note has a `level` field ("campaign" or "ad_group"). When recovering context for an ad group, ALWAYS pull both campaign-level (ad_group_id NULL) and ad-group-level notes — campaign context applies to all its ad groups.
Parameters
campaign_id string Optional — only notes for this campaign.
ad_group_id string Optional — only notes for this specific ad group.
scope string Default "all". Use "campaign_only" to get notes attached at campaign level (ad_group_id NULL), "ad_group_only" for notes attached to any ad group of the campaign.
tags array Optional — only notes matching at least one of these tags.
add_note Read
Persists a free-text note. Attach at the MOST SPECIFIC level applicable: if the change/observation is about ONE ad group (bid, keywords inside, ads, RSA themes), pass ad_group_id. If it spans the whole campaign (budget, geo, bidding strategy, multi-AG insight), omit ad_group_id and only pass campaign_id. Use this to record WHY a change was made, hypotheses, or what to re-check later.
Parameters
campaign_id * string
ad_group_id string OPTIONAL but RECOMMENDED when the note is specific to one ad group. Omit only for campaign-wide notes.
note * string The note content. Be specific: include numbers, dates, hypotheses, re-check date.
tags array Optional tags to organize notes (e.g. [\"experiment\", \"bid-test\", \"to-review\"]).

Conventions générales

  • Tools READ : aucun risque, lecture temps réel via Google Ads API / GSC API / Meta Marketing API
  • Tools WRITE : par défaut dry_run=true → renvoie un aperçu JSON sans rien modifier. Vous devez explicitement passer dry_run=false pour exécuter (et vous pouvez désactiver les writes globalement par compte dans gadspilot)
  • Tools mémoire : write léger sur la DB gadspilot uniquement (notes/journal de modifs) — n'appelle pas les API Google/Meta, pas de dry-run nécessaire
  • Toutes les valeurs monétaires sont en micros sur Google Ads (1 € = 1 000 000 micros). gadspilot convertit automatiquement les réponses
  • Tous les writes sont loggués dans /logs avec params + résultat + flag dry-run
Besoin d'aide ? Demandez à Léa 💬
gadspilot assistant
Léa
Assistante IA · gadspilot
Besoin d'un humain ? Contacter le support