Marketplace API
First add our offerwall on your website , After that you will be able to add your website to marketplace . You can download API File from here . After publishing your site you will get income when advertiser purchase campaigns. Cheating on the API will result in account termination .
AuroraGen4CashCrusaderEvolutionScript
These files include postback and marketplace API integration files , You can download these files and read the instructions available on the read me . If your script is not listed here you can send message to us via support.
API Sample File
$secret_password = 'ENTER YOUR SECRET PASSWORD HERE';
$DBHost = "localhost" ;
$DBDatabase= "DB_NAME"; // Database name
$DBUser = "DB_USER"; // Database User
$DBPassword = "DB_PASS"; // Database Password
$db = new mysqli("$DBHost","$DBUser","$DBPassword","$DBDatabase");
$password = isset($_REQUEST['pwd'])?$_REQUEST['pwd']:die();
if( $password == $secret_password )
{
//Fetch Members From database , edit table name according to your script
$members = $db->query("SELECT count(*) FROM members");
$row = $members->fetch_row();
$members = $row[0];
//Fetch PTC Campaigns From database , edit table name according to your script
$ptc = $db->query("SELECT count(*) FROM ads");
$row = $ptc->fetch_row();
$ptc = $row[0];
//Fetch Banner ads From database , edit table name according to your script
$banner = $db->query("SELECT count(*) FROM banner_ads");
$row = $banner->fetch_row();
$banner = $row[0];
//Fetch text ads From database , edit table name according to your script
$text = $db->query("SELECT count(*) FROM featured_ads");
$row = $text->fetch_row();
$text = $row[0];
$data = array(
"members" => $members,
"ptc" => $ptc,
"banner" => $banner,
"text" => $text,
"paid" => $paid,
"script" => "Unknown" // replace this with your script name
);
echo json_encode(data);
}
else
{
die();
}