The AttachDocumentToCampaign method attaches a single document or other file to an email campaign.
The file must be already uploaded to the document manager using UploadDocument and it must not exceed the limit of 200kB per attachment.
NB: Attaching documents to campaign is not enabled for all accounts. In most circumstances it is advisable to
link to a document rather than attach it to a campaign. Please speak to your account manager for further advice if you
would like this functionality enabled.
Attaching documents to campaigns is not supported in the web interface, only via the API.
The document ID is obtained either through ListDocuments or using the
response from UploadDocument.
The parent folder ID is obtained either through GetDocumentFolders
or using the response from CreateDocumentFolder.
Only one instance of any document may be attached to a given campaign.
||This is the username from your API key. It is in the format of an email address and will look similar to firstname.lastname@example.org
||This is the password from your API key.
||This is the ID of the campaign that you wish to attach the document to.
||This is the ID of the document that you wish to attach to the campaign.