/v1/meta/adsets
Listet Ad Sets, optional nach Ziel (target) und Status gefiltert. Die Antwort enthält das Ziel (target) statt einer Kampagnen-ID.
Query-Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| target | string | optional | Auf ein Ziel (Ziel-Schlüssel) filtern. |
| status | enum | optional | ACTIVE | PAUSED | ARCHIVED. |
| limit | integer | optional | Anzahl pro Seite (Default 25, max 100). |
| offset | integer | optional | Versatz für Pagination (Default 0). |
Request · Next.js
const res = await fetch(`https://api.campaignkit.ventureon.io/v1/meta/adsets`, {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.CAMPAIGNKIT_API_KEY}`,
},
});
const data = await res.json();Response 200
{
"data": [
{
"id": "a51f9c33-7e2b-4d18-8a0e-6b9c1d4f2e77",
"target": "sommerfest-2026",
"name": "[CK] … · AdSet #1",
"daily_budget_cents": 5000,
"status": "ACTIVE",
"effective_status": "ACTIVE",
"meta_adset_id": "604839271650"
}
],
"request_id": "…"
}