The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

VERSION

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

SYNOPSIS

    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

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

METHODS

Accessors (read only)

  • clientEmail - The login for identifying this client account

  • quotaUnits - The number of quota units recorded for this client

SEE ALSO

AUTHOR

Rohan Almeida <rohan@almeida.in>

LICENSE AND COPYRIGHT

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.