Skip to main content
dcreagh
Level 2
February 15, 2022
Solved

Updating SmartCampaigns using REST API

  • February 15, 2022
  • 2 replies
  • 1850 views

Hello,

I have 30 smart campaigns that I need to activate with a scheduled recurrence.  I see that those values are in the Update Smart Campaign API call, but I'm not sure I can edit those. I use the marketorestpython library (jepcastelein).

That library does not include the update call.

I'm hoping that I can update the campaign  and then activate it.

 

Thanks,

Dennis

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

Hey @dcreagh,

The update smart campaign endpoint let's you update name and/or description of the smart campaign. There's a campaign schedule endpoint that let's you schedule the smart campaigns to run either immediately or at a future date. Do note that this is a only one time batch run and not the schedule recurrence, which is what I think you need and hence this may not be the correct endpoint you for you. I think the best way to set the campaigns as schedule recurring campaigns would be to manually do it via UI. 

 

Hope this helps.

2 replies

Darshil_Shah1
Community Advisor and Adobe Champion
Darshil_Shah1Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
February 16, 2022

Hey @dcreagh,

The update smart campaign endpoint let's you update name and/or description of the smart campaign. There's a campaign schedule endpoint that let's you schedule the smart campaigns to run either immediately or at a future date. Do note that this is a only one time batch run and not the schedule recurrence, which is what I think you need and hence this may not be the correct endpoint you for you. I think the best way to set the campaigns as schedule recurring campaigns would be to manually do it via UI. 

 

Hope this helps.

SanfordWhiteman
Level 10
February 17, 2022

As Darshil notes, that’s read-only via API.