The Campaign Source Overview API delivers reporting and statistical data for different lead sources within a campaign. This insight allows marketers to evaluate performance, identify top-performing sources, and refine their strategies accordingly.
| Segment | Description |
|---|---|
{org-id} | Your organization (advertiser) unique ID |
{cid} | The campaign unique ID |
Authorization header:
| Parameter | Type | Required | Description |
|---|---|---|---|
org-id | string | Yes | Organization unique ID |
cid | string | Yes | Campaign unique ID |
| Parameter | Type | Required | Description |
|---|---|---|---|
from | string | No | Start date filter (ISO 8601: YYYY-MM-DD) |
to | string | No | End date filter (ISO 8601: YYYY-MM-DD) |
search | string | No | Search by source name |
page | integer | No | Page number (default: 1) |
limit | integer | No | Records per page (default: 10, max: 100) |
| HTTP Code | Description |
|---|---|
| 200 | Source list returned successfully |
| 400 | Invalid campaign ID, org ID, or query parameters |
| 401 | Invalid or missing API token |
| 500 | Internal server error |
from and to to scope the stats to a reporting period. All metrics (leads, conversions, revenue) are calculated within the specified window.totalRevenue is what buyers paid; totalPayout is what sources were paid. The difference (margin) represents your campaign’s gross profit for that source.status: "inactive" are included in the response for historical reference but are not currently receiving leads.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Valid date format YYYY-MM-DD