Campaigns
GET /api/v1/accounts/{projectId}/campaigns
List campaigns with performance over the last N days.
GET /api/v1/accounts/{projectId}/campaignsList campaigns with performance over the last N days.
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. |
status | query | ENABLED | PAUSED | REMOVED | no | Filter by campaign status. Omit to exclude REMOVED. |
Example
curl -X GET "https://bidandscale.com/api/v1/accounts/{projectId}/campaigns" \
-H "Authorization: Bearer $BIDANDSCALE_API_KEY"