Need help with amonetize script integration

Markosh

Junior Member
Joined
Feb 2, 2015
Messages
190
Reaction score
31
Hi BHW

I was all time amonetize fan .. But since 2016 I left amonetize for window installs due to low earning and frequent blocks . But I was always using amonetize for mac traffic for higher rate ( $2.5 per US install for mac ).. But since this may they stopped to provide direct link and was told to use the .php script .. The script was very difficult for me to integrate without any help.. I asked for help with my AM for integration but he too failed to help ( Reply from AM : I don't have technical knowledge). So I'm asking for help with u guys ..

I'm using wordpress hosted website ... Can you guys pls tell me where to put this script



This is what is provided in docs : link to docs : https://docs.google.com/document/d/...Kio3mnB0QrCcky8S8/edit#heading=h.24l67fm1jgyz


Obfuscated Direct Download Link - Mac Edition
This download link supports traffic from Mac, Windows, and Mobile.


API URL
On your web page, you should call our API to get a download link.
http://www.getmacdomain.download?id={PUBLISHER_CAMPAIGN_ID}
Parameters

The table below explains the parameters you can specify for the Download Manager service.

Mandatory

Parameter

URL Parameter example

Yes

Publisher Campaign ID

id=2222

No

fn

The name of the downloaded file.

fn=setup

The downloaded file will be named “setup.dmg”


PHP Example

PHP:
<?php

$publisher_campaign_id = '12'; 

$getlinkurl = 'http://www.getmacdomain.download?id='.$publisher_campaign_id;

$curl = curl_init('');

$url = $getlinkurl.$param;

curl_setopt($curl , CURLOPT_URL , $url);

curl_setopt($curl , CURLOPT_RETURNTRANSFER , 1);

curl_setopt($curl , CURLOPT_CONNECTTIMEOUT , 60);

curl_setopt($curl , CURLOP:weep:IMEOUT , 60);

curl_setopt($crl,  CURLOPT_CUSTOMREQUEST, "GET");

$curlresult = curl_exec($curl);

$err     = curl_errno( $curl );

       curl_close($curl);

?>

<html>

 <head>

 </head>

 <body>

    <a href="<?php echo $curlresult ?>">Download</a>

 </body> 

</html>
 
Last edited by a moderator:
Search it on google. It's name is amonetize download manger integration guide. I hope you can solve it.

I was wrong with that. That PDF is old.
 
Last edited by a moderator:
I have an account
How to make the installer?
please help me :(
LOL we are the same. I am not using amonetize because I don't know to insert that script in my site. I just simple put script on html code. But it doesn't call API from other site. So, it only show error. As you see I am newbie too. I am also looking for PP* sites which support all kind of install. But I still haven't found it. It seem we missed the golden age of P*I. I am now looking for good network too. If you see one, let me know too.
 
Back
Top