Conversions

Get attribution metrics

Shows a LinkedIn conversion rule's attributed conversions, value, leads and cost over time.

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.

Billing: Read (free unless it says otherwise) · Rate limit: 120/min

get/v1/messaging/accounts/{accountId}/conversion-destinations/{destinationId}/metrics

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/messaging/accounts/{accountId}/conversion-destinations/{destinationId}/metrics
  • Auth: HTTP bearer

Path parameters

accountIdstring required
destinationIdstring required

Query parameters

endDatestring
startDatestring required
adAccountIdstring required
granularity'ALL' | 'DAILY' | 'MONTHLY' | 'YEARLY'

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.