GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::GOOGLE::ANALYTICS::REQUEST (3)

.ds Aq ’

NAME

Net::Google::Analytics::Request - Google Analytics API request

CONTENTS

VERSION

version 3.03

SYNOPSIS



    my $req = $analytics->new_request(
        ids         => "ga:$profile_id",
        dimensions  => "ga:medium,ga:source",
        metrics     => "ga:bounces,ga:visits",
        filters     => "ga:medium==referral",
        sort        => "-ga:visits",
        start_date  => "2011-10-01",
        end_date    => "2011-10-31",
        max_results => 5,
    );

    my $res = $analytics->retrieve($req);



DESCRIPTION

Request class for Net::Google::Analytics web service.

CONSTRUCTOR

    new



    my $req = Net::Google::Analytics::Request->new(param => $value, ...);
    my $req = $analytics->new_request(param => $value, ...);



Creates a new request object with the given parameters. You can also use the shorthand new_request in Net::Google::Analytics.

ACCESSORS



    $req->ids(ga:...);
    $req->dimensions(ga:...);



See the API reference <http://code.google.com/apis/analytics/docs/gdata/v3/reference.html#data_request> for a description of the request parameters. The provided parameter values must not be URL encoded.

    realtime

Set this parameter to use the Real Time Reporting API.

    ids

Required

    start_date

Required for non-realtime requests

    end_date

Required for non-realtime requests

    metrics

Required

    dimensions

    sort

    filters

    segment

    start_index

    max_results

    fields

    pretty_print

    user_ip

    quota_user

AUTHOR

Nick Wellnhofer <wellnhofer@aevum.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Nick Wellnhofer.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::GOOGLE::ANALYTICS::REQUEST (3) 2015-03-18

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.