Skip to content

Instantly share code, notes, and snippets.

@RichardBlair
Created September 20, 2011 18:25
Show Gist options
  • Save RichardBlair/1229878 to your computer and use it in GitHub Desktop.
Save RichardBlair/1229878 to your computer and use it in GitHub Desktop.
/api/v1/brand/55/offer/
{
"meta":{
"limit":100,
"next":null,
"offset":0,
"previous":null,
"total_count":16
},
"objects":[
{
"activity_name":"vriuuhvriu",
"brand":"/api/v1/brand/55/",
"click_data":"/api/v1/brand/55/offer/17/clickdata/",
"conversion":"/api/v1/brand/55/offer/17/conversion/",
"conversions":103,
"created_at":"2011-06-29T11:25:57",
"default_value_in_cents":0,
"end_date":"2011-07-15T00:00:00",
"id":"17",
"initial_cost_in_cents":0,
"landing_page":"http://engadget.com/",
"name":"berbreberbe",
"offer_transactions":"/api/v1/brand/55/offer/17/offertransaction/",
"revenue_by_day":"/api/v1/brand/55/offer/17/revenuebyday/",
"roi":"n/a",
"short_url":"example.com:9000/R",
"start_date":"2011-06-01T00:00:00",
"total_revenue":1032,
"type":"Activity",
"updated_at":"2011-06-29T11:25:57"
},
{
"activity_name":"Sales",
"brand":"/api/v1/brand/55/",
"click_data":"/api/v1/brand/55/offer/21/clickdata/",
"conversion":"/api/v1/brand/55/offer/21/conversion/",
"conversions":3,
"created_at":"2011-07-13T08:15:53",
"default_value_in_cents":10000,
"end_date":"2011-07-20T00:00:00",
"id":"21",
"initial_cost_in_cents":200000,
"landing_page":"http://example.org/",
"name":"the test campaign",
"offer_transactions":"/api/v1/brand/55/offer/21/offertransaction/",
"revenue_by_day":"/api/v1/brand/55/offer/21/revenuebyday/",
"roi":0,
"short_url":"example.com:9000/V",
"start_date":"2011-07-13T00:00:00",
"total_revenue":3000,
"type":"Sales",
"updated_at":"2011-07-13T13:12:55"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment