You are here

function MCAPI::campaignSoftBounces in Mailchimp 5.2

Same name and namespace in other branches
  1. 5 MCAPI.class.php \MCAPI::campaignSoftBounces()
  2. 6.2 MCAPI.class.php \MCAPI::campaignSoftBounces()
  3. 6 MCAPI.class.php \MCAPI::campaignSoftBounces()
  4. 7 MCAPI.class.php \MCAPI::campaignSoftBounces()

Get all email addresses with Soft Bounces for a given campaign

Stats

Parameters

string $cid the campaign id to pull bounces for (can be gathered using campaigns()):

integer $start optional for large data sets, the page number to start at - defaults to 1st page of data (page 0):

integer $limit optional for large data sets, the number of results to return - defaults to 1000, upper limit set at 15000:

Return value

array Arrays of email addresses with Soft Bounces

File

./MCAPI.class.php, line 416

Class

MCAPI

Code

function campaignSoftBounces($cid, $start = 0, $limit = 1000) {
  $params = array();
  $params["cid"] = $cid;
  $params["start"] = $start;
  $params["limit"] = $limit;
  return $this
    ->callServer("campaignSoftBounces", $params);
}