Follow

How to Change Conversion's Status?

Time to read: 8 min

topic.pngThe 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'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:

112.png

4. Find the 'Status' field and choose the needed status for the conversions/conversion you'd like to update.

5. Press the 'Apply' button.

_______2020_05_19_10_41_22_246.gif

import.png 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 5 statuses:

  • 1 - Approved
  • 2 - Pending
  • 3 - Declined
  • 4 - Not found
  • 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

import.pngRight now we support the following samples of the default Admin domain, which is used in Affise Postback URL:

  • http://offers.rocketcompany.affise.com - will be supported until the end of the 2020 year!!!
  • http://offers-rocketcompany.affise.com
  • https://offers-rocketcompany.affise.com

import.png 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, 4 - Not found, 5 - Hold).

click__1_.pngFind 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.

click__1_.pngFind 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?

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


import.png 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:
conversiondetails.gif
 
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'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. 

import.pngIf you change conversion's status via Import tool, the postback for it won't be sent.

click__1_.pngFind out more about how to Import Conversions in Affise here.

article.pngYou 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.

Updated by Anastasia Deryugina 

 

Was this article helpful?
10 out of 11 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.