For more information on using API

GET https://webapi.mymarketing.co.il/api/campaignreports/{id}?FromDate={FromDate}&ToDate={ToDate}&Page={Page}&Limit={Limit}

Get an overview report for a specific campaign. You can limit the search to specific time (by default, the search will be for campaigns that were updated in the last 3 months. Please note: if the campaign you are searching for wasn't sent in the given dates - you'll get an error)

Request Information

URI Parameters

Name

Description

Type

Additional information

id

Campaign id .Can be found using the endpoint "Get account's email campaigns..." or in the UI(go to Emails->Emails Lists->click on the campaign's preview -> you'll find the id int the URL).

integer

Required

from_date

The start date the campaign was last updated

date
to_date

The end date the campaign was last updated

date
page

Get a specific page (number of pages is limited)

integer

Range: inclusive between 1 and 2147483647

limit

Limit the number of items you get in the results. (Removing the "limit" will, by default, display only 20 records)

integer

Range: inclusive between 1 and 100

Body Parameters

None.

Response Information

Resource Description

ApiEmailCampaignReport

Name

Description

Type

Additional information

campaign_id

Capmaign id

integer
campaign_name

Campaign Name

string
last_sent_date

Last date the campaign was sent

date
view_rate

View rate

decimal number
opens

View opens

decimal number
clicks

View clicks

decimal number
click_rate

Click rate

decimal number
conversions

Capmaign id

integer
cto

Click rate from the emails that were opened

decimal number
total_conversion_value

Money recieved from conversion pixle you put in the campaign

decimal number
not_open

Rate of emails that were not opened

decimal number
bounced

Bounce rate

decimal number
removals

Number of removals

decimal number
spam_complaints

Number of spam complaints

decimal number
total_sent

Total number of sent emails

decimal number
preview_content

Total number of sent emails

string

Response Formats

application/json, text/json

Sample:
{
  "campaign_id": 1,
  "campaign_name": "sample string 2",
  "last_sent_date": "2016-12-24T14:12:12",
  "view_rate": 1.1,
  "opens": 1.1,
  "clicks": 1.1,
  "click_rate": 1.1,
  "conversions": 3,
  "cto": 1.1,
  "total_conversion_value": 1.1,
  "not_open": 1.1,
  "bounced": 1.1,
  "removals": 1.1,
  "spam_complaints": 1.1,
  "total_sent": 1.1,
  "preview_content": "sample string 4"
}

application/xml, text/xml

Sample:
<ApiEmailCampaignReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.AutomationReport">
  <bounced>1.1</bounced>
  <campaign_id>1</campaign_id>
  <campaign_name>sample string 2</campaign_name>
  <click_rate>1.1</click_rate>
  <clicks>1.1</clicks>
  <conversions>3</conversions>
  <cto>1.1</cto>
  <last_sent_date>2016-12-24T14:12:12</last_sent_date>
  <not_open>1.1</not_open>
  <opens>1.1</opens>
  <preview_content>sample string 4</preview_content>
  <removals>1.1</removals>
  <spam_complaints>1.1</spam_complaints>
  <total_conversion_value>1.1</total_conversion_value>
  <total_sent>1.1</total_sent>
  <view_rate>1.1</view_rate>
</ApiEmailCampaignReport>