I was using the new SDK but it had an error on the example so I m using the PHP wrapper instead. I need to add a kist ID to my campaign then a date to schedule.
When I add the following line, it gives me this error.
$campaign->lists = $lists; ($lists is set for a vraiable and is a single int.)
 => Array
[error_key] => json.field.invalid
[error_message] => #/lists: Property was found but is not permitted at this location.
I also need to know how to add a schedule to the campaign from a variable that is setn to the page.
If you check the campaign example here again, the issue you were seeing should now be resolved. You should use the addList method like below to assign a list to the campaign.
See the example at the link above for how to schedule the campaign.
API Support Specialist
View API documentation, code samples, get your API key.Visit Page
We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...Read More