Use case:

- Example: you're from VN and a global campaign from MY.

- You're a local interspace staff and going to integrate with a global campaign of Malaysia Interspace campaign (global campaign).

- When you do this integration that means you're affiliating with Malaysia campaign as a Big publisher in Malaysia interspace.


- Our system will create a campaign base on global campaign from MY interspace system to VN interspace system, we call them "campaign integrated from ACCESSTRADE in other countries".

- The publishers in the VN interspace will affiliate with clone campaign in VN system.


Usage:

- Create a click link from the clone campaign: 


    I - There is no difference with the normal campaign when getting click URL of integrated campaign from publisher dashboard or Istools dashboard.

         Notice: you need to check is a campaign integrated from ACCESSTRADE in other countries in the create/edit campaign istools page or else you have to add param `atsemr=1` to the click link to prevent replacing the encoded 1-time macro value.


 Click URL will have the format like this: https://click.accesstrade.vn/adv.php?rk=00xxxxxxxxx1&atsemr=1


    II - In the case, you want to set the target merchant landing page you'll need to these steps:

        Given:

            - VN click link: https://click.accesstrade.vn/adv.php?rk=00xxxxxxxxx1

            - MY click link redirects from VN click server: https://click.accesstra.de/adv.php?                    rk=00yyyyyyyyy001&clickid={clickid}

            - Target Merchant landing page: https://lazada.com?subid={clickid}


        DO:

            1. URL encode [Final Merchant landing page ] one time: 

        https://lazada.com?subid={clickid} -> https%3A%2F%2Flazada.com%3Fsubid%3D%7Bclickid%7D


            2. Set target redirect for My click link by adding `url`  param:

  Final MY click link: https://click.accesstra.de/adv.php?rk=00yyyyyyyyy001&clickid={clickid}&url=https%3A%2F%2Flazada.com%3Fsubid%3D%7Bclickid%7D


            3. Final to integrate with VN click link you need to encode [Final MY click link] one time before adding  `url`  param to [VN click link].


Encoded [Final MY click link] = https%3A%2F%2Fclick.accesstra.de%2Fadv.php%3Frk%3D00yyyyyyyyy001%26clickid%3D%7Bclickid%7D%26url%3Dhttps%253A%252F%252Flazada.com%253Fsubid%253D%257Bclickid%257D


            4. Don't forget to add param `atsemr=1` to the click link to prevent replacing the encoded 1-time macro value. (if you didn't check to is a campaign integrated from ACCESSTRADE in other countries ).

If already check to that then no need to add param `atsemr=1`

            5. Then the final click link for VN will be: [VN click link]&atsemr=1&url=Encoded [Final MY click                  link]


OR


https://click.accesstrade.vn/adv.php?rk=00xxxxxxxxx1&atsemr=1&url=https%3A%2F%2Fclick.accesstra.de%2Fadv.php%3Frk%3D00yyyyyyyyy001%26clickid%3D%7Bclickid%7D%26url%3Dhttps%253A%252F%252Flazada.com%253Fsubid%253D%257Bclickid%257D