PHP 클래스 LabelService, googleads-php-lib

저자: WSDLInterpreter
상속: 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
createLabels ( $labels ) : the Creates new {@link Label} objects.
get ( $serviceSelector ) : The This field is required and should not be {@code null}.
getLabelsByStatement ( $filterStatement ) : the Gets a {@link LabelPage} of {@link Label} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering:
mutate ( $operations ) : The This field must not contain {@code null} elements. Elements in this field must have distinct IDs for following {@link Operator}s : ADD, SET, REMOVE. This field must contain at least one element. This field is required and should not be {@code null}. The following {@link Operator}s are supported: ADD, SET, REMOVE.
performLabelAction ( $labelAction, $filterStatement ) : the Performs actions on {@link Label} objects that match the given {@link Statement#query}.
query ( $query ) This field is required and should not be {@code null}.
updateLabels ( $labels ) : the Updates the specified {@link Label} objects.

메소드 상세

__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

createLabels() 공개 메소드

Creates new {@link Label} objects.
public createLabels ( $labels ) : the
리턴 the created labels with their IDs filled in

get() 공개 메소드

Returns a list of {@link Label}s.
public get ( $serviceSelector ) : The
리턴 The page containing the {@link Label}s which meet the criteria specified by the selector.

getLabelsByStatement() 공개 메소드

PQL Property Object Property
{@code id} {@link Label#id}
{@code type} {@link Label#type}
{@code name} {@link Label#name}
{@code description} {@link Label#description}
{@code isActive} {@link Label#isActive}
public getLabelsByStatement ( $filterStatement ) : the
리턴 the labels that match the given filter

mutate() 공개 메소드

Applies the list of mutate operations.
public mutate ( $operations ) : The
리턴 The applied {@link Label}s.

performLabelAction() 공개 메소드

Performs actions on {@link Label} objects that match the given {@link Statement#query}.
public performLabelAction ( $labelAction, $filterStatement ) : the
리턴 the result of the action performed

query() 공개 메소드

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

updateLabels() 공개 메소드

Updates the specified {@link Label} objects.
public updateLabels ( $labels ) : the
리턴 the updated labels

프로퍼티 상세

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

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

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

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