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}

 public function __construct($included = null, $excluded = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->included = $included;
     $this->excluded = $excluded;
     $this->SearchParameterType = $SearchParameterType;
 }
 public function __construct($urls = null, $includeSubUrls = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->urls = $urls;
     $this->includeSubUrls = $includeSubUrls;
     $this->SearchParameterType = $SearchParameterType;
 }
 public function __construct($categoryId = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->categoryId = $categoryId;
     $this->SearchParameterType = $SearchParameterType;
 }
コード例 #4
0
 public function __construct($locations = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->locations = $locations;
     $this->SearchParameterType = $SearchParameterType;
 }
コード例 #5
0
 public function __construct($networkSetting = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->networkSetting = $networkSetting;
     $this->SearchParameterType = $SearchParameterType;
 }
コード例 #6
0
ファイル: SearchClient.php プロジェクト: rebe100x/YAKREP
 private function __construct($url, $version)
 {
     $this->url = $url;
     $this->version = $version;
     SearchParameter::setVersion($version);
 }
 public function __construct($queries = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->queries = $queries;
     $this->SearchParameterType = $SearchParameterType;
 }
コード例 #8
0
 public function __construct($urls = NULL, $includeSubUrls = NULL, $SearchParameterType = NULL)
 {
     if (get_parent_class('RelatedToUrlSearchParameter')) {
         parent::__construct();
     }
     $this->urls = $urls;
     $this->includeSubUrls = $includeSubUrls;
     $this->SearchParameterType = $SearchParameterType;
 }
コード例 #9
0
ファイル: SearchQuery.php プロジェクト: rebe100x/YAKREP
 private function setStandardParameter($name, $value)
 {
     $param = $this->findParameter($name, true);
     if ($param === null) {
         $param = new SearchParameter($name, $value);
         $this->standardParameters[] = $param;
     } else {
         $param->setValue($value);
     }
 }
コード例 #10
0
 public function __construct($adGroupId = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->adGroupId = $adGroupId;
     $this->SearchParameterType = $SearchParameterType;
 }
 public function __construct($operation = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->operation = $operation;
     $this->SearchParameterType = $SearchParameterType;
 }
 public function __construct($placementTypes = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->placementTypes = $placementTypes;
     $this->SearchParameterType = $SearchParameterType;
 }
 public function __construct($keywords = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->keywords = $keywords;
     $this->SearchParameterType = $SearchParameterType;
 }
コード例 #14
0
ファイル: SearchParameter.php プロジェクト: rebe100x/YAKREP
 /**
  * @ignore
  */
 public static function setVersion($version)
 {
     self::$apiVersion = $version;
     foreach (self::$standardParameterKey as $parameterKey => $values) {
         self::${$parameterKey} = self::standardParameterKey($parameterKey);
     }
 }
 public function __construct($adSpecs = null, $SearchParameterType = null)
 {
     parent::__construct();
     $this->adSpecs = $adSpecs;
     $this->SearchParameterType = $SearchParameterType;
 }