adsOrganicRatio = $adsOrganicRatio; } public function getAdsOrganicRatio() { return $this->adsOrganicRatio; } public function setCategoryBenchmarkVisibilityTrend($categoryBenchmarkVisibilityTrend) { $this->categoryBenchmarkVisibilityTrend = $categoryBenchmarkVisibilityTrend; } public function getCategoryBenchmarkVisibilityTrend() { return $this->categoryBenchmarkVisibilityTrend; } /** * Google product category ID to calculate the report for, represented in * [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). Required in * the `SELECT` clause. A `WHERE` condition on * `competitive_visibility.category_id` is required in the query. * * @param string $categoryId */ public function setCategoryId($categoryId) { $this->categoryId = $categoryId; } /** * @return string */ public function getCategoryId() { return $this->categoryId; } /** * The country where impression appeared. Required in the `SELECT` clause. A * `WHERE` condition on `competitive_visibility.country_code` is required in * the query. * * @param string $countryCode */ public function setCountryCode($countryCode) { $this->countryCode = $countryCode; } /** * @return string */ public function getCountryCode() { return $this->countryCode; } /** * Date of this row. Available only in `CompetitiveVisibilityBenchmarkView` * and `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause * for `CompetitiveVisibilityMarketBenchmarkView`. * * @param Date $date */ public function setDate(Date $date) { $this->date = $date; } /** * @return Date */ public function getDate() { return $this->date; } /** * Domain of your competitor or your domain, if 'is_your_domain' is true. * Available only in `CompetitiveVisibilityTopMerchantView` and * `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause for * `CompetitiveVisibilityTopMerchantView` and * `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' * clause. * * @param string $domain */ public function setDomain($domain) { $this->domain = $domain; } /** * @return string */ public function getDomain() { return $this->domain; } public function setHigherPositionRate($higherPositionRate) { $this->higherPositionRate = $higherPositionRate; } public function getHigherPositionRate() { return $this->higherPositionRate; } /** * True if this row contains data for your domain. Available only in * `CompetitiveVisibilityTopMerchantView` and * `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' * clause. * * @param bool $isYourDomain */ public function setIsYourDomain($isYourDomain) { $this->isYourDomain = $isYourDomain; } /** * @return bool */ public function getIsYourDomain() { return $this->isYourDomain; } public function setPageOverlapRate($pageOverlapRate) { $this->pageOverlapRate = $pageOverlapRate; } public function getPageOverlapRate() { return $this->pageOverlapRate; } /** * Position of the domain in the top merchants ranking for the selected keys * (`date`, `category_id`, `country_code`, `listing_type`) based on * impressions. 1 is the highest. Available only in * `CompetitiveVisibilityTopMerchantView` and * `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' * clause. * * @param string $rank */ public function setRank($rank) { $this->rank = $rank; } /** * @return string */ public function getRank() { return $this->rank; } public function setRelativeVisibility($relativeVisibility) { $this->relativeVisibility = $relativeVisibility; } public function getRelativeVisibility() { return $this->relativeVisibility; } /** * Type of impression listing. Required in the `SELECT` clause. Cannot be * filtered on in the 'WHERE' clause. * * Accepted values: UNKNOWN, ORGANIC, ADS, ALL * * @param self::TRAFFIC_SOURCE_* $trafficSource */ public function setTrafficSource($trafficSource) { $this->trafficSource = $trafficSource; } /** * @return self::TRAFFIC_SOURCE_* */ public function getTrafficSource() { return $this->trafficSource; } public function setYourDomainVisibilityTrend($yourDomainVisibilityTrend) { $this->yourDomainVisibilityTrend = $yourDomainVisibilityTrend; } public function getYourDomainVisibilityTrend() { return $this->yourDomainVisibilityTrend; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CompetitiveVisibility::class, 'Google_Service_ShoppingContent_CompetitiveVisibility');