Ad Campaign Results
Name a result metric or define a formula
Changed onSets 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.
put/v1/ads/campaign-results/metrics/{key}
Request
- Base URLhttps://zernio.com/api
- URLhttps://zernio.com/api/v1/ads/campaign-results/metrics/{key}
- AuthHTTP bearer
Path parameters
keystring required
Request body
Example request
{
"label": "Qualified leads",
"currency": "EUR",
"formula": "spend / sales"
}Response
The metric.
Example response
{
"metric": {
"key": "qualified_leads",
"label": "Qualified leads"
}
}Changes
- info
endpoint added
- info