Check a results upload
How an upload was matched: rows matched and unmatched, and up to 100 unmatched rows with why (no_campaign or ambiguous).
status turns done once every row is processed, usually within seconds. Uploads are kept for 30 days.
A failed upload says why in failureReason. Send it again: re-sending a day replaces it, so nothing is counted twice.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Responses
Success· the request worked
Errors· the request failed
Get your results totals
Each 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 uploaded value only, plus the events sent to `POST /v1/events` that are tied to a campaign. An event counts here up to 15 minutes after it arrives. 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`.
Name a result metric or define a formula
Sets a metric key's label and kind: `count` for things you count (leads, sales), `money` with its currency (revenue), `percent` or `ratio`. Send `formula` to make it a computed metric: `+ - * /` and parentheses over `spend`, `impressions`, `clicks`, `conversions`, `purchase_value` and the metrics you send, at most 200 characters. A formula cannot read another formula. It is computed per campaign over the summed values of the range, and has no value when an input is missing or a division is by zero.