PHP 클래스 CustomerService, googleads-php-lib

상속: extends BaseService
파일 보기 프로젝트 열기: 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 ( ) : customer Returns details of the authorized customer.
getCustomers ( ) Returns details of all the customers directly accessible by the user authenticating the call.
getServiceLinks ( $selector ) This field is required and should not be {@code null}.
mutate ( $customer ) This field is required and should not be {@code null}.
mutateServiceLinks ( $operations ) This field must not contain {@code null} elements. 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: SET, REMOVE.

메소드 상세

__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 details of the authorized customer.
public get ( ) : customer
리턴 customer associated with the caller

getCustomers() 공개 메소드

Following V201605, if {@code clientCustomerId} is specified in the request header, only details of that customer will be returned.

public getCustomers ( )

mutate() 공개 메소드

Update the authorized customer.

While there are a limited set of properties available to update, please read this help center article on auto-tagging before updating {@code customer.autoTaggingEnabled}.

public mutate ( $customer )

프로퍼티 상세

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

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

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

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