Copied!
CloneableInstantiable
Methods
public __construct(PHPFUI\ConstantContact\Client $client)
public get(string $campaign_ids) : array
 

GET an Email Campaign Stats Report

Use this method to get email campaign performance tracking statistics
for one or more campaigns, including the total number of times contacts
interacted with your campaigns and how.

For each campaign_id, this method returns lists that include total
counts (stats) for each type of tracked email and relevant campaign-related
percentages (percents). It also returns the date and time at which
the campaign stats were last refreshed.
If any specified campaign_id is invalid, a 404 error response is returned
for all campaigns.

  • param string $campaign_ids A comma-separated list of campaign_ids (UUID's).
public PHPFUI\ConstantContact\Base::getLastError() : string
public PHPFUI\ConstantContact\Base::getResponseText() : string
public PHPFUI\ConstantContact\Base::getStatusCode() : int
public PHPFUI\ConstantContact\Base::next() : array
 

If the endpoint is paginated, you can call next() to retrieve the next set of data. If no next is provided, an empty array is returned.

  • return array filled with next part of the response from the endpoint, or empty if no next.
public PHPFUI\ConstantContact\Base::success() : bool
Properties
protected PHPFUI\ConstantContact\Client PHPFUI\ConstantContact\Base::$client
protected string PHPFUI\ConstantContact\Base::$urlPath
Methods
protected PHPFUI\ConstantContact\Base::doDelete(array $parameters) : bool
protected PHPFUI\ConstantContact\Base::doGet(array $parameters) : array
protected PHPFUI\ConstantContact\Base::doPatch(array $parameters) : array
protected PHPFUI\ConstantContact\Base::doPost(array $parameters) : array
protected PHPFUI\ConstantContact\Base::doPut(array $parameters) : array
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration