Creating a source
A source describes the platform the traffic comes from: which parameters to take from the ad link and how to send events back — by an ad platform's event map, by postback or both ways. The + Add source button opens a separate creation page (not a pop-up dialog).
How to create a source
-
Open Sources and click + Add source.

-
First choose a template in the From template field: a new source opens with no template chosen. The template of your platform fills in the name, the postback and the set of parameters. If there is no template for your platform, choose No template (the first item of the list) and fill in the postback and the parameters yourself.
-
Fill in the Name — how the source will be called in lists and statistics.
-
Fill in the src value when the form shows it: always for a source that is not of Facebook, Google Ads or TikTok, and for a source of one of these platforms when the install already has another source of the same platform. The source is not saved while the value is empty — see src value.
-
Set up event sending — the form shows what the chosen template allows. If the template has an ad platform's event map, the form shows the map filled in with default pairs: check which of our events go to the platform and under which names, or, where the source offers it, leave the sending to the platform's own tag on the site. To whom the Conversions section is open, the form shows no map: which of our events go to the platform is set in Conversions, in the Where it goes section of each conversion's card, and the form leads there by the Which events go out row (on a source of Google's own template — by the How conversions reach Google block). If the form has the S2S postback block, check the addresses of Registration and Deposit — the template may have filled them in — and switch on the ones to send; to whom the Conversions section is open, the form has no such block: the postback address and its switch are set in Conversions, in the cards of Registration and Deposit, where the address the template filled in is shown. A template can give both, and then the conversion goes both ways; a source on the own template of an ad platform that takes conversions by an event map has no field for a postback address.
-
In the Parameters table, check which data the source puts into the link. The template chosen in step 2 builds the table for its platform; choosing another template rebuilds it. With No template the table stays yours: if you have not changed anything yet, one empty Ad ID row remains in it — enter your platform's ad macro there.
-
If you wish, add Notes.
-
Click Create. To exit without saving — Cancel.

The Create button is inactive until a template or No template is chosen and the Name is filled in. A source without the Ad ID parameter is not saved: without it, conversions are not linked to an ad. If you do not have the right to manage sources, the form opens for viewing only.
Field breakdown
From template
A ready-made source preset. Choosing a template fills in the name, the postback and the set of parameters for you — then they can be edited. When the table of parameters already holds values you entered, the panel first asks Apply this template? It will overwrite the values you entered in these fields. and applies the template on Apply. A template is not required: the first item of the list is No template, and then the source is assembled manually — you fill in the postback address and the parameters yourself, and choosing this item does not erase what you have already entered. The Ad ID macro of your platform is required for a source without a template too — without it the source is not saved.
Name
The source name in the interface. Specify a clear name — for example, after the ad account the traffic comes from.
src value
Qubix tells the visits of Facebook, Google Ads and TikTok by their click marks; for any other source it is the src parameter of the link that tells them. Enter a short value, for example network1, and put src=network1 into the source's ad links: the Example URL for an ad block of the source and the ad links under a campaign's entry points end with it themselves. Letter case does not matter when Qubix compares it with the link.
The field's hint says what to do with the value: Add the src parameter with this value to the ad link — this is how Qubix recognises this source's visits. Where the value is required, the hint goes on: Add the src parameter with this value to the ad link — this is how Qubix recognises this source's visits. The value is required and must differ from the value of any other source.
When the value is required:
- a source that is not of Facebook, Google Ads or TikTok — neither their own template nor the template of an agency that sells their traffic — always has the row, and is not saved without a value;
- a source of Facebook, Google Ads or TikTok (an agency counts with its platform) gets the row when the install already has another source of the same platform — of any user, whether you see it or not. The click mark does not tell two sources of one platform apart, so the second and every next one is not saved without a value; the first one stays valid without it.
The value of a source must differ from the value of every other source of the install; a deleted source does not hold its value. When you edit a source that already exists, the value is asked for only if you clear it or choose a template of another platform. Sources of your own made before this rule got a value from the key of their template, in lower case, with -2, -3 and so on added when the value is already taken; a source without a template got source. You can change it on the source card.
The value is up to 64 characters, without spaces; spaces at the edges are dropped on save. Two sources of one ad platform can stand in one campaign when at most one of them has no value. While the source stands in an active campaign of several sources, its card does not save a value that another source of that campaign already has, nor a template of an ad platform another source of that campaign has when neither of the two has a value, and the refusal names the campaign; see Every source must be told apart. If a row of the Parameters table already uses the src key, a warning appears under the table and the example link does not get the src mark: rename that row's URL key. How the value picks the source of a visit — One landing, several sources.
S2S postback
The addresses by which Qubix notifies the platform about an event — the Registration row and the Deposit row, each with its own address and switch. Macros are inserted into an address — Qubix substitutes real values into them when sending. Available macros:
{external_id}, {status}, {revenue}, {payout}, {currency}, {sub_id_N}, {tid}
Example:
https://source.com/postback?subid={external_id}&status={status}&payout={revenue}
More about the macros and how parameters travel back and forth — Parameter passing and postback.
The postback carries only Registration and Deposit, each switched on separately. To whom the Conversions section is open, the card has no such block: the address and the switch of each are set in Conversions — in the card of the conversion, the Where it goes section; the Which events go out row of the source card leads there. A person to whom the Conversions section is not open sets the address and the switch of each in these rows — the same address and switch as in Conversions. Switched on with no address, a row warns that nothing goes to the source; switched off, it sends nothing. More — Parameter passing and postback.
If the facebook template is selected, the S2S postback block is replaced by the Conversions to Facebook block: events are sent to Facebook automatically, and you set up only the mapping "Qubix event → Facebook event" (for example, deposit → Purchase) — to whom the Conversions section is open, in Conversions, in the Where it goes section of each conversion's card. Qubix finds the pixel by the ad number, or takes it from the click link when the Pixel row of the example link is set to In the link; the token — from the pixel registry. More — Facebook Conversions API and Pixels.
If the Google Ads template is selected, there is no S2S postback block: Google does not take postbacks by link.
Parameters
The table describes which values the source passes in the ad link. Each row is one parameter with three fields:
- Name — how the parameter is called in forms and statistics (for example,
Ad ID). - URL key — under which key the value comes in the link (what stands before
=). - Placeholder — what the source substitutes into the value: a platform macro (for example,
{{ad.id}}for Facebook) or a fixed value.
Available built-in parameters:
- Ad ID — the ad identifier. It is needed to link clicks and conversions with ads and to see statistics by them; for Facebook ads, the ad's data is also pulled by it (see the tip below). Without this parameter the source is not saved.
- Pixel — the Facebook pixel identifier. Used to send events to the Conversions API.
- Network click — the click identifier the platform puts into the link. Qubix returns it to the platform in the postback through the
{external_id}macro; choosing a template fills in the platform's key and macro. - Site — the platform tag of a click: the platform name that the link passes in the
sourceparameter (for example,?source=propellerads). Qubix saves it together with the click. When several campaigns stand on one entry point, this parameter also picks the campaign of the visit, and in a campaign with several sources — the source of the visit, when it names the source by its ID or name — see One landing, several sources. - Ad account ID, Campaign ID, Campaign name, Ad group ID, Ad group name, Ad name, Placement and Keyword — what the platform itself knows about the click: the ad account, the campaign, the ad group, the ad, the placement and the keyword. Put the platform's macro into each one you need; none of them is required.
- The standard fields — Network, Match type, Device model, Target, Targeting condition, Click location, Location of interest, Ad type, Asset group, Extension, Feed item, Merchant Center ID, Product ID, Product channel, Product country, Product language, Product group and Store code. Together with the placement and the keyword they are the fields of Google's macros, and every source has them: a Google Ads source fills them with Google's macros, for another source put its own macro into a field, or a value of yours. Each of them, the placement and the keyword included, is a column of the Clicks tab.
- Sub 1 … Sub 16 — fields for your own tags only: a platform's macro that has a field of its own goes into that field, not into a Sub.
Qubix saves the click IDs of Facebook, Google and TikTok (fbclid, gclid, ttclid) on its own — the Network click parameter is for the other platforms.
A template fills these parameters from its own set. For example, the Google Ads template fills Keyword, Placement, Network, Match type and Target; the TikTok template fills Campaign ID, Campaign name, Ad group ID, Ad group name and Ad name. A Google Ads source has no Campaign ID row: the campaign comes from the account script.
The ads of a platform without an import of its own are registered from the links. For a source that is not Facebook and not Google, Qubix registers the ads of its clicks by the values of these parameters. Every ten minutes the Ads from source links job (Background jobs) takes the visits of the last two days through the campaigns of this source that carry an ad number, and records each ad with its ad account, campaign and ad group, and with the names of the campaign, the ad group and the ad. The ads then appear in the source card, on the Ads and Ad campaigns tabs; the number of such a campaign starts with clk-. An ad is assigned to the owner of the tracker campaign through which it came first. An ad that Facebook, Google or the spend intake has already brought is left as it is.
To add a parameter, select it in the + list below the table: under Standard fields it holds the parameters above, under Your own tags — the next free Sub. To remove one — click the cross in the row.
For a source with the Facebook, Google Ads or TikTok template the + list below the table holds, in the group named after the platform (for example, Google Ads fields), that platform's own macros — each item is the field's name with the macro and an explanation under it — and last, in the Your own tags group, the next free Sub; a row's macro is picked from that list rather than typed, and a macro that has a field of its own goes only into that field's row. The ad number goes only into the Ad ID row. The Pixel row of Facebook and TikTok takes no macro: only its URL key is edited. Rows with another platform's macro are not shown, and saving drops them. A value of your own — a fixed mark or a substitution of the platform the list does not name — is typed in: pick Own value… in the row, or add the next free Sub from the Your own tags group of the list below the table.
A source on the Yandex Direct template. Its + list holds the group Yandex Direct fields with the dynamic parameters of a Yandex Direct ad link; each item shows the name of the field and, under it, the macro with its meaning. A macro that has a row of its own goes into that row — the ad number into the Ad ID row, the campaign number into Campaign ID, and so on; a macro without a row of its own goes into the first free Sub, under a link key of the same name as the macro. Direct itself adds the click number {yclid} to the link; it fills the Network click row. The macros of other platforms do not go into such a source: a row with one is not saved.
| Item of the list | Macro | What it passes |
|---|---|---|
| Ad ID | {ad_id} | ad number |
| Campaign ID | {campaign_id} | campaign number |
| Campaign name | {campaign_name_lat} | campaign name in Latin letters |
| Campaign name | {campaign_name} | campaign name as written |
| Ad group ID | {gbid} | ad group number |
| Keyword | {keyword} | the keyword that triggered the impression, without negative keywords |
| Site | {source} | the site of a network impression; none on Yandex search |
| Placement type | {source_type} | where the ad ran: search or context (networks) |
| Block | {position_type} | search block: premium, dynamic_places, other; none in the networks |
| Position | {position} | position in the block; 0 in the networks |
| Device | {device_type} | device of the impression: desktop, mobile or tablet |
| Region | {region_id} | region number of the impression |
| Region name | {region_name} | region name of the impression |
| Keyword number | {phrase_id} | keyword number |
| Creative | {creative_id} | number of the creative made in the builder |
| Campaign type | {campaign_type} | campaign type |
| Audience | {retargeting_id} | number of the audience targeting condition |
| Bid adjustment | {coef_goal_context_id} | number of the bid adjustment for the audience |
| Match type | {match_type} | how the targeting matched: rm — autotargeting, syn — semantic match |
| Matched phrase | {matched_keyword} | the phrase autotargeting or semantic match picked |
| Targeting condition | {adtarget_id} | number of the targeting condition |
| Network click | {yclid} | click number Direct adds to the link itself |
From the Ad ID, Qubix itself gets from Facebook the campaign, the ad set and the ad (names and IDs), as well as the creative itself — the image or video with its title and text. There is no need to pass any of this in the link, and it is not worth spending the extra Sub fields on it.
Next to the table, Qubix shows the Example URL for an ad block — a ready-made link that can be copied and pasted into the ad's URL field on the platform. In the example you can choose your domain and a pixel from a list.
Notes
Free text for you and your team. Shown under the source name in the general list.
The spend of the platforms Qubix is connected to arrives on its own. For a platform without an import of its own, create a source that is not based on the template of a platform whose spend Qubix receives itself — and you will be able to send that platform's spend yourself: by key, through the assistant or from a script. More — Spend intake by key.