public final class CompetitiveVisibility
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CompetitiveVisibility() |
Modifier and Type | Method and Description |
---|---|
CompetitiveVisibility |
clone() |
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.
|
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.
|
Long |
getCategoryId()
Google product category ID to calculate the report for, represented in [Google's product
taxonomy](https://support.google.com/merchants/answer/6324436).
|
String |
getCountryCode()
The country where impression appeared.
|
Date |
getDate()
Date of this row.
|
String |
getDomain()
Domain of your competitor or your domain, if 'is_your_domain' is true.
|
Double |
getHigherPositionRate()
Higher position rate shows how often a competitor’s offer got placed in a higher position on
the page than your offer.
|
Boolean |
getIsYourDomain()
True if this row contains data for your domain.
|
Double |
getPageOverlapRate()
Page overlap rate describes how frequently competing retailers’ offers are shown together with
your offers on the same page.
|
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.
|
Double |
getRelativeVisibility()
Relative visibility shows how often your competitors’ offers are shown compared to your offers.
|
String |
getTrafficSource()
Type of impression listing.
|
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).
|
CompetitiveVisibility |
set(String fieldName,
Object value) |
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.
|
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.
|
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).
|
CompetitiveVisibility |
setCountryCode(String countryCode)
The country where impression appeared.
|
CompetitiveVisibility |
setDate(Date date)
Date of this row.
|
CompetitiveVisibility |
setDomain(String domain)
Domain of your competitor or your domain, if 'is_your_domain' is true.
|
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.
|
CompetitiveVisibility |
setIsYourDomain(Boolean isYourDomain)
True if this row contains data for your domain.
|
CompetitiveVisibility |
setPageOverlapRate(Double pageOverlapRate)
Page overlap rate describes how frequently competing retailers’ offers are shown together with
your offers on the same page.
|
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.
|
CompetitiveVisibility |
setRelativeVisibility(Double relativeVisibility)
Relative visibility shows how often your competitors’ offers are shown compared to your offers.
|
CompetitiveVisibility |
setTrafficSource(String trafficSource)
Type of impression listing.
|
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).
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Double getAdsOrganicRatio()
null
for nonepublic CompetitiveVisibility setAdsOrganicRatio(Double adsOrganicRatio)
adsOrganicRatio
- adsOrganicRatio or null
for nonepublic Double getCategoryBenchmarkVisibilityTrend()
null
for nonepublic CompetitiveVisibility setCategoryBenchmarkVisibilityTrend(Double categoryBenchmarkVisibilityTrend)
categoryBenchmarkVisibilityTrend
- categoryBenchmarkVisibilityTrend or null
for nonepublic Long getCategoryId()
null
for nonepublic CompetitiveVisibility setCategoryId(Long categoryId)
categoryId
- categoryId or null
for nonepublic String getCountryCode()
null
for nonepublic CompetitiveVisibility setCountryCode(String countryCode)
countryCode
- countryCode or null
for nonepublic Date getDate()
null
for nonepublic CompetitiveVisibility setDate(Date date)
date
- date or null
for nonepublic String getDomain()
null
for nonepublic CompetitiveVisibility setDomain(String domain)
domain
- domain or null
for nonepublic Double getHigherPositionRate()
null
for nonepublic CompetitiveVisibility setHigherPositionRate(Double higherPositionRate)
higherPositionRate
- higherPositionRate or null
for nonepublic Boolean getIsYourDomain()
null
for nonepublic CompetitiveVisibility setIsYourDomain(Boolean isYourDomain)
isYourDomain
- isYourDomain or null
for nonepublic Double getPageOverlapRate()
null
for nonepublic CompetitiveVisibility setPageOverlapRate(Double pageOverlapRate)
pageOverlapRate
- pageOverlapRate or null
for nonepublic BigInteger getRank()
null
for nonepublic CompetitiveVisibility setRank(BigInteger rank)
rank
- rank or null
for nonepublic Double getRelativeVisibility()
null
for nonepublic CompetitiveVisibility setRelativeVisibility(Double relativeVisibility)
relativeVisibility
- relativeVisibility or null
for nonepublic String getTrafficSource()
null
for nonepublic CompetitiveVisibility setTrafficSource(String trafficSource)
trafficSource
- trafficSource or null
for nonepublic Double getYourDomainVisibilityTrend()
null
for nonepublic CompetitiveVisibility setYourDomainVisibilityTrend(Double yourDomainVisibilityTrend)
yourDomainVisibilityTrend
- yourDomainVisibilityTrend or null
for nonepublic CompetitiveVisibility set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CompetitiveVisibility clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.