Macro setup

From Service Manual
Revision as of 13:56, 8 January 2020 by Admin (Talk | contribs)

Jump to: navigation, search

An important factor for working with campaigns is the ability to transmit the ids of the ads sites on which the materials are being displayed. The transmission of the ids will allow the analyzing of the traffic flow on the sites, as well as the optimization of the advertising campaign:
[SID] - for transmitting the site id (not provided for in the KSA model campaigns);
[ID] - send the announcement id;
[CID] - send the campaign id;
[RID] - transfer the region id. A detailed description of working with this macro can be found in the article Region Macro-Transfer
[CATID] - transfer the site category id. A detailed description of working with this macro can be found in the article Category macro
[TGTXT] - transfer the keyword
[CLC] - transfer the cost of a click
[SUBAGE] - subscribe age
[BRWSR] - browser
[LANG] - browser language
[CLCUSD] - the cost of a click in dollars (exchange rate of the cb of the RF)
[PLTFRM] - platform
[CPA] - send click id, mainly used in campaigns with the payment model KSA to set up conversion notification via postback

Examples of how to transfer data by source /ad to popular CPA networks:


There are 2 ways to send macros:

  • Pass parameters via utm_content and utm_medium UTM tags:[SID]&utm_medium=[ID]

  • Add parameters at the end of the affiliate link, separating with a colon:[SID]:[ID]
The resulting link can be used in your ads.


You should replace subaccount with identifiers [ID] - [SID] in the affiliate link
The link will look like this:[ID]-[SID]
This link can be used in your ads.


To send macros you need to use subid: subid=[ID]&subid1=[SID], the link will look like this:[CPA]&subid=[SID]&subid2=[CID]&subid3=[ID]


You can pass macros by adding such a line to the end of the link?Sa=[SID]:[ID]
Those. the link will be:[SID]:[ID]
This link can be used in your ads.

Using macros in UTM tags for Yandex Metrics and Google Analytics.



Use the following format for data transfer: