EMDocumentsCreateCreativeInCampaign Method (DMToken, String, String, EMDocumentType, Int32, Boolean, Boolean, EMContent, EMContent, Boolean)

Alterian Email Manager 6.2.3 SDK Help File
Creates a new Creative in a Campaign.

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public static int CreateCreativeInCampaign(
	DMToken token,
	string CreativeName,
	string Description,
	EMDocumentType documentType,
	int campaignID,
	bool insertUnsubText,
	bool insertMsgOpenAndAttachments,
	EMContent htmlContent,
	EMContent textContent,
	bool useSameEncoding = true
)

Parameters

token
Type: DMToken
Authentication Token.
CreativeName
Type: SystemString
The new Creative's Name.
Description
Type: SystemString
The new Creative's Description.
documentType
Type: DMLibraryEMDocumentType
The new Creative's Type.
campaignID
Type: SystemInt32
The Id of the Campaign that will contain the new Creative.
insertUnsubText
Type: SystemBoolean
Insert Unsubscribe Text Flag.
insertMsgOpenAndAttachments
Type: SystemBoolean
Insert MessageOpen and Attachments
htmlContent
Type: DMLibraryEMContent
HTML Content.
textContent
Type: DMLibraryEMContent
Text Content.
useSameEncoding (Optional)
Type: SystemBoolean
Use same encoding for HTML and Text Content flag

Return Value

Type: Int32
New Creative Id.
See Also