File size: 31,313 Bytes
a5d709a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
models:
  - name: mailchimp__lists
    description: Each record represents a list in Mailchimp, enriched with campaign metrics, (optionally) automation metrics and information about members.
    columns:
      - name: list_id
        description: The unique ID of a list.
      - name: date_created
        description: The date and time that a list was created.
        format: YYYY-MM-DD HH:MM:SS
      - name: name
        description: The name of a list.
      - name: list_rating
        description: An auto-generated activity score for the list (0-5).
      - name: beamer_address
        description: The list's email beamer address.
      - name: contact_address_1
        description: The street address for the list contact.
      - name: contact_city
        description: The city for the list contact.
      - name: contact_company
        description: The company name for the list.
      - name: contact_country
        description: A two-character ISO3166 country code. Defaults to US if invalid.
      - name: contact_state
        description: The state for the list contact.
      - name: contact_zip
        description: The postal or zip code for the list contact.
      - name: default_from_email
        description: The default from email for campaigns sent to a list.
      - name: default_from_name
        description: The default from name for campaigns sent to a list.
      - name: default_language
        description: The default language for a lists's forms.
      - name: email_type_option
        description: Whether the list supports multiple formats for emails. When set to true, subscribers can choose whether they want to receive HTML or plain-text emails. When set to false, subscribers will receive HTML emails, with a plain-text alternative backup.
      - name: permission_reminder
        description: The permission reminder for a list.
      - name: subscribe_url_long
        description: The full version of a list's subscribe form (host will vary).
      - name: subscribe_url_short
        description: Mailchimp's EepURL shortened version of a list's subscribe form.
      - name: use_archive_bar
        description: Whether campaigns for this list use the Archive Bar in archives by default.
      - name: visibility
        description: Whether this list is public or private.
      - name: count_members
        description: The number of members in a list.
      - name: most_recent_signup_timestamp
        description: The date of the most recent signup to a list.
        format: YYYY-MM-DD HH:MM:SS
      - name: campaign_sends
        description: The number of sent emails from campaigns. Set to 0 if NULL.
      - name: campaign_opens
        description: The number of open events from campaign emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: campaign_clicks
        description: The number of click events from campaign emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: campaign_unique_opens
        description: The unique number of emails opened from campaign emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: campaign_unique_clicks
        description: The unique number of emails clicked from campaign emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: campaign_unsubscribes
        description: The number of users who have unsubscribed from campaign emails. Set to 0 if NULL.
      - name: automation_sends
        description: The number of sent emails from automations. Set to 0 if NULL.
      - name: automation_opens
        description: The number of open events from automation emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: automation_clicks
        description: The number of click events from automation emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: automation_unique_opens
        description: The unique number of emails opened from automation emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: automation_unique_clicks
        description: The unique number of emails clicked from automation emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: automation_unsubscribes
        description: The number of users who have unsubscribed from automation emails. Set to 0 if NULL.

  - name: mailchimp__members
    description: Each record represents a member in Mailchimp, enriched with campaign metrics and (optionally) automation metrics.
    columns:
      - name: member_id
        description: The ID of the member.
      - name: email_address
        description: Email address for a subscriber.
      - name: email_client
        description: The list member's email client.
      - name: email_type
        description: Type of email this member asked to get ('html' or 'text').
      - name: status
        description: Subscriber's current status. Possible Values:subscribed, unsubscribed, cleaned, pending, transactional, archived
      - name: list_id
        description: The ID of the list the member belongs to.
      - name: signup_timestamp
        description: The date and time the subscriber signed up for the list.
        format: YYYY-MM-DD HH:MM:SS
      - name: opt_in_timestamp
        description: The date and time the subscribe confirmed their opt-in status.
        format: YYYY-MM-DD HH:MM:SS
      - name: last_changed_timestamp
        description: The date and time the member's info was last changed.
        format: YYYY-MM-DD HH:MM:SS
      - name: country_code
        description: The member's unique code for the location country.
      - name: dstoff
        description: The member's offset for timezones where daylight saving time is observed.
      - name: gmtoff
        description: The member's time difference in hours from GMT.
      - name: opt_in_ip_address
        description: The IP address the subscriber used to confirm their opt-in status.
      - name: signup_ip_address
        description: IP address the subscriber signed up from.
      - name: language
        description: If set/detected, the subscriber's language.
      - name: latitude
        description: The member's location latitude.
      - name: longitude
        description: The member's location longitude.
      - name: member_rating
        description: Star rating for this member, between 1 and 5.
      - name: timezone
        description: The timezone for the member's location.
      - name: unique_email_id
        description: An identifier for the address across all of Mailchimp.
      - name: vip
        description: VIP status for subscriber.
      - name: campaign_sends
        description: The number of sent emails from campaigns. Set to 0 if NULL.
      - name: campaign_opens
        description: The number of open events from campaign emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: campaign_clicks
        description: The number of click events from campaign emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: campaign_unique_opens
        description: The unique number of emails opened from campaign emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: campaign_unique_clicks
        description: The unique number of emails clicked from campaign emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: campaign_unsubscribes
        description: The number of users who have unsubscribed from campaign emails. Set to 0 if NULL.
      - name: automation_sends
        description: The number of sent emails from automations. Set to 0 if NULL.
      - name: automation_opens
        description: The number of open events from automation emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: automation_clicks
        description: The number of click events from automation emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: automation_unique_opens
        description: The unique number of emails opened from automation emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: automation_unique_clicks
        description: The unique number of emails clicked from automation emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: automation_unsubscribes
        description: The number of users who have unsubscribed from automation emails. Set to 0 if NULL.

  - name: mailchimp__campaigns
    description: Each record represents a campaign in Mailchimp, enriched with click, open and unsubscribe metrics.
    columns:
      - name: campaign_id
        description: The ID of the campaign in Mailchimp.
      - name: segment_id
        description: The ID of the Segment a campaign was sent to.
      - name: create_timestamp
        description: The date and time the campaign was created.
        format: YYYY-MM-DD HH:MM:SS
      - name: send_timestamp
        description: The date and time a campaign was sent.
        format: YYYY-MM-DD HH:MM:SS
      - name: list_id
        description: The ID of the List a campaign was sent to.
      - name: reply_to_email
        description: The reply-to email address for the campaign.
      - name: campaign_type
        description: The type of campaign sent. Possible values:regular, plaintext, absplit, variate, rss.
      - name: title
        description: The title of the campaign.
      - name: archive_url
        description: The link to the campaign's archive version in ISO 8601 format.
      - name: authenticate
        description: Whether Mailchimp authenticated the campaign. Defaults to true.
      - name: auto_footer
        description: Automatically append Mailchimp's default footer to the campaign.
      - name: auto_tweet
        description: Automatically tweet a link to the campaign archive page when the campaign is sent.
      - name: clicktale
        description: The custom slug for ClickTale tracking (max of 50 bytes).
      - name: content_type
        description: How the campaign's content is put together ('template', 'drag_and_drop', 'html', 'url').
      - name: drag_and_drop
        description: Whether the campaign uses the drag-and-drop editor.
      - name: fb_comments
        description: Allows Facebook comments on the campaign (also force-enables the Campaign Archive toolbar). Defaults to true.
      - name: from_name
        description: The 'from' name on the campaign (not an email address).
      - name: google_analytics
        description: The custom slug for Google Analytics tracking (max of 50 bytes).
      - name: inline_css
        description: Automatically inline the CSS included with the campaign content.
      - name: long_archive_url
        description: The original link to the campaign's archive version.
      - name: status
        description: The current status of the campaign.
      - name: subject_line
        description: The subject line for the campaign.
      - name: template_id
        description: The ID for the template used in this campaign.
      - name: timewarp
        description: Send this campaign using Timewarpe_this
      - name: to_name
        description: The campaign's custom 'To' name. Typically the first name merge field.
      - name: track_ecomm_360
        description: Whether to enable eCommerce360 tracking.
      - name: track_goals
        description: Whether to enable Goal tracking.
      - name: track_html_clicks
        description: Whether to track clicks in the HTML version of the campaign. Defaults to true. Cannot be set to false for variate campaigns.
      - name: track_opens
        description: Whether to track opens. Defaults to true. Cannot be set to false for variate campaigns.
      - name: track_text_clicks
        description: Whether to track clicks in the plain-text version of the campaign. Defaults to true. Cannot be set to false for variate campaigns.
      - name: use_conversation
        description: Use Mailchimp Conversation feature to manage out-of-office replies.
      - name: sends
        description: The number of sent emails from campaigns. Set to 0 if NULL.
      - name: opens
        description: The number of open events from campaign emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: clicks
        description: The number of click events from campaign emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: unique_opens
        description: The unique number of emails opened from campaign emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: unique_clicks
        description: The unique number of emails clicked from campaign emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: unsubscribes
        description: The number of users who have unsubscribed from campaign emails. Set to 0 if NULL.

  - name: mailchimp__campaign_recipients
    description: Each record represents the send of a campaign email, enriched with click, open and unsubscribe metrics.
    columns:
      - name: email_id
        description: The ID of the email sent. Surrogate key generated from 'campaign_id' and 'member_id'. Use the dbt utils package to generate the surrogate key.
      - name: campaign_id
        description: The ID of the campaign a sent email is from.
      - name: member_id
        description: The ID of the member an email was sent to.
      - name: list_id
        description: The ID of the list the campaign was sent to.
      - name: segment_id
        description: The ID of the segment the campaign was sent to.
      - name: opens
        description: The number of open events from campaign emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: unique_opens
        description: The unique number of emails opened from campaign emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: clicks
        description: The number of click events from campaign emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: unique_clicks
        description: The unique number of emails clicked from campaign emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: was_opened
        description: Whether the email sent was opened. Set to False if NULL.
      - name: was_clicked
        description: Whether the email sent was clicked. Set to False if NULL.
      - name: send_timestamp
        description: The date and time a campaign was sent.
        format: YYYY-MM-DD HH:MM:SS
      - name: first_open_timestamp
        description: The timestamp of the first open for an email.
        format: YYYY-MM-DD HH:MM:SS
      - name: time_to_open_minutes
        description: The time from send to open in minutes.
      - name: time_to_open_hours
        description: The time from send to open in hours.
      - name: time_to_open_days
        description: The time from send to open in days.
      - name: was_unsubscribed
        description: Whether the user unsubscribed via the sent email. Set to False if NULL, otherwise True.

  - name: mailchimp__campaign_activities
    description: Each record represents an activity taken in relation to a campaign email, enriched with data about when the campaign was sent and the lag between send and the activity.
    columns:
      - name: action_type
        description: One of the following actions:'open', 'click', or 'bounce'
      - name: campaign_id
        description: The unique ID for the sent campaign.
      - name: member_id
        description: The ID of the member the activity relates to.
      - name: list_id
        description: The ID of the list the email was sent to.
      - name: activity_timestamp
        description: The timestamp when the activity occurred.
        format: YYYY-MM-DD HH:MM:SS
      - name: ip_address
        description: The IP address recorded for the action.
      - name: url
        description: If the action is a 'click', the URL on which the member clicked.
      - name: activity_id
        description: The ID of the activity/event. Surrogate key generated in dbt from 'action_type', 'campaign_id', 'member_id', and 'activity_timestamp'. Use the dbt utils package to generate the surrogate key.
      - name: email_id
        description: The ID of the email sent. Surrogate key generated in dbt from 'campaign_id' and 'member_id'. Use the dbt utils package to generate the surrogate key.
      - name: send_timestamp
        description: The time the campaign was sent.
        format: YYYY-MM-DD HH:MM:SS
      - name: time_since_send_minutes
        description: The time from send to activity in minutes.
      - name: time_since_send_hours
        description: The time from send to activity in hours.
      - name: time_since_send_days
        description: The time from send to activity in days.

  - name: mailchimp__automations
    description: Each record represents an automation in Mailchimp, enriched with click, open and unsubscribe metrics. (Enabled if you are using automations.)
    columns:
      - name: automation_id
        description: The ID of the automation in Mailchimp.
      - name: list_id
        description: The ID of the List an automation was sent to.
      - name: segment_id
        description: The ID of the Segment an automation was sent to.
      - name: segment_text
        description: Description of the segment. Formatted as a string marked up with HTML.
      - name: started_timestamp
        description: The date and time the Automation was started.
        format: YYYY-MM-DD HH:MM:SS
      - name: created_timestamp
        description: The date and time the Automation was created.
        format: YYYY-MM-DD HH:MM:SS
      - name: status
        description: The current status of the Automation. Possible Values:save, paused, sending
      - name: title
        description: The title of the Automation.
      - name: trigger_settings
        description: Available triggers for Automation workflows.
      - name: sends
        description: The number of sent emails from campaigns. Set to 0 if NULL.
      - name: opens
        description: The number of open events from campaign emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: clicks
        description: The number of click events from campaign emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: unique_opens
        description: The unique number of emails opened from campaign emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: unique_clicks
        description: The unique number of emails clicked from campaign emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: unsubscribes
        description: The number of users who have unsubscribed from campaign emails. Set to 0 if NULL.

  - name: mailchimp__automation_emails
    description: Each record represents an automation email (that make up automations), enriched with click, open and unsubscribe metrics. (Enabled if you are using automations.)
    columns:
      - name: automation_email_id
        description: The ID for the automation email that relates to the activity.
      - name: automation_id
        description: The ID of the automation an email relates to.
      - name: created_timestamp
        description: The date and time the automation email was created.
        format: YYYY-MM-DD HH:MM:SS
      - name: started_timestamp
        description: The date and time the automation email was started.
        format: YYYY-MM-DD HH:MM:SS
      - name: send_timestamp
        description: The date and time the automation email was sent.
        format: YYYY-MM-DD HH:MM:SS
      - name: from_name
        description: The 'from' name on the automation email (not an email address).
      - name: reply_to
        description: The reply-to email address for the automation.
      - name: status
        description: The current status of the automation email.
      - name: subject_line
        description: The subject line for the automation email.
      - name: title
        description: The title of the automation email.
      - name: archive_url
        description: The link to the automation email's archive version in ISO 8601 format.
      - name: authenticate
        description: Whether Mailchimp authenticated the automation email. Defaults to true.
      - name: auto_footer
        description: Automatically append Mailchimp's default footer to the automation email.
      - name: auto_tweet
        description: Automatically tweet a link to the automation email archive page when the automation email is sent.
      - name: content_type
        description: How the automation email's content is put together ('template', 'drag_and_drop', 'html', 'url').
      - name: delay_action
        description: The action that triggers the delay of an Automation email.
      - name: delay_action_description
        description: The user-friendly description of the action that triggers an Automation email.
      - name: delay_amount
        description: The delay amount for an Automation email.
      - name: delay_full_description
        description: The user-friendly description of the delay and trigger action settings for an Automation email.
      - name: delay_type
        description: The type of delay for an Automation email.
      - name: drag_and_drop
        description: Whether the automation email uses the drag-and-drop editor.
      - name: fb_comments
        description: Allows Facebook comments on the automation email (also force-enables the Campaign Archive toolbar). Defaults to true.
      - name: google_analytics
        description: The custom slug for Google Analytics tracking (max of 50 bytes).
      - name: inline_css
        description: Automatically inline the CSS included with the automation email content.
      - name: position
        description: The position of an Automation email in a workflow.
      - name: template_id
        description: The ID for the template used in this automation email.
      - name: track_ecomm_360
        description: Whether to enable eCommerce360 tracking.
      - name: track_goals
        description: Whether to enable Goal tracking.
      - name: track_html_clicks
        description: Whether to track clicks in the HTML version of the automation email. Defaults to true. Cannot be set to false for variate campaigns.
      - name: track_opens
        description: Whether to track opens. Defaults to true. Cannot be set to false for variate automation emails.
      - name: track_text_clicks
        description: Whether to track clicks in the plain-text version of the automation email. Defaults to true. Cannot be set to false for variate campaigns.
      - name: list_id
        description: The ID of the List this automation email is being sent to.
      - name: segment_id
        description: The ID of the Segment this automation email is being sent to.
      - name: sends
        description: The number of sent emails from automation. Set to 0 if NULL.
      - name: opens
        description: The number of open events from automation emails. The same email being opened multiple times is included in this metric. Set to 0 if NULL.
      - name: clicks
        description: The number of click events from automation emails. The same email being clicked multiple times is included in this metric. Set to 0 if NULL.
      - name: unique_opens
        description: The unique number of emails opened from automation emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set to 0 if NULL.
      - name: unique_clicks
        description: The unique number of emails clicked from automation emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set to 0 if NULL.
      - name: unsubscribes
        description: The number of users who have unsubscribed from automation emails. Set to 0 if NULL.

  - name: mailchimp__automation_activities
    description: Each record represents an activity taken in relation to a automation email.
    columns:
      - name: action_type
        description: One of the following actions:'open', 'click', or 'bounce'
      - name: automation_email_id
        description: The ID for the automation email that relates to the activity.
      - name: member_id
        description: The ID of the member the activity relates to.
      - name: list_id
        description: The ID of the list the email was sent to.
      - name: activity_timestamp
        description: The timestamp when the activity occurred.
        format: YYYY-MM-DD HH:MM:SS
      - name: ip_address
        description: The IP address recorded for the action.
      - name: url
        description: If the action is a 'click', the URL on which the member clicked.
      - name: activity_id
        description: The ID of the activity/event. Surrogate key generated in dbt from 'action_type', 'automation_email_id', 'member_id', and 'activity_timestamp'. Use the dbt utils package to generate the surrogate key.
      - name: automation_id
        description: The ID for the automation that relates to the activity.
      - name: segment_id
        description: The ID for the Segment that relates to the activity.
        
  - name: mailchimp__segments
    description: Each record represents a segment in Mailchimp, enriched with campaign metrics and (optionally) automation metrics. (Enabled if you are using segments.)
    columns:
      - name: segment_id
        description: The ID for the Segment from Mailchimp
      - name: list_id
        description: The ID of the List the segment is part of.
      - name: list_name
        description: The name of the List the segment is part of.
      - name: member_count
        description: The number of members in the segment.
      - name: segment_name
        description: The name of the segment.
      - name: segment_type
        description: The type of segment
      - name: updated_timestamp
        description: The date and time the segment was last updated.
        format: YYYY-MM-DD HH:MM:SS
      - name: created_timestamp
        description: The date and time the segment was created.
        format: YYYY-MM-DD HH:MM:SS
      - name: campaign_sends
        description: The number of sent emails from campaigns. Set the value to 0 if it is NULL.
      - name: campaign_opens
        description: The number of open events from campaign emails. The same email being opened multiple times is included in this metric. Set the value to 0 if it is NULL.
      - name: campaign_clicks
        description: The number of click events from campaign emails. The same email being clicked multiple times is included in this metric. Set the value to 0 if it is NULL.
      - name: campaign_unique_opens
        description: The unique number of emails opened from campaign emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set the value to 0 if it is NULL.
      - name: campaign_unique_clicks
        description: The unique number of emails clicked from campaign emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set the value to 0 if it is NULL.
      - name: campaign_unsubscribes
        description: The number of users who have unsubscribed from campaign emails. Set the value to 0 if it is NULL.
      - name: automation_sends
        description: The number of sent emails from automations. Set the value to 0 if it is NULL.
      - name: automation_opens
        description: The number of open events from automation emails. The same email being opened multiple times is included in this metric. Set the value to 0 if it is NULL.
      - name: automation_clicks
        description: The number of click events from automation emails. The same email being clicked multiple times is included in this metric. Set the value to 0 if it is NULL.
      - name: automation_unique_opens
        description: The unique number of emails opened from automation emails. If a given email to a user was opened multiple times, it will only count once in this metric. This is the metric for opens that is reported by Mailchimp. Set the value to 0 if it is NULL.
      - name: automation_unique_clicks
        description: The unique number of emails clicked from automation emails. If a given email to a user was clicked multiple times, it will only count once in this metric. This is the metric for clicks that is reported by Mailchimp. Set the value to 0 if it is NULL.
      - name: automation_unsubscribes
        description: The number of users who have unsubscribed from automation emails. Set the value to 0 if it is NULL.