Create a campaign

Creates new campaign from values provided in args parameter as stringified JSON

The value that can be included in args are:

'name': { 'required': true, 'type': 'String' },// name of the campaign

'link': { 'required': true, 'type': 'String' },// default redirect link

'cost': { 'required': false, 'type': 'String' }, //cost of the campaign

'_id': { 'required': false, 'type': 'String' }, //campaign id. if not set is generate automatically

'fingerprint': { 'required': false, 'type': 'Boolean' } // set if use digital fingerprint(If set to false, attribution is made only based on IP address which might result in more false attribution)

'costtype': { 'required': false, 'type': 'String' },// costtype click, install or campaign

'links': { 'required': false, 'type': 'Array' },// links for other platforms as android, ios, windows-phone, windows mac and linux

'postbacks': { 'required': false, 'type': 'Array' }, //list of postback urls with placeholders

'app_id': { 'required': true, 'type': 'Boolean' }// app_id for which campaign is created

'type': { 'required': false, 'type': 'String'} //campaign type. More about types can be found here If not set - is set to 'default'.

'typedata': { 'required': false, 'type': 'Object' } Useful for server to server attribution