Input and Output of Upsert Campaigns

In the Input tab, you can specify the fields that are sent to Marketo, and in the Output tab, you can check the response information depending on the endpoint that you select when using the Campaigns resource.

Input and Output for Schedule Campaign

If you select the Campaigns resource and the Schedule Campaign endpoint, the input and output tabs contain the following fields respectively:
Input for Schedule Campaign
Input Item Data Type Description
ScheduleCampaignRequest
id String Specify a Marketo id of the campaign that you want to run.
input
runAt DateTime The time to run the scheduled campaign. If not provided, schedule it to run in five minutes.
cloneToProgramName String

When this attribute is present, the campaign's parent program is cloned and the newly created campaign is scheduled. This attribute specifies the desired name for the resulting program.

Note: Only 20 calls per day are used when this attribute is available.
tokens Complex An array of token names and token value pairs.
Output for Schedule Campaign
Output Item Data Type Description
ScheduleCampaignResponse
requestId String The request id as a unique id returned from the Marketo server.
result Complex A list of field names that are displayed in the response. The following fields are displayed: id, status, and reasons.
success Boolean If the request is successful, this is returned true.

Input and Output for Request Campaign

If you select the Campaigns resource and the Request Campaign endpoint, the input and output tabs contain the following fields respectively:
Input for Request Campaign
Input Item Data Type Description
RequestCampaignRequest
id String Specify a Marketo id of the campaign
input
leads Complex A list of lead ids of an integer data type.
tokens Complex An array of token names and token value pairs.
Output for Request Campaign
Output item Data Type Description
RequestCampaignResponse
requestId String The request id as a unique id returned from the Marketo server.
result Complex A list of field names that are displayed in the response. The following fields are displayed: id, status, and reasons.
success Boolean If the request is successful, it returns true.