---
title: "Campaigns with spend > 0 in the last 30 days (aggregated)"
method: GET
path: "/api/v1/campaigns/active_last_30_days"
tags: ["Campaigns"]
---

# Campaigns with spend > 0 in the last 30 days (aggregated)

`GET /api/v1/campaigns/active_last_30_days`

## Request

- Base URL: `https://getscaleforge.com`
- URL: `https://getscaleforge.com/api/v1/campaigns/active_last_30_days`
- Auth: HTTP bearer

Aggregated from `CombinedDailyStat`. Ordered by total spend descending.

## Response `200`

Success

- object
  - `data` object[]
    - `campaign_id` string
    - `campaign_name` string
    - `meta_account_id` string
    - `total_spend` number
    - `total_conversions` integer
    - `total_revenue` number
    - `roi` number: Percent
    - `first_active` string, date
    - `last_active` string, date

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/getscaleforge/apis/scaleforge-api.md) · [All operations](https://skmtc.dev/getscaleforge/apis/scaleforge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getscaleforge/apis/scaleforge-api/revisions/ca382e62f404?raw)
