Лог кликов кампании
Raw click log of an OT smart link campaign (campaign type smartlink_tracking / smartlink_trial on revshare/campaigns, or the OT tracking link behind a CPL campaign): the same rows as the Click log modal and its CSV export in the cabinet. Clicks are kept for 180 days; older rows are gone and from cannot reach them. Newest first. campaign_id is required: a revc_… RevShare campaign id or a cplo_… CPL campaign id (the campaign behind that order). Campaigns of other types answer error_code 422 Click log is available for OT smart link campaigns only.
Авторизации
API key from the partner cabinet, Tools -> API (https://partners.onlytraffic.com/tools/api): up to 5 named keys per account, each Full or Read-only, ot_partners_ prefix, shown once at creation. Raw value or Bearer form. Read-only keys cannot call the POST endpoints (403 This API key is read-only); expired or revoked keys get 403 Error! Access denied.
Параметры запроса
Campaign public id (revc_…) or CPL campaign public id (cplo_…). Required.
"revc_k3m9x2"
Number of records to skip.
x >= 0Number of records to return.
1 <= x <= 1000Start date (inclusive), format Y-m-d. Clicks older than 180 days are not stored.
"2026-10-01"
End date (inclusive), format Y-m-d.
"2026-10-21"
Filter by visitor country, ISO 3166-1 alpha-2 (case-insensitive).
2"US"