|
NAMENet::Google::Analytics::Request - Google Analytics API requestVERSIONversion 3.03SYNOPSISmy $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); DESCRIPTIONRequest class for Net::Google::Analytics web service.CONSTRUCTORnewmy $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. realtimeSet this parameter to use the Real Time Reporting API.idsRequiredstart_dateRequired for non-realtime requestsend_dateRequired for non-realtime requestsmetricsRequireddimensionssortfilterssegmentstart_indexmax_resultsfieldspretty_printuser_ipquota_userAUTHORNick Wellnhofer <wellnhofer@aevum.de>COPYRIGHT AND LICENSEThis 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.
Visit the GSP FreeBSD Man Page Interface. |