Call us Toll-Free:
Email us


Integrating with the Pepperjam Network (@pjamnetwork)

Dawn Rossi, 02-27-2009
Pepperjam Network (PJN) is a performance marketing affiliate network, focusing on consumer offers.

PJN offers an easy-to-use RESTful interface, available via simple HTTP GET calls, that allows you to download your stats and transactions in real time.

The SID report includes offer name, SID, EPC, impressions, clicks, commission and creative ID. I wish the date field would have included time as well (for hourly optimizations). On the other hand, it's great that they are including impressions and clicks data (no other network provides this info).

The script below connects to PJN and downloads the SID conversions report:

$loginid ='LOGINID';
$password ='PASSWORD';
$endDate =date("Y-m-d");
// End EDIT

$host = "".

// initialize
$ch = curl_init();

// set url and curl options
curl_setopt($ch,CURLOPT_URL, $host);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

// execute
$hits = curl_exec($ch);

// close

// Debug
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

Post your comments

Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.

About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions