Add Conversion

Sends conversion data to Adnium

PHP

Replace the following:
[ATRACK] with the generated conversion ID you got from Adnium
[AMOUNT] with the amount from the conversion
[YOUR_API_TOKEN] with your token

<?php
  $curl = curl_init('https://api.adnium.com/v1/advertiser/conversion/add/?token=[YOUR_API_TOKEN]&atrack=[ATRACK]&amount=[AMOUNT]');
  curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true);
  $response = curl_exec($curl);
  curl_close($curl);
  var_dump($response);
?>
Language