Skip to main content

Campaign

A campaign, the basic API element.

AttributesTypeDescriptionOptionalDefault
identifierxs:intCampaign unique identifier.Yes
namexs:stringCampaign name.Yes
aliasxs:stringCampaign alias (used for TRIGGERED and IMMEDIATE campaigns). Must contain only letters, numbers, spaces or the ‘_’, ‘-‘, ‘:’, ‘”‘ and ‘@’ characters.Yes
messageMessageCampaign message.No
modifierCampaignTypeCampaign type.YesNORMAL
isDeferredxs:booleanIs this a scheduled delivery?Yesnone
deferredToxs:dateTimeSchedule date/time.Yesfalse
startDatexs:dateTimeDelivery start date/time (set by the system).Yesnone
endDatexs:dateTimeDelivery end date/time (set by the system).Yesnone
executeTestRenderxs:booleanDeprecated.Yesfalse
parentIdxs:intParent campaign Unique identifier.Yes
roleTypeDeliveryRoleTypeCampaign role for partitioned and split/A-B test.YesDELIVERY_ROLE_NONE
removeDuplicatesxs:booleanRemove duplicate recipients before sending this campaign.Yesfalse
subscribersCountxs:intCount campaign recipients.Yes
statusDeliveryStatusStatus of Campaign.Yes