MailChimp Api 3.0兴趣小组

时间:2019-04-08 02:36:38

标签: c# asp.net mailchimp mailchimp-api-v3.0

在创建广告系列时,我无法加入我的团队

 var campaign = Manager.Campaigns.AddAsync(new Campaign
            {
                Settings = _campaignSettings,
                Recipients = new Recipient
                {
                    ListId = ListID,
                    SegmentOptions = new SegmentOptions
                    {
                        Match = Match.Any,
                        Conditions = new List<Condition>
                        {
                            new Condition{Type=ConditionType.Interests ,Field = "interests-bfb01be5fa",Operator = Operator.InterestContains, Value =  "5cde411d26" } 
                        }
                    }
                },
                Type = CampaignType.Regular,
            }).Result;

图片组未选择:

我手动选择的图片组:

1 个答案:

答案 0 :(得分:1)

我有一个答案。

更改值后可以使用

Value = new Dictionary<int , string>{ { 1 , "5cde411d26" } } } // If Have two group , can be 2 , "Group ID"