Skip to content

Zeropark (pop and domain redirect)

Zeropark (pop and domain redirect) is a traffic source (pop). Its own documentation: https://doc.zeropark.com/article/tracking-conversions.

  • Sends your conversions back to Zeropark (pop and domain redirect).
  • Pulls your spend from its API.
  • Blocks placements in a source campaign.
  • Pauses and resumes its campaigns.
  • Sets bids on its campaigns.
  • Checks the connection with a harmless request when you test it.

API key. Sent in the api-token header.

Conversions go without it: the postback carries no credentials, so a connection that lacks the API’s goes on sending conversions.

Set these on the connection:

FieldNameKindWhat to enter
Postback idpostback_idstring, requiredThe id after /zppostback/ in the postback URL your Zeropark campaign’s Tracking section shows
API access tokenapi_tokenstring, secretAn access token from My account, Security, Access tokens in Zeropark, for spend and pausing targets; postbacks go without it
Account time zonetime_zonestringFor spend, your Zeropark account’s time zone, such as Europe/Warsaw, whose days it reports spend by; it can’t change once spend is reported

A secret is set by the workspace’s owner alone and never shown again. A required secret that is missing holds the connection’s deliveries until it is set; one that is optional holds only what reads it.

Each token is a query parameter on the campaign URL; the source replaces its macro with the value when it sends the visitor. The columns say which part of the visit it fills and which report column (v1 to v20) it lands in.

ParameterMacroFillsReport column
cid{cid}The source’s click id
target{target}Placementv1 (Target)
source{source}Sitev2 (Source)
campaign{campaign_id}Source campaignv3 (Campaign)
traffic{traffic_type}Custom valuev4 (Traffic type)
visitor{visitor_type}Custom valuev5 (Visitor type)
keyword{keyword}Keywordv6 (Keyword)
cost{visit_cost}Cost

The campaign URL you paste into the source is the tracking domain, the campaign’s key and the tokens the source fills, in this order (the domain below is an example, and {url_key} stands for the campaign’s own key):

https://trk.example.com/{url_key}?cid={cid}&target={target}&source={source}&campaign={campaign_id}&traffic={traffic_type}&visitor={visitor_type}&keyword={keyword}&cost={visit_cost}

Cost models, the first the default: from_token (the source’s own cost, passed in a token), cpc (cost per click), api (the spend pulled from the source’s API).

With from_token, the cost is the value of cost, per visit in USD.

Campaign URL

https://trk.example.com/{url_key}?cid={cid}&target={target}&source={source}&campaign={campaign_id}&traffic={traffic_type}&visitor={visitor_type}&keyword={keyword}&cost={visit_cost}

Paste the campaign URL into the source's ad. {url_key} stands for the campaign's own key, which the portal fills in; the macros are the source's, which it replaces with each visit's values.

Tallyray sends a conversion to Zeropark (pop and domain redirect) when it enters one of these statuses: approved. A conversion is sent once per status it enters; an adjustment, with revenue moving and its status not, isn’t sent. A conversion older than 30d isn’t sent.

Tallyray’s event kinds, and the name each is sent as. A conversion of a kind not listed isn’t sent:

Tallyray eventSent to Zeropark (pop and domain redirect) as
salesale

The request: GET https://postback.zeroredirect1.com/zppostback/{…}.

A conversion is sent only when this holds:

=visit.external_click_id != ''

Conversions are retried when the source can’t be reached or answers with an error that can pass; see the limits below.

Tallyray pulls spend from the source’s API every 1h, covering the last 3d again, as sources restate spend, 1d at most per request, by day, in the zone =conn.time_zone != '' ? conn.time_zone : 'set the account time zone'. With api among the cost models, a campaign is priced by it.

The request: GET https://panel.zeropark.com/api/stats/campaign/all.

Pulling spend needs the API’s credential. A connection without it goes on sending conversions and pulls no spend.

Placements are the visit’s placement value, as the tokens above fill it.

Blocking: POST https://panel.zeropark.com/api/campaign/{…}/targets/pause. Mode append: Tallyray sends the placements to add. Lifting a block is sent too.

Rules and reports can pause and resume the source’s own objects at these levels. Tallyray reads an object before it writes, and writes only what isn’t so already, so a repeated pause never toggles anything.

LevelNamed by
campaignscampaign

A write may take up to 10m to show in a read; a read within that time that disagrees is read again later, not taken for a person’s change at the source.

Rules and reports can set the source’s bids at these levels. Each value is read before it’s written, in the account’s currency, never converted; a value the source sets itself isn’t written.

LevelNamed byPricesBoundsNotes
campaignscampaigncpvmin 0.0001, step 0.0001
  • Rate: at most 10/s per connection, 4 at once.
  • Retries: up to 15 attempts, waiting from 30s and doubling up to 6h, longer when the source’s Retry-After asks, and never past the conversion’s age limit.
  • Hosts it reaches: postback.zeroredirect1.com, panel.zeropark.com. No other.
  • What a connection may override: /tokens, /conversions/events, /conversions/send_on, /cost. Hosts, authentication and requests never are, and an override may only lower the limits.

This page describes version 4 of the Zeropark (pop and domain redirect) template, the latest published. The version your connection runs is the one your administrators approved, and the portal shows it.