ecommStats Web Analytics

Home     Services     Forums

ecommStats Web Services API Documentation

campaigns.editCampaign

Edits an existing campaign.

Request Parameters

campaignId - ID of the campaign to edit.

name (Optional) - Name of campaign. Default: unchanged.

description (Optional) - Description of campaign. Default: unchanged.

cost (Optional) - Cost of campaign. Default: unchanged.

costType (Optional) - An integer value: 1 = One time cost; 2 = Monthly; 3 = Cost per click; 4 = Cost per visit. Default: unchanged.

Response

Returns the edited Campaign.

Method URL Sample

http://api.ecommstats.com/rest/?method=campaigns.editCampaign&username=myusername&password=mypassword&siteId=123&campaignId=456