EMDocumentsGetDMCreativeIDForCampaign Method (DMToken, Int32)
|
Alterian Email Manager 6.2.3 SDK Help File
Fetches the DM Creative Id for a given campaign if one can be found.
Namespace:
DMLibraryAssembly:
DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420
Syntaxpublic static int GetDMCreativeIDForCampaign(
DMToken Token,
int CampaignId
)
Public Shared Function GetDMCreativeIDForCampaign (
Token As DMToken,
CampaignId As Integer
) As Integer
public:
static int GetDMCreativeIDForCampaign(
DMToken^ Token,
int CampaignId
)
static member GetDMCreativeIDForCampaign :
Token : DMToken *
CampaignId : int -> int
DMLibrary.EMDocuments.GetDMCreativeIDForCampaign = function(Token, CampaignId);
Parameters
- Token
- Type: DMToken
Authentication token. - CampaignId
- Type: SystemInt32
Id of the Campaign to get the Creative ID for
Return Value
Type:
Int32The id of the DM Creative. If none is found, the method will throw an InvalidRequestException.
See Also