Ad Campaign Results
Get your results totals
Changed onEach metric you send summed over a date range across every campaign of the ad accounts your key can see, or of the ones you name. Each day counts its newest value only.
Formulas are not computed here, since they also read the platform's numbers: apply one to these totals and the account's spend for the same range, or read it per campaign from GET /v1/ads/tree?results=true.
get/v1/ads/campaign-results/totals
Request
- Base URLhttps://zernio.com/api
- URLhttps://zernio.com/api/v1/ads/campaign-results/totals
- AuthHTTP bearer
Query parameters
fromDatestring date required
toDatestring date required
Inclusive. At most 400 days after fromDate.
adAccountIdsstring
Comma-separated platform ad account ids, at most 100. Omit for every ad account your key can see.
Response
The totals by metric key.
Example response
{
"totals": {
"qualified_leads": 140,
"sales": 23,
"revenue": 41200
}
}Changes
- info
endpoint added
- info