Back to Home
mikdeangelis icon

mcp-google-ads

Verified Safe

by mikdeangelis

Overview

Manages Google Ads campaigns, ad groups, ads, keywords, and assets, while providing performance insights and optimization recommendations through a Model Context Protocol (MCP) server.

Installation

Run Command
/path/to/mcp-google-ads/.venv/bin/python /path/to/mcp-google-ads/google_ads_mcp.py

Environment Variables

  • GOOGLE_ADS_DEVELOPER_TOKEN
  • GOOGLE_ADS_CLIENT_ID
  • GOOGLE_ADS_CLIENT_SECRET
  • GOOGLE_ADS_REFRESH_TOKEN
  • GOOGLE_ADS_LOGIN_CUSTOMER_ID

Security Notes

The server correctly loads API credentials from environment variables, which is a good security practice. Extensive Pydantic validation is applied to all input parameters, mitigating common injection vulnerabilities in API calls (e.g., for customer IDs or date ranges). No 'eval' or other dynamic code execution functions are observed. File I/O operations for image uploads (e.g., in PMAX campaign creation) include checks for file existence, type (extensions), and size, significantly reducing the risk of arbitrary file access. The code follows standard practices for interacting with the Google Ads API client library.

Similar Servers

Stats

Interest Score16
Security Score9
Cost ClassHigh
Avg Tokens8000
Stars1
Forks0
Last Update2025-12-29

Tags

Google AdsMarketing AutomationAdvertising APIPerformance AnalyticsCampaign Management