Need An Email Marketing Solution For All Of Your Customers?

Partner With VerticalResponse!

getCampaignDomainCount


The getCampaignDomainCount() method retrieves the number of recipients for a specified email campaign,
by domain (optionally limited to the top N results or to a specified set of domains)

Input

[vrtypens:getCampaignDomainCountArgs]

session_id [xsd:string] (required)
Your API session id.
campaign_id [xsd:int] (required)
The campaign whose recipient domains are being counted.
max_domains [xsd:int]
An amount to limit the results by.
restrict_domains [vrtypens:ArrayOfString]
An array of domains to limit the result by.

Output

[vrtypens:getCampaignDomainCountResult]
The output is an array of domains with the count of recipients for each one.

Examples

Perl

$vrapi->getCampaignDomainCount( {
    session_id => $sid,
    campaign_id => $cid,
    max_domains => 10,
} );

PHP

$vrapi->getCampaignDomainCount( array(
    'session_id'  => $sid,
    'campaign_id' => $cid,
    'max_domains' => 10,
) );

Ruby

vr.getCampaignDomainCount({
    'session_id'  => sid,
    'campaign_id' => cid,
    'max_domains' => 10,
})