GoogleApi.Content.V21.Model.Segments (google_api_content v0.58.1) View Source

Dimensions according to which metrics are segmented in the response. Values of product dimensions, e.g., offer id, reflect the state of a product at the time of the corresponding event, e.g., impression or order. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for dimensions requested explicitly in the request's search query.


  • date (type: GoogleApi.Content.V21.Model.Date.t, default: nil) - Date in the merchant timezone to which metrics apply.
  • offerId (type: String.t, default: nil) - Merchant-provided id of the product.
  • program (type: String.t, default: nil) - Program to which metrics apply, e.g., Free Product Listing.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Content.V21.Model.Segments{
  date: GoogleApi.Content.V21.Model.Date.t() | nil,
  offerId: String.t() | nil,
  program: String.t() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.