Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

calculateCampaignAudience


The calculateCampaignAudience() method determines the number of list members that will receive a
given campaign, and provides details about the number of records rejected due to duplication,
address validation failure, etc.

Input

[vrtypens:calculateCampaignAudienceArgs]

session_id [xsd:string] (required)
Your API session id.
campaign_id [xsd:int] (required)
The ID of the campaign whose audience is to be determined.

Examples

Perl

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

PHP

$vrapi->calculateCampaignAudience( array(
    'session_id'  => $sid,
    'campaign_id' => $cid,
) );

Ruby

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

C#.NET

calculateCampaignAudienceArgs objCalculateAudience = new calculateCampaignAudienceArgs();
objCalculateAudience.session_id  = _sSessionId;
objCalculateAudience.campaign_id = iCampaignId;

vr.calculateCampaignAudience(objCalculateAudience);