i need help making AdscendMedia postback

2 replies
hey guys,

can anyone please help me make an adscendmedia postback?? i will pay if it works
add my msn lovie520 @hotmail . com
#adscendmedia #making #postback
  • Profile picture of the author iSpooked
    ~Bump~ please help T.T
    {{ DiscussionBoard.errors[3604002].message }}
    • Profile picture of the author jinn
      If you have not figured it out yet here is how it could be implemented:

      you need some knowledge in php and it's pretty simple.

      first thing you need is to make one php file in your server, this file will act as the postback script wich will be triggered by asdcendmedia when an offer converts.

      The basic content of the file could be:

      // ads_postback.php
      <?php
      $adscendIp = "xx.xx.xx.xx"; // ip for adsc

      if($_SERVER['REMOTE_ADDR'] != $adscendIp)
      {
      die("Access Denied!");
      }

      $campid = $_GET['campid']; // ID number of the campaign credited
      $sid = $_GET['sid']; // The SubID that was passed in the campaign link
      $rate = $_GET['rate']; // Commission earned (Will be negative if status is revoked)
      $status = $_GET['status']; // Status of the lead. 1 for payable, 2 for revoked
      $name = $_GET['name']; // Name of the campaign
      $ip = $_GET['ip']; // IP address of the user

      if($status == "1")
      {
      // MySQL Query to Update User Points
      }
      else
      {
      die("Revoked Lead!");
      }
      ?>

      it then depends on wich type of site you'r running, if you are running a point based site or a reward site, you need to identify the users that are making your offer and update their info in your database.

      to track your user you should modify the script that you include in your head tag to look something like this. The new thing here is that you include
      $user together with the ?sid variable, this is how you will be able to get the user back in your postback script.

      <script src="hxxp://adscendmedia.com/gwjs.php?aff=xxxx&prf=xxxx&sid=<?php echo $user; ?>" type="text/javascript"></script>
      <noscript>Enable Javascript to access this page.<meta http-equiv="refresh" content="0;url=hxxp://adscendmedia.com/gateway_nojs.php?p=xxxx"></noscript>

      I hope this can be of any help to you or anyone else out there.

      BR
      Jinn
      Signature

      find the latest dragon city hack and cheats

      Alla tv kanaler på en och samma plats tv5 play, tv4 play, tv3 play

      {{ DiscussionBoard.errors[3877377].message }}

Trending Topics