getCampaignsForSource

This function returns a list of eligible Marketo campaigns that can be used as input parameters into the requestCampaign function. Campaigns are categorized by the source of the request, which are enumerated in the WSDL.

Important: The Smart Campaign must have a “Campaign is Requested” trigger to qualify. Its source must include Web Service API.

campaign_is_requested_trigger

Request

Field Name

Required/Optional

Description

source Required source can be MKTOWS or SALES. The latter provides a list of campaigns available to sales insight.
name Optional use this to filter by name. This is a single string, not an array of strings.
exactName Optional Boolean value to indicate if you want an exact match for the name parameter

Request XML

Response XML

Sample Code – PHP

Sample Code – Java

Sample Code – Ruby