Access Google Ads data through Google Analytics integration, run performance reports, list linked Ads accounts, and analyze campaign metrics using Rube MCP (Composio).
Toolkit docs: composio.dev/toolkits/googleads
RUBE_MANAGE_CONNECTIONS with toolkit google_analytics
RUBE_SEARCH_TOOLS first to get current tool schemasGet Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit google_analytics
Note: Google Ads data is accessed through the Google Analytics toolkit integration. The tools below use GA4 properties linked to Google Ads accounts.
Use GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS to retrieve all Google Ads account links configured for a GA4 property.
Tool: GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS
Parameters:
- parent (required): Property resource name (format: "properties/{propertyId}")
- pageSize: Max results (1-200, default 50)
- pageToken: Pagination token
Use GOOGLE_ANALYTICS_RUN_REPORT to run customized reports with dimensions, metrics, date ranges, and filters.
Tool: GOOGLE_ANALYTICS_RUN_REPORT
Parameters:
- property (required): Property resource (format: "properties/{property_id}")
- dimensions: Array of dimension objects (e.g., [{"name": "sessionCampaignName"}, {"name": "date"}])
- metrics: Array of metric objects (e.g., [{"name": "sessions"}, {"name": "totalRevenue"}])
- dateRanges: Array with startDate and endDate (e.g., [{"startDate": "2025-01-01", "endDate": "2025-01-31"}])
- dimensionFilter: Filter by dimension values
- metricFilter: Filter by metric values (applied after aggregation)
- orderBys: Sort results
- limit: Max rows to return (1-250000)
Use GOOGLE_ANALYTICS_CHECK_COMPATIBILITY to validate dimension and metric combinations before running a report.
Tool: GOOGLE_ANALYTICS_CHECK_COMPATIBILITY
Description: Validates compatibility of chosen dimensions or metrics
before running a report.
Note: Call RUBE_SEARCH_TOOLS to get the full schema for this tool.
Use GOOGLE_ANALYTICS_LIST_ACCOUNTS to enumerate all accessible Google Analytics accounts.
Tool: GOOGLE_ANALYTICS_LIST_ACCOUNTS
Parameters:
- pageSize: Max accounts to return
- pageToken: Pagination token
- showDeleted: Include soft-deleted accounts
Use GOOGLE_ANALYTICS_LIST_PROPERTIES to list properties for a specific GA4 account.
Tool: GOOGLE_ANALYTICS_LIST_PROPERTIES
Parameters:
- account (required): Account resource name (format: "accounts/{account_id}")
- pageSize: Max properties (1-200)
- pageToken: Pagination token
- showDeleted: Include trashed properties
Use GOOGLE_ANALYTICS_GET_METADATA to discover all available fields for building reports.
Tool: GOOGLE_ANALYTICS_GET_METADATA
Description: Gets metadata for dimensions, metrics, and comparisons
for a GA4 property.
Note: Call RUBE_SEARCH_TOOLS to get the full schema for this tool.
GOOGLE_ANALYTICS_LIST_ACCOUNTS to find account IDs, then GOOGLE_ANALYTICS_LIST_PROPERTIES to find property IDs, then GOOGLE_ANALYTICS_RUN_REPORT to pull data.GOOGLE_ANALYTICS_CHECK_COMPATIBILITY to validate dimension/metric combinations before running reports to avoid 400 errors.sessionCampaignName, sessionSource, sessionMedium and metrics like sessions, activeUsers, totalRevenue.GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS to find which Google Ads accounts are linked to each GA4 property.GOOGLE_ANALYTICS_GET_METADATA to list all available dimensions and metrics before constructing complex reports.userAgeBracket, userGender) are often incompatible with session-scoped dimensions/filters (e.g., sessionCampaignName, sessionSource).dateRange is NOT a dimension: Do not include dateRange in the dimensions array. Use date, dateHour, year, month, or week instead.exits is NOT valid: Neither exits as a dimension nor as a metric is valid in GA4.properties/{numeric_id} (e.g., properties/123456789). Do not use Google Account IDs (long OAuth IDs).accounts/{numeric_id} where the numeric ID is 6-10 digits.dimensionFilter only for dimension fields and metricFilter only for metric fields. Mixing them will cause errors.| Action | Tool | Key Parameters |
|---|---|---|
| List Ads links | GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS |
parent |
| Run report | GOOGLE_ANALYTICS_RUN_REPORT |
property, dimensions, metrics, dateRanges |
| Check compatibility | GOOGLE_ANALYTICS_CHECK_COMPATIBILITY |
(see full schema via RUBE_SEARCH_TOOLS) |
| List accounts | GOOGLE_ANALYTICS_LIST_ACCOUNTS |
pageSize |
| List properties | GOOGLE_ANALYTICS_LIST_PROPERTIES |
account, pageSize |
| Get metadata | GOOGLE_ANALYTICS_GET_METADATA |
(see full schema via RUBE_SEARCH_TOOLS) |
Powered by Composio