google-ads-mcp-server

v0.2.5
google-ads-mcp-server Checked 1 day ago Published 9 days ago

Open-source Google Ads MCP server with audits, multi-currency reporting, and safety guardrails

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

server_status

Check server readiness without exposing credential values or secrets.

list_accounts

Lists all accessible Google Ads accounts. This is typically the first command you should run to identify which accounts you have access to. The returned account IDs can be used in subsequent commands. Returns: A formatted list of all Google Ads accounts accessible with your credentials

execute_gaql_query

Execute a custom GAQL (Google Ads Query Language) query. This tool allows you to run any valid GAQL query against the Google Ads API. Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) query: The GAQL query to execute (must follow GAQL syntax) Returns: Formatted query results or error message Example: customer_id: "1234567890" query: "SELECT campaign.id, campaign.name FROM campaign LIMIT 10"

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
query *stringValid GAQL query string following Google Ads Query Language syntax

get_campaign_performance

Get campaign performance metrics for the specified time period. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available account IDs 2. Then run get_account_currency() to see what currency the account uses 3. Finally run this command to get campaign performance Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) days: Number of days to look back (default: 30) Returns: Formatted table of campaign performance data Note: Cost values are in micros (millionths) of the account currency…

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
daysintegerNumber of days to look back (7, 30, 90, etc.)

get_ad_performance

Get ad performance metrics for the specified time period. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available account IDs 2. Then run get_account_currency() to see what currency the account uses 3. Finally run this command to get ad performance Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) days: Number of days to look back (default: 30) Returns: Formatted table of ad performance data Note: Cost values are in micros (millionths) of the account currency (e.g., 1000000 =…

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
daysintegerNumber of days to look back (7, 30, 90, etc.)

run_gaql

Execute any arbitrary GAQL (Google Ads Query Language) query with custom formatting options. This is the most powerful tool for custom Google Ads data queries. Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) query: The GAQL query to execute (any valid GAQL query) format: Output format ("table", "json", or "csv") Returns: Query results in the requested format EXAMPLE QUERIES: 1. Basic campaign metrics: SELECT campaign.name, metrics.clicks, metrics.impressions,…

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
query *stringValid GAQL query string following Google Ads Query Language syntax
formatstringOutput format: 'table', 'json', or 'csv'

get_ad_creatives

Get ad creative details including headlines, descriptions, and URLs. This tool retrieves the actual ad content (headlines, descriptions) for review and analysis. Great for creative audits. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available account IDs 2. Then run this command with the desired account ID Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) Returns: Formatted list of ad creative details Example: customer_id: "1234567890"

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'

get_account_currency

Retrieve the default currency code used by the Google Ads account. IMPORTANT: Run this first before analyzing cost data to understand which currency the account uses. Cost values are always displayed in the account's currency. Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) Returns: The account's default currency code (e.g., 'USD', 'EUR', 'GBP') Example: customer_id: "1234567890"

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'

get_image_assets

Retrieve all image assets in the account including their full-size URLs. This tool allows you to get details about image assets used in your Google Ads account, including the URLs to download the full-size images for further processing or analysis. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available account IDs 2. Then run this command with the desired account ID Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) limit: Maximum number of image assets to return (default: 50) Returns: Forma…

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
limitintegerMaximum number of image assets to return

download_image_asset

Download a specific image asset from a Google Ads account. This tool allows you to download the full-size version of an image asset for further processing, analysis, or backup. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available account IDs 2. Then run get_image_assets() to get available image asset IDs 3. Finally use this command to download specific images Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) asset_id: The ID of the image asset to download output_dir: Directory where the im…

ParameterTypeDescription
asset_id *stringThe ID of the image asset to download
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
output_dirstringDirectory to save the downloaded image

get_asset_usage

Find where specific assets are being used in campaigns and ad groups. This tool helps you analyze how assets are linked to campaigns and ads across your account, which is useful for creative analysis and optimization. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available account IDs 2. Run get_image_assets() to see available assets 3. Use this command to see where specific assets are used Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) asset_id: Optional specific asset ID to look up (leave empty…

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
asset_idstringOptional: specific asset ID to look up (leave empty to get all image assets)
asset_typestringAsset type to search for ('IMAGE', 'TEXT', 'VIDEO', etc.)

analyze_image_assets

Analyze image assets with their performance metrics across campaigns. This comprehensive tool helps you understand which image assets are performing well by showing metrics like impressions, clicks, and conversions for each image. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available account IDs 2. Then run get_account_currency() to see what currency the account uses 3. Finally run this command to analyze image asset performance Args: customer_id: The Google Ads customer ID as a string (10 digits, no dashes) days: Number of days…

ParameterTypeDescription
customer_id *stringGoogle Ads customer ID (10 digits, no dashes). Example: '1234567890'
daysintegerNumber of days to look back (7, 30, 90, etc.)

list_resources

List valid resources that can be used in GAQL FROM clauses. This metadata comes from GoogleAdsFieldService and does not require a customer ID. The optional argument is retained for backward compatibility.

ParameterTypeDescription
customer_idDeprecated and ignored; GoogleAdsFieldService does not require a customer ID

get_change_history

Return account changes, actor, timestamp and changed fields.

ParameterTypeDescription
customer_id *string
daysinteger
resource_type

get_bidding_strategies

List portfolio and campaign bidding strategies.

ParameterTypeDescription
customer_id *string

get_budget_utilization

Return configured budget, spend, utilization and budget-limited status.

ParameterTypeDescription
customer_id *string
daysinteger

generate_client_report

Generate a white-label client report in JSON, Markdown or HTML using the account time zone.

ParameterTypeDescription
customer_id *string
branding
complete_days_onlyboolean
formatstring
include_recommendationsboolean
periodstring

generate_agency_dashboard

Generate consolidated spend, metrics, alerts and pending work for all clients (currencies separated).

ParameterTypeDescription
complete_days_onlyboolean
daysinteger

compare_periods

Compare account metrics between two explicit or preset periods in the account time zone.

ParameterTypeDescription
customer_id *string
period_a *string
period_b *string
complete_days_onlyboolean
metricsarray

detect_waste

Detect and prioritize non-converting spend and low-value traffic in the account time zone.

ParameterTypeDescription
customer_id *string
complete_days_onlyboolean
daysinteger
min_waste_microsinteger

generate_optimization_plan

Generate prioritized, non-executing MCP actions from current account data in the account time zone.

ParameterTypeDescription
customer_id *string
complete_days_onlyboolean
daysinteger
min_waste_microsinteger

check_alerts

Evaluate configured spend, CTR, CPA and waste thresholds.

ParameterTypeDescription
customer_ids

list_analysis_profiles

List editable local analysis profiles (Markdown templates + TOML parameters).

get_analysis_profile

Load an analysis profile's Markdown instructions, TOML parameters, and merged thresholds.

ParameterTypeDescription
profile_id *stringProfile ID (e.g. 'leads-audit' or 'ecommerce-audit')
customer_idOptional 10-digit customer ID to include in the reproducibility header