You are here

function MCAPI::campaignEmailStatsAIMAll in Mailchimp 6

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

Given a campaign and email address, return the entire click and open history with timestamps, ordered by time

AIM

@returnf string action The action taken (open or click) @returnf date timestamp Time the action occurred @returnf string url For clicks, the URL that was clicked

Parameters

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

string $email_address the email address to get activity history for:

Return value

array Array of structs containing actions (opens and clicks) that the email took, with timestamps

File

./MCAPI.class.php, line 568

Class

MCAPI

Code

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