ICampaignConversionHitsServiceUpsertCampaignConversionHits Method |
Namespace: CMS.WebAnalyticsAssembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 11.0.0
Syntax void UpsertCampaignConversionHits(
int campaignID,
DataTable calculatedHits,
DateTime calculatedTo
)
Parameters
- campaignID
- Type: SystemInt32
ID of CampaignInfo object for which is report calculated. - calculatedHits
- Type: System.DataDataTable
Calculated source DataTable to upsert CampaignConversionHitsInfo objects with following table definition:
var table = new DataTable();
table.TableName = "HitsToUpsertTable";
table.Columns.Add("Hits", typeof(int));
table.Columns.Add("CampaignConversionID", typeof(int));
table.Columns.Add("ActivityUTMSource", typeof(string));
The order of column must be preserved.
- calculatedTo
- Type: SystemDateTime
Datetime of last report processing.
See Also