Get campaign link activity
Describes the request and response details of this Moosend API endpoint to get campaign link activity.
Request
Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| path | string | true | The ID of the campaign that you want to get link activity by location of. |
| path | string | true | The supported file format for getting a response. Possible values: |
| query | string | true | The API key of your account. |
Response
Status | Description | Headers | Schema |
|---|---|---|---|
| The request is successful. |
| N/A |
Code- the response code. This is0if successful.Error- the response error message. This isnullif successful.Context- an object that contains all thePagingandAnalyticsinformation for the campaign:Paging- an object that contains the following information:PageSize- the page size of the results. This is0if not defined.CurrentPage- the number of the result page. This is1if not defined.Totalresults- the number of results that are included in the response.TotalPageCount- the total number of pages in your account.SortExpression- the sort expression associated with the column or columns being sorted.SortIsAscending- this isfalseif the results are not displayed in ascending order based on the sort expression.
Analytics- a list of links in your campaign containing the following information for each link:Context- the URL of the link.ContextName- this isnullfor this case.TotalCount- the total number of link clicks. DeprecatedUniqueCount- the total number of unique link clicks. DeprecatedContextDescription: This isnullfor this case.Timestamp- the time the action is added in the response.