All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.content.model.CompetitiveVisibility.html Maven / Gradle / Ivy

There is a newer version: v2.1-rev20241217-2.0.0
Show newest version






CompetitiveVisibility (Content API for Shopping v2.1-rev20240609-2.0.0)












com.google.api.services.content.model

Class CompetitiveVisibility

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class CompetitiveVisibility
    extends com.google.api.client.json.GenericJson
    Fields related to [competitive visibility reports] (https://support.google.com/merchants/answer/11366442).

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Content API for Shopping. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • CompetitiveVisibility

        public CompetitiveVisibility()
    • Method Detail

      • getAdsOrganicRatio

        public Double getAdsOrganicRatio()
        [Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cadsfree- ratio) shows how often a merchant receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setAdsOrganicRatio

        public CompetitiveVisibility setAdsOrganicRatio(Double adsOrganicRatio)
        [Ads / organic ratio] (https://support.google.com/merchants/answer/11366442#zippy=%2Cadsfree- ratio) shows how often a merchant receives impressions from Shopping ads compared to organic traffic. The number is rounded and bucketed. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        adsOrganicRatio - adsOrganicRatio or null for none
      • getCategoryBenchmarkVisibilityTrend

        public Double getCategoryBenchmarkVisibilityTrend()
        Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setCategoryBenchmarkVisibilityTrend

        public CompetitiveVisibility setCategoryBenchmarkVisibilityTrend(Double categoryBenchmarkVisibilityTrend)
        Change in visibility based on impressions with respect to the start of the selected time range (or first day with non-zero impressions) for a combined set of merchants with highest visibility approximating the market. Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        categoryBenchmarkVisibilityTrend - categoryBenchmarkVisibilityTrend or null for none
      • getCategoryId

        public Long getCategoryId()
        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.
        Returns:
        value or null for none
      • setCategoryId

        public CompetitiveVisibility setCategoryId(Long categoryId)
        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.
        Parameters:
        categoryId - categoryId or null for none
      • getCountryCode

        public String getCountryCode()
        The country where impression appeared. Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.country_code` is required in the query.
        Returns:
        value or null for none
      • setCountryCode

        public CompetitiveVisibility setCountryCode(String countryCode)
        The country where impression appeared. Required in the `SELECT` clause. A `WHERE` condition on `competitive_visibility.country_code` is required in the query.
        Parameters:
        countryCode - countryCode or null for none
      • getDate

        public Date getDate()
        Date of this row. Available only in `CompetitiveVisibilityBenchmarkView` and `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause for `CompetitiveVisibilityMarketBenchmarkView`.
        Returns:
        value or null for none
      • setDate

        public CompetitiveVisibility setDate(Date date)
        Date of this row. Available only in `CompetitiveVisibilityBenchmarkView` and `CompetitiveVisibilityCompetitorView`. Required in the `SELECT` clause for `CompetitiveVisibilityMarketBenchmarkView`.
        Parameters:
        date - date or null for none
      • getDomain

        public String getDomain()
        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.
        Returns:
        value or null for none
      • setDomain

        public CompetitiveVisibility setDomain(String domain)
        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.
        Parameters:
        domain - domain or null for none
      • getHigherPositionRate

        public Double getHigherPositionRate()
        Higher position rate shows how often a competitor’s offer got placed in a higher position on the page than your offer. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setHigherPositionRate

        public CompetitiveVisibility setHigherPositionRate(Double higherPositionRate)
        Higher position rate shows how often a competitor’s offer got placed in a higher position on the page than your offer. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        higherPositionRate - higherPositionRate or null for none
      • getIsYourDomain

        public Boolean getIsYourDomain()
        True if this row contains data for your domain. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setIsYourDomain

        public CompetitiveVisibility setIsYourDomain(Boolean isYourDomain)
        True if this row contains data for your domain. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        isYourDomain - isYourDomain or null for none
      • getPageOverlapRate

        public Double getPageOverlapRate()
        Page overlap rate describes how frequently competing retailers’ offers are shown together with your offers on the same page. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setPageOverlapRate

        public CompetitiveVisibility setPageOverlapRate(Double pageOverlapRate)
        Page overlap rate describes how frequently competing retailers’ offers are shown together with your offers on the same page. Available only in `CompetitiveVisibilityTopMerchantView` and `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        pageOverlapRate - pageOverlapRate or null for none
      • getRank

        public BigInteger getRank()
        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.
        Returns:
        value or null for none
      • setRank

        public CompetitiveVisibility setRank(BigInteger rank)
        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.
        Parameters:
        rank - rank or null for none
      • getRelativeVisibility

        public Double getRelativeVisibility()
        Relative visibility shows how often your competitors’ offers are shown compared to your offers. In other words, this is the number of displayed impressions of a competitor retailer divided by the number of your displayed impressions during a selected time range for a selected product category and country. Available only in `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setRelativeVisibility

        public CompetitiveVisibility setRelativeVisibility(Double relativeVisibility)
        Relative visibility shows how often your competitors’ offers are shown compared to your offers. In other words, this is the number of displayed impressions of a competitor retailer divided by the number of your displayed impressions during a selected time range for a selected product category and country. Available only in `CompetitiveVisibilityCompetitorView`. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        relativeVisibility - relativeVisibility or null for none
      • getTrafficSource

        public String getTrafficSource()
        Type of impression listing. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setTrafficSource

        public CompetitiveVisibility setTrafficSource(String trafficSource)
        Type of impression listing. Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        trafficSource - trafficSource or null for none
      • getYourDomainVisibilityTrend

        public Double getYourDomainVisibilityTrend()
        Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.
        Returns:
        value or null for none
      • setYourDomainVisibilityTrend

        public CompetitiveVisibility setYourDomainVisibilityTrend(Double yourDomainVisibilityTrend)
        Change in visibility based on impressions for your domain with respect to the start of the selected time range (or first day with non-zero impressions). Available only in `CompetitiveVisibilityBenchmarkView`. Cannot be filtered on in the 'WHERE' clause.
        Parameters:
        yourDomainVisibilityTrend - yourDomainVisibilityTrend or null for none
      • clone

        public CompetitiveVisibility clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy