jpskill.com
💼 ビジネス コミュニティ 🟡 少し慣れが必要 👤 経営者・事業責任者・マーケ

💼 Googleads Automation

googleads-automation

Google広告の分析業務を自動化し、広告

⏱ 提案書ドラフト 2日 → 半日

📺 まず動画で見る(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本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
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
🪟 Windows (PowerShell)
$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. 1. 下の青いボタンを押して googleads-automation.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → googleads-automation フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

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 キーは不要です。エンドポイントを追加するだけで機能します。

  1. RUBE_SEARCH_TOOLS が応答することを確認して、Rube MCP が利用可能であることを検証します。
  2. ツールキット google_analytics を使用して RUBE_MANAGE_CONNECTIONS を呼び出します。
  3. 接続が ACTIVE でない場合は、返された認証リンクに従ってセットアップを完了します。
  4. ワークフローを実行する前に、接続ステータスが 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 エラーを回避します。
  • キャンペーンパフォーマンス: sessionCampaignNamesessionSourcesessionMedium などのディメンションと、sessionsactiveUserstotalRevenue などの指標を使用してレポートを実行します。
  • 広告リンクの検出: GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS を使用して、どの Google 広告アカウントが各 GA4 プロパティにリンクされているかを見つけます。
  • フィールドの検出: GOOGLE_ANALYTICS_GET_METADATA を使用して、複雑なレポートを作成する前に利用可能なすべてのディメンションと指標をリストアップします。

既知の落とし穴

  • ディメンション/指標の互換性: GA4 API には厳格な互換性ルールがあります。すべてのディメンションがすべての指標と組み合わせられるわけではありません。人口統計ディメンション(例: userAgeBracketuserGender)は、セッションスコープのディメンション/フィルター(例: sessionCampaignNamesessionSource)と互換性がないことがよくあります。
  • dateRange はディメンションではありません: dateRange をディメンション配列に含めないでください。代わりに datedateHouryearmonth、または 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 propertydimensionsmetricsdateRanges
互換性を確認 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_CONNECTIONS with toolkit google_analytics
  • Always call RUBE_SEARCH_TOOLS first 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.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit google_analytics
  3. If connection is not ACTIVE, follow the returned auth link to complete setup
  4. 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_ACCOUNTS to find account IDs, then GOOGLE_ANALYTICS_LIST_PROPERTIES to find property IDs, then GOOGLE_ANALYTICS_RUN_REPORT to pull data.
  • Validate before querying: Use GOOGLE_ANALYTICS_CHECK_COMPATIBILITY to validate dimension/metric combinations before running reports to avoid 400 errors.
  • Campaign performance: Run reports with dimensions like sessionCampaignName, sessionSource, sessionMedium and metrics like sessions, activeUsers, totalRevenue.
  • Ads link discovery: Use GOOGLE_ANALYTICS_ANALYTICS_ADMIN_PROPERTIES_GOOGLE_ADS to find which Google Ads accounts are linked to each GA4 property.
  • Field discovery: Use GOOGLE_ANALYTICS_GET_METADATA to 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).
  • 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.
  • 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 dimensionFilter only for dimension fields and metricFilter only 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