Time to read: 8 min
The article covers the following topics:
- How to change conversion's status manually?
- How to change conversion's status via sending a Postback URL?
- How to change conversion's status via API?
- How to change conversion's status via import?
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's 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 conversions/conversion and find the 'Edit' button on the right of the page:
4. Find the 'Status' field and choose the needed status for the conversions/conversion you'd like to update.
5. Press 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.
With the help of this method you also can change conversion's Payout, Revenue and Currency, you also may add some comment.
How to change conversion's 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
Right now we support the following samples of the default Admin domain, which is used in Affise Postback URL:
- http://offers-rocketcompany.affise.com
- https://offers-rocketcompany.affise.com
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).
Find out more about Conversion's statuses here.
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.
Find out more about how does Affise define Click's/Conversion's Uniqueness here.
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's status via API?
POST /3.0/admin/conversion/edit
Use 'internal Affise conversion ID' under the 'ids' parameter of the below-mentioned request.
GET /3.0/stats/conversions

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's 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.
If you change conversion's status via Import tool, the postback for it won't be sent.
Find out more about how to Import Conversions in Affise here.
You may also find the following articles helpful:
- Conversion's statuses
- How Does Affise Define Click's/Conversion's Uniqueness?
- How To Import Conversions In Affise?
- How To Take the S2S Integration Test With Advertiser?
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.
Updated by Anastasia Deryugina
0 Comments