AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

How to install Google Ads in Codex

To install Google Ads in Codex, run "codex mcp add google-ads --env GOOGLE_ADS_DEVELOPER_TOKEN=YOUR_GOOGLE_ADS_DEVELOPER_TOKEN --env GOOGLE_ADS_CLIENT_ID=YOUR_GOOGLE_ADS_CLIENT_ID --env GOOGLE_ADS_CLIENT_SECRET=YOUR_GOOGLE_ADS_CLIENT_SECRET --env GOOGLE_ADS_REFRESH_TOKEN=YOUR_GOOGLE_ADS_REFRESH_TOKEN --env GOOGLE_ADS_CUSTOMER_ID=YOUR_GOOGLE_ADS_CUSTOMER_ID -- npx -y @zleventer/google-ads-mcp" in your terminal, then type /mcp in Codex to check it.

Built from the published package · server updated 5 months ago

  1. 1

    Run the install command

    In a terminal, run:

    codex mcp add google-ads --env GOOGLE_ADS_DEVELOPER_TOKEN=YOUR_GOOGLE_ADS_DEVELOPER_TOKEN --env GOOGLE_ADS_CLIENT_ID=YOUR_GOOGLE_ADS_CLIENT_ID --env GOOGLE_ADS_CLIENT_SECRET=YOUR_GOOGLE_ADS_CLIENT_SECRET --env GOOGLE_ADS_REFRESH_TOKEN=YOUR_GOOGLE_ADS_REFRESH_TOKEN --env GOOGLE_ADS_CUSTOMER_ID=YOUR_GOOGLE_ADS_CUSTOMER_ID -- npx -y @zleventer/google-ads-mcp
  2. 2

    Check it

    Inside Codex, type /mcp to see the server and its tools.

MCP servers run with your permissions. If Google Ads needs an API key, add it under env in the config. Check its README.

Install Google Ads in another app

Similar servers

Questions

Does Google Ads work in Codex?

Yes. Codex supports mcp servers in the codex cli and ide extension, and Google Ads installs with the steps above.

Google Ads does not show up in Codex. What now?

Restart Codex fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.

Is Google Ads safe?

It scores 30 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.