run_gaql
Executes arbitrary GAQL queries against a Google Ads account to pull reports, audits, and diagnostics on campaigns, keywords, search terms, and change events. Start broad, then filter freely.
Instructions
Изпълнява произволна GAQL заявка срещу един акаунт. Това е основният read инструмент — покрива всякакви отчети, одити и диагностика (campaign, ad_group, keyword_view, search_term_view, asset_group, change_event, geographic_view и т.н.). Хвърляй широка мрежа с първата заявка; филтрирането после е безплатно.
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": {
"customerId": "<customerId>",
"query": "<query>"
},
"name": "run_gaql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | GAQL заявката. | |
| customerId | Yes | Google Ads customer ID (с или без тирета), напр. 123-456-7890 или 1234567890. | |
| loginCustomerId | No | MCC за хедъра login-customer-id, ако е различен от конфигурирания. За акаунт ИЗВЪН конфигурираното MCC подай самия customerId и тук. |