Ad Groups
GET /api/v1/accounts/{projectId}/ad-groups
List ad groups with performance.
GET /api/v1/accounts/{projectId}/ad-groupsList ad groups with performance.
Requires a key with read scope or higher.
Returns 200 on success.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | string | yes | The Google Ads account, as returned by GET /api/v1/accounts. |
days | query | number | no | Lookback window in complete days, ending yesterday. Today's metrics are still accumulating, so they are excluded. |
limit | query | number | no | Maximum rows to return. |
campaign_id | query | string | no | Restrict to one campaign. |
Example
curl -X GET "https://bidandscale.com/api/v1/accounts/{projectId}/ad-groups" \
-H "Authorization: Bearer $BIDANDSCALE_API_KEY"