For GetEmailCampaigns, from the doc : "You now need to specify which type of statistics you would like to retrieve."
How to add this parameter to the function ?
$apiInstance->getEmailCampaigns($type, $status, $startDate, $endDate, $limit, $offset, $statistics);
does not work.