PHP 클래스 MediaService, googleads-php-lib

저자: Julien BRISWALTER ([email protected])
파일 보기 프로젝트 열기: 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
get ( $serviceSelector ) : A This field is required and should not be {@code null}.
query ( $query ) This field is required and should not be {@code null}.
upload ( $media ) : A Uploads new media. Currently, you can upload {@link Image} files and {@link MediaBundle}s.

메소드 상세

__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

get() 공개 메소드

Returns a list of media that meet the criteria specified by the selector.

Note: {@code MediaService} will not return any {@link ImageAd} image files.

public get ( $serviceSelector ) : A
리턴 A list of {@code Media} objects.

query() 공개 메소드

Returns the list of {@link Media} objects that match the query.
public query ( $query )

upload() 공개 메소드

Uploads new media. Currently, you can upload {@link Image} files and {@link MediaBundle}s.
public upload ( $media ) : A
리턴 A list of uploaded media in the same order as the argument list.

프로퍼티 상세

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

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

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

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