Macro setup

Материал из Справочник сервиса Kadam.net
Перейти к: навигация, поиск

To work with campaigns, an important factor is the ability to transmit in the link ads of its id and id of the site on which the material is broadcast, which will allow analyzing the traffic flow and optimizing the advertising campaign. To do this, the system uses macros:
[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
[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:

AD1

There are 2 ways to send macros:

  • Pass parameters via utm_content and utm_medium UTM tags:

http : //c.cpa1.ru/...../? utm_content = [SID] & utm_medium = [ID]

  • Add parameters at the end of the affiliate link, separating with a colon:

http : //c.cpa1.ru/xxx/[SID]: [ID]
The resulting link can be used in your ads.

Actionpay

You should replace subaccount with identifiers [ID] - [SID] in the affiliate link
The link will look like this:
http : //n.actionpay.ru/click/xxxxxx/xxxx/xxxx/[ID] - [SID]
This link can be used in your ads.

Admitad

To send macros you need to use 'subid' : subid = [ID] & subid1 = [SID], the link will look like this:
https : //ad.admitad.com/goto/xxx/? subid1 = [CPA] & subid = [SID] & subid2 = [CID] & subid3 = [ID]

CITYADS

You can pass macros by adding such a line to the end of the link? Sa = [SID]: [ID]
Those. the link will be:
http : //www.cityads.ru/click-xxxxxxxx- xxxxxxxx? sa = [SID]: [ID]
This link can be used in your ads.

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

http: //YOUR_SITE_SITE_Address /? utm_source = kadam & utm_campaign = [CID] & utm_medium = [SID] & utm_content = [ID]

Clickdealer

Use the following format for data transfer:
http: //YOUR SITE_Address /? s2 = [CPA] & s3 = [CID] & s4 = [SID] & s5 = [ID]