PHP Class ReportService, googleads-php-lib

Inheritance: extends DfpSoapClient
Afficher le fichier Open project: googleads/googleads-php-lib Class Usage Examples

Méthodes publiques

Свойство Type Description
$classmap array Default class map for wsdl=>php
$endpoint string The endpoint of the service

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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() public méthode

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

public getReportDownloadURL ( $reportJobId, $exportFormat ) : the
Résultat the URL for report file download

getReportDownloadUrlWithOptions() public méthode

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
Résultat the URL for report file download

getReportJobStatus() public méthode

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

runReportJob() public méthode

The following fields are required:

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

Property Details

$classmap public_oe static_oe property

Default class map for wsdl=>php
public static array $classmap
Résultat array

$endpoint public_oe static_oe property

The endpoint of the service
public static string $endpoint
Résultat string