Google::Adwords::ClientUsageRecord - A Google Adwords ClientUsageRecord object.
This documentation refers to Google::Adwords::ClientUsageRecord version 0.0.1
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";
This object should be used with the InfoService::getUnitCountForClients API call
Accessors (read only)
clientEmail - The login for identifying this client account
quotaUnits - The number of quota units recorded for this client
Google::Adwords::InfoService
Rohan Almeida <rohan@almeida.in>
Copyright (c) 2006 Rohan Almeida <rohan@almeida.in>. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Google::Adwords, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Adwords
CPAN shell
perl -MCPAN -e shell install Google::Adwords
For more information on module installation, please visit the detailed CPAN module installation guide.