PHP Class 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}

Afficher le fichier Open project: googleads/googleads-php-lib Class Usage Examples

Méthodes publiques

Свойство Type Description
$SearchParameterType string

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
getParameterMap ( ) : array Provided for getting non-php-standard named variables

Method Details

__construct() public méthode

public __construct ( $SearchParameterType = null )

__get() public méthode

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

__set() public méthode

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

getNamespace() public méthode

Gets the namesapce of this class
public getNamespace ( ) : string
Résultat string the namespace of this class

getParameterMap() protected méthode

Provided for getting non-php-standard named variables
protected getParameterMap ( ) : array
Résultat array parameter map

getXsiTypeName() public méthode

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
Résultat string the xsi:type name of this class

Property Details

$SearchParameterType public_oe property

public string $SearchParameterType
Résultat string