You can take advatange of Audify RESTful API to programatically manage your advertising. This is mostly used if you are bidding in real-time on Audify Network.
http://api.audify.io
Output is returned on JSON by default. XML is also available. You can include .json or .xml at the endpoint of the URL.
All requestes to Audify using the API need to be authenticated using the api_key
provided to you.
You can find your current API key visiting your Account page.
Authentication can be done via HTTP Basic authentication using the key as the username or using the api_key
in the URL request.
Manage campaigns and creatives programatically.
Display Campaign Object and Attributes
GET api.audify.io/v1/campaigns POST api.audify.io/v1/campaigns GET api.audify.io/v1/campaigns/{CAMPAIGN_TOKEN} PUT api.audify.io/v1/campaigns/{CAMPAIGN_TOKEN} POST api.audify.io/v1/campaigns/{CAMPAIGN_TOKEN}/remove
{ id: "7C6VUzo5xuvh7oGAuvMJ", title: "Campaign Title", strategy: "CPM", cpc: 1.5, currency: "USD", device_list: ["desktop","mobile","tablets"], platform_list: ["ios","android"], category_list: ["arts"], country_list: ["US","UK"], carrier_list: ["o2","t-mobile"], starts_at: Mon, 01 Jan -4712 00:00:00 +0000, ends_at: Mon, 19 May 2014 10:00:00 UTC +00:00, paused: false, default_url: "http://my.site/landing", sites: [ "http://site1.com", "http://site2.com" ], creatives: [ { id: "vG8yyzsmkISEvOW7PtKm", file: {GIF/JPG/PNG FILE}, code: {CREATIVE CODE}, paused: false, approved: true, } ], }
strategy | string. Values: cpm, cpc or cpa. |
cpm | integer value |
cpc | integer value |
cpa | integer value |
currency | string. Values: USD |
category_list | array Values: arts, automotive, books, business, careers, celebrities, dating, education, family, fashion, finance, food, games, health, home, humor, illegal content, interests, movies, music, news, non-standard content, pets, politics, real estate, religion, science, shopping, sports, television, adult |
device_list | array Values: desktop, mobile, tablets |
platform_list | array Values: android, ios, windows, macintosh, linux |
carrier_list | array |
starts_at | timestamp |
ends_at | timestamp |
paused | boolean |
default_url | string |
Manage goals programatically.
Display Goal Object and Attributes
GET api.audify.io/v1/goals POST api.audify.io/v1/goals GET api.audify.io/v1/goals/{GOALS_TOKEN} PUT api.audify.io/v1/goals/{GOALS_TOKEN} POST api.audify.io/v1/goals/{GOALS_TOKEN}/remove
{ id: "7C6VUzo5xuvh7oGAuvMJ", title: "Goal Title" }
title | string. |
Retrieve real-time information from your campaigns, creatives using more than one dimension.
Display Report Object and Arguments
GET api.audify.io/v1/reports
{ advertiser_id: "7C6VUzo5xuvh7oGAuvMJ", country: "US", campaign "7C6VUzo5xuvh7oGAuvMJ", platform: "mobile", device: "android", category: "arts", carrier: "att", date: "Mon, 19 May 2014", views: 23432, clicks: 234, spent: 54.23, currency: "USD", goals: 4 }
You can use the following arguments to query information from the reports. You can use comas in your query to retrieve more than one attribute from a dimension.
country | country code. Values: US, UK, ... |
category | array Values: arts, automotive, books, business, careers, celebrities, dating, education, family, fashion, finance, food, games, health, home, humor, illegal content, interests, movies, music, news, non-standard content, pets, politics, real estate, religion, science, shopping, sports, television, adult |
device | array Values: desktop, mobile, tablets |
platform | array Values: android, ios, windows, macintosh, linux |
carrier | array |
History of all transactions made including views, clicks, goals, deposits and withdrawals.
Display Transaction Object and Arguments
GET api.audify.io/v1/transactions
{ id: "7C6VUzo5xuvh7oGAuvMJ", amount: 12.3, assignable: true, transactionable: {object}, track: report: }
You can use the following arguments to query information from transactions.
offset | Optional. Default is 0 |
limit | Optional. Default is 50 Maximum 1000 |