public function MailchimpReports::getCampaignSummary in Mailchimp 8
Gets a report summary for a specific campaign.
Parameters
string $campaign_id: The ID of the campaign.
array $parameters: Associative array of optional request parameters.
Return value
object
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/reports...
File
- lib/
mailchimp-api-php/ src/ MailchimpReports.php, line 38
Class
- MailchimpReports
- Mailchimp Reports library.
Namespace
MailchimpCode
public function getCampaignSummary($campaign_id, $parameters = []) {
$tokens = [
'campaign_id' => $campaign_id,
];
return $this
->request('GET', '/reports/{campaign_id}', $tokens, $parameters);
}