gads_list_ad_groups
Pack: google_ads · Endpoint: https://gateway.pipeworx.io/google_ads/mcp
List ad groups within a campaign by campaign ID. Returns ad group names, IDs, statuses, and CPC bids. Use to explore campaign structure or select an ad group for analysis.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
customer_id | string | yes | Google Ads customer ID |
campaign_id | string | yes | Campaign ID to list ad groups for |
status | string | no | Filter by ad group status (optional) |
limit | number | no | Maximum number of ad groups to return (default 50) |
Example call
Arguments
{
"customer_id": "1234567890",
"campaign_id": "9876543210"
}
curl
curl -X POST https://gateway.pipeworx.io/google_ads/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gads_list_ad_groups","arguments":{"customer_id":"1234567890","campaign_id":"9876543210"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('gads_list_ad_groups', {
"customer_id": "1234567890",
"campaign_id": "9876543210"
});
More examples
{
"customer_id": "1234567890",
"campaign_id": "9876543210",
"status": "ENABLED",
"limit": 30
}
Response shape
| Field | Type | Description |
|---|---|---|
results | array | List of ad groups in campaign |
Full JSON Schema
{
"type": "object",
"properties": {
"results": {
"type": "array",
"description": "List of ad groups in campaign",
"items": {
"type": "object",
"properties": {
"ad_group": {
"type": "object",
"description": "Ad group resource data",
"properties": {
"id": {
"type": "string",
"description": "Ad group ID"
},
"name": {
"type": "string",
"description": "Ad group name"
},
"status": {
"type": "string",
"description": "Ad group status (ENABLED, PAUSED, REMOVED)"
},
"type": {
"type": "string",
"description": "Ad group type"
},
"cpc_bid_micros": {
"type": "number",
"description": "CPC bid in micros"
}
}
}
}
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"google_ads": {
"url": "https://gateway.pipeworx.io/google_ads/mcp"
}
}
}
See Getting Started for client-specific install steps.