PeekPanda markpeekpandaDocumentationFor AI ↗Open app

PeekPanda docs

Get paid-ad import status

Read the canonical ingestion-run status.

Download Markdown ↓
GET/v1/admin/paid-ads/imports/{runId}
Auth Bearer API credential or OAuth access tokenScope context:readMCP admin_get_paid_ad_import

Request

Requires the persisted operator roster and `context:read`. This is the 60-per-minute polling route. Honor `Retry-After` for a 429.

curl --get 'https://api.peekpanda.com/v1/admin/paid-ads/imports/33333333-3333-4333-8333-333333333333' \
  --header "Authorization: Bearer $PEEKPANDA_TOKEN" \
  --header 'x-genviral-tenancy: personal'

Response

Excerpt of PaidAdIngestionRunResponse; the real response contains all counters and timestamps.

{
  "id": "33333333-3333-4333-8333-333333333333",
  "state": "queued",
  "counters": {
    "discoveredCount": 0
  },
  "progress": {
    "phase": "queued"
  }
}

Parameters

NameInTypeRequiredDescription
runIdpathuuidYesImport run ID.

Known errors

400invalid_request for an invalid filter, identity or limit.
401authentication_required for a missing or invalid credential.
402subscription_required when access is not entitled.
403authorization_required for a missing scope or unavailable preview access.
404not_found when the record is outside the accessible catalogue.
429rate_limited; honor Retry-After when present.

Source

Provider observations retain advertiser, lifecycle, creative and original public-ad-library URL as provenance.

Refresh

Candidate discovery is bounded and cached for review. Import status is durable run state; polling it never starts provider work.