Campaign.Get

Description

Retrieves a specific campaign of a user.

Request Parameters

SessionID = {string} (required)
Session ID which is needed to authenticate the access. It's optional and required for desktop applications only
Command = {Campaign.Get} (required)
API Command
ResponseFormat = {JSON | XML} (required)
Response format
JSONPCallBack = {bool}
Send this parameter for cross-domain. More info about JSONP can be found here: http: //en.wikipedia.org/wiki/JSON#JSONP
CampaignID = {integer} (required)
Campaign ID
RetrieveStatistics = {true | false} (required)
If set to true, returns campaign statistics (with detailed information)

Response Parameters

Success = {true | false}
States if there is an error or not
ErrorCode = {integer}
If there is an error, error's code
ErrorText = {text}
 
Campaign = {array}
 
Campaign information
 

Error Codes

1
Missing campaign ID
99998
Authentication failure or session expired
99999
Not enough privileges