×Adstudio for Gemini CLI

Your ad accounts, in Gemini CLI

Add the Adstudio MCP server to Gemini CLI and work with live Google Ads, Meta Ads and TikTok Ads numbers where you write code. Pull them into scripts, notebooks and dashboards without an export.

  • One setup step adds the Adstudio MCP server
  • Live ad numbers in scripts, notebooks and dashboards
  • Down to the campaign, ad group and ad
Google Ads Meta Ads TikTok Ads

An example conversation in Gemini CLI: it reads live ad accounts through Adstudio and explains what changed.

Setup

Gemini CLI + Adstudio in 4 steps

No API keys and nothing to install on your ad accounts. Gemini CLI signs in to Adstudio, and Adstudio does the talking to Google, Meta and TikTok.

  1. 01Add the serverIn your terminal, run gemini mcp add --transport http adstudio https://useadstudio.com/api/mcp.
  2. 02Start Gemini CLIRun gemini. It finds Adstudio and opens your browser to sign in.
  3. 03Sign inSign in with your Adstudio account. If it asks again later, type /mcp auth adstudio.
  4. 04AskAsk your question. Type /mcp at any time to see the Adstudio tools.
Copy the setup
gemini mcp add --transport http adstudio https://useadstudio.com/api/mcp
OAuth sign-in · no platform passwordsThen ask, for example:Pull last week’s CPA by campaign into a CSVGemini CLI docs on MCPFull setup guide
What it can do

What Gemini CLI can do with your ads

Live numbers in your code

Pull spend, conversions and CPA into a script, a notebook or a dashboard, without exporting a file.

Ads and creatives too

Campaigns, ad groups, ads and the creatives behind them, not just account totals.

Your role is the limit

Gemini CLI reaches the workspaces you are a member of, and never beyond your role in each one.

Off in one click

Turn off MCP access in Settings → MCP and Gemini CLI loses access at once.

Every number sourced

Each figure names the account, the campaign and the date range it came from.

No platform passwords

Gemini CLI signs in to Adstudio with OAuth. Your ad platform logins never reach it.

Prompts

What to ask Gemini CLI first

Questions teams running Google, Meta and TikTok ask every week. Each one works as written once Adstudio is connected.

Data

Pull last 30 days of spend and CPA by campaign into data/spend.csv.

Try it in Gemini CLI
Dashboards

Chart weekly ROAS by platform for the last quarter.

Try it in Gemini CLI
Creative

List TikTok ads by CTR this month and save the top ten to a JSON file.

Try it in Gemini CLI
Check

Compare this week’s Google Ads spend with the same week last month and flag anything up 20%.

Try it in Gemini CLI
FAQ

Gemini CLI, answered

Is this the Gemini app or Gemini CLI?

These steps are for Gemini CLI, Google's open-source agent for the terminal. It connects to Adstudio with one command.

Where is the server saved?

In your Gemini settings.json, under mcpServers. You can also add it there by hand with httpUrl set to https://useadstudio.com/api/mcp.

Can Gemini CLI change my campaigns?

No. The Adstudio MCP server only reads: it lists your accounts and reads performance, campaigns, ad groups, ads and creatives. Changes are made in Adstudio, where each one is a plan you approve.

What can Gemini CLI see?

The workspaces you are a member of in Adstudio, never beyond your role in each one. Turn off MCP access in Settings → MCP and Gemini CLI loses access at once, along with every other connected AI.

Which ad platforms can I use from Gemini CLI?

Google Ads, Meta Ads and TikTok Ads, through the accounts you have connected in Adstudio.

×Adstudio for Gemini CLI

Bring your ad accounts to Gemini CLI

Google Ads, Meta Ads and TikTok Ads, one sign-in away.

Free guide · coming soon

The AI-first paid media playbook

How teams run Google, Meta and TikTok with an AI assistant: the prompts, the guardrails and the weekly rhythm. Leave your email and we'll send it when it's out.

One email when the guide is ready. No spam, unsubscribe any time.
  1. 01Prompts that find wasted spend
  2. 02Building campaigns from a brief
  3. 03Guardrails and approvals
  4. 04The weekly reporting rhythm