Home > Tracking Campaigns > Voluum

Tracking multiple currencies with Voluum? (13)


06-12-2015 01:39 AM #1 dan_and (Member)
Tracking multiple currencies with Voluum?

Searched on the web and on STM for this, but didn't find anything about it - so hoping you guys can help me...

Currently running a DE campaign on Adsimilis with payout €2.00. The postback URL just imports it as 2.00, and Voluum ends up reporting it as US$2.00. That's obviously not accurate when I compare it to my ad spend which is in USD. The whole reporting becomes useless that way...

Checked on Voluum and it says here: https://Voluum.com/features/ that "Multi-Currency" support is an upcoming feature.

That's all nice and dandy, but is there a workaround for this? E.g. a way to convert it on the network's side?


06-12-2015 03:42 AM #2 dan_and (Member)

Doh. Or I could just use manual payout instead, I guess. Never mind :-)


06-12-2015 07:40 AM #3 hatatitla (Member)

Or set manual postback URL for offer in Adsimilis. Write converted payout there and this postback will be used instead of global postback, if is set...


06-12-2015 08:20 AM #4 stitch (Member)

--- use the one below my post, API is better!

Code:
<?php
$id = $_GET['clickid'];
$price= $_GET['payout'];

$exchangerate = 1.12; // accurate EUR -> USD at time of writing

if($id != '') {
file('http://your.voluumtrk.com/postback?cid='.$id.'&payout='.$price*$exchangerate);
}
?>
Dump that on a server that's web accessible (and has PHP installed lol) and set the postback url to http://hostnamehere.com/somedirector...networkpayout#
Obviously replace the domain/directory and the tokens between the #s with the relevant network ones.


06-12-2015 09:17 AM #5 andyvon (AMC Alumnus)

I use the following custom postback for this, it uses the yahoo currency API:

Code:
<?php
$id = $_GET['clickid'];
$price= $_GET['payout'];

if (isset($_GET['cu']))
{
	$from = $_GET['cu'];
	$to = 'USD';
	
	$url = 'http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s='. $from . $to .'=X';
	$handle = @fopen($url, 'r');
 
	if ($handle) 
	{
		$result = fgets($handle, 4096);
		fclose($handle);
	}
	$allData = explode(',',$result); /* Get all the contents to an array */
	
	$price *= $allData[1];
}

file('http://xxxx.trackvoluum.com/postback?cid='.$id.'&payout='.$price);
?>
you would set up the postback in Cake like this: http://yourserver.com/postback.php?c...#price#&cu=EUR


06-12-2015 09:49 AM #6 cbrughmans (Member)

Tracking multiple currencies im not so worried about...im more worried about (big) fluctuations in the exchange rate. if you do +100k on a campaign whereby the advertiser pays you in euros and you pay the traffic source in dollars, you can easily make or lose a 500$/euro on the exchange rate. How do you guys manage this risk?

In order to exchange your dollars into euros or whatever currency, we dont use a bank anymore. We use a company called Kantox - they are a trading platform for currencies. Big advantage: commission is litteraly ten times smaller than in the bank.


06-12-2015 10:02 AM #7 deedsmedia (Member)

Quote Originally Posted by cbrughmans View Post
Tracking multiple currencies im not so worried about...im more worried about (big) fluctuations in the exchange rate. if you do +100k on a campaign whereby the advertiser pays you in euros and you pay the traffic source in dollars, you can easily make or lose a 500$/euro on the exchange rate. How do you guys manage this risk?

In order to exchange your dollars into euros or whatever currency, we dont use a bank anymore. We use a company called Kantox - they are a trading platform for currencies. Big advantage: commission is litteraly ten times smaller than in the bank.
Really interesting, can you tell more about how the process works with kantox?

I am searching for a solution to avoid or at least reduce exchange fees for years.


06-12-2015 10:07 AM #8 cbrughmans (Member)

kantox is an automatic trading platform; example:
image i have 100K dollars and i want euros - i go on the platform and publish i want to do this
at the same there is another company that has 100k euros and want dollars
Then we exchange this at the current FX rate, but WITHOUT the huge commissions those motfercuking banks dare to ask. you immediately save 500-1000$ just on the exchange rate.

check them out on linkedin: they have https://www.linkedin.com/company/187...2Ctas%3Akantox
60 employees and just traded more than a billion $; we started our exchange rate operations with them and were NEVER going back to a bank


06-12-2015 10:12 AM #9 deedsmedia (Member)

Thanks for the infos, this sounds like it would fit my needs perfectly.


06-12-2015 10:15 AM #10 cbrughmans (Member)

Add me on skype and i can explain you more and bring you in touch with them: christoph_brughmans1


06-16-2015 10:00 AM #11 dennis (Member)

Quote Originally Posted by andyvon View Post
I use the following custom postback for this, it uses the yahoo currency API:

Code:
<?php
$id = $_GET['clickid'];
$price= $_GET['payout'];

if (isset($_GET['cu']))
{
	$from = $_GET['cu'];
	$to = 'USD';
	
	$url = 'http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s='. $from . $to .'=X';
	$handle = @fopen($url, 'r');
 
	if ($handle) 
	{
		$result = fgets($handle, 4096);
		fclose($handle);
	}
	$allData = explode(',',$result); /* Get all the contents to an array */
	
	$price *= $allData[1];
}

file('http://xxxx.trackvoluum.com/postback?cid='.$id.'&payout='.$price);
?>
you would set up the postback in Cake like this: http://yourserver.com/postback.php?c...#price#&cu=EUR
This is just awesome!
However, sometimes it fires and sometimes it doesn't.
How stable is this?


06-16-2015 02:38 PM #12 andyvon (AMC Alumnus)

Quote Originally Posted by dennis View Post
This is just awesome!
However, sometimes it fires and sometimes it doesn't.
How stable is this?
I can't guarantee that it works 100 % of the time, but I've been using it for a while without any issues. Keep in mind that sometimes there seems to be a slight delay between the postback being fired and Voluum showing the conversion.


06-16-2015 02:52 PM #13 dennis (Member)

In my case the conversion came in but the amount was $0
But the second conversion that came in had the right amount.


Home > Tracking Campaigns > Voluum