Skip to main content
May 19, 2014
Question

Change value of Marketing Suspended for a lead using API

  • May 19, 2014
  • 4 replies
  • 1226 views
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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

May 19, 2014
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
May 19, 2014
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.
May 20, 2014
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
May 20, 2014
yes, that will also work.