Google 広告の実績を取得
google_ads_reportFetch Google Ads performance data (cost, impressions, clicks, conversions, conversion value) for reporting and analysis. Read-only, supports customer, campaign, and ad group levels.
Instructions
Google 広告の実績(費用・表示・クリック・CV・CV 値)を取得する。読み取り専用。costMicros は 100 万で割ると通貨 1 単位(通貨に依らず一律)。conversions は小数になりうる。int64 の項目は proto3 JSON の規則で文字列として返る。CTR / CPC は返り値から自分で計算すること。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "google_ads_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | customer(アカウント合計)/ campaign / ad_group。既定は campaign | |
| by_date | No | true にすると segments.date で日次に割る | |
| end_date | Yes | YYYY-MM-DD | |
| start_date | Yes | YYYY-MM-DD | |
| customer_id | No | 対象の顧客 ID(ハイフン有無どちらでも可)。省略時は GOOGLE_ADS_CUSTOMER_ID |