Creator Campaigns
Get campaign report
Returns spend against budget, views, submission counts, the top ten participants by earnings and the authenticity score distribution.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
campaignId*string
Campaign ID.
Response Body
application/json
application/json
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.creatorcampaigns.getCampaignReport({ path: { campaignId: 'campaign_abc123', },});console.log(data);{ "report": { "spend": { "budgetCents": 0, "consumedCents": 0, "settledCents": 0 }, "views": { "eligible": 0, "total": 0 }, "submissions": { "received": 0, "tracking": 0, "pending_review": 0, "approved": 0, "rejected": 0, "expired": 0, "withdrawn": 0 }, "participants": [ { "participantId": "string", "creator": { "id": "string", "displayName": "string" }, "payableCents": 0, "settlingCents": 0, "settledCents": 0 } ], "authenticity": [ { "from": 0, "to": 0, "count": 0 } ] }}Was this page helpful?