Skip to content

Instantly share code, notes, and snippets.

{
"name":"Pokemon GO Plus",
"id":"98:B6:E9:16:0E:5E",
"advertising":{
},
"rssi":-58,
"services":[
"1800",
"1801",
import com.cpaleadtrackingsdk.CPAleadTrack;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// For example, tracking function would go here.
@jason0x90
jason0x90 / ReceiverSnippet.xml
Created March 29, 2017 22:53
Receiver Snippet
<receiver android:name="com.cpaleadtrackingsdk.ReferralReceiver" android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER"/>
</intent-filter>
</receiver>
@jason0x90
jason0x90 / PermissionSnippet.xml
Created March 29, 2017 22:51
CPAlead Tracking SDK Permission Snippet
<uses-permission android:name="android.permission.INTERNET"/>
{
"61662715":{
"id":"61662715",
"subid":"379932",
"ip":"100.100.100.100",
"ddate":"2015-11-02",
"dtime":"10:35:13",
"ustamp":"1446482113",
"earn":"1.10",
"gateid":"0",
{
"conversion":true,
"campid":"219665",
"country":"US",
"timestamp":"1447290653"
}
NAME LINK PAYOUT DESCRIPTION TYPE OFFER_ID EPC CONV_PERCENT COUNTRY
"Create Free Photo & Video Montages" http://lnkymeup.com/offer.php?id=85575&pub=1&subid= 0.56 "Download RealTimes for free and create stories of your photos and videos auto-magically!" Download 85575 0.09 17 US
"Enjoy a $250 Toys R Us Gift Card!" http://lnkymeup.com/offer.php?id=300937&pub=1&subid= 1.05 "Participation and Purchases required." Survey 300937 0.11 10 US
"Pepsi vs Coke: Get $50 and a 24-pack" http://lnkymeup.com/offer.php?id=57435&pub=1&subid= 1.05 "Participation Required. Enter your email." Survey 57435 0.09 9 US
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:campinfo="http://www.cpalead.com/feeds/campinfo.php">
<channel>
<title>CPAlead Campaigns</title>
<link>http://www.cpalead.com/dashboard/reports/campaign_rss.php?id=1&amp;subid={USERS_SUBID_HERE}&amp;geoip={USERS_IP_HERE}</link>
<description>Campaigns</description>
<item>
<title>Create Free Photo &amp; Video Montages</title>
<link>http://lnkymeup.com/offer.php?id=85575&amp;pub=1&amp;subid=</link>
<guid>http://lnkymeup.com/offer.php?id=85575&amp;pub=1</guid>
{
"status":"success",
"number_offers":2,
"offers":[
{
"title":"Example Title",
"description":"Example Description",
"link":"https:\/\/tracking-link-example\/offer.php?id=1234&pub=5678&token=xxxx&subid=&subid2=&subid3=",
"amount":"1.00",
"payout_currency":"USD",
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CPAlead JSON API Example</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<style>