Google::Adwords::ClientUsageRecord - A Google Adwords ClientUsageRecord object.


Google-Adwords documentation  | view source Contained in the Google-Adwords distribution.

Index


NAME

Top

Google::Adwords::ClientUsageRecord - A Google Adwords ClientUsageRecord object.

VERSION

Top

This documentation refers to Google::Adwords::ClientUsageRecord version 0.0.1

SYNOPSIS

Top

    use Google::Adwords::InfoService;

    my $ginfo = Google::Adwords::InfoService->new();

    $ginfo->email('email@domain.com')
          ->password('password')
          ->developerToken('developer_token')
          ->applicationToken('application_token');

    # If you use a MCC
    $ginfo->clientEmail('clientemail@domain.com');

    my @usage_records = $ginfo->getUnitCountForClients({
        clientEmails => [ $email1, $email2 ],
        startdate => $start_date,
        endDate => $end_date,
    });

    print "Quota Units for client " 
        . $usage_records[0]->clientEmail 
        . ' is '
        . $usage_records[0]->quotaUnits 
        . "\n";

DESCRIPTION

Top

This object should be used with the InfoService::getUnitCountForClients API call

METHODS

Top

Accessors (read only)

* clientEmail - The login for identifying this client account
* quotaUnits - The number of quota units recorded for this client

SEE ALSO

Top

* Google::Adwords::InfoService

AUTHOR

Top

Rohan Almeida <rohan@almeida.in>

LICENSE AND COPYRIGHT

Top


Google-Adwords documentation  | view source Contained in the Google-Adwords distribution.