PHP 클래스 ReportService, googleads-php-lib

상속: extends DfpSoapClient
파일 보기 프로젝트 열기: googleads/googleads-php-lib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

공개 메소드들

메소드 설명
__construct ( string $wsdl, array $options, $user ) Constructor using wsdl location and options array
getReportDownloadURL ( $reportJobId, $exportFormat ) : the Returns the URL at which the report file can be downloaded.
getReportDownloadUrlWithOptions ( $reportJobId, $reportDownloadOptions ) : the Returns the URL at which the report file can be downloaded, and allows for customization of the downloaded report.
getReportJobStatus ( $reportJobId ) Returns the {@link ReportJobStatus} of the report job with the specified ID.
runReportJob ( $reportJob ) : the Initiates the execution of a {@link ReportQuery} on the server.

메소드 상세

__construct() 공개 메소드

Constructor using wsdl location and options array
public __construct ( string $wsdl, array $options, $user )
$wsdl string WSDL location for this service
$options array Options for the SoapClient

getReportDownloadURL() 공개 메소드

The report will be generated as a gzip archive, containing the report file itself.

public getReportDownloadURL ( $reportJobId, $exportFormat ) : the
리턴 the URL for report file download

getReportDownloadUrlWithOptions() 공개 메소드

By default, the report will be generated as a gzip archive, containing the report file itself. This can be changed by setting {@link ReportDownloadOptions#useGzipCompression} to false.

public getReportDownloadUrlWithOptions ( $reportJobId, $reportDownloadOptions ) : the
리턴 the URL for report file download

getReportJobStatus() 공개 메소드

Returns the {@link ReportJobStatus} of the report job with the specified ID.
public getReportJobStatus ( $reportJobId )

runReportJob() 공개 메소드

The following fields are required:

  • {@link ReportJob#reportQuery}
public runReportJob ( $reportJob ) : the
리턴 the report job with its ID filled in

프로퍼티 상세

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

Default class map for wsdl=>php
public static array $classmap
리턴 array

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

The endpoint of the service
public static string $endpoint
리턴 string