get_campaigns
Retrieve campaigns from a Google Ads customer account, filtered by status (ENABLED, PAUSED, REMOVED), with a configurable limit.
Instructions
Get campaigns for a customer, optionally filtered by status.
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_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max campaigns returned to the caller (hard-capped at 10,000 by the API). | |
| customer_id | Yes | Google Ads customer id (digits only; hyphens are stripped). | |
| status_filter | No | optional campaign status filter (ENABLED, PAUSED, or REMOVED). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||