values for $type parameter in campaignCreate function

29 views
Skip to first unread message

Kermit Carter

unread,
Feb 18, 2014, 4:01:18 PM2/18/14
to mailchimp-...@googlegroups.com
Using the mailchimp-api-php wrapper, what are the valid values for the $type parameter for the campaign Create function?

 21:     public function content($cid, $options=array()) {
 22:         $_params = array("cid" => $cid, "options" => $options);
 23:         return $this->master->call('campaigns/content', $_params);
 24:     }
 25: 
 26:     /**
 27:      * Create a new draft campaign to send. You <strong>can not</strong> have more than 32,000 campaigns in your account.
 28:      * @param string $type 

Many thanks. 

Colt

unread,
Feb 18, 2014, 4:26:19 PM2/18/14
to mailchimp-...@googlegroups.com
Hey Kermit!

When it comes to that campaigns/create the valid types are going to be listed within the "Type" parameter area of our documentation here: http://apidocs.mailchimp.com/api/2.0/campaigns/create.php

From that page it looks like the valid types are as follows "the Campaign Type to create - one of "regular", "plaintext", "absplit", "rss", "auto""

Kermit Carter

unread,
Feb 18, 2014, 8:17:30 PM2/18/14
to mailchimp-...@googlegroups.com
Very much appreciate the link to the docs.  The link I had redirects to another section, no where near as informative.  All clear to go now.

Kermit

Reply all
Reply to author
Forward
0 new messages