EMDocumentsAddNewCreativeToCampaignSave Method
|
Alterian Email Manager 6.2.3 SDK Help File
Adds a task to a transactional Campaign Save that will add a new Creative to the Campaign.
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static int AddNewCreativeToCampaignSave(
DMToken token,
int campaignSaveID,
string creativeName,
string description,
EMDocumentType documentType,
bool insertUnsubText,
bool insertMsgOpenAndAttachments,
EMContent HTMLContent,
EMContent textContent,
bool useSameEncoding
)
Public Shared Function AddNewCreativeToCampaignSave (
token As DMToken,
campaignSaveID As Integer,
creativeName As String,
description As String,
documentType As EMDocumentType,
insertUnsubText As Boolean,
insertMsgOpenAndAttachments As Boolean,
HTMLContent As EMContent,
textContent As EMContent,
useSameEncoding As Boolean
) As Integer
public:
static int AddNewCreativeToCampaignSave(
DMToken^ token,
int campaignSaveID,
String^ creativeName,
String^ description,
EMDocumentType documentType,
bool insertUnsubText,
bool insertMsgOpenAndAttachments,
EMContent^ HTMLContent,
EMContent^ textContent,
bool useSameEncoding
)
static member AddNewCreativeToCampaignSave :
token : DMToken *
campaignSaveID : int *
creativeName : string *
description : string *
documentType : EMDocumentType *
insertUnsubText : bool *
insertMsgOpenAndAttachments : bool *
HTMLContent : EMContent *
textContent : EMContent *
useSameEncoding : bool -> int
DMLibrary.EMDocuments.AddNewCreativeToCampaignSave = function(token, campaignSaveID, creativeName, description, documentType, insertUnsubText, insertMsgOpenAndAttachments, HTMLContent, textContent, useSameEncoding);
Parameters
- token
- Type: DMToken
Authentication Token. - campaignSaveID
- Type: SystemInt32
Campaign Save Context Id. - creativeName
- Type: SystemString
The Name of the new Creative. - description
- Type: SystemString
The Description of the new Creative. - documentType
- Type: DMLibraryEMDocumentType
The Type of Creative being added. - 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
- Type: SystemBoolean
Use same encoding for HTML and Text Content flag
Return Value
Type:
Int32Campaign Save Item Context Id.
See Also