List campaigns with aggregate metrics
Authorization
Bearer AuthorizationBearer <token>
API key (rlay_live_* or rlay_test_). Invite redemption also accepts a server-derived rlay_session_ bearer for a current user session.
In: header
Query Parameters
platform?string
Value in
- "meta"
- "google"
- "tiktok"
- "linkedin"
- "pinterest"
- "twitter"
status?string
Value in
- "draft"
- "pending_review"
- "active"
- "paused"
- "completed"
- "rejected"
- "cancelled"
ad_account_id?string
workspace_id?string
Filter by workspace ID
cursor?string
limit?integer
Range
1 <= value <= 100Default
20Response Body
application/json
curl -X GET "https://example.com/v1/ads/campaigns"{ "data": [ { "ad_account_id": "string", "ad_count": 0, "created_at": "2019-08-24T14:15:22Z", "currency": "string", "daily_budget_cents": 0, "end_date": "2019-08-24T14:15:22Z", "id": "string", "is_external": true, "lifetime_budget_cents": 0, "metrics": { "clicks": 0, "conversions": 0, "cpc_cents": 0, "cpm_cents": 0, "ctr": 0, "impressions": 0, "reach": 0, "spend_cents": 0 }, "name": "string", "objective": "string", "platform": "meta", "platform_campaign_id": "string", "start_date": "2019-08-24T14:15:22Z", "status": "draft", "updated_at": "2019-08-24T14:15:22Z" } ], "has_more": true, "next_cursor": "string"}Found something wrong? Help us improve this page.