Google::Ads::Common::ReportUtils


Back to Top


NAME

Google::Ads::Common::ReportUtils

Back to Top


SYNOPSIS

 use Google::Ads::Common::ReportUtils;
 Google::Ads::Common::ReportUtils::download_report($report_definition,
                                                   $client, $path);

Back to Top


DESCRIPTION

Google::Ads::Common::ReportUtils a collection of utility methods for working with reports.

Back to Top


SUBROUTINES

download_report

Downloads a new instance of an existing report definition. If the file_path parameter is specified it will be downloaded to the file at that path, otherwise it will be downloaded to memory and be returned as a string.

Parameters

Returns

If a file_path is given, the report gets saved to file and the file size is returned, if not the report data itself is returned.

Back to Top


LICENSE AND COPYRIGHT

Copyright 2011 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Back to Top


AUTHOR

David Torres <api.davidtorres at gmail.com>

Back to Top


REPOSITORY INFORMATION

 $Rev: $
 $LastChangedBy: $
 $Id: $

Back to Top

 Google::Ads::Common::ReportUtils