相关疑难解决方法(0)

MailChimp Campaign内容更新

MailChimp广告系列内容文档 - https://developer.mailchimp.com/documentation/mailchimp/reference/campaigns/content

我正在尝试通过API将广告系列内容中的某些占位符替换为实际值.起初,我认为可能存在一些语法错误或内部逻辑错误,例如非唯一mc:edit的错误mc:repeatable,这会使得MailChimp拒绝/拒绝HTML,因此更新没有发生,但事实并非如此.

尝试用简单的替换html,<p>test</p>它仍然无法正常工作.

这里有几个本地日志,我将使用xyz作为我的广告系列ID:

2018-02-26 16:26:13 [::1][9804][-][warning][application] calling GET /campaigns/xyz/content []

2018-02-26 16:26:13 [::1][9804][-][warning][application] got both plain_text and html versions of content

2018-02-26 16:26:13 [::1][9804][-][warning][application] calling PUT /campaigns/xyz/content {"html":"<p>test</p>"}

2018-02-26 16:26:14 [::1][9804][-][warning][application] got response [ 'plain_text' => 'test' + other MailChimp stuff such as footer, that were appended automatically by MailChimp, 'html' => '<p>test</p>' ]

// calling GET immediately after PUT in order to see if any update occurred

2018-02-26 …

rest mailchimp mailchimp-api-v3.0

8
推荐指数
1
解决办法
1477
查看次数

标签 统计

mailchimp ×1

mailchimp-api-v3.0 ×1

rest ×1