Run a saved report
const url = 'https://example.com/api/v1/analytics/reports/example/run';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/analytics/reports/example/run \ --header 'Authorization: Bearer <token>'Authorizations
Заголовок раздела «Authorizations»Parameters
Заголовок раздела «Parameters»Path Parameters
Заголовок раздела «Path Parameters»Saved report UUID
Responses
Заголовок раздела «Responses»object
object
Keyed by the groupBy token that produced it, e.g. “country”, “sub_id:sub_id_2”
object
Keyed by metric name (base metrics + any customMetrics)
object
Totals across the whole filtered date range, ignoring groupBy
object
Whether a manual cost_records lookup was possible for the requested groupBy (“link”, a single “sub_id:
object
Same metrics as totals, for the previous equal-length period
object
(current - previous) / |previous| * 100, per metric. Null when not computable.
object
Total number of groups before limit/offset was applied
Example
{ "dateBasis": "click"}Saved report not found