| For RSS Campaigns this, array should contain: |
| string | url | the URL to pull RSS content from - it will be verified and must exist |
| string | schedule | optional - one of "daily", "weekly", "monthly" - defaults to "daily" |
| string | schedule_hour | optional - an hour between 0 and 24 - default to 4 (4am local time) - applies to all schedule types |
| string | schedule_weekday | optional - for "weekly" only, a number specifying the day of the week to send: 0 (Sunday) - 6 (Saturday) - defaults to 1 (Monday) |
| string | schedule_monthday | optional - for "monthly" only, a number specifying the day of the month to send (1 - 28) or "last" for the last day of a given month. Defaults to the 1st day of the month |
| |
| For A/B Split campaigns, this array should contain: |
| string | split_test | The values to segment based on. Currently, one of: "subject", "from_name", "schedule". NOTE, for "schedule", you will need to call campaignSchedule() separately! |
| string | pick_winner | How the winner will be picked, one of: "opens" (by the open_rate), "clicks" (by the click rate), "manual" (you pick manually) |
| integer | wait_units | optional - the default time unit to wait before auto-selecting a winner - use "3600" for hours, "86400" for days. Defaults to 86400. |
| integer | wait_time | optional - the number of units to wait before auto-selecting a winner - defaults to 1, so if not set, a winner will be selected after 1 Day. |
| integer | split_size | optional - this is a percentage of what size the Campaign's List plus any segmentation options results in. "schedule" type forces 50%, all others default to 10% |
| string | from_name_a | optional - sort of, required when split_test is "from_name" |
| string | from_name_b | optional - sort of, required when split_test is "from_name" |
| string | from_email_a | optional - sort of, required when split_test is "from_name" |
| string | from_email_b | optional - sort of, required when split_test is "from_name" |
| string | subject_a | optional - sort of, required when split_test is "subject" |
| string | subject_b | optional - sort of, required when split_test is "subject" |
| |
| For AutoResponder campaigns, this array should contain: |
| string | offset-units | one of "day", "week", "month", "year" - required |
| string | offset-time | optional - , sort of - the number of units must be a number greater than 0 for signup based autoresponders |
| string | offset-dir | either "before" or "after" |
| string | event | optional - "signup" (default) to base this on double-optin signup, "date" or "annual" to base this on merge field in the list |
| string | event-datemerge | optional - sort of, this is required if the event is "date" or "annual" |