View Source GoogleApi.Content.V21.Model.Metrics (google_api_content v0.61.1)

Performance metrics. Values are only set for metrics requested explicitly in the request's search query.

Attributes

  • aos (type: float(), default: nil) - Average order size - the average number of items in an order. This metric cannot be segmented by product dimensions.
  • aovMicros (type: float(), default: nil) - Average order value - the average value (total price of items) of all placed orders. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response. This metric cannot be segmented by product dimensions.
  • clicks (type: String.t, default: nil) - Number of clicks.
  • ctr (type: float(), default: nil) - Click-through rate - the number of clicks merchant's products receive (clicks) divided by the number of times the products are shown (impressions).
  • daysToShip (type: float(), default: nil) - Average number of days between an order being placed and the order being fully shipped, reported on the last shipment date. This metric cannot be segmented by product dimensions.
  • impressions (type: String.t, default: nil) - Number of times merchant's products are shown.
  • itemDaysToShip (type: float(), default: nil) - Average number of days between an item being ordered and the item being
  • itemFillRate (type: float(), default: nil) - 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. Item fill rate is lowered by merchant rejections.
  • orderedItemSalesMicros (type: String.t, default: nil) - Total price of ordered items. Excludes shipping, taxes (US only), and customer cancellations that happened within 30 minutes of placing the order. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.
  • orderedItems (type: String.t, default: nil) - Number of ordered items. Excludes customer cancellations that happened within 30 minutes of placing the order.
  • orders (type: String.t, default: nil) - Number of placed orders. Excludes customer cancellations that happened within 30 minutes of placing the order. This metric cannot be segmented by product dimensions.
  • rejectedItems (type: String.t, default: nil) - Number of ordered items canceled by the merchant, reported on the order date.
  • returnRate (type: float(), default: nil) - Total price of returned items divided by the total price of shipped items, reported on the order date. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.
  • returnedItems (type: String.t, default: nil) - Number of ordered items sent back for return, reported on the date when the merchant accepted the return.
  • returnsMicros (type: String.t, default: nil) - Total price of ordered items sent back for return, reported on the date when the merchant accepted the return. The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.
  • shippedItemSalesMicros (type: String.t, default: nil) - Total price of shipped items, reported on the order date. Excludes shipping and taxes (US only). The currency of the returned value is stored in the currency_code segment. If this metric is selected, 'segments.currency_code' is automatically added to the SELECT clause in the search query (unless it is explicitly selected by the user) and the currency_code segment is populated in the response.
  • shippedItems (type: String.t, default: nil) - Number of shipped items, reported on the shipment date.
  • shippedOrders (type: String.t, default: nil) - Number of fully shipped orders, reported on the last shipment date. This metric cannot be segmented by product dimensions.
  • unshippedItems (type: float(), default: nil) - Number of ordered items not shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped items over the days in the queried period.
  • unshippedOrders (type: float(), default: nil) - Number of orders not shipped or partially shipped up until the end of the queried day. If a multi-day period is specified in the search query, the returned value is the average number of unshipped orders over the days in the queried period. This metric cannot be segmented by product dimensions.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.Metrics{
  aos: float() | nil,
  aovMicros: float() | nil,
  clicks: String.t() | nil,
  ctr: float() | nil,
  daysToShip: float() | nil,
  impressions: String.t() | nil,
  itemDaysToShip: float() | nil,
  itemFillRate: float() | nil,
  orderedItemSalesMicros: String.t() | nil,
  orderedItems: String.t() | nil,
  orders: String.t() | nil,
  rejectedItems: String.t() | nil,
  returnRate: float() | nil,
  returnedItems: String.t() | nil,
  returnsMicros: String.t() | nil,
  shippedItemSalesMicros: String.t() | nil,
  shippedItems: String.t() | nil,
  shippedOrders: String.t() | nil,
  unshippedItems: float() | nil,
  unshippedOrders: float() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.