I am currently working on using the API to check various settings related to a program.
I have a question regarding Smart Campaigns.
When a Smart Campaign is scheduled for execution, is there a way to retrieve the scheduled date via the API?
I found that scheduling a campaign via the API is possible, as mentioned in the documentation below:
https://developer.adobe.com/marketo-apis/api/mapi/#operation/scheduleCampaignUsingPOST
However, I couldn't find any information on how to retrieve the scheduled date after it has been set.
Any guidance or suggestions would be greatly appreciated.
Solved! Go to Solution.
sadly - I don't think you can. It's very frustrating.
Cheers
Jo
⚠️ This post has been edited by a moderator for accuracy.
It’s our responsibility as a community to not provide AI-hallucinated and/or untested answers.
For retrieving the scheduled date of a Smart Campaign via Marketo's REST API, here are the key approaches:
Primary Method:
You can use the Campaign API endpoint with the specific campaign ID While there's no direct "scheduled date" field, you can retrieve scheduling information through:
Get Campaign By ID Endpoint:
Alternative Approaches:
1. Activity Log API
2. Program Member API
Recommended Flow:
1. Use Campaign API to get campaign details
2. Cross-reference with Activity Log API
3. Extract scheduling information programmatically
How would that tell you the scheduled run date of the campaign? Doesn’t make sense, it’s not in the response.
You recommend “Extract scheduling information programmatically” — how exactly ?
Is this a ChatGPT hallucination?
It has that sound to it, which is very disappointing. We can't have that kind of misinformation here.