For more information on using API

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

Get a full report of your campaigns that include: send date, opens, clicks, CTO, bounces, unsubscribers, complaints, unopened and sent emails. You can get campaigns filtered by date and limited to a number of campaigns (you will get the reports of camapigns that were last updated in the last 3 months by default)

Request Information

URI Parameters

Name

Description

Type

Additional information

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

Collection of 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"
  },
  {
    "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:
<ArrayOfApiEmailCampaignReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ActiveTrail.RESTfulApi.Models.AutomationReport">
  <ApiEmailCampaignReport>
    <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>
  <ApiEmailCampaignReport>
    <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>
</ArrayOfApiEmailCampaignReport>