PHP 클래스 SearchParameter, googleads-php-lib

There is a {@link SearchParameter} for each type of input. {@link SearchParameter}s can conceptually be broken down into two types.

  • Input {@link SearchParameter}s provide the seed information from which ideas or stats are to be generated (e.g., {@link RelatedToQuerySearchParameter}, {@link RelatedToUrlSearchParameter}, etc.). This type of {@link SearchParameters} is required in requests.
  • Filter {@link SearchParameter}s (e.g., {@link CompetitionSearchParameter}, etc.) are used to trim down the results based on {@link Attribute}-related information.

A request should only contain one instance of each {@link SearchParameter}. Requests containing multiple instances of the same search parameter will be rejected.

One or more of the following {@link SearchParameter}s are required:

  • {@link CategoryProductsAndServicesSearchParameter}
  • {@link LocationSearchParameter}
  • {@link RelatedToQuerySearchParameter}
  • {@link RelatedToUrlSearchParameter}
  • {@link SeedAdGroupIdSearchParameter}

{@link IdeaType} KEYWORD supports following {@link SearchParameter}s:

  • {@link CategoryProductsAndServicesSearchParameter}
  • {@link CompetitionSearchParameter}
  • {@link IdeaTextFilterSearchParameter}
  • {@link IncludeAdultContentSearchParameter}
  • {@link LanguageSearchParameter}
  • {@link LocationSearchParameter}
  • {@link NetworkSearchParameter}
  • {@link RelatedToQuerySearchParameter}
  • {@link RelatedToUrlSearchParameter}
  • {@link SearchVolumeSearchParameter}
  • {@link SeedAdGroupIdSearchParameter}

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

공개 프로퍼티들

프로퍼티 타입 설명
$SearchParameterType string

공개 메소드들

메소드 설명
__construct ( $SearchParameterType = null )
__get ( $var ) : mixed Provided for getting non-php-standard named variables
__set ( $var, $value ) Provided for setting non-php-standard named variables
getNamespace ( ) : string Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class

보호된 메소드들

메소드 설명
getParameterMap ( ) : array Provided for getting non-php-standard named variables

메소드 상세

__construct() 공개 메소드

public __construct ( $SearchParameterType = null )

__get() 공개 메소드

Provided for getting non-php-standard named variables
public __get ( $var ) : mixed
$var Variable name to get
리턴 mixed Variable value

__set() 공개 메소드

Provided for setting non-php-standard named variables
public __set ( $var, $value )
$var Variable name to set
$value Value to set

getNamespace() 공개 메소드

Gets the namesapce of this class
public getNamespace ( ) : string
리턴 string the namespace of this class

getParameterMap() 보호된 메소드

Provided for getting non-php-standard named variables
protected getParameterMap ( ) : array
리턴 array parameter map

getXsiTypeName() 공개 메소드

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
리턴 string the xsi:type name of this class

프로퍼티 상세

$SearchParameterType 공개적으로 프로퍼티

public string $SearchParameterType
리턴 string