Table of Contents
...
If you are requesting information for specific campaign id's, please request them no more than once every 10 minutes.
Request
...
URL
https://via.appia.com/ext/api/campaigns/manual?siteId=####
Headers
Parameter | Required | Description |
---|---|---|
Accept Header | Yes | Defaults to JSON and the most recent API version. Allowed values:
|
Authorization | Yes | See Authentication section above |
...
Field | Description |
---|---|
campaignId | The unique numeric id for the campaign |
url | The a unique url for this campaign, to access this API for only this campaign |
name | Digital Turbine's name for the campaign |
description | Digital Turbine's description for the campaign |
status | Current state of the campaign:
|
startDate | Date values will use ISO-8601 compliant short notation, either YYYY-MM-DD for dates or YYYY-MM-DD“T”HH:MM:SS for date time. Example
|
endDate | Date values will use ISO-8601 compliant short notation, either YYYY-MM-DD for dates or YYYY-MM-DD“T”HH:MM:SS for date time. Example
|
note | Important notes about the campaign, usually regarding restrictions about where the campaign can run |
impressionUrl | The url to use to report impressions for this campaign [YOUR_SITE_ID] - substitute your site_id that is running the campaign ex. siteId=9999 Optional, but recommended: [USER_ANDROID_ID] - substitute the Android ID of the user viewing the campaign, if it is known ex. androidId=B77H823942an1234 [USER_ADVERTISING_ID] - substitute the Google Advertising Id of the user viewing the campaign, if it is known ex. aaid=38400000-8cf0-11bd-b23e-10b96e40000d [USER_IDFA] - substitute the IDFA of the user viewing the campaign, if it is known ex. idfa=236A005B-700F-4889-B9CE-999EAB2B605D |
clickUrl | The url to use when a user clicks on an ad for this campaign [YOUR_SITE_ID] - substitute your site_id that is running the campaign. ex. siteId=9999 [TIME_STAMP] - a unique timestamp for this click, used to break any caching. ex.ts=1395353746407 Optional, but recommended: [USER_ANDROID_ID] - substitute the Android ID of the user viewing the campaign, if it is known ex. androidId=B77H823942an1234 [USER_ADVERTISING_ID] - substitute the Google Advertising Id of the user viewing the campaign, if it is known ex. aaid=38400000-8cf0-11bd-b23e-10b96e40000d [USER_IDFA] - substitute the IDFA of the user viewing the campaign, if it is known ex. idfa=236A005B-700F-4889-B9CE-999EAB2B605D |
unlimitedTotalBudget | If = false, then the campaign has a max budget set |
remainingTotalBudget | If unlimitedTotalBudget = false, this is the amount of the budget currently remaining |
remainingDailyCap | The amount of the dailyCap that remaining for today. Can be null if there is no daily limit. |
dailyCap | The maximum daily budget allowed for this campaign. Can be null if there is no daily limit. Campaigns are removed from API results when daily caps are met. |
dailyCapType | The value returned will be either 'Network' for a daily cap that is shared across Digital Turbine's network, or 'Site' for a daily cap that is allocated to the siteId passed in the request. |
bilingType | Value returned will be either CPI or CPC. |
targetedLocations | Array of targeted countries, cities, or demographic market areas (DMAs) |
excludedLocations | Array of excluded countries, cities, or demographic market areas (DMAs) |
defaultPayout | The payout for the campaign, unless otherwise set with a sitePayout below. This is the net payout. However, if "hasCustomRevShareAgreement" = true, the defaultPayout value is Gross for those publishers. |
maxPayout (deprecated) | Deprecated as of 6/10/2015 and will be removed from the API at a later date. Use defaultPayout |
sitePayouts (deprecated) | Deprecated as of 6/10/2015 and will be removed from the API at a later date. Use defaultPayout |
countries (deprecated) | Deprecated as of 2/29/2016 and will be removed from the API at a later date. Replaced by targetedLocations & excludedLocations. |
application | "identifier" - the unique identifier for the application being advertised in this campaign. Either the packagename in GooglePlay or the bundleId for the Apple AppStore. ex. com.appia.sampleapp |
category | The app store category for the app being advertised in this campaign |
platform | Android or iOS |
maxOsPlatform | The most recent OS version allowed to see this ad |
minOsPlatform | The oldest recent OS version allowed to see this ad |
appStoreUrl | The url to the appstore page for the app being advertised |
excludedDevices | Specific device models that are not allowed to see ads for this campaign |
excludedSites | A list of subsites that are not allowed to run the campaign (under the name field) |
blockedSubSites | Array of excluded publisher sub sites. |
creatives | An array of creative images for a campaign. Populated only when request parameter "expand=creatives" is used (this field will be null if the request parameter is not present). For each creative image, the following information is returned:
|
...