MCPcopy Create free account

hub / github.com/cohnen/mcp-google-ads / functions

Functions27 in github.com/cohnen/mcp-google-ads

↓ 11 callersFunctionformat_customer_id
Format customer ID to ensure it's 10 digits without dashes.
google_ads_server.py:52
↓ 10 callersFunctionget_credentials
Get and refresh OAuth credentials or service account credentials based on the auth type. This function supports two authentication metho
google_ads_server.py:66
↓ 10 callersFunctionget_headers
Get headers for Google Ads API requests.
google_ads_server.py:204
↓ 2 callersFunctionexecute_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.
google_ads_server.py:285
↓ 1 callersFunctionformat_customer_id
Format customer ID to ensure it's 10 digits without dashes.
format_customer_id_test.py:1
↓ 1 callersFunctionget_oauth_credentials
Get and refresh OAuth user credentials.
google_ads_server.py:119
↓ 1 callersFunctionget_service_account_credentials
Get credentials using a service account key file.
google_ads_server.py:94
↓ 1 callersFunctionrun_gaql
Execute any arbitrary GAQL (Google Ads Query Language) query with custom formatting options. This is the most powerful tool for custom G
google_ads_server.py:451
↓ 1 callersFunctiontest_asset_methods
Test Asset-related MCP tools directly.
test_google_ads_mcp.py:89
↓ 1 callersFunctiontest_customer_id_formatting
Test the customer ID formatting function.
test_token_refresh.py:85
↓ 1 callersFunctiontest_format_customer_id
Test the format_customer_id function with various input formats.
format_customer_id_test.py:15
↓ 1 callersFunctiontest_token_refresh
Test the token refresh mechanism.
test_token_refresh.py:21
Functionanalyze_image_assets
Analyze image assets with their performance metrics across campaigns. This comprehensive tool helps you understand which image assets ar
google_ads_server.py:1290
Functiondownload_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
google_ads_server.py:1010
Functiongaql_help
Provides assistance for writing GAQL queries.
google_ads_server.py:857
Functiongaql_reference
Google Ads Query Language (GAQL) reference documentation.
google_ads_server.py:770
Functionget_account_currency
Retrieve the default currency code used by the Google Ads account. IMPORTANT: Run this first before analyzing cost data to understand wh
google_ads_server.py:706
Functionget_ad_creatives
Get ad creative details including headlines, descriptions, and URLs. This tool retrieves the actual ad content (headlines, descriptions)
google_ads_server.py:608
Functionget_ad_performance
Get ad performance metrics for the specified time period. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available accoun
google_ads_server.py:404
Functionget_asset_usage
Find where specific assets are being used in campaigns, ad groups, and ads. This tool helps you analyze how assets are linked to campaig
google_ads_server.py:1119
Functionget_campaign_performance
Get campaign performance metrics for the specified time period. RECOMMENDED WORKFLOW: 1. First run list_accounts() to get available
google_ads_server.py:358
Functionget_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
google_ads_server.py:922
Functiongoogle_ads_workflow
Provides guidance on the recommended workflow for using Google Ads tools.
google_ads_server.py:826
Functionlist_accounts
Lists all accessible Google Ads accounts. This is typically the first command you should run to identify which accounts you have ac
google_ads_server.py:246
Functionlist_resources
List valid resources that can be used in GAQL FROM clauses. Args: customer_id: The Google Ads customer ID as a string
google_ads_server.py:1444
Functiontest_format_customer_id
Test the format_customer_id function with various input formats.
test_google_ads_mcp.py:13
Functiontest_mcp_tools
Test Google Ads MCP tools directly.
test_google_ads_mcp.py:41