GET /campaign/v1/campaigns
List campaigns
Needs dpop
Slim summary rows for every campaign in your tenant, with optional filters. Returns the full (filtered) list; pagination is not applied.
An unknown value in type or an unparseable status is a 400
invalid_argument on that field (it is never silently ignored).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
q | query | string | Case-insensitive substring match on the campaign name. |
type | query | string | Comma-separated campaign types to include. Each entry must be
one of |
status | query | string | Filter to active (
|
Responses
200
Campaign summaries (empty array when nothing matches).
application/json · object
| Property | Type | Description |
|---|---|---|
data required | array of CampaignSummary |
Example: summaries
{
"data": [
{
"id": 118,
"uuid": "0c9b6f9e-2a41-4c8e-9f0a-6d2f9d3e8b11",
"tenant_uuid": "7f3c1e2a-9a4b-4d6c-8e1f-2b5a7c9d0e31",
"xxhash3": "d41f8a2c9b3e6a70d41f8a2c9b3e6a70",
"name": "Summer Push US",
"status": true,
"type": "push",
"infrastructure": "rtb",
"brand_name": "Acme",
"adset_count": 3
}
]
}
400
Invalid input: a field the operation refuses
(invalid_argument, errors naming it), a malformed query, body
or form (invalid_request), or a write without an
Idempotency-Key (idempotency_key_required).
application/problem+json · Problem
Example: badStatus
{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"code": "invalid_argument",
"detail": "The input is invalid.",
"request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
"errors": [
{
"field": "status",
"reason": "status is required (true or false)"
}
]
}
Example: fileMissing
{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"code": "invalid_argument",
"detail": "The input is invalid.",
"request_id": "8f2b1c9e-6b0a-4c55-9a0e-3f1d2c4b5a69",
"errors": [
{
"field": "file",
"reason": "is required"
}
]
}
401
A missing, malformed, expired or revoked token, or a proof that does not hold.
application/problem+json · Problem
Example: invalidToken
{
"type": "about:blank",
"title": "Unauthorized",
"status": 401,
"code": "invalid_token"
}
403
The key lacks the scope, or your account does not have the Campaign API (or the module of the campaigns, ad sets, creatives or goals).
application/problem+json · Problem
Example: forbidden
{
"type": "about:blank",
"title": "Forbidden",
"status": 403,
"code": "permission_denied"
}
429
Over the per-key rate of the endpoint's class (300/min reads,
60/min writes, 30/min uploads and stats). Back off until
Retry-After.
application/problem+json · Problem
Example: limited
{
"type": "about:blank",
"title": "Too Many Requests",
"status": 429,
"code": "rate_limited",
"detail": "Too many requests."
}
500
Unexpected server error. Retry with backoff; report persistent occurrences with the request_id.
application/problem+json · Problem
Example: internal
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"code": "internal"
}
503
A backing service is momentarily unavailable: the reporting
engine, the media store, the sign-in's checks (auth_unavailable)
or the rate limiter (with Retry-After: 5). Retry with backoff.
application/problem+json · Problem
Example: unavailable
{
"type": "about:blank",
"title": "Service Unavailable",
"status": 503,
"code": "unavailable"
}