How to get program name and campaign name using campaign id ?

Anonymous
Not applicable

How to get program name and campaign name using campaign id ?

Hi,

We integrated Marketo smart campaign with our product, Would like to get campaign name and program name using campaign id, but not able to find any SOAP api to get this.

Currently we are getting all smart campaign using below api and filtering using campaign id, then splitting campaign name using dot(.) to get program name and campaign name, since below api returns program name and campaign name as dot(.) separated.

But, program or campaign name can have dot(.), hence we are not able to identify campaign and program name.

http://developers.marketo.com/soap-api/campaigns/getcampaignsforsource/

NOTE : request campaign is made with parameters - campaignName,programName and programTokens

Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: How to get program name and campaign name using campaign id ?

Hi Steve Buccola

You want to try this Rest API - Get Campaigns by ID.

This gives both Campaign Name and Program Name as separate fields.

http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Campai...

pastedImage_0.png