pub struct CreateCampaignResponse {Show 13 fields
pub id: String,
pub url: String,
pub name: String,
pub status: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub email_message_id: Option<String>,
pub email_message_content_revision_id: Option<String>,
pub campaign_group_id: Option<String>,
pub mailing_list_id: Option<String>,
pub audience_segment_id: Option<String>,
pub audience_filter: Option<AudienceFilter>,
pub scheduling: CampaignScheduling,
}Fields§
§id: StringThe ID of the campaign.
url: StringThe URL of the campaign in the Loops app.
name: StringThe name of the campaign.
status: StringThe status of the campaign (always Draft for new campaigns).
created_at: DateTime<Utc>ISO 8601 timestamp for when the campaign was created.
updated_at: DateTime<Utc>ISO 8601 timestamp for when the campaign was last updated.
email_message_id: Option<String>The ID of the empty email message created for this campaign. Use POST /v1/email-messages/{emailMessageId} to set its fields and LMX content.
email_message_content_revision_id: Option<String>The contentRevisionId of the newly created email message. Pass this as expectedRevisionId on your first update.
campaign_group_id: Option<String>The ID of the campaign group this campaign belongs to, if set.
mailing_list_id: Option<String>The ID of the mailing list this campaign sends to, if set.
audience_segment_id: Option<String>The ID of the audience segment this campaign targets, if set.
audience_filter: Option<AudienceFilter>The filter rules that define the audience for this campaign, if set.
scheduling: CampaignSchedulingWhen the campaign is scheduled to send.