Class: Google::Apis::MerchantapiReportsV1beta::ReportRow

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/merchantapi_reports_v1beta/classes.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb,
lib/google/apis/merchantapi_reports_v1beta/representations.rb

Overview

Result row returned from the search query. Only the message corresponding to the queried table is populated in the response. Within the populated message, only the fields requested explicitly in the query are populated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportRow

Returns a new instance of ReportRow.



1748
1749
1750
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1748

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#best_sellers_brand_viewGoogle::Apis::MerchantapiReportsV1beta::BestSellersBrandView

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. Corresponds to the JSON property bestSellersBrandView



1664
1665
1666
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1664

def best_sellers_brand_view
  @best_sellers_brand_view
end

#best_sellers_product_cluster_viewGoogle::Apis::MerchantapiReportsV1beta::BestSellersProductClusterView

Fields available for query in best_sellers_product_cluster_view table. Best sellers report with top product clusters. A product cluster is a grouping for different offers and variants that represent the same product, for example, Google Pixel 7. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property bestSellersProductClusterView



1673
1674
1675
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1673

def best_sellers_product_cluster_view
  @best_sellers_product_cluster_view
end

#competitive_visibility_benchmark_viewGoogle::Apis::MerchantapiReportsV1beta::CompetitiveVisibilityBenchmarkView

Fields available for query in competitive_visibility_benchmark_view table. Competitive visibility report with the category benchmark. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property competitiveVisibilityBenchmarkView



1681
1682
1683
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1681

def competitive_visibility_benchmark_view
  @competitive_visibility_benchmark_view
end

#competitive_visibility_competitor_viewGoogle::Apis::MerchantapiReportsV1beta::CompetitiveVisibilityCompetitorView

Fields available for query in competitive_visibility_competitor_view table. Competitive visibility report with businesses with similar visibility. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property competitiveVisibilityCompetitorView



1689
1690
1691
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1689

def competitive_visibility_competitor_view
  @competitive_visibility_competitor_view
end

#competitive_visibility_top_merchant_viewGoogle::Apis::MerchantapiReportsV1beta::CompetitiveVisibilityTopMerchantView

Fields available for query in competitive_visibility_top_merchant_view table. Competitive visibility report with business with highest visibility. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property competitiveVisibilityTopMerchantView



1697
1698
1699
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1697

def competitive_visibility_top_merchant_view
  @competitive_visibility_top_merchant_view
end

#non_product_performance_viewGoogle::Apis::MerchantapiReportsV1beta::NonProductPerformanceView

Fields available for query in non_product_performance_view table. Performance data on images and online store links leading to your non-product pages. This includes performance metrics (for example, clicks) and dimensions according to which performance metrics are segmented (for example, date). Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property nonProductPerformanceView



1708
1709
1710
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1708

def non_product_performance_view
  @non_product_performance_view
end

#price_competitiveness_product_viewGoogle::Apis::MerchantapiReportsV1beta::PriceCompetitivenessProductView

Fields available for query in price_competitiveness_product_view table. Price competitiveness report. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property priceCompetitivenessProductView



1716
1717
1718
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1716

def price_competitiveness_product_view
  @price_competitiveness_product_view
end

#price_insights_product_viewGoogle::Apis::MerchantapiReportsV1beta::PriceInsightsProductView

Fields available for query in price_insights_product_view table. Price insights report. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property priceInsightsProductView



1723
1724
1725
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1723

def price_insights_product_view
  @price_insights_product_view
end

#product_performance_viewGoogle::Apis::MerchantapiReportsV1beta::ProductPerformanceView

Fields available for query in product_performance_view table. Product performance data for your account, including performance metrics (for example, clicks) and dimensions according to which performance metrics are segmented ( for example, offer_id). Values of product dimensions, such as offer_id, reflect the state of a product at the time of the impression. Segment fields cannot be selected in queries without also selecting at least one metric field. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property productPerformanceView



1735
1736
1737
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1735

def product_performance_view
  @product_performance_view
end

#product_viewGoogle::Apis::MerchantapiReportsV1beta::ProductView

Fields available for query in product_view table. Products in the current inventory. Products in this table are the same as in Products sub-API but not all product attributes from Products sub-API are available for query in this table. In contrast to Products sub-API, this table allows to filter the returned list of products by product attributes. To retrieve a single product by id or list all products, Products sub-API should be used. Values are only set for fields requested explicitly in the request's search query. Corresponds to the JSON property productView



1746
1747
1748
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1746

def product_view
  @product_view
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
# File 'lib/google/apis/merchantapi_reports_v1beta/classes.rb', line 1753

def update!(**args)
  @best_sellers_brand_view = args[:best_sellers_brand_view] if args.key?(:best_sellers_brand_view)
  @best_sellers_product_cluster_view = args[:best_sellers_product_cluster_view] if args.key?(:best_sellers_product_cluster_view)
  @competitive_visibility_benchmark_view = args[:competitive_visibility_benchmark_view] if args.key?(:competitive_visibility_benchmark_view)
  @competitive_visibility_competitor_view = args[:competitive_visibility_competitor_view] if args.key?(:competitive_visibility_competitor_view)
  @competitive_visibility_top_merchant_view = args[:competitive_visibility_top_merchant_view] if args.key?(:competitive_visibility_top_merchant_view)
  @non_product_performance_view = args[:non_product_performance_view] if args.key?(:non_product_performance_view)
  @price_competitiveness_product_view = args[:price_competitiveness_product_view] if args.key?(:price_competitiveness_product_view)
  @price_insights_product_view = args[:price_insights_product_view] if args.key?(:price_insights_product_view)
  @product_performance_view = args[:product_performance_view] if args.key?(:product_performance_view)
  @product_view = args[:product_view] if args.key?(:product_view)
end