Skip to content

Instantly share code, notes, and snippets.

{
"status": 200,
"multi_ad_type": 3,
"type": "native",
"interstitials": [{
"status": 200,
"message": "Interstitial returned.",
"ad_id": "{\"id\":\"e1423b41c59497de06ad8a18d6a8cbfde69c6941\",\"sdk\":\"5.1.0\",\"date_created\":1424242701,\"date_modified\":1424242701,\"from\":\"4f7b433509b6025804000002\",\"to\":\"4f3586b4cd1cb2c25400001c\",\"app_sheet\":0,\"cgn\":\"50175bd32284bb443b000020\",\"creative\":\"53a9ee531873da324dee2500\",\"creative_size\":\"huge\",\"creative_ratio\":\"16:9,9:16\",\"frame\":\"default\",\"close_button\":\"default\",\"published_in\":\"50175bd32284bb443b000020\",\"condition_set\":\"default\",\"type\":1,\"location\":\"Start\",\"cache\":0,\"cache_id\":\"c7af63ccd9fc19e28cb4157bbd41136e\",\"meta\":{\"model\":\"Nexus 5\",\"os\":\"Android 5.0.1\",\"country\":\"US\",\"ip\":\"127.0.0.1\",\"dma\":-1},\"cpc\":0.0,\"cpcv\":0.0,\"cpi\":0.0,\"cpm\":0.0,\"ctr\":0.0,\"ecpm\":0.0,\"ir\":0.0,\"ocpc\":0.0,\"uuid\":\"a52930172767895e561a9f62c0724b703c054fb5\",\"deviceId\":\"a52930172767895e561a9
@sat2eesh
sat2eesh / gist:65a6c15e7aa4d3099a77
Created February 19, 2015 22:51
prashant_multiad
{
"status": 200,
"multi_ad_type": 4,
"type": "native",
"interstitials": [{
"status": 200,
"message": "Interstitial returned.",
"ad_id": "{\"id\":\"ab2828d5b021295704813e512c6daad663430619\",\"sdk\":\"5.1.0\",\"date_created\":1424378789,\"date_modified\":1424378789,\"from\":\"4f7b433509b6025804000002\",\"to\":\"522980aa16ba47240c000018\",\"app_sheet\":0,\"cgn\":\"54b86c3204b01606ee261fc0\",\"creative\":\"541b7837c26ee4326fc3405d\",\"creative_size\":\"huge\",\"creative_ratio\":\"16:9,9:16\",\"frame\":\"default\",\"close_button\":\"default\",\"published_in\":\"50175bfb2284bb1b3b00000e\",\"condition_set\":\"default\",\"type\":1,\"location\":\"Start\",\"cache\":0,\"cache_id\":\"a9a64e28857d3168d621f3053d326bc9\",\"meta\":{\"model\":\"Nexus 5\",\"os\":\"Android 5.0.1\",\"country\":\"US\",\"ip\":\"127.0.0.1\",\"dma\":-1},\"bid_type\":\"cpi\",\"cpc\":0.0,\"cpcv\":0.0,\"cpi\":4.0,\"cpm\":0.0,\"ctr\":0.05,\"ecpm\":16.0,\"ir\":0.08,\"ocpc\":0.25,\"source_tag\":\"strategy_defaultNetwork\",\"uuid\":\"a5293017276
@sat2eesh
sat2eesh / gist:85a1cde61832b8cd83d9
Created February 24, 2015 19:26
PIA New Level response
{
"track_info": [{
"event_label": "3",
"type": 0,
"number": 3,
"description": "3",
"timestamp": 1424805908517,
"data_type": "level_info"
}, {
"event_label": "4",
@sat2eesh
sat2eesh / gist:b579c70a15c097d6d39f
Created March 24, 2015 22:46
Broken melted response
{
"status": 200,
"multi_ad_type": 4,
"type": "native",
"interstitials": [{
"status": 200,
"message": "Interstitial returned.",
"ad_id": "{\"id\":\"75cdd4722da92361b88e60386b21e3990968a5a4\",\"sdk\":\"5.1.0\",\"date_created\":1424378663,\"date_modified\":1424378663,\"from\":\"4f7b433509b6025804000002\",\"to\":\"50289b5316ba47d32100001c\",\"app_sheet\":0,\"cgn\":\"52a8df56f8975c3769fdbf00\",\"creative\":\"ivH4q2lC\",\"creative_size\":\"small\",\"creative_ratio\":\"3:2,2:3\",\"frame\":\"default\",\"close_button\":\"default\",\"published_in\":\"52a8df56f8975c3769fdbf00\",\"condition_set\":\"default\",\"type\":1,\"location\":\"Start\",\"cache\":0,\"cache_id\":\"b7bd1d6de45345767601fda0e292f843\",\"meta\":{\"model\":\"Nexus 5\",\"os\":\"Android 5.0.1\",\"country\":\"US\",\"ip\":\"127.0.0.1\",\"dma\":-1},\"cpc\":0.0,\"cpcv\":0.0,\"cpi\":0.0,\"cpm\":0.0,\"ctr\":0.0,\"ecpm\":0.0,\"ir\":0.0,\"ocpc\":0.0,\"uuid\":\"a52930172767895e561a9f62c0724b703c054fb5\",\"deviceId\":\"a52930172767895e561a9f62c0724b703c054f
@sat2eesh
sat2eesh / gist:8551e937bc2c061563e1
Created April 13, 2015 21:14
My Pizza Crash log
D/TaskPersister( 755): removeObsoleteFile: deleting file=384_task.xml
D/TaskPersister( 755): removeObsoleteFile: deleting file=384_task_thumbnail.png
D/TaskPersister( 755): removeObsoleteFile: deleting file=384_activity_icon_1428959443498.png
D/MtpService(21629): updating state; isCurrentUser=true, mMtpLocked=false
D/MtpService(21629): addStorageLocked 65537 /storage/emulated/0
D/MtpService(21629): updating state; isCurrentUser=true, mMtpLocked=false
D/MtpService(21629): starting MTP server in MTP mode
D/MtpService(21629): addStorageLocked 65537 /storage/emulated/0
D/audio_hw_primary( 187): disable_audio_route: reset and update mixer path: low-latency-playback
D/audio_hw_primary( 187): disable_snd_device: snd_device(2: speaker)
@sat2eesh
sat2eesh / gist:d7b507c1d57b813524e7
Last active August 29, 2015 14:19
Adserver JSON schema
// Adserver JSON Schema
{
"_id" : "4dc0a57ef52c866c05000000",
"user" : "4dbe20f5f52c869d6a000000",
"name" : "test campaign w/ tiny zoo",
"campaign_type" : 1, //Integer
"market_type" : "publisher",
"app_id" : "4dc0a5520d0540d80f000000",
"os_type" : 1, // Integer
@sat2eesh
sat2eesh / gist:02e5d61913679624d95a
Last active August 29, 2015 14:19
Campaign Ad-Server JSON Payload
"""
|{
|"id": "4dc0a57ef52c866c05000000",
|"user": "4dbe20f5f52c869d6a000000",
|"name": "test campaign w/ tiny zoo",
|"campaignType": 1,
|"marketType": "publisher",
|"appId": "4dc0a5520d0540d80f000000",
|"osType": 2,
|"buyOut": false,
@sat2eesh
sat2eesh / gist:6ed15816b121006d333f
Created April 28, 2015 06:17
App ad-server payload
{
"id": "519fe66317ba472936000007",
"user": "503be2f116ba47bf3a000022",
"nickname": "nickname1",
"name": "name1",
"signature": "signature1",
"appType": 1,
"nontrackable": true,
"adminExtras": {
"adminAdvertiserDisabled": false,
{
"id": "4f7b433509b6025804000002",
"user": "4edfe611689619722a00002c",
"nickname": "Android Test App (DO NOT MODIFY)",
"signature": "dd2d41b69ac01b80f443f5b6cf06096d457f82bd",
"appType": 2,
"adminExtras": {},
"orientations": [
"portrait",
"landscape"
@sat2eesh
sat2eesh / gist:563bff06b2768dfba55f
Created June 4, 2015 21:33
WebView sample response
{
"status": 200,
"message": "Rewarded Returned",
"ad_id": "{\"id\":\"9d7c09b7e0d951e022dbdbc710d9984c2a84b0de\",\"sdk\":\"5.4.0\",\"date_created\":1433312898,\"date_modified\":1433312898,\"from\":\"4f7b433509b6025804000002\",\"to\":\"522980aa16ba47240c000018\",\"app_sheet\":0,\"cgn\":\"551484fe43150f1f99d92f40\",\"creative\":\"5555442204b0164c76ca2890\",\"creative_size\":\"huge\",\"creative_ratio\":\"16:9,9:16\",\"frame\":\"default\",\"close_button\":\"default\",\"published_in\":\"55662ef443150f2a76d0f54f\",\"condition_set_publisher\":\"default\",\"condition_set\":\"default\",\"type\":4,\"location\":\"Leaderboard\",\"cache\":0,\"cache_id\":\"c3e4452062be77d0e4991ed9c5bf413a\",\"meta\":{\"model\":\"Nexus 5\",\"os\":\"Android 5.1\",\"country\":\"US\",\"ip\":\"74.51.158.69\",\"city\":\"San Bruno\",\"region\":\"CA\",\"dma\":807},\"bid_type\":\"cpcv\",\"cpc\":0.0,\"cpcv\":0.02,\"cpi\":0.0,\"cpm\":0.0,\"ctr\":0.07555640579604084,\"ecpm\":0.04401854958505366,\"ir\":0.029129594718863824,\"ocpc\":0.0,\"source_tag\"