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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Metrics() |
| Modifier and Type | Method and Description |
|---|---|
Metrics |
clone() |
Double |
getAos()
Average order size - the average number of items in an order.
|
Double |
getAovMicros()
Average order value in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) - the
average value (total price of items) of all placed orders.
|
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()
Average number of days between an order being placed and the order being fully shipped,
reported on the last shipment date.
|
Long |
getImpressions()
Number of times merchant's products are shown.
|
Double |
getItemDaysToShip()
Average number of days between an item being ordered and the item being **This metric cannot be
segmented by customer_country_code.**
|
Double |
getItemFillRate()
Percentage of shipped items in relation to all finalized items (shipped or rejected by the
merchant; unshipped items are not taken into account), reported on the order date.
|
Long |
getOrderedItems()
Number of ordered items.
|
Long |
getOrderedItemSalesMicros()
Total price of ordered items in micros (1 millionth of a standard unit, 1 USD = 1000000
micros).
|
Long |
getOrders()
Number of placed orders.
|
Long |
getRejectedItems()
Number of ordered items canceled by the merchant, reported on the order date.
|
Long |
getReturnedItems()
Number of ordered items sent back for return, reported on the date when the merchant accepted
the return.
|
Double |
getReturnRate()
Total price of returned items divided by the total price of shipped items, reported on the
order date.
|
Long |
getReturnsMicros()
Total price of ordered items sent back for return in micros (1 millionth of a standard unit, 1
USD = 1000000 micros), reported on the date when the merchant accepted the return.
|
Long |
getShippedItems()
Number of shipped items, reported on the shipment date.
|
Long |
getShippedItemSalesMicros()
Total price of shipped items in micros (1 millionth of a standard unit, 1 USD = 1000000
micros), reported on the order date.
|
Long |
getShippedOrders()
Number of fully shipped orders, reported on the last shipment date.
|
Double |
getUnshippedItems()
Number of ordered items not shipped up until the end of the queried day.
|
Double |
getUnshippedOrders()
Number of orders not shipped or partially shipped up until the end of the queried day.
|
Metrics |
set(String fieldName,
Object value) |
Metrics |
setAos(Double aos)
Average order size - the average number of items in an order.
|
Metrics |
setAovMicros(Double aovMicros)
Average order value in micros (1 millionth of a standard unit, 1 USD = 1000000 micros) - the
average value (total price of items) of all placed orders.
|
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)
Average number of days between an order being placed and the order being fully shipped,
reported on the last shipment date.
|
Metrics |
setImpressions(Long impressions)
Number of times merchant's products are shown.
|
Metrics |
setItemDaysToShip(Double itemDaysToShip)
Average number of days between an item being ordered and the item being **This metric cannot be
segmented by customer_country_code.**
|
Metrics |
setItemFillRate(Double itemFillRate)
Percentage of shipped items in relation to all finalized items (shipped or rejected by the
merchant; unshipped items are not taken into account), reported on the order date.
|
Metrics |
setOrderedItems(Long orderedItems)
Number of ordered items.
|
Metrics |
setOrderedItemSalesMicros(Long orderedItemSalesMicros)
Total price of ordered items in micros (1 millionth of a standard unit, 1 USD = 1000000
micros).
|
Metrics |
setOrders(Long orders)
Number of placed orders.
|
Metrics |
setRejectedItems(Long rejectedItems)
Number of ordered items canceled by the merchant, reported on the order date.
|
Metrics |
setReturnedItems(Long returnedItems)
Number of ordered items sent back for return, reported on the date when the merchant accepted
the return.
|
Metrics |
setReturnRate(Double returnRate)
Total price of returned items divided by the total price of shipped items, reported on the
order date.
|
Metrics |
setReturnsMicros(Long returnsMicros)
Total price of ordered items sent back for return in micros (1 millionth of a standard unit, 1
USD = 1000000 micros), reported on the date when the merchant accepted the return.
|
Metrics |
setShippedItems(Long shippedItems)
Number of shipped items, reported on the shipment date.
|
Metrics |
setShippedItemSalesMicros(Long shippedItemSalesMicros)
Total price of shipped items in micros (1 millionth of a standard unit, 1 USD = 1000000
micros), reported on the order date.
|
Metrics |
setShippedOrders(Long shippedOrders)
Number of fully shipped orders, reported on the last shipment date.
|
Metrics |
setUnshippedItems(Double unshippedItems)
Number of ordered items not shipped up until the end of the queried day.
|
Metrics |
setUnshippedOrders(Double unshippedOrders)
Number of orders not shipped or partially shipped up until the end of the queried day.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic 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.GenericJsonpublic Metrics clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.