💼 Googleads Automation
Google広告の分析業務を自動化し、広告
📺 まず動画で見る(YouTube)
▶ 【自動化】AIガチ勢の最新活用術6選がこれ1本で丸分かり!【ClaudeCode・AIエージェント・AI経営・Skills・MCP】 ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
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.
🇯🇵 日本人クリエイター向け解説
Google広告の分析業務を自動化し、広告
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o googleads-automation.zip https://jpskill.com/download/1694.zip && unzip -o googleads-automation.zip && rm googleads-automation.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/1694.zip -OutFile "$d\googleads-automation.zip"; Expand-Archive "$d\googleads-automation.zip" -DestinationPath $d -Force; ri "$d\googleads-automation.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
googleads-automation.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
googleads-automationフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 1
💬 こう話しかけるだけ — サンプルプロンプト
- › Googleads Automation で、私のビジネスを分析して改善案を3つ提案して
- › Googleads Automation を使って、来週の会議用の資料を作って
- › Googleads Automation で、現状の課題を整理してアクションプランに落として
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] googleads-automation
Rube MCP を介した Google 広告の自動化
Rube MCP (Composio) を使用して、Google アナリティクス連携を通じて Google 広告データにアクセスし、パフォーマンスレポートを実行し、リンクされた広告アカウントをリストアップし、キャンペーン指標を分析します。
ツールキットのドキュメント: composio.dev/toolkits/googleads
前提条件
- Rube MCP が接続されていること(
RUBE_SEARCH_TOOLSが利用可能であること) - ツールキット
google_analyticsを使用したRUBE_MANAGE_CONNECTIONSによるアクティブな接続 - 最新のツールスキーマを取得するために、常に最初に
RUBE_SEARCH_TOOLSを呼び出すこと
セットアップ
Rube MCP の取得: クライアント設定で https://rube.app/mcp を MCP サーバーとして追加します。API キーは不要です。エンドポイントを追加するだけで機能します。
RUBE_SEARCH_TOOLSが応答することを確認して、Rube MCP が利用可能であることを検証します。- ツールキット
google_analyticsを使用してRUBE_MANAGE_CONNECTIONSを呼び出します。 - 接続が ACTIVE でない場合は、返された認証リンクに従ってセットアップを完了します。
- ワークフローを実行する前に、接続ステータスが ACTIVE と表示されていることを確認します。
注: Google 広告データは、Google アナリティクス ツールキットの連携を通じてアクセスされます。以下のツールは、Google 広告アカウントにリンクされた GA4 プロパティを使用します。
コアワークフロー
1. プロパティの Google 広告リンクをリストアップする
GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS を使用して、GA4 プロパティ用に設定されたすべての Google 広告アカウントリンクを取得します。
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
2. GA4 パフォーマンスレポートを実行する
GOOGLE_ANALYTICS_RUN_REPORT を使用して、ディメンション、指標、日付範囲、フィルターを含むカスタマイズされたレポートを実行します。
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)
3. ディメンション/指標の互換性を確認する
GOOGLE_ANALYTICS_CHECK_COMPATIBILITY を使用して、レポートを実行する前にディメンションと指標の組み合わせを検証します。
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.
4. GA4 アカウントをリストアップする
GOOGLE_ANALYTICS_LIST_ACCOUNTS を使用して、アクセス可能なすべての Google アナリティクスアカウントを列挙します。
Tool: GOOGLE_ANALYTICS_LIST_ACCOUNTS
Parameters:
- pageSize: Max accounts to return
- pageToken: Pagination token
- showDeleted: Include soft-deleted accounts
5. アカウント下の GA4 プロパティをリストアップする
GOOGLE_ANALYTICS_LIST_PROPERTIES を使用して、特定の GA4 アカウントのプロパティをリストアップします。
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
6. 利用可能なディメンションと指標を取得する
GOOGLE_ANALYTICS_GET_METADATA を使用して、レポート作成に利用可能なすべてのフィールドを検出します。
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を使用してアカウント ID を見つけ、次にGOOGLE_ANALYTICS_LIST_PROPERTIESを使用してプロパティ ID を見つけ、最後にGOOGLE_ANALYTICS_RUN_REPORTを使用してデータを取得します。 - クエリ前に検証:
GOOGLE_ANALYTICS_CHECK_COMPATIBILITYを使用して、レポートを実行する前にディメンション/指標の組み合わせを検証し、400 エラーを回避します。 - キャンペーンパフォーマンス:
sessionCampaignName、sessionSource、sessionMediumなどのディメンションと、sessions、activeUsers、totalRevenueなどの指標を使用してレポートを実行します。 - 広告リンクの検出:
GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADSを使用して、どの Google 広告アカウントが各 GA4 プロパティにリンクされているかを見つけます。 - フィールドの検出:
GOOGLE_ANALYTICS_GET_METADATAを使用して、複雑なレポートを作成する前に利用可能なすべてのディメンションと指標をリストアップします。
既知の落とし穴
- ディメンション/指標の互換性: GA4 API には厳格な互換性ルールがあります。すべてのディメンションがすべての指標と組み合わせられるわけではありません。人口統計ディメンション(例:
userAgeBracket、userGender)は、セッションスコープのディメンション/フィルター(例:sessionCampaignName、sessionSource)と互換性がないことがよくあります。 dateRangeはディメンションではありません:dateRangeをディメンション配列に含めないでください。代わりにdate、dateHour、year、month、またはweekを使用してください。exitsは無効です:exitsは GA4 ではディメンションとしても指標としても無効です。- プロパティ ID の形式:
properties/{numeric_id}の形式である必要があります(例:properties/123456789)。Google アカウント ID(長い OAuth ID)は使用しないでください。 - アカウント ID の形式:
accounts/{numeric_id}の形式である必要があります。ここで、数値 ID は 6~10 桁です。 - フィルターの分離:
dimensionFilterはディメンションフィールドにのみ使用し、metricFilterは指標フィールドにのみ使用してください。これらを混在させるとエラーが発生します。 - レポートリクエストごとに最大 9 つのディメンションと 10 の指標。
クイックリファレンス
| アクション | ツール | 主要なパラメータ |
|---|---|---|
| 広告リンクをリストアップ | GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS |
parent |
| レポートを実行 | GOOGLE_ANALYTICS_RUN_REPORT |
property、dimensions、metrics、dateRanges |
| 互換性を確認 | GOOGLE_ANALYTICS_CHECK_COMPATIBILITY |
(RUBE_SEARCH_TOOLS で完全なスキーマを参照) |
| アカウントをリストアップ | G |
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Google Ads Automation via Rube MCP
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
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active connection via
RUBE_MANAGE_CONNECTIONSwith toolkitgoogle_analytics - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get 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.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitgoogle_analytics - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Note: Google Ads data is accessed through the Google Analytics toolkit integration. The tools below use GA4 properties linked to Google Ads accounts.
Core Workflows
1. List Google Ads Links for a Property
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
2. Run a GA4 Performance Report
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)
3. Check Dimension/Metric Compatibility
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.
4. List GA4 Accounts
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
5. List GA4 Properties Under an Account
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
6. Get Available Dimensions and Metrics
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.
Common Patterns
- Discover then report: Use
GOOGLE_ANALYTICS_LIST_ACCOUNTSto find account IDs, thenGOOGLE_ANALYTICS_LIST_PROPERTIESto find property IDs, thenGOOGLE_ANALYTICS_RUN_REPORTto pull data. - Validate before querying: Use
GOOGLE_ANALYTICS_CHECK_COMPATIBILITYto validate dimension/metric combinations before running reports to avoid 400 errors. - Campaign performance: Run reports with dimensions like
sessionCampaignName,sessionSource,sessionMediumand metrics likesessions,activeUsers,totalRevenue. - Ads link discovery: Use
GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADSto find which Google Ads accounts are linked to each GA4 property. - Field discovery: Use
GOOGLE_ANALYTICS_GET_METADATAto list all available dimensions and metrics before constructing complex reports.
Known Pitfalls
- 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). dateRangeis NOT a dimension: Do not includedateRangein the dimensions array. Usedate,dateHour,year,month, orweekinstead.exitsis NOT valid: Neitherexitsas a dimension nor as a metric is valid in GA4.- Property ID format: Must be
properties/{numeric_id}(e.g.,properties/123456789). Do not use Google Account IDs (long OAuth IDs). - Account ID format: Must be
accounts/{numeric_id}where the numeric ID is 6-10 digits. - Filter separation: Use
dimensionFilteronly for dimension fields andmetricFilteronly for metric fields. Mixing them will cause errors. - Max 9 dimensions and 10 metrics per report request.
Quick Reference
| 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