/** * List MCC Account * @param [Array] $options */ function getCampaignList($options) { $CampaignService = new CampaignService(); $CampaignService->auth($options['credentials']); $CampaignService->setClientCustomerId($options['clientCustomerId']); $data = $CampaignService->getList(); $data = json_encode($data); fwrite(STDOUT, $data); }