Re: Soap API - Create Programs/Campaigns

Anonymous
Not applicable
Can we create new program in Marketo through SOAP API ?
I looked into SOAP API documentation and couldn't find anything. So just want to confirm.

Thanks.
Tags (1)
14 REPLIES 14
Javier_Sanchez1
Level 2

Can it be that tokens are not supported as trigger and filter values?

I have local token {{my.briefingID}} in my program.

I set {{my.briefingID}} in my trigger value.

I change value of my {{my.briefingID}} .

I activate my campaign.

I add users with proper briefingID to my list.

All of above seem to work fine. no obvious errors. However the campaign is not picking up members.

Any hints what might be wrong?

Javier_Sanchez1
Level 2

Does anyone know if this has changed?

It appears that creating programs is now available via REST API.

Do we have the ability to create new campaigns under programs?

Since campaigns can be imported via UI, it should be possible to do it with API as well, but can't find it documented.

Thanks!

Dan_Stevens_
Level 10 - Champion Alumni
Javier_Sanchez1
Level 2

Dan!

Thank you for the reply, but can you please be more specific in your answer and give a link to "create Smart Campaign API"?

Jep_Castelein2
Level 10

Hi Javier, there is no Create Smart Campaign API at this time. You can clone Programs though, then modify Program Tokens using the API (common use case).

Javier_Sanchez1
Level 2

indeed thank you Jep Castelein​ !

this looks like something i am looking for!

did some reading:

http://developers.marketo.com/rest-api/endpoint-reference/asset-endpoint-reference/#/Tokens

http://developers.marketo.com/rest-api/assets/tokens/

As far as i understand Tokens are something similar to variables in common language (wondering why would somebody give different name to a variable)

i can create a token in my template program and in my template trigger specify

*) data value changes MyAttribute is {{my.MyAttribute}}

*) filter  MyAttribute is {{my.MyAttribute}}

then i clone the program, change token value in new cloned program, activate my campaign and add users with attribute to my list or update MyAttribute for existing users to fire the campaign.

probably i am missing something, because my campaign did not send me anything.

Any idea what am i doing wrong?

Jep_Castelein2
Level 10

Javier Sanchez​ I think you either want to "schedule campaign" for Batch Campaigns (multiple emails sent in batch) or "request campaign" if you want to send it to a single person. You may want to talk to your Marketo end user / power user, they will be able to explain the Marketo concepts.

SanfordWhiteman
Level 10 - Community Moderator

As far as i understand Tokens are something similar to variables in common language (wondering why would somebody give different name to a variable)

"Token" is a perfectly common programming term for higher-level preprocessing, which is how tokens are used in Marketo.

Javier_Sanchez1
Level 2

Thank you Jep for reply.

Can yo please educate me a little on "modify Program Tokens" a bit?

here is the use case:

I have a program and a trigger campaign in it.

The campaign has smart list with 2 triggers:

*) added to list = ListName

*) data value changes LeadAtribute = 1234

and a filter

*) LeadAtribute = 1234

our leads have custom field LeadAtribute and we are adding them to a static list with a specific name.

then leads with matching value (1234 for example) are picked up and processed by a campaign.

I am trying to automate manual cloning and lead importing process.

I can clone the template program with the campaign.

and I can import leads with custom attribute.

the problem is i can't figure out how to update the trigger value in the smart list of the cloned campaign.

any ideas?

please!

can i make list name dynamic? like list name = {{list.name.in.current.program}} ?

or maybe i can add imported leads to new cloned program and set trigger in my template to something like {{lead.added.to.current.program}} ?

SanfordWhiteman
Level 10 - Community Moderator

There is no such endpoint.

Anonymous
Not applicable
Does anyone know if this has changed? Either through REST or SOAP API? Do we have the ability to create new programs? Thanks!
Anonymous
Not applicable
Raj,

Is there something on the roadmap to enhance API's and being able to access and create programs through API.

Thanks
Harjot
Anonymous
Not applicable
Thanks Raj
Anonymous
Not applicable
confirming that we do not allow creation of programs through the SOAP API today