Rohan Almeida > Google-Adwords-v1.13 > Google::Adwords::ClientUsageRecord

Download:
Google-Adwords-v1.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  2
View Bugs
Report a bug
Module Version: 0.0.1   Source   Latest Release: Google-Adwords-v1.14

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)

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.