List stored ad campaign observations

GET/sites/{site_id}/linkedin/ad-metricslinkedin:read

Requires linkedin:read and an explicit site grant. Stored reads only: no LinkedIn requests, scraping, refresh jobs, or credit charges. source=live and unknown/repeated query parameters are rejected. Site/company/business-unit boundaries apply regardless of browser login or OAuth state. Use limit/cursor and repeat filters. Ordering is creation time then ID descending; follower history uses recorded_at then ID. Legacy currency is unverified; check currency_verified before interpreting amounts. No ad account is chosen from a browser session.

RequestGET https://satelliteai.io/api/v1/sites/{site_id}/linkedin/ad-metrics
Permissionlinkedin:read
ResponseA list (cursor or offset paginated): data is array of LinkedInAdMetric.
Operation IDlistLinkedInAdMetrics

More context and worked examples are in the developer guide.

Example request

cURL · Bash
curl --fail-with-body \
  'https://satelliteai.io/api/v1/sites/123/linkedin/ad-metrics' \
  -H "Authorization: Bearer $SATELLITE_API_KEY"

Replace the example IDs with values returned by the discovery endpoints. Example values are placeholders, not real records.

Parameters

NameInTypeDescription
site_idrequiredpathintegerID from GET /sites.
min 1
limitqueryintegerMaximum rows per page.
default 50 · min 1 · max 100
cursorquerystringOpaque next_cursor from the prior response. Expires after 24 hours; bound to integration, permissions, sites and unchanged filters. Restart pagination if access changes.
max length 4096
ad_account_urnquerystringExact stored LinkedIn URN; never grants access to another site.
max length 200 · pattern ^urn:li:sponsoredAccount:[0-9]{1,30}$
campaign_urnquerystringExact stored LinkedIn URN; never grants access to another site.
max length 200 · pattern ^urn:li:sponsoredCampaign:[0-9]{1,30}$
start_datequerystring (date)Inclusive YYYY-MM-DD boundary for metric_date.
end_datequerystring (date)Inclusive YYYY-MM-DD boundary for metric_date.

Unknown or repeated query parameters return 400.

Data dictionary

Stored results. Lists can be empty; latest followers can be null with availability not_available. Stored site-owned LinkedIn data. No provider call or credit deduction. Text is bounded to 4096 characters, URLs to 2048, JSON input to 262144 characters and nested arrays to 100 items; check truncated_fields. Unknown values remain null.

[] marks an array element. nullable means the value can be null; treat it as unknown, not zero. always present means the key is always included in the object.

Fields in data
FieldTypeDescription
data[].idintegeralways presentSatellite identifier for this record.
min 1
data[].site_idintegeralways presentSatellite site ID (from GET /sites).
min 1
data[].ad_account_urnstringnullablealways present
max length 4096
data[].campaign_urnstringnullablealways present
max length 4096
data[].campaign_namestringnullablealways present
max length 4096
data[].metric_datestring (date)nullablealways present
data[].impressionsintegernullablealways present
data[].clicksintegernullablealways present
data[].ctrnumbernullablealways presentStored click-through percentage, not a 0-to-1 fraction.
data[].spendnumbernullablealways presentStored monetary amount; use spend_currency only when currency_verified is true. Never combine different currencies.
data[].conversionsnumbernullablealways present
data[].cpcnumbernullablealways presentStored monetary amount; use spend_currency only when currency_verified is true. Never combine different currencies.
data[].cost_per_conversionnumbernullablealways presentStored monetary amount; use spend_currency only when currency_verified is true. Never combine different currencies.
data[].campaign_statusstringnullablealways present
max length 4096
data[].campaign_objectivestringnullablealways present
max length 4096
data[].campaign_budgetnumbernullablealways presentStored monetary amount; use spend_currency only when currency_verified is true. Never combine different currencies.
data[].fetched_atstring (date-time)nullablealways presentWhen Satellite fetched the data from its source (UTC, RFC 3339).
data[].created_atstring (date-time)nullablealways presentWhen Satellite created the record (UTC, RFC 3339).
data[].updated_atstring (date-time)nullablealways presentWhen Satellite last updated the record (UTC, RFC 3339).
data[].truncated_fieldsarray of stringalways presentFields exceeding public text, URL, JSON, or array limits.
data[].spend_currencystringnullablealways presentProvider account currency for normalized imports; null for legacy rows without verified currency.
data[].currency_verifiedbooleanalways presentTrue only when the structured collector persisted the provider currency for this row.

Response metadata

Fields in meta
FieldTypeDescription
meta.request_idstringRequest identifier; also returned in X-Request-ID. Include it in support requests.
meta.api_versionstringAPI version that produced the response.
one of: v1
meta.limitintegerMaximum records per page applied to this request.
min 1 · max 100
meta.has_morebooleanTrue when another page is available.
meta.next_cursorstringnullableOpaque cursor for the next page; send as cursor. Null on the last page.
meta.availabilitystringavailable when stored data exists; not_available when it does not.
one of: available, not_available
meta.billingobjectPresent for paid live SERP requests; replayed receipts describe the original debit, not an additional charge.
meta.billing.operationstringalways present
one of: client_api_serp_refresh
meta.billing.credits_chargedintegeralways present
min 0
meta.billing.transaction_idintegeralways present
meta.billing.replayedbooleanalways present
meta.sourcestringalways present
one of: stored
meta.org_urnstringnullable
max length 4096
meta.metric_periodstring
one of: lifetime
meta.observation_historyboolean

Error responses

Errors return {"error": {"code", "message", "request_id"}}. See error handling for retry guidance.

HTTPWhen
400Invalid or repeated query parameter, filter, limit, or cursor.
401Missing, invalid, expired, or revoked credential.
403Required scope, active integration, or company API entitlement is unavailable.
404The resource is missing or outside the granted company/site boundary.
413The response or stored artifact exceeds the configured retrieval limit.
429API request quota exceeded. Retry after the indicated interval.
503A required storage, rate-limit, or artifact dependency is unavailable.