Change value of Marketing Suspended for a lead using API

Anonymous
Not applicable

Change value of Marketing Suspended for a lead using API

Hi,

We have a list of leads, that is added into "Marketing Suspended" smart list. We want to remove some leads out of "marketing Suspended" by using API. For now we dont find any functions, that allow to do this kind of job.
We also find this discussion https://community.marketo.com/MarketoDiscussionDetail?id=90650000000PdOlAAK. 
According to this discussion, we dont have possibility to remove a lead from a smart list via API. 
Can you confirm it ?
If there is no way to remove a lead from a smart list, can tell us the solution pls.

Thanks

Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: Change value of Marketing Suspended for a lead using API

Hi Nam,
I didn't read the discussion you linked but how should that work anyway?

A Smart List is always a dynamic list, so it's building a list based on for example a data field, a behaviour and so on. So when you want to remove people from a Smart List you would need to change the data field/behaviour.

Did you think about working with a list instead of a smart list and just using the smart list to add/remove people from the list?

Best regards

Steffen
Jep_Castelein2
Level 10

Re: Change value of Marketing Suspended for a lead using API

You need to set the "Marketing Suspended" field to false. I'm not 100% sure that it's available in the SOAP API. However, if it is not, you can do requestCampaign() and request a Smart Campaign that sets the field to false.
Anonymous
Not applicable

Re: Change value of Marketing Suspended for a lead using API

Hi,
Many thanks for your quick answers :). Finally we will add a new field "X" for lead, this new field will trigger to a marketo program, that updates the value of "Marketing Suspended". So the only thing we need to do is to update the value of "X" using API and the value of Marketing Suspended will be automatically updated on marketo side.

Are we correct ?

Br
Jep_Castelein2
Level 10

Re: Change value of Marketing Suspended for a lead using API

yes, that will also work.