PHP 클래스 AdParamService, googleads-php-lib

상속: extends AdWordsSoapClient
파일 보기 프로젝트 열기: googleads/googleads-php-lib

공개 프로퍼티들

프로퍼티 타입 설명
$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}.
mutate ( $operations ) : A 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 the ad parameters that match the criteria specified in the selector.
public get ( $serviceSelector ) : A
리턴 A list of ad parameters.

mutate() 공개 메소드

Sets and removes ad parameters.

Note: {@code ADD} is not supported. Use {@code SET} for new ad parameters.

  • {@code SET}: Creates or updates an ad parameter, setting the new parameterized value for the given ad group / keyword pair.
  • {@code REMOVE}: Removes an ad parameter. The default-value specified in the ad text will be used.
public mutate ( $operations ) : A
리턴 A list of ad parameters, where each entry in the list is the result of applying the operation in the input list with the same index. For a {@code SET} operation, the returned ad parameter will contain the updated values. For a {@code REMOVE} operation, the returned ad parameter will simply be the ad parameter that was removed.

프로퍼티 상세

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

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

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

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