Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Add new attributes to campaign #35

Open
skoudoro opened this issue Oct 18, 2021 · 0 comments
Open

Add new attributes to campaign #35

skoudoro opened this issue Oct 18, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@skoudoro
Copy link
Owner

Need to add campaign sent attributes in a Campaign object

response example of the campaign sent:

{'id': 42706640, 'total_recipients': 0, 'type': 'regular', 'extra_type': None, 'name': 'Regular campaign name', 'status': 'draft', 'step': 3, 'send_rule': None, 'opened': {'count': None, 'rate': None}, 'clicked': {'count': None, 'rate': None}, 'followup_info': {'send_type': 'regular', 'followup_send_type': None}, 'ab_info': {'send_type': 'regular', 'ab_win_type': None}, 'date_created': '2021-10-18 14:08:49', 'date_send': '2021-10-18 14:08:00', 'date_end': None, 'mail': {'id': 45258518, 'date': '2021-10-18 14:08:49', 'subject': 'Regular campaign subject', 'code': 'v4u1v8', 'from': '[email protected]', 'from_name': 'Demo API v2', 'url': 'regular-campaign-subject-45258518', 'send_date': '2021-10-18 14:08:00', 'host': 'mailerlite.com', 'type': 'template', 'screenshot': 'https://static.mailerlite.com/images/newsletter_screenshot2.png', 'screenshot_big': 'https://static.mailerlite.com/images/newsletter_screenshot2.png', 'updated': '2021-10-18 11:08:51', 'language': {'code': 'en', 'title': 'English'}, 'groups': [{'id': 2984475, 'name': 'Asmeniniai', 'total': 6, 'active': 6, 'unsubscribed': 0, 'bounced': 0, 'unconfirmed': 0, 'junk': 0, 'sent': 241, 'opened': 74, 'clicked': 40, 'ordering': 34, 'updating': 0, 'user_id': 0, 'date': '2015-12-16 15:43:46', 'updated': '2020-07-07 16:44:57'}, {'id': 3237221, 'name': 'Gumroad', 'total': 0, 'active': 0, 'unsubscribed': 0, 'bounced': 0, 'unconfirmed': 0, 'junk': 0, 'sent': 83, 'opened': 52, 'clicked': 24, 'ordering': 30, 'updating': 0, 'user_id': 0, 'date': '2016-02-03 10:33:01', 'updated': '2020-07-07 16:44:57'}]}, 'mails': [{'id': 45258518, 'date': '2021-10-18 14:08:49', 'subject': 'Regular campaign subject', 'code': 'v4u1v8', 'from': '[email protected]', 'from_name': 'Demo API v2', 'url': 'regular-campaign-subject-45258518', 'send_date': '2021-10-18 14:08:00', 'host': 'mailerlite.com', 'type': 'template', 'screenshot': 'https://static.mailerlite.com/images/newsletter_screenshot2.png', 'screenshot_big': 'https://static.mailerlite.com/images/newsletter_screenshot2.png', 'updated': '2021-10-18 11:08:53'}], 'includes_survey': False, 'has_ecommerce': False, 'report_date': None}
@skoudoro skoudoro added the enhancement New feature or request label Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant