get_ad_group_performance
Retrieve ad group performance metrics (impressions, clicks, cost, conversions) for a customer ID and date range, with an optional campaign filter to focus on specific campaigns.
Instructions
Get ad group-level performance metrics (impressions, clicks, cost, conversions).
Args: customer_id: The Google Ads customer ID (10 digits, dashes optional). date_range: A GAQL date range literal, e.g. LAST_30_DAYS, LAST_7_DAYS, THIS_MONTH. campaign_id: Optional campaign ID to restrict results to a single campaign.
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": {
"customer_id": "<customer_id>"
},
"name": "get_ad_group_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_range | No | LAST_30_DAYS | |
| campaign_id | No | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |