Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

launchEmailCampaign


This call sends the campaign to the VerticalResponse campaign checking team. They make sure that all campaigns that we send out comply with US federal law and our terms of service. If the campaign is declined, you’ll receive an email at your log in email address explaining why.

If you call launchEmailCampaign on a campaign with missing data, you will receive a SOAP fault specifying what data was missing from the email.

Your company must have enough credits to cover the number of recipients that will receive the campaign, and any merge field in the campaign must be covered by fields in all the attached lists. After launching, the campaign will mail out on its mail_date.

Input

[vrtypens:launchEmailCampaignArgs]

session_id [xsd:string] (required)
Your API session id.
campaign_id [xsd:int] (required)
The id of the campaign to launch.
dry_run [xsd:int]
If this is set to 1, then go through all the motions of launching a campaign (calculating audience, checking for sufficient credits, etc.) except for the actual launch.

Examples

PHP

$vr->launchEmailCampaign( array(
	'session_id'  => $sid,
	'campaign_id' => $cid,
) );

Ruby

vr.launchEmailCampaign({
	'session_id'  => sid,
	'campaign_id' => cid,
})

Java

LaunchEmailCampaignArgs launchEmailCampaignArgs = new LaunchEmailCampaignArgs();
	launchEmailCampaignArgs.setSession_id(sessionID);
	launchEmailCampaignArgs.setCampaign_id(campaignID);

vr.launchEmailCampaign( launchEmailCampaignArgs );

C#/.NET

launchEmailCampaignArgs objLEC = new launchEmailCampaignArgs();
objLEC.session_id = sessionId;
objLEC.campaign_id = intcampaignId;

try
{
	objVR.launchEmailCampaign(objLEC);
}
catch (Exception e)
{
	System.Console.WriteLine(e.Message);
}

Perl

$vrapi->launchEmailCampaign( {
	session_id  => $sid,
	campaign_id => $cid,
} );