# getCampaignCommonStats method

Get general information about the results of delivering messages in the given list. The method returns statistics similar to «Campaigns» — « [History](https://app.selzy.com/en/v5/spa/campaigns)» in your Selzy account.

## Principle of use

|     |
| --- |
| Syntax and URL to call the method |
| getCampaignCommonStats ( _int_ campaign_id) |
| https://api.selzy.com/en/api/getCampaignCommonStats?format=json&api_key=KEY&campaign_id=ID |

|     |     |
| --- | --- |
| Arguments |
| api_key * | API access key. |
| campaign_id * | Campaign identifier received when the [createCampaign](/content/en/support/api/messages/createcampaign/index.html) method is called (sending a mailing). |

|     |     |
| --- | --- |
| Return value |
| JSON object with the following fields: |
| total | Total number of contacts in the campaign scheduled for sending. |
| sent | Number of the messages sent. |
| delivered | Number of the messages delivered. |
| read_unique | Number of unique reads. Unique reads represent the number of unique contacts that have read the letter or followed the link. |
| read_all | Total number of reads. |
| clicked_unique | Number of unique clicks. Unique clicks represent the number of unique contacts that followed the links in the message. |
| clicked_all | Total number of clicks. |
| unsubscribed | Number of unsubscribed contacts (by clicking the «unsubscribe» button in the message). |
| spam | Number of contacts who complained about spam (clicking on the «spam» button in their email client). |
| Example of the return value:<br>```<br>{<br>  "result": {<br>    "total": 81962,<br>    "sent": 81962,<br>    "delivered": 81737,<br>    "read_unique": 6816,<br>    "read_all": 8940,<br>    "clicked_unique": 447,<br>    "clicked_all": 545,<br>    "unsubscribed": 184,<br>    "spam": 86<br>  }<br>}<br>```
