PHP 클래스 ReportUtilsDelegate, googleads-php-lib

Use ReportUtils to download AdWords API reports.
파일 보기 프로젝트 열기: googleads/googleads-php-lib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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.

메소드 상세

DownloadReport() 공개 정적인 메소드

또한 보기: ReportUtils::DownloadReport
public static DownloadReport ( $reportDefinition, $path = null, AdWordsUser $user, array $options = null )
$user AdWordsUser
$options array

DownloadReport() 공개 정적인 메소드

또한 보기: ReportUtils::DownloadReport
public static DownloadReport ( $reportDefinition, $path = null, AdWordsUser $user, array $options = null, array $customCurlOptions = null )
$user AdWordsUser
$options array
$customCurlOptions array

DownloadReportWithAwql() 공개 정적인 메소드

또한 보기: ReportUtils::DownloadReportWithAwql
public static DownloadReportWithAwql ( $reportQuery, $path = null, AdWordsUser $user, $reportFormat, array $options = null )
$user AdWordsUser
$options array

DownloadReportWithAwql() 공개 정적인 메소드

또한 보기: ReportUtils::DownloadReportWithAwql
public static DownloadReportWithAwql ( $reportQuery, $path = null, AdWordsUser $user, $reportFormat, array $options = null, array $customCurlOptions = null )
$user AdWordsUser
$options array
$customCurlOptions array

프로퍼티 상세

$CLASS_MAP 공개적으로 정적으로 프로퍼티

The mapping of XML tag names in report download's XML error response to PHP classes, which are needed in XML deserialization.
public static $CLASS_MAP