I'm unable to set correct Email template for Mailchimp Campign.
I'm picking the Template_ID
from the browser URL like: https://xxx.admin.mailchimp.com/email/templates/editor?id=`Template_ID`.
Is it correct?
campaign_data = dict(
type='regular',
recipients=dict(list_id="SEGMENT ID", segment_opts=dict(
saved_segment_id=segment_id)),
settings=dict(
subject_line=subject_line,
from_name='FROM_EMAIL',
reply_to='REPLY_EMAIL',
template_id=<Template_ID>
),
content_type="multichannel"
)
campaign = client.campaigns.create(campaign_data)
With the Above code, Campaign is getting created but it is not able to set correct template.