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)
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]
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, })