diff --git a/lib/api/campaign.js b/lib/api/campaign.js index c945019..af78c90 100644 --- a/lib/api/campaign.js +++ b/lib/api/campaign.js @@ -32,7 +32,13 @@ Campaign.prototype = { }); return this._connection.get(path, {data: options}); }, - + getSmartCampaigns: function(options) { + var path = util.createAssetPath( 'smartCampaigns.json' ); + options = _.extend({}, options, { + _method: 'GET' + }); + return this._connection.get(path, {query: options}); + }, }; module.exports = Campaign;