프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$CLASS_MAP | The mapping of XML tag names in report download's XML error response to PHP classes, which are needed in XML deserialization. |
메소드 | 설명 | |
---|---|---|
DownloadReport ( $reportDefinition, $path = null, AdWordsUser $user, array $options = null ) | ||
DownloadReport ( $reportDefinition, $path = null, AdWordsUser $user, array $options = null, array $customCurlOptions = null ) | ||
DownloadReportWithAwql ( $reportQuery, $path = null, AdWordsUser $user, $reportFormat, array $options = null ) | ||
DownloadReportWithAwql ( $reportQuery, $path = null, AdWordsUser $user, $reportFormat, array $options = null, array $customCurlOptions = null ) |
메소드 | 설명 | |
---|---|---|
DownloadReportFromUrl ( string $url, array $headers, array $params, string $path = null ) : mixed | Downloads a report using the URL provided. | |
DownloadReportFromUrl ( string $url, array $headers, array $params, string $path = null, array $customCurlOptions = null ) : mixed | Downloads a report using the URL provided. | |
GetHeaders ( AdWordsUser $user, string $url, array $options = null ) : array | Gets the HTTP headers for the report download request. | |
GetParams ( mixed $reportDefinition ) : array | Generates the parameters to use for the download request. | |
GetQueryParams ( string $reportQuery, string $reportFormat ) : array | Generates the parameters to use for the download request with AWQL. | |
GetUrl ( AdWordsUser $user, array $options = null ) : string | Generates the URL to use for the download request. | |
LogRequest ( string $requestHeaders, integer $responseCode, array $params = null, Exception $exception = null ) | Logs the report download request. | |
ParseApiErrorXml ( string $responseXml ) : object | null | Tries to parse the error response xml from the AdWords API server as an object. | |
__construct ( ) | The ReportUtils class is not meant to have any instances. |
public static DownloadReport ( $reportDefinition, $path = null, AdWordsUser $user, array $options = null ) | ||
$user | AdWordsUser | |
$options | array |
public static DownloadReport ( $reportDefinition, $path = null, AdWordsUser $user, array $options = null, array $customCurlOptions = null ) | ||
$user | AdWordsUser | |
$options | array | |
$customCurlOptions | array |
public static DownloadReportWithAwql ( $reportQuery, $path = null, AdWordsUser $user, $reportFormat, array $options = null ) | ||
$user | AdWordsUser | |
$options | array |
public static DownloadReportWithAwql ( $reportQuery, $path = null, AdWordsUser $user, $reportFormat, array $options = null, array $customCurlOptions = null ) | ||
$user | AdWordsUser | |
$options | array | |
$customCurlOptions | array |