Click or drag to resize
CampaignController Class
Handles getting of campaigns.
Inheritance Hierarchy
SystemObject
  ApiController
    CMS.WebAnalyticsCampaignController

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 9.0.0
Syntax
C#
public sealed class CampaignController : ApiController

The CampaignController type exposes the following members.

Constructors
  NameDescription
Public methodCampaignController
Top
Methods
  NameDescription
Public methodDelete
Deletes campaign with given id only for current site.
Public methodFinish
Finishes campaign and data will not be tracked anymore. Doesn't finish already finished campaign.
Public methodGet
Gets list of campaigns from current site.
Public methodLaunch
The method launches a campaign. This includes the following steps:
  • Campaign will start tracking data
  • All linked page assets will be published
  • All linked email assets will be sent
Doesn't launch an already launched campaign or a campaign from a different site.
Public methodLaunchLog
The method collect informations about actions which are performed during campaign launch. For more information see Launch(Int32).
Public methodPost
Performs saving of the CampaignInfo corresponding to the given CampaignEditViewModel. The CampaignInfo is inserted with the values obtained from model.
Public methodPut
Performs update of the CampaignInfo corresponding to the given CampaignID property. The CampaignInfo values are updated with the values from model.
Top
See Also