Query Metrics Related to Campaigns
Last updated 1 month ago
Fetch Campaign Metrics
The ID of the workspace
List of campaign metrics
const response = await fetch('/workspaces/{workspaceId}/reporting/campaigns/metrics', { method: 'GET', headers: {}, }); const data = await response.json();
[ { "summary": { "campaignId": "123e4567-e89b-12d3-a456-426614174000", "campaignName": "text", "campaignStatus": "text", "attributedRevenue": 0, "currency": "text" }, "timeSeries": [ { "periodDate": "2024-09-07T23:28:27.188Z" } ] } ]