Skip to main content
Affiliate partners use this endpoint to report an ad impression from their server, so Linkrunner can credit a view-through install. For the setup guide and the attribution rules, see Server-to-Server Impressions.

Endpoint

No API key is needed. The advertiser is identified by the app ID (or the tracking link’s domain) and the campaign by c. The campaign must belong to your partner account, and the advertiser must have turned on S2S traffic and view-through for you.

Parameters

Send all parameters as URL-encoded query parameters. Each value is limited to 256 characters. Every impression needs a gaid or an idfa. View-through attribution matches on device ID only, so unlike S2S clicks, an IP address alone is rejected. If both a name and its alias are sent, the name wins. click_time is ignored on this endpoint; use impression_time. pid, af_siteid and af_lang are ignored, so an AppsFlyer impression template works once the host and c are changed.

Responses

The response is always JSON.
impression_id is Linkrunner’s ID for the impression. It is the same for every retry of the same tid on the same campaign.

Status codes

Examples

An iOS impression, with the advertiser’s default window:

Retries and deduplication

The same tid on the same campaign always maps to the same impression_id, and the impression is stored once, so it is safe to retry. Retry only 429 and 503, after the delay in the Retry-After header. Keep tid unique per impression: a reused tid is treated as a retry of the earlier impression, so the new one is not recorded.