We want to show a Salesforce campaign/Marketo program's related assets (e.g. emails and landing pages) in Salesforce as part of a comprehensive view.
I've been peeking into the API, and I think I can query for email assets and landing pages within a folder, but unsure if I can surface assets associated with a Program.
Anyone doing this or curious about it?
The Asset API allows you to crawl for static assets in Programs and Folders (both are folder types).
Ah, excellent. So I could absolutely do this then. Thanks Sanford!
Hi Aaron Dear
I know this post is old but it's exactly what I want to do as well. My client has asked if they can see Marketo assets inside Campaigns in Salesforce. How is this done technically? Do you need a Salesforce developer to add a new section to the Campaigns view and link to emails / landing pages via the Marketo API?
Do you need a Salesforce developer to add a new section to the Campaigns view and link to emails / landing pages via the Marketo API?
You'll need not only your SFDC developer involved but a server which runs the integration code (running it within SFDC wouldn't be a good call).
This project is definitely doable but not for the faint of heart/skills. Marketo doesn't fire a trigger when assets are added to a program, so the whole mess needs to be done via periodic polling.
I did this using Skuid a while ago. It acts as a configurable data source platform and drag-and-drop UX builder on top of SFDC.
Here's what I think you'll need based on my memory:
The end result is that, when you navigate to your SFDC Campaign Detail page, the Asset API is pinged for child assets of the given Marketo Program ID. Also, take this with a grain of salt since it's been a while!
PS: If Sanford says anything I said is wrong, listen to him. Hahaha. And if you wanna walk through this together, I'm down. It'd probably take about 20 minutes.