---
title: "Get attribution metrics"
method: GET
path: "/v1/accounts/{accountId}/conversion-destinations/{destinationId}/metrics"
tags: ["Conversions"]
---

# Get attribution metrics

`GET /v1/accounts/{accountId}/conversion-destinations/{destinationId}/metrics`

LinkedIn-only today. Returns conversion-attribution metrics
(`externalWebsiteConversions`, `externalWebsitePostClickConversions`,
`externalWebsitePostViewConversions`, `conversionValueInLocalCurrency`,
`qualifiedLeads`, `costInLocalCurrency`) bucketed by date.

Date-range constraints (passed through from LinkedIn):
- `granularity=DAILY` is retained for ~6 months only
- `granularity=ALL` with a range > 6 months auto-rounds to month boundaries
- `granularity=MONTHLY`/`YEARLY` retains 24 months

Throttle: LinkedIn caps adAnalytics at 45M metric values per 5-minute
window across the calling token. Single-rule queries are well within
that limit; surfaces as 429 if hit.

## Path parameters

- `accountId` string, required
- `destinationId` string, required

## Query parameters

- `adAccountId` string, required
- `startDate` string, required
- `endDate` string
- `granularity` 'ALL' | 'DAILY' | 'MONTHLY' | 'YEARLY'

## Response `200`

Metrics rows

- object
  - `platform` 'linkedinads'
  - `granularity` 'ALL' | 'DAILY' | 'MONTHLY' | 'YEARLY'
  - `rows` object[]
    - `start` string — YYYY-MM-DD
    - `end` string — YYYY-MM-DD (inclusive)
    - `metrics` object

## Other responses

- `400` — Validation error or invalid date range.
- `401` — Unauthorized
- `403` — Ads add-on or LinkedIn reconnect required.
- `404` — Account or destination not found.
- `405` — Platform does not support metrics readback.
- `429` — LinkedIn analytics rate limit hit.

---

[API](https://skmtc.net/zernio/apis/zernio-api.md) · [All operations](https://skmtc.net/zernio/apis/zernio-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zernio/zernio-api/revisions/19fd2b70854e/schema)
