Class MarketingStatsFilter
Represents a set of filtering parameters for the Email Marketing stats fetching.
public sealed record MarketingStatsFilter : IEquatable<MarketingStatsFilter>
- Inheritance
-
MarketingStatsFilter
- Implements
Properties
EmailServiceProviders
Gets email service providers to filter by.
public IList<string> EmailServiceProviders { get; }
Property Value
EndDate
Gets or sets the end date for the stats period (inclusive), in YYYY-MM-DD format.
public string EndDate { get; set; }
Property Value
Remarks
Required. Serialized to the end_date query parameter.
SendingDomainIds
Gets sending domain IDs to filter by.
public IList<long> SendingDomainIds { get; }
Property Value
Sources
Gets Email Marketing sources to filter by: campaigns and/or automations.
public IList<string> Sources { get; }
Property Value
Remarks
A single value narrows the stats to that source. None or both mean all Email Marketing traffic.
StartDate
Gets or sets the start date for the stats period (inclusive), in YYYY-MM-DD format.
public string StartDate { get; set; }
Property Value
Remarks
Required. Serialized to the start_date query parameter.