{"data":{"slug":"github-composiohq-awesome-claude-skills-composio-skills-googleads-automation-66e14d4eed71","title":"Google Ads Analytics Automation via Rube MCP","summary":"Automate Google Ads analytics tasks using Rube MCP (Composio) to list Google Ads links, run GA4 reports, check compatibility, and analyze campaign metrics. Requires an active Rube MCP connection with the Google Analytics toolkit.","url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-googleads-automation-66e14d4eed71","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-composiohq-awesome-claude-skills-composio-skills-googleads-automation-66e14d4eed71","markdown_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-googleads-automation-66e14d4eed71.md","download_url":"https:\/\/skillshunter.net\/skills\/github-composiohq-awesome-claude-skills-composio-skills-googleads-automation-66e14d4eed71\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Rube MCP must be connected and the `RUBE_SEARCH_TOOLS` command must be called first to get current tool schemas. An active connection via `RUBE_MANAGE_CONNECTIONS` with the `google_analytics` toolkit is required before running any workflows.","instructions":"---\nname: googleads-automation\ndescription: \"Automate Google Ads analytics tasks via Rube MCP (Composio): list Google Ads links, run GA4 reports, check compatibility, list properties and accounts. Always search tools first for current schemas.\"\nrequires:\n  mcp: [rube]\n---\n\n# Google Ads Automation via Rube MCP\n\nAccess Google Ads data through Google Analytics integration, run performance reports, list linked Ads accounts, and analyze campaign metrics using Rube MCP (Composio).\n\n**Toolkit docs**: [composio.dev\/toolkits\/googleads](https:\/\/composio.dev\/toolkits\/googleads)\n\n## Prerequisites\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `google_analytics`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n**Get Rube MCP**: Add `https:\/\/rube.app\/mcp` as an MCP server in your client configuration. No API keys needed \u2014 just add the endpoint and it works.\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `google_analytics`\n3. If connection is not ACTIVE, follow the returned auth link to complete setup\n4. Confirm connection status shows ACTIVE before running any workflows\n\n> **Note**: Google Ads data is accessed through the Google Analytics toolkit integration. The tools below use GA4 properties linked to Google Ads accounts.\n\n## Core Workflows\n\n### 1. List Google Ads Links for a Property\nUse `GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS` to retrieve all Google Ads account links configured for a GA4 property.\n```\nTool: GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS\nParameters:\n  - parent (required): Property resource name (format: \"properties\/{propertyId}\")\n  - pageSize: Max results (1-200, default 50)\n  - pageToken: Pagination token\n```\n\n### 2. Run a GA4 Performance Report\nUse `GOOGLE_ANALYTICS_RUN_REPORT` to run customized reports with dimensions, metrics, date ranges, and filters.\n```\nTool: GOOGLE_ANALYTICS_RUN_REPORT\nParameters:\n  - property (required): Property resource (format: \"properties\/{property_id}\")\n  - dimensions: Array of dimension objects (e.g., [{\"name\": \"sessionCampaignName\"}, {\"name\": \"date\"}])\n  - metrics: Array of metric objects (e.g., [{\"name\": \"sessions\"}, {\"name\": \"totalRevenue\"}])\n  - dateRanges: Array with startDate and endDate (e.g., [{\"startDate\": \"2025-01-01\", \"endDate\": \"2025-01-31\"}])\n  - dimensionFilter: Filter by dimension values\n  - metricFilter: Filter by metric values (applied after aggregation)\n  - orderBys: Sort results\n  - limit: Max rows to return (1-250000)\n```\n\n### 3. Check Dimension\/Metric Compatibility\nUse `GOOGLE_ANALYTICS_CHECK_COMPATIBILITY` to validate dimension and metric combinations before running a report.\n```\nTool: GOOGLE_ANALYTICS_CHECK_COMPATIBILITY\nDescription: Validates compatibility of chosen dimensions or metrics\n  before running a report.\nNote: Call RUBE_SEARCH_TOOLS to get the full schema for this tool.\n```\n\n### 4. List GA4 Accounts\nUse `GOOGLE_ANALYTICS_LIST_ACCOUNTS` to enumerate all accessible Google Analytics accounts.\n```\nTool: GOOGLE_ANALYTICS_LIST_ACCOUNTS\nParameters:\n  - pageSize: Max accounts to return\n  - pageToken: Pagination token\n  - showDeleted: Include soft-deleted accounts\n```\n\n### 5. List GA4 Properties Under an Account\nUse `GOOGLE_ANALYTICS_LIST_PROPERTIES` to list properties for a specific GA4 account.\n```\nTool: GOOGLE_ANALYTICS_LIST_PROPERTIES\nParameters:\n  - account (required): Account resource name (format: \"accounts\/{account_id}\")\n  - pageSize: Max properties (1-200)\n  - pageToken: Pagination token\n  - showDeleted: Include trashed properties\n```\n\n### 6. Get Available Dimensions and Metrics\nUse `GOOGLE_ANALYTICS_GET_METADATA` to discover all available fields for building reports.\n```\nTool: GOOGLE_ANALYTICS_GET_METADATA\nDescription: Gets metadata for dimensions, metrics, and comparisons\n  for a GA4 property.\nNote: Call RUBE_SEARCH_TOOLS to get the full schema for this tool.\n```\n\n## Common Patterns\n\n- **Discover then report**: Use `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.\n- **Validate before querying**: Use `GOOGLE_ANALYTICS_CHECK_COMPATIBILITY` to validate dimension\/metric combinations before running reports to avoid 400 errors.\n- **Campaign performance**: Run reports with dimensions like `sessionCampaignName`, `sessionSource`, `sessionMedium` and metrics like `sessions`, `activeUsers`, `totalRevenue`.\n- **Ads link discovery**: Use `GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS` to find which Google Ads accounts are linked to each GA4 property.\n- **Field discovery**: Use `GOOGLE_ANALYTICS_GET_METADATA` to list all available dimensions and metrics before constructing complex reports.\n\n## Known Pitfalls\n\n- **Dimension\/metric compatibility**: The GA4 API has strict compatibility rules. Not all dimensions can be combined with all metrics. Demographic dimensions (e.g., `userAgeBracket`, `userGender`) are often incompatible with session-scoped dimensions\/filters (e.g., `sessionCampaignName`, `sessionSource`).\n- **`dateRange` is NOT a dimension**: Do not include `dateRange` in the dimensions array. Use `date`, `dateHour`, `year`, `month`, or `week` instead.\n- **`exits` is NOT valid**: Neither `exits` as a dimension nor as a metric is valid in GA4.\n- **Property ID format**: Must be `properties\/{numeric_id}` (e.g., `properties\/123456789`). Do not use Google Account IDs (long OAuth IDs).\n- **Account ID format**: Must be `accounts\/{numeric_id}` where the numeric ID is 6-10 digits.\n- **Filter separation**: Use `dimensionFilter` only for dimension fields and `metricFilter` only for metric fields. Mixing them will cause errors.\n- **Max 9 dimensions and 10 metrics** per report request.\n\n## Quick Reference\n| Action | Tool | Key Parameters |\n|--------|------|----------------|\n| List Ads links | `GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS` | `parent` |\n| Run report | `GOOGLE_ANALYTICS_RUN_REPORT` | `property`, `dimensions`, `metrics`, `dateRanges` |\n| Check compatibility | `GOOGLE_ANALYTICS_CHECK_COMPATIBILITY` | (see full schema via RUBE_SEARCH_TOOLS) |\n| List accounts | `GOOGLE_ANALYTICS_LIST_ACCOUNTS` | `pageSize` |\n| List properties | `GOOGLE_ANALYTICS_LIST_PROPERTIES` | `account`, `pageSize` |\n| Get metadata | `GOOGLE_ANALYTICS_GET_METADATA` | (see full schema via RUBE_SEARCH_TOOLS) |\n\n---\n*Powered by [Composio](https:\/\/composio.dev)*\n","use_cases":["List Google Ads links for a GA4 property","Run customized GA4 performance reports","Validate dimension\/metric compatibility","Discover available dimensions and metrics","List GA4 accounts and properties"],"limitations":[],"compatibility":[],"setup_tip":"**Get Rube MCP**: Add `https:\/\/rube.app\/mcp` as an MCP server in your client configuration. No API keys needed \u2014 just add the endpoint and it works.\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `google_analytics`\n3. If connection is not ACTIVE, follow the returned auth link to complete setup\n4. Confirm connection status shows ACTIVE before running any workflows\n\n> **Note**: Google Ads data is accessed through the Google Analytics toolkit integration. The tools below use GA4 properties linked to Google Ads accounts.","sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ComposioHQ\/awesome-claude-skills\/blob\/be2a406907dbc61b73e6827ded415c96139d13a2\/composio-skills\/googleads-automation\/SKILL.md","source_commit":"be2a406907dbc61b73e6827ded415c96139d13a2","license":null,"version":null,"listing_approved_at":"2026-11-20","created_at":"2026-11-19T17:59:37.000000Z","updated_at":"2026-11-20T07:26:51.000000Z","seo_title":"Google Ads Analytics Automation with Rube MCP","seo_description":"Automate Google Ads analytics tasks using Rube MCP (Composio) to list Google Ads links, run GA4 reports, and analyze campaign metrics. Requires an active Rube MCP and GA4","seo_keywords":["Google Ads analytics automation","GA4 performance reports","Rube MCP integration","Google Analytics compatibility check","GA4 dimension metrics discovery"]}}