● Communauté
irinabuht12-oss
⚡ Instantané
google-meta-ads-ga4-mcp
par irinabuht12-oss · irinabuht12-oss/google-meta-ads-ga4-mcp
Unified MCP server for Google Ads, Meta Ads, and GA4 — 250+ tools for campaign management, analytics, and optimization.
google-meta-ads-ga4-mcp provides a single MCP server that unifies management of Google Ads (150+ tools), Meta Ads (80+ tools), and Google Analytics 4 (20+ tools). It handles campaign creation, keyword research, ad management, audience targeting, creative assets, performance analytics, and conversion tracking. Uses OAuth 2.1 for secure authentication without local API key storage.
Pourquoi l'utiliser
Fonctionnalités clés
- 250+ tools spanning Google Ads, Meta Ads, and GA4 in one server
- Google Ads: campaigns, keywords, bidding, ad creation, A/B testing, conversion tracking
- Meta Ads: campaigns, audiences, creative assets, lead forms, product catalogs
- GA4: standard/pivot/realtime reporting, audience analysis, attribution settings
- OAuth 2.1 authentication — no local API key storage needed
Démo en direct
Aperçu en pratique
google-meta-ads-ga4.replay
▶ prêt
Cas d'usage
Usages concrets : google-meta-ads-ga4-mcp
Quand l'utiliser : Your weekly performance review needs data from both Google Ads and Meta Ads.
Prérequis
- OAuth authentication complete — Follow the setup guide to authorize Google and Meta accounts
Déroulement
-
Pull cross-platform metrics
Show me last week's performance for all active campaigns across Google Ads and Meta Ads. Include spend, impressions, clicks, CTR, and CPA.✓ Copié
→ Combined table with metrics from both platforms
-
Identify underperformers
Which campaigns have a CPA more than 2x our target of $25? Recommend whether to pause, adjust budget, or change targeting.✓ Copié
→ Specific recommendations with data backing
Résultat : A unified performance view with actionable optimization recommendations.
Pièges
- Attribution windows differ between platforms — Specify the same date range and note that Google and Meta may count conversions differently
Quand l'utiliser : You want to set up a new Meta Ads campaign without navigating the complex Ads Manager UI.
Prérequis
- Meta Ads account authorized — Complete OAuth setup for your Meta Business account
Déroulement
-
Create the campaign
Create a Meta Ads campaign for my online store targeting women 25-45 interested in organic skincare. Daily budget $50, optimizing for purchases.✓ Copié
→ Campaign, ad set, and targeting configured
-
Upload creative
Upload these 3 product images as ad creatives and create carousel ads with them.✓ Copié
→ Ads created with images and copy
Résultat : A complete Meta Ads campaign ready to launch.
Pièges
- Audience too narrow leads to high CPMs — Start with broader targeting and narrow based on performance data
Quand l'utiliser : You want to understand where your traffic comes from and how users behave.
Prérequis
- GA4 property authorized — Complete OAuth setup for your Google Analytics account
Déroulement
-
Pull traffic report
Show me a GA4 report of traffic sources for the past 30 days. Break down by channel, with sessions, engagement rate, and conversions.✓ Copié
→ Channel breakdown with key metrics
-
Analyze user behavior
For organic search traffic, what are the top landing pages and average engagement time? Which pages have the highest bounce rate?✓ Copié
→ Page-level analysis with actionable insights
Résultat : Clear understanding of traffic patterns and user behavior for optimization.
Pièges
- GA4 data can have 24-48 hour processing delays — Use realtime reporting for today's data, standard reports for historical analysis
Combinaisons
Associez-le à d'autres MCPs pour un effet X10
Export campaign performance data to CSV files for further analysis
Export last month's Google Ads campaign performance to a CSV file in ~/reports/.✓ Copié
Coût et limites
Coût d'exécution
- Quota d'API
- Subject to Google Ads API and Meta Marketing API rate limits
- Tokens par appel
- 300–2000 tokens depending on report size
- Monétaire
- The MCP server itself requires setup — check pricing at the project's site. API calls are free within platform quotas.
- Astuce
- Pull aggregated reports instead of item-by-item queries to stay within rate limits.
Sécurité
Permissions, secrets, portée
Portées minimales : Google Ads API read/write Meta Marketing API read/write GA4 reporting
Stockage des identifiants : OAuth 2.1 — credentials managed server-side, not stored locally
Sortie de données : Calls to Google Ads API, Meta Marketing API, and Google Analytics Data API
Ne jamais accorder : Account-level admin access unless you need to create new campaigns
- Write operations (create campaigns, change budgets) are real — changes go live immediately. Test with small budgets first.
- OAuth tokens grant access to your ad accounts. Revoke access if you stop using the server.
Dépannage
Erreurs courantes et correctifs
OAuth authentication failed
Re-authorize through the setup flow. Ensure your Google/Meta accounts have the required API access enabled.
Vérifier : Check the server logs for specific OAuth error messages
No data returned from GA4
GA4 data has a 24-48 hour processing delay. For recent data, use realtime reporting.
Vérifier : Try pulling data from 3+ days ago
Rate limit exceeded
Google Ads and Meta APIs have different rate limits. Reduce query frequency or batch requests.
Vérifier : Check API quota dashboards in Google/Meta developer consoles
Alternatives
google-meta-ads-ga4-mcp vs autres
| Alternative | Quand l'utiliser | Compromis |
| Direct API access | You need fine-grained control over API parameters not exposed by the MCP tools | More flexibility but requires writing API code yourself |