View Source GoogleApi.MerchantAPI.Reports_v1beta.Model.BestSellersBrandView (google_api_merchant_api v0.3.0)

Fields available for query in best_sellers_brand_view table. Best sellers report with top brands. Values are only set for fields requested explicitly in the request's search query.

Attributes

  • brand (type: String.t, default: nil) - Name of the brand.
  • previousRank (type: String.t, default: nil) - Popularity rank in the previous week or month.
  • previousRelativeDemand (type: String.t, default: nil) - Estimated demand in relation to the brand with the highest popularity rank in the same category and country in the previous week or month.
  • rank (type: String.t, default: nil) - Popularity of the brand on Ads and organic surfaces, in the selected category and country, based on the estimated number of units sold.
  • relativeDemand (type: String.t, default: nil) - Estimated demand in relation to the brand with the highest popularity rank in the same category and country.
  • relativeDemandChange (type: String.t, default: nil) - Change in the estimated demand. Whether it rose, sank or remained flat.
  • reportCategoryId (type: String.t, default: nil) - Google product category ID to calculate the ranking for, represented in Google's product taxonomy. Required in the SELECT clause. If a WHERE condition on report_category_id is not specified in the query, rankings for all top-level categories are returned.
  • reportCountryCode (type: String.t, default: nil) - Country where the ranking is calculated. Represented in the ISO 3166 format. Required in the SELECT clause. Condition on report_country_code is required in the WHERE clause.
  • reportDate (type: GoogleApi.MerchantAPI.Reports_v1beta.Model.Date.t, default: nil) - Report date. The value of this field can only be one of the following: The first day of the week (Monday) for weekly reports, The first day of the month for monthly reports. Required in the SELECT clause. If a WHERE condition on report_date is not specified in the query, the latest available weekly or monthly report is returned.
  • reportGranularity (type: String.t, default: nil) - Granularity of the report. The ranking can be done over a week or a month timeframe. Required in the SELECT clause. Condition on report_granularity is required in the WHERE clause.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.MerchantAPI.Reports_v1beta.Model.BestSellersBrandView{
  brand: String.t() | nil,
  previousRank: String.t() | nil,
  previousRelativeDemand: String.t() | nil,
  rank: String.t() | nil,
  relativeDemand: String.t() | nil,
  relativeDemandChange: String.t() | nil,
  reportCategoryId: String.t() | nil,
  reportCountryCode: String.t() | nil,
  reportDate: GoogleApi.MerchantAPI.Reports_v1beta.Model.Date.t() | nil,
  reportGranularity: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.