Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Optional Parameters available

 

sub1, sub2, sub3, sub4, sub5

Parameters in which you can pass the macros.

rate

Sale amount in USD for the campaign. The rate should be in 3 Digit.

currency

The currency of the rate parameter

txn_id

It’s used for tracking Upsell and the value should be different.

security_token

This is an automatically generated id for advertisers. It’s useful to prevent your network from affiliate frauds.

 

Adding Parameters in Postback  URL.

...

Therefore, you will want to append the sub1, sub2 parameters to the postback URL like this:

https://app.indoleads.com/api/acquisition?click_id={click_id}&sub1=XYZ&sub2=123

After the “?” you can see that a good many parameters have been appended to the URL; e.g. &sub1=XYZ and &sub2=123. Parameters – otherwise known as variable-value pairs – are comprised of a parameter variable (e.g. &sub1) and a macro (e.g. = XYZ). Thus, a parameter is simply indicating that the parameter variable equals a macro/value. You can add sub1, sub2, sub3, and sub4 as sub IDs. You can add sub1, sub2, sub3, sub4, and sub5 as sub IDs. Either you can pass the default value or you can also pass various parameters mentioned in the list below.

...

Our platform supports many of the possible macros that can be passed back to the publisher to maintain a highly transparent transaction between you and the publisher’s tracking system. The macros used are always contained between curly brackets “{}” and include underscores. Here is the complete list of macros that the platform supports:

Parameters:

Token

Description

{adv_id}

ID of Advertiser for which the campaign is running.

{advertiser_id}

Alias for {adv_id}

{aff_id}

ID of Publisher running the Campaign

{aff_name}

Name of Publisher running the Campaign

{aff_username}

Username of Publisher running the Campaign

{agent}

Browser on which the Click Event occurred

{campaign_id}

Campaign ID

{campaign_title}

Campaign title

{click_id}

Unique ID of Click Event Recorded

{click_time}

Timestamp for the Click Event

{conversion_date}

Date on which conversion took place, formatted as YYYY-MM-DD (example: 2017-06-25)

{conversion_datetime}

Date and Time of the conversion, formatted as YYYY-MM-DD HH:MM:SS(example:  2017-06-25 11:27:06)

{conversion_id}

{conversion_time}

{country_id}

{currency}

{ip}

{offer_id}

{offer_title}

{p1}

{p2}

{p3}

{p4}

{payout}

{payout_usd}

{publisher_id}

{publisher_name}

{publisher_username}

{random}

{referer}

{sale_amount}

{sale_amount_usd}

{status}

{sub1}

{sub2}

{sub3}

{sub4}

{txn_id}

{campaign_id}

Id of Campaign

{campaign_title}

Title of Campaign

{aff_id}

ID of Publisher running the Campaign

{aff_name}, {aff_username}

Name/Username of Publisher running the Campaign

{advertiser_id}

{adv_id}

ID of Advertiser for which the campaign is running.
{adv_id} is an alias for {advertiser_id}!

{tdomain}

Tracking domain on which the Campaign Runs

{click_id}

Unique ID of Click Event Recorded

{click_time}

Timestamp for the Click Event

{p1}, {p2}, {p3}, {p4}, {p5}

Tracking Parameter’s which was appended in tracking url

{device_id}

Device ID For App Installs Campaign

{payout}, {rate}

Payout/Sale rate Rate in USD for the Campaign (ONLY in CALLBACKS)

{reporting_rate}, {reporting_payout}

Payout/Sale rate Rate in Default Currency(ONLY in CALLBACKS)

{agent}

Browser on which the Click Event occurred

{referer}

Referring Domian for the Click Event

{country_id}

2 Digit Country ID

{ip}

Connecting IP of User

{random}

7-15 Digit number randomly selected

 {conversion_id}

 Unique ID of Conversion Event Recorded

{conversion_ip}

IP address of the user device, recorded on conversion

{conversion_date}

Date on which conversion took place, formatted as YYYY-MM-DD; For example: ‘2017-06-25’

{conversion_datetime}

Date and Time of the conversion, formatted as YYYY-MM-DD HH: MM: SS; For example:  ‘2017-06-25 11:27:06’

{conversion_time}

Conversion time formatted as UNIX timestamp in epoch milliseconds; For Example: 1498370226424, // milliseconds

 

 How to Test Postback

Under the “Account” menu, there is a “Postback” sub-menu that will open the Global Postback page

...