Time to read: 8 min

The article covers the following topics:

Affise provides you an opportunity to change conversion's status. It can be easily done in Affise via the following four (4) ways:

  • Manually via the 'Edit' button

  • Sending a Postback URL with a special parameter '&status='

  • via API

  • using 'Import' function

How to change conversion status manually?

All you need to do is:

1. Log into your Admin Panel and find the 'Statistics' section.

2. Choose the 'Conversions' slice of the section and find the list of conversions/a conversion you need to update the status of.

3. Tick the needed conversion/conversions and click the 'Change status' button:

4. Choose the needed status for the conversion/conversions you'd like to update.

5. Click the 'Apply' button.

Mind that conversions' status update may take some time, especially when it comes to a long list of conversions. We do strongly recommend not to update more than 500 conversions at once.

How to change conversion status via sending a Postback URL?

Conversions' status can be easily changed once sending a Postback URL for the same conversion with a special parameter '&status='.

1. Conversions in Affise can be of 4 statuses:

  • 1 - Approved

  • 2 - Pending

  • 3 - Declined

  • 5 - Hold

2. If you're going to update the status of a conversion with a postback, the postback should look the following way:

Example:

https://offers-rocketcompany.affise.com/postback?clickid=5ec25b044a4f2b0001211111&status=1

This way of updating conversion's status can be applied only for conversions in the initial 'pending' status! If a conversion has an initial status that differs from 'pending', you should update the status manually, via API, or by the Import option. Parameter '&status' should be updated with the needed conversion's status with a related to it digit (1 for Approved conversions, 2 -Pending, 3- Declined, 5 - Hold).

If your conversions have a 'pending' status, your Advertiser can send postbacks for the same ( so that changes will be applied to the needed conversions and no new conversions will be created) conversions with a needed status adding &status= parameter to the postback.

Also, you're able to change the comment of the conversion via postback as well by using the parameter '&comment=' in a similar way to conversion status changes.

How to change conversion status via API?

You can easily change conversion's status using the following API POST request:

https://api.affise.com/docs3.1/#edit-conversion

POST /3.0/admin/conversion/edit
Use 'internal Affise conversion ID' under the 'ids' parameter of the below-mentioned request.

❗ Use 'internal Affise conversion ID' under the 'ids' parameter of the below-mentioned request.

Internal conversion ID can be pulled out of the following GET request:

https://api.affise.com/docs3.1/#conversions

GET /3.0/stats/conversions

Out of the field in the response 'conversion_id' or can be taken manually via UI once clicking on conversion's details:

You will see detailed information about the conversion:

Below you'll find two examples of the simplest API requests upon conversion's status update:

CURL Request:

curl --request POST \
--url https://api-rocketcompany.affise.com/3.0/admin/conversion/edit \
--header 'api-key: b4a98bc78jf51c1601b7aad705d' \
--header 'content-type: application/x-www-form-urlencoded' \
--cookie PHPSESSID=atc22444bj6jldja74ie5obp4k \
--data 'ids[]=5df75d80c0417b57f08b456b' \
--data status=confirmed

PHP request:

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
CURLOPT_URL => "https://api-rocketcompany.affise.com/3.0/admin/conversion/edit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "ids%5B%5D=5df75d80c0417b5975hf6&status=confirmed",
CURLOPT_COOKIE => "PHPSESSID=atc22444bj6jldja74ie5obp4k",
CURLOPT_HTTPHEADER => array(
"api-key: b4a98b936fuf1c1601b7aad705d",
"content-type: application/x-www-form-urlencoded"
),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}

How to change conversion status via import?

Conversions' status can also be easily updated via Affise 'Import' option. If it sounds more convenient for you, you can proceed with reading the related article on this matter.

You may also find the following articles helpful:


If you have more questions on How to change conversion's status, feel free to contact the Affise Support Team via support@affise.com or your Dedicated Account Manager.

Did this answer your question?