GoogleApiAdsAdWords
[ class tree: GoogleApiAdsAdWords ] [ index: GoogleApiAdsAdWords ] [ all elements ]

Class: ReportUtils

Source Location: /AdWords/Util/ReportUtils.php

Class Overview


A collection of utility methods for working with reports.


Methods



Class Details

[line 36]
A collection of utility methods for working with reports.



[ Top ]


Class Methods


static method DownloadReport [line 59]

static mixed DownloadReport( float $reportDefintionId, [string $path = NULL], AdWordsUser $user, [string $server = NULL], [boolean $returnMoneyInMicros = NULL])

Downloads a new instance of an existing report definition. If the 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.



Tags:

return:  if path isn't specified the contents of the report, otherwise the size in bytes of the downloaded report
access:  public


Parameters:

float   $reportDefintionId   the id of the ReportDefinition to downlaod
string   $path   an optional path of the file to download the report to
AdWordsUser   $user   the user that created the ReportDefinition
string   $server   the server to make the request to. If NULL, then the default server will be used
boolean   $returnMoneyInMicros   if the money values in the report should be returned in micros

[ Top ]


Documentation generated by phpDocumentor 1.4.3