public final class Metrics
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 |
---|
Metrics() |
Modifier and Type | Method and Description |
---|---|
Metrics |
clone() |
Double |
getAos()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Double |
getAovMicros()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getClicks()
Number of clicks.
|
Double |
getConversionRate()
Number of conversions divided by the number of clicks, reported on the impression date.
|
Double |
getConversions()
Number of conversions attributed to the product, reported on the conversion date.
|
Long |
getConversionValueMicros()
Value of conversions in micros (1 millionth of a standard unit, 1 USD = 1000000 micros)
attributed to the product, reported on the conversion date.
|
Double |
getCtr()
Click-through rate - the number of clicks merchant's products receive (clicks) divided by the
number of times the products are shown (impressions).
|
Double |
getDaysToShip()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getImpressions()
Number of times merchant's products are shown.
|
Double |
getItemDaysToShip()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Double |
getItemFillRate()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getOrderedItems()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getOrderedItemSalesMicros()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getOrders()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getRejectedItems()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getReturnedItems()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Double |
getReturnRate()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getReturnsMicros()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getShippedItems()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getShippedItemSalesMicros()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Long |
getShippedOrders()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Double |
getUnshippedItems()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Double |
getUnshippedOrders()
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
set(String fieldName,
Object value) |
Metrics |
setAos(Double aos)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setAovMicros(Double aovMicros)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setClicks(Long clicks)
Number of clicks.
|
Metrics |
setConversionRate(Double conversionRate)
Number of conversions divided by the number of clicks, reported on the impression date.
|
Metrics |
setConversions(Double conversions)
Number of conversions attributed to the product, reported on the conversion date.
|
Metrics |
setConversionValueMicros(Long conversionValueMicros)
Value of conversions in micros (1 millionth of a standard unit, 1 USD = 1000000 micros)
attributed to the product, reported on the conversion date.
|
Metrics |
setCtr(Double ctr)
Click-through rate - the number of clicks merchant's products receive (clicks) divided by the
number of times the products are shown (impressions).
|
Metrics |
setDaysToShip(Double daysToShip)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setImpressions(Long impressions)
Number of times merchant's products are shown.
|
Metrics |
setItemDaysToShip(Double itemDaysToShip)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setItemFillRate(Double itemFillRate)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setOrderedItems(Long orderedItems)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setOrderedItemSalesMicros(Long orderedItemSalesMicros)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setOrders(Long orders)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setRejectedItems(Long rejectedItems)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setReturnedItems(Long returnedItems)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setReturnRate(Double returnRate)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setReturnsMicros(Long returnsMicros)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setShippedItems(Long shippedItems)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setShippedItemSalesMicros(Long shippedItemSalesMicros)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setShippedOrders(Long shippedOrders)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setUnshippedItems(Double unshippedItems)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
Metrics |
setUnshippedOrders(Double unshippedOrders)
*Deprecated*: This field is no longer supported and retrieving it returns 0 starting from May
2024.
|
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 getAos()
null
for nonepublic Metrics setAos(Double aos)
aos
- aos or null
for nonepublic Double getAovMicros()
null
for nonepublic Metrics setAovMicros(Double aovMicros)
aovMicros
- aovMicros or null
for nonepublic Long getClicks()
null
for nonepublic Metrics setClicks(Long clicks)
clicks
- clicks or null
for nonepublic Double getConversionRate()
null
for nonepublic Metrics setConversionRate(Double conversionRate)
conversionRate
- conversionRate or null
for nonepublic Long getConversionValueMicros()
null
for nonepublic Metrics setConversionValueMicros(Long conversionValueMicros)
conversionValueMicros
- conversionValueMicros or null
for nonepublic Double getConversions()
null
for nonepublic Metrics setConversions(Double conversions)
conversions
- conversions or null
for nonepublic Double getCtr()
null
for nonepublic Metrics setCtr(Double ctr)
ctr
- ctr or null
for nonepublic Double getDaysToShip()
null
for nonepublic Metrics setDaysToShip(Double daysToShip)
daysToShip
- daysToShip or null
for nonepublic Long getImpressions()
null
for nonepublic Metrics setImpressions(Long impressions)
impressions
- impressions or null
for nonepublic Double getItemDaysToShip()
null
for nonepublic Metrics setItemDaysToShip(Double itemDaysToShip)
itemDaysToShip
- itemDaysToShip or null
for nonepublic Double getItemFillRate()
null
for nonepublic Metrics setItemFillRate(Double itemFillRate)
itemFillRate
- itemFillRate or null
for nonepublic Long getOrderedItemSalesMicros()
null
for nonepublic Metrics setOrderedItemSalesMicros(Long orderedItemSalesMicros)
orderedItemSalesMicros
- orderedItemSalesMicros or null
for nonepublic Long getOrderedItems()
null
for nonepublic Metrics setOrderedItems(Long orderedItems)
orderedItems
- orderedItems or null
for nonepublic Long getOrders()
null
for nonepublic Metrics setOrders(Long orders)
orders
- orders or null
for nonepublic Long getRejectedItems()
null
for nonepublic Metrics setRejectedItems(Long rejectedItems)
rejectedItems
- rejectedItems or null
for nonepublic Double getReturnRate()
null
for nonepublic Metrics setReturnRate(Double returnRate)
returnRate
- returnRate or null
for nonepublic Long getReturnedItems()
null
for nonepublic Metrics setReturnedItems(Long returnedItems)
returnedItems
- returnedItems or null
for nonepublic Long getReturnsMicros()
null
for nonepublic Metrics setReturnsMicros(Long returnsMicros)
returnsMicros
- returnsMicros or null
for nonepublic Long getShippedItemSalesMicros()
null
for nonepublic Metrics setShippedItemSalesMicros(Long shippedItemSalesMicros)
shippedItemSalesMicros
- shippedItemSalesMicros or null
for nonepublic Long getShippedItems()
null
for nonepublic Metrics setShippedItems(Long shippedItems)
shippedItems
- shippedItems or null
for nonepublic Long getShippedOrders()
null
for nonepublic Metrics setShippedOrders(Long shippedOrders)
shippedOrders
- shippedOrders or null
for nonepublic Double getUnshippedItems()
null
for nonepublic Metrics setUnshippedItems(Double unshippedItems)
unshippedItems
- unshippedItems or null
for nonepublic Double getUnshippedOrders()
null
for nonepublic Metrics setUnshippedOrders(Double unshippedOrders)
unshippedOrders
- unshippedOrders or null
for nonepublic Metrics set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Metrics clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.