Skip to main content
Import data (affiliates)
Daria Mamchenkova avatar
Written by Daria Mamchenkova
Updated over 7 months ago

Before you begin

Import feature

You can create conversions on your side by importing them. It is extremely useful if you work with the cash-on-delivery offers. In this case, you need to upload conversions with the needed details to Affise from your side to "sell" them to an advertiser, and get payment once they’re confirmed.

Import tool allows you to work with single and multiple conversions if you need to import several conversions at a time.

⚠️ You can import conversions only by using API.

Import conversions

There are two methods you can use to import conversions:

Import of a single conversion

  1. In your API-development tool, after setting API key and API URL, enter the method according to the API 3.1 documentation:

    POST /4.0/affiliate/conversion/import

  2. Enter the required offer parameter and its value to the correspondent columns.

  3. Optional. Enter all optional parameters and their values to the correspondent columns.

  4. Click Send.

The example of import a single conversion via cURL request:

curl --location --request POST 'https://api-rocketcompany.affise.com/4.0/affiliate/conversion/import' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'api-key: 1dfac4fb1dfa3088e1dfe8d3cfb3eb57' \
--data-urlencode 'offer=1125650' \
--data-urlencode 'click_id=625f4a006ad60e1231e9b8e9' \
--data-urlencode 'goal=2' \
--data-urlencode 'created_at=2022-04-23' \
--data-urlencode 'action_id=6266f2d35e5e2406301b63d5'

Import multiple conversions

  1. In your API-development tool, after setting API key and API URL, enter the method according to the API 3.1 documentation:

    POST /4.0/affiliate/conversions/import

  2. Enter the required list[0][offer] parameter and its value to the correspondent columns.

  3. Optional. Enter all optional parameters and their values to the correspondent columns.

  4. Click Send.

The example of import multiple conversions via cURL request:

curl --location --request POST 'https://api-rocketcompany.affise.com/4.0/affiliate/conversions/import' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'api-key: 1dfac4fb1dfa3088e1dfe8d3cfb3eb57' \
--data-urlencode 'list[0][offer]=1125650' \
--data-urlencode 'list[1][offer]=1125651' \
--data-urlencode 'list[0][click_id]=625f4a006ad60e1231e9b8e9' \
--data-urlencode 'list[1][click_id]=622f4a006ad60e1000e9b8e9' \
--data-urlencode 'list[0][goal]=2' \
--data-urlencode 'list[1][goal]=3' \
--data-urlencode 'list[0][created_at]=2022-04-23' \
--data-urlencode 'list[1][created_at]=2022-04-23' \
--data-urlencode 'list[0][action_id]=6266f2d35e5e2406301b63d5' \
--data-urlencode 'list[0][action_id]=6266f2d35e5e2406301b63d4'

⚠️ You cannot select the conversion status that the system creates. It creates all the conversions in the Pending status by default.


Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].

Did this answer your question?