Gemini CLI is Google's open-source agent for the terminal. With the AdsGPT MCP server, Gemini can run your accounts on Google Ads, Meta Ads and more: pull reports, adjust budgets or plan Performance Max campaigns.
The integration is MCP only: add it with gemini mcp add or by editing settings.json, and complete authentication with /mcp auth.
What you can do
Instant reports
Performance by account, campaign, ad group or ad set and ad, on any network and period.
Find wasted spend
Spot campaigns, ads or search terms that spend without converting and decide what to pause.
Adjust budgets and statuses
Raise or lower budgets and pause or enable campaigns, ad groups and ads, with your approval.
Create and launch campaigns
Plan a campaign with copy, images and videos and launch it on one or several networks at once. It is created paused.
Platforms compatible with Gemini CLI
From Gemini CLI you already manage Google Ads. The other networks already work in the AdsGPT assistant and are coming soon to Gemini CLI. Pick one to see its guide.
Requirements
- An AdsGPT account with at least one ad platform connected.
- Gemini CLI installed.
Step-by-step setup
Add the MCP server
- MCP server
- Add it for your user (without
-s userit is added only to the current project):Terminal gemini mcp add --transport http adsgpt https://mcp.adsgpt.dev -s user - Or edit
~/.gemini/settings.json:~/.gemini/settings.json { "mcpServers": { "adsgpt": { "httpUrl": "https://mcp.adsgpt.dev" } } } - In Gemini CLI, authenticate:
Gemini CLI /mcp auth adsgpt - Ask, for example: "How did my Google Ads campaigns do last week?"
Use httpUrl, not url: in Gemini CLI, url is for the older SSE transport.
Example prompts
- “How did my Google Ads campaigns do last week?”
- “Compare Meta Ads and TikTok Ads performance this month, by campaign.”
- “Find the search terms that spend without converting in the last 30 days.”
- “Raise the daily budget of my best-converting campaign by 20%.”
- “Launch the same campaign on Google Ads, Meta Ads and LinkedIn Ads with a budget of 300 for 30 days.”
- “Plan a Performance Max campaign to get leads for my clinic in Madrid.”
Security and approvals
- You sign in with OAuth 2.1: you never copy or share API keys.
- The
ads:readscope comes first;ads:writeis only requested the first time a tool changes something. - Every change shows the current and new value and waits for your approval.
- New campaigns launch paused unless you ask otherwise.
- AdsGPT acts with your role on the account and receives tool calls, never your conversation.
Frequently asked questions
Why httpUrl and not url?
Gemini CLI reserves url for the SSE transport. AdsGPT uses Streamable HTTP, which is configured with httpUrl.
Can I add it to a single project?
Yes. Run gemini mcp add without the -s user option inside the project folder.
Is Gemini CLI the same as the Gemini app?
No. This guide is for Gemini CLI, the terminal agent, which supports MCP servers.