Retrieving only Smart Campaigns on the /rest/v1/campaigns.json endpoint?

Anonymous
Not applicable

Retrieving only Smart Campaigns on the /rest/v1/campaigns.json endpoint?

Hi everyone, at Tableau we created a web data connector which consumes the Marketo REST API.

We're trying to retrieve all Campaigns but only the Smart Campaigns seem to be exposed on the /rest/v1/campaigns.json enpoint.

Is that correct? also the documentation use "smart campaigns" on the descriptions (see image below)

If this is the case, is there any other way to retrieve them all  (another API, or endpoint, anything)?

Marketo documentation.png

Thanks

Jax

1 REPLY 1
Justin_Cooperm2
Level 10

Re: Retrieving only Smart Campaigns on the /rest/v1/campaigns.json endpoint?

Nicolas,

GetCampaigns only operates over Smart Campaigns. We don't have a concept of any other campaigns in Marketo. Everything is either a Trigger Smart Campaign or Batch Smart Campaign.

If you are looking for "Programs" we have different APIs for that. http://developers.marketo.com/rest-api/assets/programs/

Justin