Integration · Gemini CLI × Meta Ads
Run Meta Ads inside Gemini CLI
NotFair connects Gemini CLI to live Meta Ads through the same hosted MCP endpoint used across the product. Campaigns, ad sets, ads, spend, frequency, CPM, CTR, conversions, and audience overlap across Facebook and Instagram.
Connect your Meta Ads account
Authorize once at notfair.co — then open Gemini CLI and start asking real questions about your account.
Setup
Connect Gemini CLI in three steps
Gemini CLI uses NotFair's hosted Streamable HTTP endpoint. NotFair hosts the Meta Marketing API app. You authorize existing ad accounts through OAuth; you do not create a Meta developer app.
1. Add the hosted MCP server
Gemini CLI can call a remote MCP endpoint. Point it at NotFair's Streamable HTTP URL.
{ "mcpServers": { "NotFair-MetaAds": { "url": "https://notfair.co/api/mcp/notfair" } } }2. Authorize Meta Ads
Open /connect/meta-ads/any-mcp on notfair.co, complete the hosted connection, and select the accounts or properties Gemini CLI may use.
3. Verify with a read
Ask Gemini CLI to list Meta Ads tools in this connection, excluding other platforms.
Capabilities
What Gemini CLI can do with NotFair
Read live Meta Ads data
Campaigns, ad sets, ads, spend, frequency, CPM, CTR, conversions, and audience overlap across Facebook and Instagram.
Counted tool surface
40 Meta Ads tools, measured from the production registrar and guarded by a drift test.
Hosted credentials
NotFair hosts the Meta Marketing API app. You authorize existing ad accounts through OAuth; you do not create a Meta developer app.
Platform-true writes
Preview the target and intended change, wait for explicit approval, then record operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on Meta. createAdImage uploads supplied PNG/JPEG assets. uploadAdVideo exists but production availability is gated behind a Graph API version and test-account canary.
Example workflows
Prompts that lead to real account work
Wasted-spend triage
“Audit my Meta Ads account for the last 30 days. Rank the three highest-cost problems with evidence. Do not change anything until I approve.”
A ranked diagnosis from live tools, with staged writes that wait for approval.
Creative or delivery review
“Show frequency, spend, and delivery for the active Meta Ads entities. Flag creative fatigue or stalled learning. Preview any pause.”
Platform-true delivery review. Preview the target and intended change, wait for explicit approval, then record operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on Meta.
Budget shift preview
“Propose moving budget from the worst entity to the best, showing current versus proposed values. Do not execute.”
An exact proposal you can approve or reject. NotFair does not claim Google Ads impact snapshots on this platform.
Why NotFair for Gemini CLI + Meta Ads
The hosted MCP endpoint is the same. The Meta Ads contract is not. NotFair keeps tool counts, OAuth, and write limits honest for this platform.
- 40 Meta Ads tools — not a vendor-wide total reused as a Meta Ads count
- NotFair hosts the Meta Marketing API app. You authorize existing ad accounts through OAuth; you do not create a Meta developer app.
- Preview the target and intended change, wait for explicit approval, then record operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on Meta.
- Same remote endpoint in Claude, Codex, Cursor, Windsurf, Gemini CLI, and OpenClaw
FAQ
Common questions about using Gemini CLI with Google Ads through NotFair.
Yes. NotFair's hosted MCP endpoint is the same across clients. Gemini CLI speaks MCP and can call the same tools. Meta publishes an official Ads MCP with paused-by-default writes.
NotFair does not copy Google Ads impact snapshots or undo onto Meta Ads. Preview the target and intended change, wait for explicit approval, then record operation provenance. NotFair does not expose Google Ads-style impact snapshots or undo on Meta.
NotFair advertises 40 Meta Ads tools.
Other integrations
Switching clients, or curious how this compares?
ChatGPT + Google Ads
NotFair connects ChatGPT to live Meta Ads through the same hosted MCP endpoint used across the product. Campaigns, ad sets, ads, spend, frequency, CPM, CTR, conversions, and audience overlap across Facebook and Instagram.
Claude Code + Google Ads
NotFair connects Claude Code to live Meta Ads through the same hosted MCP endpoint used across the product. Campaigns, ad sets, ads, spend, frequency, CPM, CTR, conversions, and audience overlap across Facebook and Instagram.
Cursor + Google Ads
NotFair connects Cursor to live Meta Ads through the same hosted MCP endpoint used across the product. Campaigns, ad sets, ads, spend, frequency, CPM, CTR, conversions, and audience overlap across Facebook and Instagram.