PHP 클래스 BatchJobUtils, googleads-php-lib

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

공개 프로퍼티들

프로퍼티 타입 설명
$CLASS_MAP

공개 메소드들

메소드 설명
DownloadBatchJobResults ( string $downloadUrl ) : string Downloads the results of batch processing from $downloadUrl.
UploadBatchJobOperations ( array $operations ) Uploads batch job operations to the specified upload URL.
UploadIncrementalBatchJobOperations ( array $operations, boolean $isLastRequest = null ) Uploads batch job operations incrementally to the specified upload URL.
__construct ( string $uploadUrl, integer | null $totalContentBytes = null, CurlUtils $curlUtils = null, BatchJobUtilsDelegate $batchJobUtilsDelegate = null, AdsUtilityRegistry $adsUtilityRegistry = null ) Create an instance of BatchJobUtils with the specified upload URL, total uploaded content bytes, CurlUtils object, BatchJobUtilsDelegate object and ads utility registry.

메소드 상세

DownloadBatchJobResults() 공개 메소드

Downloads the results of batch processing from $downloadUrl.
public DownloadBatchJobResults ( string $downloadUrl ) : string
$downloadUrl string the download URL from which the results are downloaded
리턴 string the contents of returned HTTP response

UploadBatchJobOperations() 공개 메소드

Uploads batch job operations to the specified upload URL.
public UploadBatchJobOperations ( array $operations )
$operations array operations to be uploaded via the upload URL $uploadUrl

UploadIncrementalBatchJobOperations() 공개 메소드

Uploads batch job operations incrementally to the specified upload URL.
public UploadIncrementalBatchJobOperations ( array $operations, boolean $isLastRequest = null )
$operations array operations to be uploaded via the upload URL
$isLastRequest boolean if this is last upload request

__construct() 공개 메소드

Create an instance of BatchJobUtils with the specified upload URL, total uploaded content bytes, CurlUtils object, BatchJobUtilsDelegate object and ads utility registry.
public __construct ( string $uploadUrl, integer | null $totalContentBytes = null, CurlUtils $curlUtils = null, BatchJobUtilsDelegate $batchJobUtilsDelegate = null, AdsUtilityRegistry $adsUtilityRegistry = null )
$uploadUrl string the upload URL to which the operations will be uploaded
$totalContentBytes integer | null the total content bytes uploaded so far, used in incremental batch job uploads
$curlUtils CurlUtils the CurlUtils object for uploading batch job operations and downloading the results of batch job processing
$batchJobUtilsDelegate BatchJobUtilsDelegate the batch job utils delegate that uploads batch job operations and downloads the results
$adsUtilityRegistry AdsUtilityRegistry the ads utility registry

프로퍼티 상세

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

public static $CLASS_MAP