UpdateCampaignContent
Sets the HTML and plain-text content for a Mailchimp campaign.
Stored Procedure-Specific Information
To run this procedure, you must specify the CampaignId input parameter along with at least one of the content parameters: PlainText, Html, or Url. For example:
EXEC UpdateCampaignContent CampaignId = '6ec2966', Html = '<html><body>Hello</body></html>'
EXEC UpdateCampaignContent CampaignId = '6ec2966', PlainText = 'Hello, welcome to our newsletter.'
EXEC UpdateCampaignContent CampaignId = '6ec2966', Url = 'https://example.com/newsletter.html'
Input
| Name | Type | Required | Description |
| CampaignId | String | True | The unique identifier of the campaign to update. |
| PlainText | String | False | The plain-text portion of the campaign. If left unspecified, Mailchimp generates this automatically from the HTML content. |
| Html | String | False | The raw HTML for the campaign. |
| Url | String | False | When importing a campaign, the URL where the HTML content is hosted. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the campaign content update was successful. |
| PlainText | String | The plain-text portion of the campaign after the update. |
| Html | String | The raw HTML for the campaign after the update. |
| ArchiveHtml | String | The Archive HTML for the campaign. |