reportspb

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProductView_AggregatedReportingContextStatus_name = map[int32]string{
		0: "AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED",
		1: "NOT_ELIGIBLE_OR_DISAPPROVED",
		2: "PENDING",
		3: "ELIGIBLE_LIMITED",
		4: "ELIGIBLE",
	}
	ProductView_AggregatedReportingContextStatus_value = map[string]int32{
		"AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED": 0,
		"NOT_ELIGIBLE_OR_DISAPPROVED":                     1,
		"PENDING":                                         2,
		"ELIGIBLE_LIMITED":                                3,
		"ELIGIBLE":                                        4,
	}
)

Enum value maps for ProductView_AggregatedReportingContextStatus.

View Source
var (
	ProductView_ClickPotential_name = map[int32]string{
		0: "CLICK_POTENTIAL_UNSPECIFIED",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
	}
	ProductView_ClickPotential_value = map[string]int32{
		"CLICK_POTENTIAL_UNSPECIFIED": 0,
		"LOW":                         1,
		"MEDIUM":                      2,
		"HIGH":                        3,
	}
)

Enum value maps for ProductView_ClickPotential.

View Source
var (
	ProductView_ItemIssue_ItemIssueResolution_name = map[int32]string{
		0: "ITEM_ISSUE_RESOLUTION_UNSPECIFIED",
		1: "MERCHANT_ACTION",
		2: "PENDING_PROCESSING",
	}
	ProductView_ItemIssue_ItemIssueResolution_value = map[string]int32{
		"ITEM_ISSUE_RESOLUTION_UNSPECIFIED": 0,
		"MERCHANT_ACTION":                   1,
		"PENDING_PROCESSING":                2,
	}
)

Enum value maps for ProductView_ItemIssue_ItemIssueResolution.

View Source
var (
	ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity_name = map[int32]string{
		0: "AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED",
		1: "DISAPPROVED",
		2: "DEMOTED",
		3: "PENDING",
	}
	ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity_value = map[string]int32{
		"AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED": 0,
		"DISAPPROVED":                           1,
		"DEMOTED":                               2,
		"PENDING":                               3,
	}
)

Enum value maps for ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity.

View Source
var (
	PriceInsightsProductView_Effectiveness_name = map[int32]string{
		0: "EFFECTIVENESS_UNSPECIFIED",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
	}
	PriceInsightsProductView_Effectiveness_value = map[string]int32{
		"EFFECTIVENESS_UNSPECIFIED": 0,
		"LOW":                       1,
		"MEDIUM":                    2,
		"HIGH":                      3,
	}
)

Enum value maps for PriceInsightsProductView_Effectiveness.

View Source
var (
	BestSellersProductClusterView_InventoryStatus_name = map[int32]string{
		0: "INVENTORY_STATUS_UNSPECIFIED",
		1: "IN_STOCK",
		2: "OUT_OF_STOCK",
		3: "NOT_IN_INVENTORY",
	}
	BestSellersProductClusterView_InventoryStatus_value = map[string]int32{
		"INVENTORY_STATUS_UNSPECIFIED": 0,
		"IN_STOCK":                     1,
		"OUT_OF_STOCK":                 2,
		"NOT_IN_INVENTORY":             3,
	}
)

Enum value maps for BestSellersProductClusterView_InventoryStatus.

View Source
var (
	MarketingMethod_MarketingMethodEnum_name = map[int32]string{
		0: "MARKETING_METHOD_ENUM_UNSPECIFIED",
		1: "ORGANIC",
		2: "ADS",
	}
	MarketingMethod_MarketingMethodEnum_value = map[string]int32{
		"MARKETING_METHOD_ENUM_UNSPECIFIED": 0,
		"ORGANIC":                           1,
		"ADS":                               2,
	}
)

Enum value maps for MarketingMethod_MarketingMethodEnum.

View Source
var (
	ReportGranularity_ReportGranularityEnum_name = map[int32]string{
		0: "REPORT_GRANULARITY_ENUM_UNSPECIFIED",
		1: "WEEKLY",
		2: "MONTHLY",
	}
	ReportGranularity_ReportGranularityEnum_value = map[string]int32{
		"REPORT_GRANULARITY_ENUM_UNSPECIFIED": 0,
		"WEEKLY":                              1,
		"MONTHLY":                             2,
	}
)

Enum value maps for ReportGranularity_ReportGranularityEnum.

View Source
var (
	RelativeDemand_RelativeDemandEnum_name = map[int32]string{
		0:  "RELATIVE_DEMAND_ENUM_UNSPECIFIED",
		10: "VERY_LOW",
		20: "LOW",
		30: "MEDIUM",
		40: "HIGH",
		50: "VERY_HIGH",
	}
	RelativeDemand_RelativeDemandEnum_value = map[string]int32{
		"RELATIVE_DEMAND_ENUM_UNSPECIFIED": 0,
		"VERY_LOW":                         10,
		"LOW":                              20,
		"MEDIUM":                           30,
		"HIGH":                             40,
		"VERY_HIGH":                        50,
	}
)

Enum value maps for RelativeDemand_RelativeDemandEnum.

View Source
var (
	RelativeDemandChangeType_RelativeDemandChangeTypeEnum_name = map[int32]string{
		0: "RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED",
		1: "SINKER",
		2: "FLAT",
		3: "RISER",
	}
	RelativeDemandChangeType_RelativeDemandChangeTypeEnum_value = map[string]int32{
		"RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED": 0,
		"SINKER": 1,
		"FLAT":   2,
		"RISER":  3,
	}
)

Enum value maps for RelativeDemandChangeType_RelativeDemandChangeTypeEnum.

View Source
var (
	TrafficSource_TrafficSourceEnum_name = map[int32]string{
		0: "TRAFFIC_SOURCE_ENUM_UNSPECIFIED",
		1: "ORGANIC",
		2: "ADS",
		3: "ALL",
	}
	TrafficSource_TrafficSourceEnum_value = map[string]int32{
		"TRAFFIC_SOURCE_ENUM_UNSPECIFIED": 0,
		"ORGANIC":                         1,
		"ADS":                             2,
		"ALL":                             3,
	}
)

Enum value maps for TrafficSource_TrafficSourceEnum.

View Source
var File_google_shopping_merchant_reports_v1beta_reports_proto protoreflect.FileDescriptor

Functions

func RegisterReportServiceServer

func RegisterReportServiceServer(s *grpc.Server, srv ReportServiceServer)

Types

type BestSellersBrandView

type BestSellersBrandView struct {

	// 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.
	ReportDate *date.Date `protobuf:"bytes,1,opt,name=report_date,json=reportDate,proto3" json:"report_date,omitempty"`
	// 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.
	ReportGranularity *ReportGranularity_ReportGranularityEnum `` /* 204-byte string literal not displayed */
	// 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.
	ReportCountryCode *string `protobuf:"bytes,3,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
	// Google product category ID to calculate the ranking for, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	//
	// 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.
	ReportCategoryId *int64 `protobuf:"varint,4,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
	// Name of the brand.
	Brand *string `protobuf:"bytes,6,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
	// Popularity of the brand on Ads and organic surfaces, in the selected
	// category and country, based on the estimated number of units sold.
	Rank *int64 `protobuf:"varint,7,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
	// Popularity rank in the previous week or month.
	PreviousRank *int64 `protobuf:"varint,8,opt,name=previous_rank,json=previousRank,proto3,oneof" json:"previous_rank,omitempty"`
	// Estimated demand in relation to the brand with the highest popularity rank
	// in the same category and country.
	RelativeDemand *RelativeDemand_RelativeDemandEnum `` /* 189-byte string literal not displayed */
	// Estimated demand in relation to the brand with the highest popularity rank
	// in the same category and country in the previous week or month.
	PreviousRelativeDemand *RelativeDemand_RelativeDemandEnum `` /* 216-byte string literal not displayed */
	// Change in the estimated demand. Whether it rose, sank or remained flat.
	RelativeDemandChange *RelativeDemandChangeType_RelativeDemandChangeTypeEnum `` /* 230-byte string literal not displayed */
	// contains filtered or unexported fields
}

Fields available for query in `best_sellers_brand_view` table.

[Best sellers](https://support.google.com/merchants/answer/9488679) report with top brands.

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

func (*BestSellersBrandView) Descriptor deprecated

func (*BestSellersBrandView) Descriptor() ([]byte, []int)

Deprecated: Use BestSellersBrandView.ProtoReflect.Descriptor instead.

func (*BestSellersBrandView) GetBrand

func (x *BestSellersBrandView) GetBrand() string

func (*BestSellersBrandView) GetPreviousRank

func (x *BestSellersBrandView) GetPreviousRank() int64

func (*BestSellersBrandView) GetPreviousRelativeDemand

func (x *BestSellersBrandView) GetPreviousRelativeDemand() RelativeDemand_RelativeDemandEnum

func (*BestSellersBrandView) GetRank

func (x *BestSellersBrandView) GetRank() int64

func (*BestSellersBrandView) GetRelativeDemand

func (*BestSellersBrandView) GetRelativeDemandChange

func (*BestSellersBrandView) GetReportCategoryId

func (x *BestSellersBrandView) GetReportCategoryId() int64

func (*BestSellersBrandView) GetReportCountryCode

func (x *BestSellersBrandView) GetReportCountryCode() string

func (*BestSellersBrandView) GetReportDate

func (x *BestSellersBrandView) GetReportDate() *date.Date

func (*BestSellersBrandView) GetReportGranularity

func (*BestSellersBrandView) ProtoMessage

func (*BestSellersBrandView) ProtoMessage()

func (*BestSellersBrandView) ProtoReflect

func (x *BestSellersBrandView) ProtoReflect() protoreflect.Message

func (*BestSellersBrandView) Reset

func (x *BestSellersBrandView) Reset()

func (*BestSellersBrandView) String

func (x *BestSellersBrandView) String() string

type BestSellersProductClusterView

type BestSellersProductClusterView struct {

	// 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.
	ReportDate *date.Date `protobuf:"bytes,1,opt,name=report_date,json=reportDate,proto3" json:"report_date,omitempty"`
	// 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.
	ReportGranularity *ReportGranularity_ReportGranularityEnum `` /* 204-byte string literal not displayed */
	// 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.
	ReportCountryCode *string `protobuf:"bytes,3,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
	// Google product category ID to calculate the ranking for, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	//
	// 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.
	ReportCategoryId *int64 `protobuf:"varint,4,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
	// Title of the product cluster.
	Title *string `protobuf:"bytes,6,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// Brand of the product cluster.
	Brand *string `protobuf:"bytes,7,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
	// Product category (1st level) of the product cluster, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL1 *string `protobuf:"bytes,8,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
	// Product category (2nd level) of the product cluster, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL2 *string `protobuf:"bytes,9,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
	// Product category (3rd level) of the product cluster, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL3 *string `protobuf:"bytes,10,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
	// Product category (4th level) of the product cluster, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL4 *string `protobuf:"bytes,11,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
	// Product category (5th level) of the product cluster, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL5 *string `protobuf:"bytes,12,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
	// GTINs of example variants of the product cluster.
	VariantGtins []string `protobuf:"bytes,13,rep,name=variant_gtins,json=variantGtins,proto3" json:"variant_gtins,omitempty"`
	// Whether the product cluster is `IN_STOCK` in your product data source in at
	// least one of the countries, `OUT_OF_STOCK` in your product data source in
	// all countries, or `NOT_IN_INVENTORY` at all.
	//
	// The field doesn't take the Best sellers report country filter into account.
	InventoryStatus *BestSellersProductClusterView_InventoryStatus `` /* 205-byte string literal not displayed */
	// Whether there is at least one product of the brand currently `IN_STOCK` in
	// your product data source in at least one of the countries, all products are
	// `OUT_OF_STOCK` in your product data source in all countries, or
	// `NOT_IN_INVENTORY`.
	//
	// The field doesn't take the Best sellers report country filter into account.
	BrandInventoryStatus *BestSellersProductClusterView_InventoryStatus `` /* 222-byte string literal not displayed */
	// Popularity of the product cluster on Ads and organic surfaces, in the
	// selected category and country, based on the estimated number of units sold.
	Rank *int64 `protobuf:"varint,16,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
	// Popularity rank in the previous week or month.
	PreviousRank *int64 `protobuf:"varint,17,opt,name=previous_rank,json=previousRank,proto3,oneof" json:"previous_rank,omitempty"`
	// Estimated demand in relation to the product cluster with the highest
	// popularity rank in the same category and country.
	RelativeDemand *RelativeDemand_RelativeDemandEnum `` /* 190-byte string literal not displayed */
	// Estimated demand in relation to the product cluster with the highest
	// popularity rank in the same category and country in the previous week or
	// month.
	PreviousRelativeDemand *RelativeDemand_RelativeDemandEnum `` /* 216-byte string literal not displayed */
	// Change in the estimated demand. Whether it rose, sank or remained flat.
	RelativeDemandChange *RelativeDemandChangeType_RelativeDemandChangeTypeEnum `` /* 230-byte string literal not displayed */
	// contains filtered or unexported fields
}

Fields available for query in `best_sellers_product_cluster_view` table.

[Best sellers](https://support.google.com/merchants/answer/9488679) 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.

func (*BestSellersProductClusterView) Descriptor deprecated

func (*BestSellersProductClusterView) Descriptor() ([]byte, []int)

Deprecated: Use BestSellersProductClusterView.ProtoReflect.Descriptor instead.

func (*BestSellersProductClusterView) GetBrand

func (x *BestSellersProductClusterView) GetBrand() string

func (*BestSellersProductClusterView) GetBrandInventoryStatus

func (*BestSellersProductClusterView) GetCategoryL1

func (x *BestSellersProductClusterView) GetCategoryL1() string

func (*BestSellersProductClusterView) GetCategoryL2

func (x *BestSellersProductClusterView) GetCategoryL2() string

func (*BestSellersProductClusterView) GetCategoryL3

func (x *BestSellersProductClusterView) GetCategoryL3() string

func (*BestSellersProductClusterView) GetCategoryL4

func (x *BestSellersProductClusterView) GetCategoryL4() string

func (*BestSellersProductClusterView) GetCategoryL5

func (x *BestSellersProductClusterView) GetCategoryL5() string

func (*BestSellersProductClusterView) GetInventoryStatus

func (*BestSellersProductClusterView) GetPreviousRank

func (x *BestSellersProductClusterView) GetPreviousRank() int64

func (*BestSellersProductClusterView) GetPreviousRelativeDemand

func (*BestSellersProductClusterView) GetRank

func (x *BestSellersProductClusterView) GetRank() int64

func (*BestSellersProductClusterView) GetRelativeDemand

func (*BestSellersProductClusterView) GetRelativeDemandChange

func (*BestSellersProductClusterView) GetReportCategoryId

func (x *BestSellersProductClusterView) GetReportCategoryId() int64

func (*BestSellersProductClusterView) GetReportCountryCode

func (x *BestSellersProductClusterView) GetReportCountryCode() string

func (*BestSellersProductClusterView) GetReportDate

func (x *BestSellersProductClusterView) GetReportDate() *date.Date

func (*BestSellersProductClusterView) GetReportGranularity

func (*BestSellersProductClusterView) GetTitle

func (x *BestSellersProductClusterView) GetTitle() string

func (*BestSellersProductClusterView) GetVariantGtins

func (x *BestSellersProductClusterView) GetVariantGtins() []string

func (*BestSellersProductClusterView) ProtoMessage

func (*BestSellersProductClusterView) ProtoMessage()

func (*BestSellersProductClusterView) ProtoReflect

func (*BestSellersProductClusterView) Reset

func (x *BestSellersProductClusterView) Reset()

func (*BestSellersProductClusterView) String

type BestSellersProductClusterView_InventoryStatus

type BestSellersProductClusterView_InventoryStatus int32

Status of the product cluster or brand in your inventory.

const (
	// Not specified.
	BestSellersProductClusterView_INVENTORY_STATUS_UNSPECIFIED BestSellersProductClusterView_InventoryStatus = 0
	// You have a product for this product cluster or brand in stock.
	BestSellersProductClusterView_IN_STOCK BestSellersProductClusterView_InventoryStatus = 1
	// You have a product for this product cluster or brand in inventory but it
	// is currently out of stock.
	BestSellersProductClusterView_OUT_OF_STOCK BestSellersProductClusterView_InventoryStatus = 2
	// You do not have a product for this product cluster or brand in inventory.
	BestSellersProductClusterView_NOT_IN_INVENTORY BestSellersProductClusterView_InventoryStatus = 3
)

func (BestSellersProductClusterView_InventoryStatus) Descriptor

func (BestSellersProductClusterView_InventoryStatus) Enum

func (BestSellersProductClusterView_InventoryStatus) EnumDescriptor deprecated

func (BestSellersProductClusterView_InventoryStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use BestSellersProductClusterView_InventoryStatus.Descriptor instead.

func (BestSellersProductClusterView_InventoryStatus) Number

func (BestSellersProductClusterView_InventoryStatus) String

func (BestSellersProductClusterView_InventoryStatus) Type

type CompetitiveVisibilityBenchmarkView

type CompetitiveVisibilityBenchmarkView struct {

	// Date of this row.
	//
	// Required in the `SELECT` clause. A condition on `date` is required in the
	// `WHERE` clause.
	Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Country where impressions appeared.
	//
	// Required in the `SELECT` clause. A condition on `report_country_code` is
	// required in the `WHERE` clause.
	ReportCountryCode *string `protobuf:"bytes,2,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
	// Google product category ID to calculate the report for, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	//
	// Required in the `SELECT` clause. A condition on `report_category_id` is
	// required in the `WHERE` clause.
	ReportCategoryId *int64 `protobuf:"varint,3,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
	// Traffic source of impressions.
	//
	// Required in the `SELECT` clause.
	TrafficSource *TrafficSource_TrafficSourceEnum `` /* 184-byte string literal not displayed */
	// Change in visibility based on impressions for your domain with respect to
	// the start of the selected time range (or first day with non-zero
	// impressions).
	//
	// Cannot be filtered on in the 'WHERE' clause.
	YourDomainVisibilityTrend *float64 `` /* 148-byte string literal not displayed */
	// Change in visibility based on impressions with respect to the start of the
	// selected time range (or first day with non-zero impressions) for a
	// combined set of merchants with highest visibility approximating the
	// market.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	CategoryBenchmarkVisibilityTrend *float64 `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Fields available for query in `competitive_visibility_benchmark_view` table.

[Competitive visibility](https://support.google.com/merchants/answer/11366442) report with the category benchmark.

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

func (*CompetitiveVisibilityBenchmarkView) Descriptor deprecated

func (*CompetitiveVisibilityBenchmarkView) Descriptor() ([]byte, []int)

Deprecated: Use CompetitiveVisibilityBenchmarkView.ProtoReflect.Descriptor instead.

func (*CompetitiveVisibilityBenchmarkView) GetCategoryBenchmarkVisibilityTrend

func (x *CompetitiveVisibilityBenchmarkView) GetCategoryBenchmarkVisibilityTrend() float64

func (*CompetitiveVisibilityBenchmarkView) GetDate

func (*CompetitiveVisibilityBenchmarkView) GetReportCategoryId

func (x *CompetitiveVisibilityBenchmarkView) GetReportCategoryId() int64

func (*CompetitiveVisibilityBenchmarkView) GetReportCountryCode

func (x *CompetitiveVisibilityBenchmarkView) GetReportCountryCode() string

func (*CompetitiveVisibilityBenchmarkView) GetTrafficSource

func (*CompetitiveVisibilityBenchmarkView) GetYourDomainVisibilityTrend

func (x *CompetitiveVisibilityBenchmarkView) GetYourDomainVisibilityTrend() float64

func (*CompetitiveVisibilityBenchmarkView) ProtoMessage

func (*CompetitiveVisibilityBenchmarkView) ProtoMessage()

func (*CompetitiveVisibilityBenchmarkView) ProtoReflect

func (*CompetitiveVisibilityBenchmarkView) Reset

func (*CompetitiveVisibilityBenchmarkView) String

type CompetitiveVisibilityCompetitorView

type CompetitiveVisibilityCompetitorView struct {

	// Date of this row.
	//
	// A condition on `date` is required in the `WHERE` clause.
	Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Domain of your competitor or your domain, if 'is_your_domain' is true.
	//
	// Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE'
	// clause.
	Domain *string `protobuf:"bytes,2,opt,name=domain,proto3,oneof" json:"domain,omitempty"`
	// True if this row contains data for your domain.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	IsYourDomain *bool `protobuf:"varint,3,opt,name=is_your_domain,json=isYourDomain,proto3,oneof" json:"is_your_domain,omitempty"`
	// Country where impressions appeared.
	//
	// Required in the `SELECT` clause. A condition on `report_country_code` is
	// required in the `WHERE` clause.
	ReportCountryCode *string `protobuf:"bytes,4,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
	// Google product category ID to calculate the report for, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	//
	// Required in the `SELECT` clause. A condition on `report_category_id` is
	// required in the `WHERE` clause.
	ReportCategoryId *int64 `protobuf:"varint,5,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
	// Traffic source of impressions.
	//
	// Required in the `SELECT` clause.
	TrafficSource *TrafficSource_TrafficSourceEnum `` /* 184-byte string literal not displayed */
	// Position of the domain in the similar businesses ranking for the selected
	// keys (`date`, `report_category_id`, `report_country_code`,
	// `traffic_source`) based on impressions. 1 is the highest.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	Rank *int64 `protobuf:"varint,7,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
	// [Ads / organic ratio]
	// (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio)
	// shows how often the domain receives impressions from Shopping ads compared
	// to organic traffic. The number is rounded and bucketed.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	AdsOrganicRatio *float64 `protobuf:"fixed64,8,opt,name=ads_organic_ratio,json=adsOrganicRatio,proto3,oneof" json:"ads_organic_ratio,omitempty"`
	// [Page overlap rate]
	// (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate)
	// shows how frequently competing retailers’ offers are shown together with
	// your offers on the same page.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	PageOverlapRate *float64 `protobuf:"fixed64,9,opt,name=page_overlap_rate,json=pageOverlapRate,proto3,oneof" json:"page_overlap_rate,omitempty"`
	// [Higher position rate]
	// (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate)
	// shows how often a competitor’s offer got placed in a higher position on the
	// page than your offer.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	HigherPositionRate *float64 `` /* 126-byte string literal not displayed */
	// [Relative visibility]
	// (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility)
	// shows how often your competitors’ offers are shown compared to your offers.
	// In other words, this is the number of displayed impressions of a competitor
	// retailer divided by the number of your displayed impressions during a
	// selected time range for a selected product category and country.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	RelativeVisibility *float64 `protobuf:"fixed64,11,opt,name=relative_visibility,json=relativeVisibility,proto3,oneof" json:"relative_visibility,omitempty"`
	// contains filtered or unexported fields
}

Fields available for query in `competitive_visibility_competitor_view` table.

[Competitive visibility](https://support.google.com/merchants/answer/11366442) report with businesses with similar visibility.

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

func (*CompetitiveVisibilityCompetitorView) Descriptor deprecated

func (*CompetitiveVisibilityCompetitorView) Descriptor() ([]byte, []int)

Deprecated: Use CompetitiveVisibilityCompetitorView.ProtoReflect.Descriptor instead.

func (*CompetitiveVisibilityCompetitorView) GetAdsOrganicRatio

func (x *CompetitiveVisibilityCompetitorView) GetAdsOrganicRatio() float64

func (*CompetitiveVisibilityCompetitorView) GetDate

func (*CompetitiveVisibilityCompetitorView) GetDomain

func (*CompetitiveVisibilityCompetitorView) GetHigherPositionRate

func (x *CompetitiveVisibilityCompetitorView) GetHigherPositionRate() float64

func (*CompetitiveVisibilityCompetitorView) GetIsYourDomain

func (x *CompetitiveVisibilityCompetitorView) GetIsYourDomain() bool

func (*CompetitiveVisibilityCompetitorView) GetPageOverlapRate

func (x *CompetitiveVisibilityCompetitorView) GetPageOverlapRate() float64

func (*CompetitiveVisibilityCompetitorView) GetRank

func (*CompetitiveVisibilityCompetitorView) GetRelativeVisibility

func (x *CompetitiveVisibilityCompetitorView) GetRelativeVisibility() float64

func (*CompetitiveVisibilityCompetitorView) GetReportCategoryId

func (x *CompetitiveVisibilityCompetitorView) GetReportCategoryId() int64

func (*CompetitiveVisibilityCompetitorView) GetReportCountryCode

func (x *CompetitiveVisibilityCompetitorView) GetReportCountryCode() string

func (*CompetitiveVisibilityCompetitorView) GetTrafficSource

func (*CompetitiveVisibilityCompetitorView) ProtoMessage

func (*CompetitiveVisibilityCompetitorView) ProtoMessage()

func (*CompetitiveVisibilityCompetitorView) ProtoReflect

func (*CompetitiveVisibilityCompetitorView) Reset

func (*CompetitiveVisibilityCompetitorView) String

type CompetitiveVisibilityTopMerchantView

type CompetitiveVisibilityTopMerchantView struct {

	// Date of this row.
	//
	// Cannot be selected in the `SELECT` clause. A condition on `date` is
	// required in the `WHERE` clause.
	Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Domain of your competitor or your domain, if 'is_your_domain' is true.
	//
	// Required in the `SELECT` clause. Cannot be filtered on in the 'WHERE'
	// clause.
	Domain *string `protobuf:"bytes,2,opt,name=domain,proto3,oneof" json:"domain,omitempty"`
	// True if this row contains data for your domain.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	IsYourDomain *bool `protobuf:"varint,3,opt,name=is_your_domain,json=isYourDomain,proto3,oneof" json:"is_your_domain,omitempty"`
	// Country where impressions appeared.
	//
	// Required in the `SELECT` clause. A condition on `report_country_code` is
	// required in the `WHERE` clause.
	ReportCountryCode *string `protobuf:"bytes,4,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
	// Google product category ID to calculate the report for, represented in
	// [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	//
	// Required in the `SELECT` clause. A condition on `report_category_id` is
	// required in the `WHERE` clause.
	ReportCategoryId *int64 `protobuf:"varint,5,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
	// Traffic source of impressions.
	//
	// Required in the `SELECT` clause.
	TrafficSource *TrafficSource_TrafficSourceEnum `` /* 184-byte string literal not displayed */
	// Position of the domain in the top merchants ranking for the selected keys
	// (`date`, `report_category_id`, `report_country_code`, `traffic_source`)
	// based on impressions. 1 is the highest.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	Rank *int64 `protobuf:"varint,7,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
	// [Ads / organic ratio]
	// (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio)
	// shows how often the domain receives impressions from Shopping ads compared
	// to organic traffic. The number is rounded and bucketed.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	AdsOrganicRatio *float64 `protobuf:"fixed64,8,opt,name=ads_organic_ratio,json=adsOrganicRatio,proto3,oneof" json:"ads_organic_ratio,omitempty"`
	// [Page overlap rate]
	// (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate)
	// shows how frequently competing retailers’ offers are shown together with
	// your offers on the same page.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	PageOverlapRate *float64 `protobuf:"fixed64,9,opt,name=page_overlap_rate,json=pageOverlapRate,proto3,oneof" json:"page_overlap_rate,omitempty"`
	// [Higher position rate]
	// (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate)
	// shows how often a competitor’s offer got placed in a higher position on the
	// page than your offer.
	//
	// Cannot be filtered on in the 'WHERE' clause.
	HigherPositionRate *float64 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Fields available for query in `competitive_visibility_top_merchant_view` table.

[Competitive visibility](https://support.google.com/merchants/answer/11366442) report with business with highest visibility.

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

func (*CompetitiveVisibilityTopMerchantView) Descriptor deprecated

func (*CompetitiveVisibilityTopMerchantView) Descriptor() ([]byte, []int)

Deprecated: Use CompetitiveVisibilityTopMerchantView.ProtoReflect.Descriptor instead.

func (*CompetitiveVisibilityTopMerchantView) GetAdsOrganicRatio

func (x *CompetitiveVisibilityTopMerchantView) GetAdsOrganicRatio() float64

func (*CompetitiveVisibilityTopMerchantView) GetDate

func (*CompetitiveVisibilityTopMerchantView) GetDomain

func (*CompetitiveVisibilityTopMerchantView) GetHigherPositionRate

func (x *CompetitiveVisibilityTopMerchantView) GetHigherPositionRate() float64

func (*CompetitiveVisibilityTopMerchantView) GetIsYourDomain

func (x *CompetitiveVisibilityTopMerchantView) GetIsYourDomain() bool

func (*CompetitiveVisibilityTopMerchantView) GetPageOverlapRate

func (x *CompetitiveVisibilityTopMerchantView) GetPageOverlapRate() float64

func (*CompetitiveVisibilityTopMerchantView) GetRank

func (*CompetitiveVisibilityTopMerchantView) GetReportCategoryId

func (x *CompetitiveVisibilityTopMerchantView) GetReportCategoryId() int64

func (*CompetitiveVisibilityTopMerchantView) GetReportCountryCode

func (x *CompetitiveVisibilityTopMerchantView) GetReportCountryCode() string

func (*CompetitiveVisibilityTopMerchantView) GetTrafficSource

func (*CompetitiveVisibilityTopMerchantView) ProtoMessage

func (*CompetitiveVisibilityTopMerchantView) ProtoMessage()

func (*CompetitiveVisibilityTopMerchantView) ProtoReflect

func (*CompetitiveVisibilityTopMerchantView) Reset

func (*CompetitiveVisibilityTopMerchantView) String

type MarketingMethod

type MarketingMethod struct {
	// contains filtered or unexported fields
}

Marketing method used to promote your products on Google (organic versus ads).

func (*MarketingMethod) Descriptor deprecated

func (*MarketingMethod) Descriptor() ([]byte, []int)

Deprecated: Use MarketingMethod.ProtoReflect.Descriptor instead.

func (*MarketingMethod) ProtoMessage

func (*MarketingMethod) ProtoMessage()

func (*MarketingMethod) ProtoReflect

func (x *MarketingMethod) ProtoReflect() protoreflect.Message

func (*MarketingMethod) Reset

func (x *MarketingMethod) Reset()

func (*MarketingMethod) String

func (x *MarketingMethod) String() string

type MarketingMethod_MarketingMethodEnum

type MarketingMethod_MarketingMethodEnum int32

Marketing method values.

const (
	// Not specified.
	MarketingMethod_MARKETING_METHOD_ENUM_UNSPECIFIED MarketingMethod_MarketingMethodEnum = 0
	// Organic marketing.
	MarketingMethod_ORGANIC MarketingMethod_MarketingMethodEnum = 1
	// Ads-based marketing.
	MarketingMethod_ADS MarketingMethod_MarketingMethodEnum = 2
)

func (MarketingMethod_MarketingMethodEnum) Descriptor

func (MarketingMethod_MarketingMethodEnum) Enum

func (MarketingMethod_MarketingMethodEnum) EnumDescriptor deprecated

func (MarketingMethod_MarketingMethodEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use MarketingMethod_MarketingMethodEnum.Descriptor instead.

func (MarketingMethod_MarketingMethodEnum) Number

func (MarketingMethod_MarketingMethodEnum) String

func (MarketingMethod_MarketingMethodEnum) Type

type NonProductPerformanceView added in v0.7.0

type NonProductPerformanceView struct {

	// Date in the merchant timezone to which metrics apply. Segment.
	//
	// Condition on `date` is required in the `WHERE` clause.
	Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// First day of the week (Monday) of the metrics date in the merchant
	// timezone. Segment.
	Week *date.Date `protobuf:"bytes,2,opt,name=week,proto3" json:"week,omitempty"`
	// Number of clicks on images and online store links leading to your
	// non-product pages. Metric.
	Clicks *int64 `protobuf:"varint,3,opt,name=clicks,proto3,oneof" json:"clicks,omitempty"`
	// Number of times images and online store links leading to your non-product
	// pages were shown. Metric.
	Impressions *int64 `protobuf:"varint,4,opt,name=impressions,proto3,oneof" json:"impressions,omitempty"`
	// Click-through rate - the number of clicks (`clicks`) divided by the number
	// of impressions (`impressions`) of images and online store links leading to
	// your non-product pages. Metric.
	ClickThroughRate *float64 `protobuf:"fixed64,5,opt,name=click_through_rate,json=clickThroughRate,proto3,oneof" json:"click_through_rate,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*NonProductPerformanceView) Descriptor deprecated added in v0.7.0

func (*NonProductPerformanceView) Descriptor() ([]byte, []int)

Deprecated: Use NonProductPerformanceView.ProtoReflect.Descriptor instead.

func (*NonProductPerformanceView) GetClickThroughRate added in v0.7.0

func (x *NonProductPerformanceView) GetClickThroughRate() float64

func (*NonProductPerformanceView) GetClicks added in v0.7.0

func (x *NonProductPerformanceView) GetClicks() int64

func (*NonProductPerformanceView) GetDate added in v0.7.0

func (x *NonProductPerformanceView) GetDate() *date.Date

func (*NonProductPerformanceView) GetImpressions added in v0.7.0

func (x *NonProductPerformanceView) GetImpressions() int64

func (*NonProductPerformanceView) GetWeek added in v0.7.0

func (x *NonProductPerformanceView) GetWeek() *date.Date

func (*NonProductPerformanceView) ProtoMessage added in v0.7.0

func (*NonProductPerformanceView) ProtoMessage()

func (*NonProductPerformanceView) ProtoReflect added in v0.7.0

func (*NonProductPerformanceView) Reset added in v0.7.0

func (x *NonProductPerformanceView) Reset()

func (*NonProductPerformanceView) String added in v0.7.0

func (x *NonProductPerformanceView) String() string

type PriceCompetitivenessProductView

type PriceCompetitivenessProductView struct {

	// Country of the price benchmark. Represented in the ISO 3166 format.
	//
	// Required in the `SELECT` clause.
	ReportCountryCode *string `protobuf:"bytes,1,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
	// REST ID of the product, in the form of
	// `channel~languageCode~feedLabel~offerId`. Can be used to join data with the
	// `product_view` table.
	//
	// Required in the `SELECT` clause.
	Id *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Merchant-provided id of the product.
	OfferId *string `protobuf:"bytes,3,opt,name=offer_id,json=offerId,proto3,oneof" json:"offer_id,omitempty"`
	// Title of the product.
	Title *string `protobuf:"bytes,4,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// Brand of the product.
	Brand *string `protobuf:"bytes,5,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
	// Product category (1st level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL1 *string `protobuf:"bytes,6,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
	// Product category (2nd level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL2 *string `protobuf:"bytes,7,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
	// Product category (3rd level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL3 *string `protobuf:"bytes,8,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
	// Product category (4th level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL4 *string `protobuf:"bytes,9,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
	// Product category (5th level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL5 *string `protobuf:"bytes,10,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
	// Product type (1st level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL1 *string `protobuf:"bytes,11,opt,name=product_type_l1,json=productTypeL1,proto3,oneof" json:"product_type_l1,omitempty"`
	// Product type (2nd level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL2 *string `protobuf:"bytes,12,opt,name=product_type_l2,json=productTypeL2,proto3,oneof" json:"product_type_l2,omitempty"`
	// Product type (3rd level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL3 *string `protobuf:"bytes,13,opt,name=product_type_l3,json=productTypeL3,proto3,oneof" json:"product_type_l3,omitempty"`
	// Product type (4th level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL4 *string `protobuf:"bytes,14,opt,name=product_type_l4,json=productTypeL4,proto3,oneof" json:"product_type_l4,omitempty"`
	// Product type (5th level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL5 *string `protobuf:"bytes,15,opt,name=product_type_l5,json=productTypeL5,proto3,oneof" json:"product_type_l5,omitempty"`
	// Current price of the product.
	Price *typepb.Price `protobuf:"bytes,16,opt,name=price,proto3" json:"price,omitempty"`
	// Latest available price benchmark for the product's catalog in the benchmark
	// country.
	BenchmarkPrice *typepb.Price `protobuf:"bytes,17,opt,name=benchmark_price,json=benchmarkPrice,proto3" json:"benchmark_price,omitempty"`
	// contains filtered or unexported fields
}

Fields available for query in `price_competitiveness_product_view` table.

[Price competitiveness](https://support.google.com/merchants/answer/9626903) report.

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

func (*PriceCompetitivenessProductView) Descriptor deprecated

func (*PriceCompetitivenessProductView) Descriptor() ([]byte, []int)

Deprecated: Use PriceCompetitivenessProductView.ProtoReflect.Descriptor instead.

func (*PriceCompetitivenessProductView) GetBenchmarkPrice

func (x *PriceCompetitivenessProductView) GetBenchmarkPrice() *typepb.Price

func (*PriceCompetitivenessProductView) GetBrand

func (*PriceCompetitivenessProductView) GetCategoryL1

func (x *PriceCompetitivenessProductView) GetCategoryL1() string

func (*PriceCompetitivenessProductView) GetCategoryL2

func (x *PriceCompetitivenessProductView) GetCategoryL2() string

func (*PriceCompetitivenessProductView) GetCategoryL3

func (x *PriceCompetitivenessProductView) GetCategoryL3() string

func (*PriceCompetitivenessProductView) GetCategoryL4

func (x *PriceCompetitivenessProductView) GetCategoryL4() string

func (*PriceCompetitivenessProductView) GetCategoryL5

func (x *PriceCompetitivenessProductView) GetCategoryL5() string

func (*PriceCompetitivenessProductView) GetId

func (*PriceCompetitivenessProductView) GetOfferId

func (x *PriceCompetitivenessProductView) GetOfferId() string

func (*PriceCompetitivenessProductView) GetPrice

func (*PriceCompetitivenessProductView) GetProductTypeL1

func (x *PriceCompetitivenessProductView) GetProductTypeL1() string

func (*PriceCompetitivenessProductView) GetProductTypeL2

func (x *PriceCompetitivenessProductView) GetProductTypeL2() string

func (*PriceCompetitivenessProductView) GetProductTypeL3

func (x *PriceCompetitivenessProductView) GetProductTypeL3() string

func (*PriceCompetitivenessProductView) GetProductTypeL4

func (x *PriceCompetitivenessProductView) GetProductTypeL4() string

func (*PriceCompetitivenessProductView) GetProductTypeL5

func (x *PriceCompetitivenessProductView) GetProductTypeL5() string

func (*PriceCompetitivenessProductView) GetReportCountryCode

func (x *PriceCompetitivenessProductView) GetReportCountryCode() string

func (*PriceCompetitivenessProductView) GetTitle

func (*PriceCompetitivenessProductView) ProtoMessage

func (*PriceCompetitivenessProductView) ProtoMessage()

func (*PriceCompetitivenessProductView) ProtoReflect

func (*PriceCompetitivenessProductView) Reset

func (*PriceCompetitivenessProductView) String

type PriceInsightsProductView

type PriceInsightsProductView struct {

	// REST ID of the product, in the form of
	// `channel~languageCode~feedLabel~offerId`. Can be used to join data with the
	// `product_view` table.
	//
	// Required in the `SELECT` clause.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Merchant-provided id of the product.
	OfferId *string `protobuf:"bytes,2,opt,name=offer_id,json=offerId,proto3,oneof" json:"offer_id,omitempty"`
	// Title of the product.
	Title *string `protobuf:"bytes,3,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// Brand of the product.
	Brand *string `protobuf:"bytes,4,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
	// Product category (1st level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL1 *string `protobuf:"bytes,5,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
	// Product category (2nd level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL2 *string `protobuf:"bytes,6,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
	// Product category (3rd level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL3 *string `protobuf:"bytes,7,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
	// Product category (4th level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL4 *string `protobuf:"bytes,8,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
	// Product category (5th level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL5 *string `protobuf:"bytes,9,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
	// Product type (1st level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL1 *string `protobuf:"bytes,10,opt,name=product_type_l1,json=productTypeL1,proto3,oneof" json:"product_type_l1,omitempty"`
	// Product type (2nd level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL2 *string `protobuf:"bytes,11,opt,name=product_type_l2,json=productTypeL2,proto3,oneof" json:"product_type_l2,omitempty"`
	// Product type (3rd level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL3 *string `protobuf:"bytes,12,opt,name=product_type_l3,json=productTypeL3,proto3,oneof" json:"product_type_l3,omitempty"`
	// Product type (4th level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL4 *string `protobuf:"bytes,13,opt,name=product_type_l4,json=productTypeL4,proto3,oneof" json:"product_type_l4,omitempty"`
	// Product type (5th level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL5 *string `protobuf:"bytes,14,opt,name=product_type_l5,json=productTypeL5,proto3,oneof" json:"product_type_l5,omitempty"`
	// Current price of the product.
	Price *typepb.Price `protobuf:"bytes,15,opt,name=price,proto3" json:"price,omitempty"`
	// Latest suggested price for the product.
	SuggestedPrice *typepb.Price `protobuf:"bytes,16,opt,name=suggested_price,json=suggestedPrice,proto3" json:"suggested_price,omitempty"`
	// Predicted change in impressions as a fraction after introducing the
	// suggested price compared to current active price. For example, 0.05 is a 5%
	// predicted increase in impressions.
	PredictedImpressionsChangeFraction *float64 `` /* 176-byte string literal not displayed */
	// Predicted change in clicks as a fraction after introducing the
	// suggested price compared to current active price. For example, 0.05 is a 5%
	// predicted increase in clicks.
	PredictedClicksChangeFraction *float64 `` /* 161-byte string literal not displayed */
	// Predicted change in conversions as a fraction after introducing the
	// suggested price compared to current active price. For example, 0.05 is a 5%
	// predicted increase in conversions).
	PredictedConversionsChangeFraction *float64 `` /* 176-byte string literal not displayed */
	// The predicted effectiveness of applying the price suggestion, bucketed.
	Effectiveness PriceInsightsProductView_Effectiveness `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

Fields available for query in `price_insights_product_view` table.

[Price insights](https://support.google.com/merchants/answer/11916926) report.

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

func (*PriceInsightsProductView) Descriptor deprecated

func (*PriceInsightsProductView) Descriptor() ([]byte, []int)

Deprecated: Use PriceInsightsProductView.ProtoReflect.Descriptor instead.

func (*PriceInsightsProductView) GetBrand

func (x *PriceInsightsProductView) GetBrand() string

func (*PriceInsightsProductView) GetCategoryL1

func (x *PriceInsightsProductView) GetCategoryL1() string

func (*PriceInsightsProductView) GetCategoryL2

func (x *PriceInsightsProductView) GetCategoryL2() string

func (*PriceInsightsProductView) GetCategoryL3

func (x *PriceInsightsProductView) GetCategoryL3() string

func (*PriceInsightsProductView) GetCategoryL4

func (x *PriceInsightsProductView) GetCategoryL4() string

func (*PriceInsightsProductView) GetCategoryL5

func (x *PriceInsightsProductView) GetCategoryL5() string

func (*PriceInsightsProductView) GetEffectiveness added in v0.7.0

func (*PriceInsightsProductView) GetId

func (x *PriceInsightsProductView) GetId() string

func (*PriceInsightsProductView) GetOfferId

func (x *PriceInsightsProductView) GetOfferId() string

func (*PriceInsightsProductView) GetPredictedClicksChangeFraction

func (x *PriceInsightsProductView) GetPredictedClicksChangeFraction() float64

func (*PriceInsightsProductView) GetPredictedConversionsChangeFraction

func (x *PriceInsightsProductView) GetPredictedConversionsChangeFraction() float64

func (*PriceInsightsProductView) GetPredictedImpressionsChangeFraction

func (x *PriceInsightsProductView) GetPredictedImpressionsChangeFraction() float64

func (*PriceInsightsProductView) GetPrice

func (x *PriceInsightsProductView) GetPrice() *typepb.Price

func (*PriceInsightsProductView) GetProductTypeL1

func (x *PriceInsightsProductView) GetProductTypeL1() string

func (*PriceInsightsProductView) GetProductTypeL2

func (x *PriceInsightsProductView) GetProductTypeL2() string

func (*PriceInsightsProductView) GetProductTypeL3

func (x *PriceInsightsProductView) GetProductTypeL3() string

func (*PriceInsightsProductView) GetProductTypeL4

func (x *PriceInsightsProductView) GetProductTypeL4() string

func (*PriceInsightsProductView) GetProductTypeL5

func (x *PriceInsightsProductView) GetProductTypeL5() string

func (*PriceInsightsProductView) GetSuggestedPrice

func (x *PriceInsightsProductView) GetSuggestedPrice() *typepb.Price

func (*PriceInsightsProductView) GetTitle

func (x *PriceInsightsProductView) GetTitle() string

func (*PriceInsightsProductView) ProtoMessage

func (*PriceInsightsProductView) ProtoMessage()

func (*PriceInsightsProductView) ProtoReflect

func (x *PriceInsightsProductView) ProtoReflect() protoreflect.Message

func (*PriceInsightsProductView) Reset

func (x *PriceInsightsProductView) Reset()

func (*PriceInsightsProductView) String

func (x *PriceInsightsProductView) String() string

type PriceInsightsProductView_Effectiveness added in v0.7.0

type PriceInsightsProductView_Effectiveness int32

Predicted effectiveness bucket.

Effectiveness indicates which products would benefit most from price changes. This rating takes into consideration the performance boost predicted by adjusting the sale price and the difference between your current price and the suggested price. Price suggestions with `HIGH` effectiveness are predicted to drive the largest increase in performance.

const (
	// Effectiveness is unknown.
	PriceInsightsProductView_EFFECTIVENESS_UNSPECIFIED PriceInsightsProductView_Effectiveness = 0
	// Effectiveness is low.
	PriceInsightsProductView_LOW PriceInsightsProductView_Effectiveness = 1
	// Effectiveness is medium.
	PriceInsightsProductView_MEDIUM PriceInsightsProductView_Effectiveness = 2
	// Effectiveness is high.
	PriceInsightsProductView_HIGH PriceInsightsProductView_Effectiveness = 3
)

func (PriceInsightsProductView_Effectiveness) Descriptor added in v0.7.0

func (PriceInsightsProductView_Effectiveness) Enum added in v0.7.0

func (PriceInsightsProductView_Effectiveness) EnumDescriptor deprecated added in v0.7.0

func (PriceInsightsProductView_Effectiveness) EnumDescriptor() ([]byte, []int)

Deprecated: Use PriceInsightsProductView_Effectiveness.Descriptor instead.

func (PriceInsightsProductView_Effectiveness) Number added in v0.7.0

func (PriceInsightsProductView_Effectiveness) String added in v0.7.0

func (PriceInsightsProductView_Effectiveness) Type added in v0.7.0

type ProductPerformanceView

type ProductPerformanceView struct {

	// Marketing method to which metrics apply. Segment.
	MarketingMethod *MarketingMethod_MarketingMethodEnum `` /* 194-byte string literal not displayed */
	// Date in the merchant timezone to which metrics apply. Segment.
	//
	// Condition on `date` is required in the `WHERE` clause.
	Date *date.Date `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
	// First day of the week (Monday) of the metrics date in the merchant
	// timezone. Segment.
	Week *date.Date `protobuf:"bytes,3,opt,name=week,proto3" json:"week,omitempty"`
	// Code of the country where the customer is located at the time of the event.
	// Represented in the ISO 3166 format. Segment.
	//
	// If the customer country cannot be determined, a special 'ZZ' code is
	// returned.
	CustomerCountryCode *string `` /* 126-byte string literal not displayed */
	// Merchant-provided id of the product. Segment.
	OfferId *string `protobuf:"bytes,5,opt,name=offer_id,json=offerId,proto3,oneof" json:"offer_id,omitempty"`
	// Title of the product. Segment.
	Title *string `protobuf:"bytes,6,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// Brand of the product. Segment.
	Brand *string `protobuf:"bytes,7,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
	// [Product category (1st
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in Google's product taxonomy. Segment.
	CategoryL1 *string `protobuf:"bytes,8,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
	// [Product category (2nd
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in Google's product taxonomy. Segment.
	CategoryL2 *string `protobuf:"bytes,9,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
	// [Product category (3rd
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in Google's product taxonomy. Segment.
	CategoryL3 *string `protobuf:"bytes,10,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
	// [Product category (4th
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in Google's product taxonomy. Segment.
	CategoryL4 *string `protobuf:"bytes,11,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
	// [Product category (5th
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in Google's product taxonomy. Segment.
	CategoryL5 *string `protobuf:"bytes,12,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
	// [Product type (1st
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in merchant's own product taxonomy. Segment.
	ProductTypeL1 *string `protobuf:"bytes,13,opt,name=product_type_l1,json=productTypeL1,proto3,oneof" json:"product_type_l1,omitempty"`
	// [Product type (2nd
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in merchant's own product taxonomy. Segment.
	ProductTypeL2 *string `protobuf:"bytes,14,opt,name=product_type_l2,json=productTypeL2,proto3,oneof" json:"product_type_l2,omitempty"`
	// [Product type (3rd
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in merchant's own product taxonomy. Segment.
	ProductTypeL3 *string `protobuf:"bytes,15,opt,name=product_type_l3,json=productTypeL3,proto3,oneof" json:"product_type_l3,omitempty"`
	// [Product type (4th
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in merchant's own product taxonomy. Segment.
	ProductTypeL4 *string `protobuf:"bytes,16,opt,name=product_type_l4,json=productTypeL4,proto3,oneof" json:"product_type_l4,omitempty"`
	// [Product type (5th
	// level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type)
	// in merchant's own product taxonomy. Segment.
	ProductTypeL5 *string `protobuf:"bytes,17,opt,name=product_type_l5,json=productTypeL5,proto3,oneof" json:"product_type_l5,omitempty"`
	// Custom label 0 for custom grouping of products. Segment.
	CustomLabel0 *string `protobuf:"bytes,18,opt,name=custom_label0,json=customLabel0,proto3,oneof" json:"custom_label0,omitempty"`
	// Custom label 1 for custom grouping of products. Segment.
	CustomLabel1 *string `protobuf:"bytes,19,opt,name=custom_label1,json=customLabel1,proto3,oneof" json:"custom_label1,omitempty"`
	// Custom label 2 for custom grouping of products. Segment.
	CustomLabel2 *string `protobuf:"bytes,20,opt,name=custom_label2,json=customLabel2,proto3,oneof" json:"custom_label2,omitempty"`
	// Custom label 3 for custom grouping of products. Segment.
	CustomLabel3 *string `protobuf:"bytes,21,opt,name=custom_label3,json=customLabel3,proto3,oneof" json:"custom_label3,omitempty"`
	// Custom label 4 for custom grouping of products. Segment.
	CustomLabel4 *string `protobuf:"bytes,22,opt,name=custom_label4,json=customLabel4,proto3,oneof" json:"custom_label4,omitempty"`
	// Number of clicks. Metric.
	Clicks *int64 `protobuf:"varint,23,opt,name=clicks,proto3,oneof" json:"clicks,omitempty"`
	// Number of times merchant's products are shown. Metric.
	Impressions *int64 `protobuf:"varint,24,opt,name=impressions,proto3,oneof" json:"impressions,omitempty"`
	// Click-through rate - the number of clicks merchant's products receive
	// (clicks) divided by the number of times the products are shown
	// (impressions). Metric.
	ClickThroughRate *float64 `protobuf:"fixed64,25,opt,name=click_through_rate,json=clickThroughRate,proto3,oneof" json:"click_through_rate,omitempty"`
	// Number of conversions attributed to the product, reported on the conversion
	// date. Depending on the attribution model, a conversion might be distributed
	// across multiple clicks, where each click gets its own credit assigned. This
	// metric is a sum of all such credits. Metric.
	//
	// Available only for the `FREE` traffic source.
	Conversions *float64 `protobuf:"fixed64,26,opt,name=conversions,proto3,oneof" json:"conversions,omitempty"`
	// Value of conversions attributed to the product, reported on the conversion
	// date. Metric.
	//
	// Available only for the `FREE` traffic source.
	ConversionValue *typepb.Price `protobuf:"bytes,27,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"`
	// Number of conversions divided by the number of clicks, reported on the
	// impression date. Metric.
	//
	// Available only for the `FREE` traffic source.
	ConversionRate *float64 `protobuf:"fixed64,28,opt,name=conversion_rate,json=conversionRate,proto3,oneof" json:"conversion_rate,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*ProductPerformanceView) Descriptor deprecated

func (*ProductPerformanceView) Descriptor() ([]byte, []int)

Deprecated: Use ProductPerformanceView.ProtoReflect.Descriptor instead.

func (*ProductPerformanceView) GetBrand

func (x *ProductPerformanceView) GetBrand() string

func (*ProductPerformanceView) GetCategoryL1

func (x *ProductPerformanceView) GetCategoryL1() string

func (*ProductPerformanceView) GetCategoryL2

func (x *ProductPerformanceView) GetCategoryL2() string

func (*ProductPerformanceView) GetCategoryL3

func (x *ProductPerformanceView) GetCategoryL3() string

func (*ProductPerformanceView) GetCategoryL4

func (x *ProductPerformanceView) GetCategoryL4() string

func (*ProductPerformanceView) GetCategoryL5

func (x *ProductPerformanceView) GetCategoryL5() string

func (*ProductPerformanceView) GetClickThroughRate

func (x *ProductPerformanceView) GetClickThroughRate() float64

func (*ProductPerformanceView) GetClicks

func (x *ProductPerformanceView) GetClicks() int64

func (*ProductPerformanceView) GetConversionRate

func (x *ProductPerformanceView) GetConversionRate() float64

func (*ProductPerformanceView) GetConversionValue

func (x *ProductPerformanceView) GetConversionValue() *typepb.Price

func (*ProductPerformanceView) GetConversions

func (x *ProductPerformanceView) GetConversions() float64

func (*ProductPerformanceView) GetCustomLabel0

func (x *ProductPerformanceView) GetCustomLabel0() string

func (*ProductPerformanceView) GetCustomLabel1

func (x *ProductPerformanceView) GetCustomLabel1() string

func (*ProductPerformanceView) GetCustomLabel2

func (x *ProductPerformanceView) GetCustomLabel2() string

func (*ProductPerformanceView) GetCustomLabel3

func (x *ProductPerformanceView) GetCustomLabel3() string

func (*ProductPerformanceView) GetCustomLabel4

func (x *ProductPerformanceView) GetCustomLabel4() string

func (*ProductPerformanceView) GetCustomerCountryCode

func (x *ProductPerformanceView) GetCustomerCountryCode() string

func (*ProductPerformanceView) GetDate

func (x *ProductPerformanceView) GetDate() *date.Date

func (*ProductPerformanceView) GetImpressions

func (x *ProductPerformanceView) GetImpressions() int64

func (*ProductPerformanceView) GetMarketingMethod

func (*ProductPerformanceView) GetOfferId

func (x *ProductPerformanceView) GetOfferId() string

func (*ProductPerformanceView) GetProductTypeL1

func (x *ProductPerformanceView) GetProductTypeL1() string

func (*ProductPerformanceView) GetProductTypeL2

func (x *ProductPerformanceView) GetProductTypeL2() string

func (*ProductPerformanceView) GetProductTypeL3

func (x *ProductPerformanceView) GetProductTypeL3() string

func (*ProductPerformanceView) GetProductTypeL4

func (x *ProductPerformanceView) GetProductTypeL4() string

func (*ProductPerformanceView) GetProductTypeL5

func (x *ProductPerformanceView) GetProductTypeL5() string

func (*ProductPerformanceView) GetTitle

func (x *ProductPerformanceView) GetTitle() string

func (*ProductPerformanceView) GetWeek

func (x *ProductPerformanceView) GetWeek() *date.Date

func (*ProductPerformanceView) ProtoMessage

func (*ProductPerformanceView) ProtoMessage()

func (*ProductPerformanceView) ProtoReflect

func (x *ProductPerformanceView) ProtoReflect() protoreflect.Message

func (*ProductPerformanceView) Reset

func (x *ProductPerformanceView) Reset()

func (*ProductPerformanceView) String

func (x *ProductPerformanceView) String() string

type ProductView

type ProductView struct {

	// REST ID of the product, in the form of
	// `channel~languageCode~feedLabel~offerId`. Merchant API methods that operate
	// on products take this as their `name` parameter.
	//
	// Required in the `SELECT` clause.
	Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
	// Channel of the product. Can be `ONLINE` or `LOCAL`.
	Channel *typepb.Channel_ChannelEnum `protobuf:"varint,28,opt,name=channel,proto3,enum=google.shopping.type.Channel_ChannelEnum,oneof" json:"channel,omitempty"`
	// Language code of the product in BCP 47 format.
	LanguageCode *string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3,oneof" json:"language_code,omitempty"`
	// Feed label of the product.
	FeedLabel *string `protobuf:"bytes,3,opt,name=feed_label,json=feedLabel,proto3,oneof" json:"feed_label,omitempty"`
	// Merchant-provided id of the product.
	OfferId *string `protobuf:"bytes,4,opt,name=offer_id,json=offerId,proto3,oneof" json:"offer_id,omitempty"`
	// Title of the product.
	Title *string `protobuf:"bytes,5,opt,name=title,proto3,oneof" json:"title,omitempty"`
	// Brand of the product.
	Brand *string `protobuf:"bytes,6,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
	// Product category (1st level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL1 *string `protobuf:"bytes,7,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
	// Product category (2nd level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL2 *string `protobuf:"bytes,8,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
	// Product category (3rd level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL3 *string `protobuf:"bytes,9,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
	// Product category (4th level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL4 *string `protobuf:"bytes,10,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
	// Product category (5th level) in [Google's product
	// taxonomy](https://support.google.com/merchants/answer/6324436).
	CategoryL5 *string `protobuf:"bytes,11,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
	// Product type (1st level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL1 *string `protobuf:"bytes,12,opt,name=product_type_l1,json=productTypeL1,proto3,oneof" json:"product_type_l1,omitempty"`
	// Product type (2nd level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL2 *string `protobuf:"bytes,13,opt,name=product_type_l2,json=productTypeL2,proto3,oneof" json:"product_type_l2,omitempty"`
	// Product type (3rd level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL3 *string `protobuf:"bytes,14,opt,name=product_type_l3,json=productTypeL3,proto3,oneof" json:"product_type_l3,omitempty"`
	// Product type (4th level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL4 *string `protobuf:"bytes,15,opt,name=product_type_l4,json=productTypeL4,proto3,oneof" json:"product_type_l4,omitempty"`
	// Product type (5th level) in merchant's own [product
	// taxonomy](https://support.google.com/merchants/answer/6324406).
	ProductTypeL5 *string `protobuf:"bytes,16,opt,name=product_type_l5,json=productTypeL5,proto3,oneof" json:"product_type_l5,omitempty"`
	// Product price. Absent if the information about the price of the product is
	// not available.
	Price *typepb.Price `protobuf:"bytes,17,opt,name=price,proto3" json:"price,omitempty"`
	// [Condition](https://support.google.com/merchants/answer/6324469) of the
	// product.
	Condition *string `protobuf:"bytes,18,opt,name=condition,proto3,oneof" json:"condition,omitempty"`
	// [Availability](https://support.google.com/merchants/answer/6324448) of the
	// product.
	Availability *string `protobuf:"bytes,19,opt,name=availability,proto3,oneof" json:"availability,omitempty"`
	// Normalized [shipping
	// label](https://support.google.com/merchants/answer/6324504) specified in
	// the data source.
	ShippingLabel *string `protobuf:"bytes,20,opt,name=shipping_label,json=shippingLabel,proto3,oneof" json:"shipping_label,omitempty"`
	// List of Global Trade Item Numbers (GTINs) of the product.
	Gtin []string `protobuf:"bytes,21,rep,name=gtin,proto3" json:"gtin,omitempty"`
	// Item group id provided by the merchant for grouping variants together.
	ItemGroupId *string `protobuf:"bytes,22,opt,name=item_group_id,json=itemGroupId,proto3,oneof" json:"item_group_id,omitempty"`
	// Link to the processed image of the product, hosted on the Google
	// infrastructure.
	ThumbnailLink *string `protobuf:"bytes,23,opt,name=thumbnail_link,json=thumbnailLink,proto3,oneof" json:"thumbnail_link,omitempty"`
	// The time the merchant created the product in timestamp seconds.
	CreationTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	// Expiration date for the product, specified on insertion.
	ExpirationDate *date.Date `protobuf:"bytes,25,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
	// Aggregated status.
	AggregatedReportingContextStatus *ProductView_AggregatedReportingContextStatus `` /* 259-byte string literal not displayed */
	// List of item issues for the product.
	//
	// **This field cannot be used for sorting the results.**
	//
	// **Only selected attributes of this field (for example,
	// `item_issues.severity.aggregated_severity`) can be used for filtering the
	// results.**
	ItemIssues []*ProductView_ItemIssue `protobuf:"bytes,27,rep,name=item_issues,json=itemIssues,proto3" json:"item_issues,omitempty"`
	// Estimated performance potential compared to highest performing products of
	// the merchant.
	ClickPotential ProductView_ClickPotential `` /* 177-byte string literal not displayed */
	// Rank of the product based on its click potential. A product with
	// `click_potential_rank` 1 has the highest click potential among the
	// merchant's products that fulfill the search query conditions.
	ClickPotentialRank *int64 `protobuf:"varint,30,opt,name=click_potential_rank,json=clickPotentialRank,proto3,oneof" json:"click_potential_rank,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*ProductView) Descriptor deprecated

func (*ProductView) Descriptor() ([]byte, []int)

Deprecated: Use ProductView.ProtoReflect.Descriptor instead.

func (*ProductView) GetAggregatedReportingContextStatus

func (x *ProductView) GetAggregatedReportingContextStatus() ProductView_AggregatedReportingContextStatus

func (*ProductView) GetAvailability

func (x *ProductView) GetAvailability() string

func (*ProductView) GetBrand

func (x *ProductView) GetBrand() string

func (*ProductView) GetCategoryL1

func (x *ProductView) GetCategoryL1() string

func (*ProductView) GetCategoryL2

func (x *ProductView) GetCategoryL2() string

func (*ProductView) GetCategoryL3

func (x *ProductView) GetCategoryL3() string

func (*ProductView) GetCategoryL4

func (x *ProductView) GetCategoryL4() string

func (*ProductView) GetCategoryL5

func (x *ProductView) GetCategoryL5() string

func (*ProductView) GetChannel

func (x *ProductView) GetChannel() typepb.Channel_ChannelEnum

func (*ProductView) GetClickPotential

func (x *ProductView) GetClickPotential() ProductView_ClickPotential

func (*ProductView) GetClickPotentialRank

func (x *ProductView) GetClickPotentialRank() int64

func (*ProductView) GetCondition

func (x *ProductView) GetCondition() string

func (*ProductView) GetCreationTime

func (x *ProductView) GetCreationTime() *timestamppb.Timestamp

func (*ProductView) GetExpirationDate

func (x *ProductView) GetExpirationDate() *date.Date

func (*ProductView) GetFeedLabel

func (x *ProductView) GetFeedLabel() string

func (*ProductView) GetGtin

func (x *ProductView) GetGtin() []string

func (*ProductView) GetId

func (x *ProductView) GetId() string

func (*ProductView) GetItemGroupId

func (x *ProductView) GetItemGroupId() string

func (*ProductView) GetItemIssues

func (x *ProductView) GetItemIssues() []*ProductView_ItemIssue

func (*ProductView) GetLanguageCode

func (x *ProductView) GetLanguageCode() string

func (*ProductView) GetOfferId

func (x *ProductView) GetOfferId() string

func (*ProductView) GetPrice

func (x *ProductView) GetPrice() *typepb.Price

func (*ProductView) GetProductTypeL1

func (x *ProductView) GetProductTypeL1() string

func (*ProductView) GetProductTypeL2

func (x *ProductView) GetProductTypeL2() string

func (*ProductView) GetProductTypeL3

func (x *ProductView) GetProductTypeL3() string

func (*ProductView) GetProductTypeL4

func (x *ProductView) GetProductTypeL4() string

func (*ProductView) GetProductTypeL5

func (x *ProductView) GetProductTypeL5() string

func (*ProductView) GetShippingLabel

func (x *ProductView) GetShippingLabel() string
func (x *ProductView) GetThumbnailLink() string

func (*ProductView) GetTitle

func (x *ProductView) GetTitle() string

func (*ProductView) ProtoMessage

func (*ProductView) ProtoMessage()

func (*ProductView) ProtoReflect

func (x *ProductView) ProtoReflect() protoreflect.Message

func (*ProductView) Reset

func (x *ProductView) Reset()

func (*ProductView) String

func (x *ProductView) String() string

type ProductView_AggregatedReportingContextStatus

type ProductView_AggregatedReportingContextStatus int32

Status of the product aggregated for all reporting contexts.

Here's an example of how the aggregated status is computed:

Free listings | Shopping ads | Status --------------|--------------|------------------------------ Approved | Approved | ELIGIBLE Approved | Pending | ELIGIBLE Approved | Disapproved | ELIGIBLE_LIMITED Pending | Pending | PENDING Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED

const (
	// Not specified.
	ProductView_AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED ProductView_AggregatedReportingContextStatus = 0
	// Product is not eligible or is disapproved for all reporting contexts.
	ProductView_NOT_ELIGIBLE_OR_DISAPPROVED ProductView_AggregatedReportingContextStatus = 1
	// Product's status is pending in all reporting contexts.
	ProductView_PENDING ProductView_AggregatedReportingContextStatus = 2
	// Product is eligible for some (but not all) reporting contexts.
	ProductView_ELIGIBLE_LIMITED ProductView_AggregatedReportingContextStatus = 3
	// Product is eligible for all reporting contexts.
	ProductView_ELIGIBLE ProductView_AggregatedReportingContextStatus = 4
)

func (ProductView_AggregatedReportingContextStatus) Descriptor

func (ProductView_AggregatedReportingContextStatus) Enum

func (ProductView_AggregatedReportingContextStatus) EnumDescriptor deprecated

func (ProductView_AggregatedReportingContextStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProductView_AggregatedReportingContextStatus.Descriptor instead.

func (ProductView_AggregatedReportingContextStatus) Number

func (ProductView_AggregatedReportingContextStatus) String

func (ProductView_AggregatedReportingContextStatus) Type

type ProductView_ClickPotential

type ProductView_ClickPotential int32

A product's [click potential](https://support.google.com/merchants/answer/188488) estimates its performance potential compared to highest performing products of the merchant. Click potential of a product helps merchants to prioritize which products to fix and helps them understand how products are performing against their potential.

const (
	// Unknown predicted clicks impact.
	ProductView_CLICK_POTENTIAL_UNSPECIFIED ProductView_ClickPotential = 0
	// Potential to receive a low number of clicks compared to the highest
	// performing products of the merchant.
	ProductView_LOW ProductView_ClickPotential = 1
	// Potential to receive a moderate number of clicks compared to the highest
	// performing products of the merchant.
	ProductView_MEDIUM ProductView_ClickPotential = 2
	// Potential to receive a similar number of clicks as the highest performing
	// products of the merchant.
	ProductView_HIGH ProductView_ClickPotential = 3
)

func (ProductView_ClickPotential) Descriptor

func (ProductView_ClickPotential) Enum

func (ProductView_ClickPotential) EnumDescriptor deprecated

func (ProductView_ClickPotential) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProductView_ClickPotential.Descriptor instead.

func (ProductView_ClickPotential) Number

func (ProductView_ClickPotential) String

func (ProductView_ClickPotential) Type

type ProductView_ItemIssue

type ProductView_ItemIssue struct {

	// Item issue type.
	Type *ProductView_ItemIssue_ItemIssueType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Item issue severity.
	Severity *ProductView_ItemIssue_ItemIssueSeverity `protobuf:"bytes,2,opt,name=severity,proto3" json:"severity,omitempty"`
	// Item issue resolution.
	Resolution *ProductView_ItemIssue_ItemIssueResolution `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

Item issue associated with the product.

func (*ProductView_ItemIssue) Descriptor deprecated

func (*ProductView_ItemIssue) Descriptor() ([]byte, []int)

Deprecated: Use ProductView_ItemIssue.ProtoReflect.Descriptor instead.

func (*ProductView_ItemIssue) GetResolution

func (*ProductView_ItemIssue) GetSeverity

func (*ProductView_ItemIssue) GetType

func (*ProductView_ItemIssue) ProtoMessage

func (*ProductView_ItemIssue) ProtoMessage()

func (*ProductView_ItemIssue) ProtoReflect

func (x *ProductView_ItemIssue) ProtoReflect() protoreflect.Message

func (*ProductView_ItemIssue) Reset

func (x *ProductView_ItemIssue) Reset()

func (*ProductView_ItemIssue) String

func (x *ProductView_ItemIssue) String() string

type ProductView_ItemIssue_ItemIssueResolution

type ProductView_ItemIssue_ItemIssueResolution int32

How to resolve the issue.

const (
	// Not specified.
	ProductView_ItemIssue_ITEM_ISSUE_RESOLUTION_UNSPECIFIED ProductView_ItemIssue_ItemIssueResolution = 0
	// The merchant has to fix the issue.
	ProductView_ItemIssue_MERCHANT_ACTION ProductView_ItemIssue_ItemIssueResolution = 1
	// The issue will be resolved automatically (for example, image crawl) or
	// through a Google review. No merchant action is required now. Resolution
	// might lead to another issue (for example, if crawl fails).
	ProductView_ItemIssue_PENDING_PROCESSING ProductView_ItemIssue_ItemIssueResolution = 2
)

func (ProductView_ItemIssue_ItemIssueResolution) Descriptor

func (ProductView_ItemIssue_ItemIssueResolution) Enum

func (ProductView_ItemIssue_ItemIssueResolution) EnumDescriptor deprecated

func (ProductView_ItemIssue_ItemIssueResolution) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProductView_ItemIssue_ItemIssueResolution.Descriptor instead.

func (ProductView_ItemIssue_ItemIssueResolution) Number

func (ProductView_ItemIssue_ItemIssueResolution) String

func (ProductView_ItemIssue_ItemIssueResolution) Type

type ProductView_ItemIssue_ItemIssueSeverity

type ProductView_ItemIssue_ItemIssueSeverity struct {

	// Issue severity per reporting context.
	SeverityPerReportingContext []*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext `` /* 146-byte string literal not displayed */
	// Aggregated severity of the issue for all reporting contexts it affects.
	//
	// **This field can be used for filtering the results.**
	AggregatedSeverity *ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity `` /* 231-byte string literal not displayed */
	// contains filtered or unexported fields
}

How the issue affects the serving of the product.

func (*ProductView_ItemIssue_ItemIssueSeverity) Descriptor deprecated

func (*ProductView_ItemIssue_ItemIssueSeverity) Descriptor() ([]byte, []int)

Deprecated: Use ProductView_ItemIssue_ItemIssueSeverity.ProtoReflect.Descriptor instead.

func (*ProductView_ItemIssue_ItemIssueSeverity) GetAggregatedSeverity

func (*ProductView_ItemIssue_ItemIssueSeverity) GetSeverityPerReportingContext

func (*ProductView_ItemIssue_ItemIssueSeverity) ProtoMessage

func (*ProductView_ItemIssue_ItemIssueSeverity) ProtoReflect

func (*ProductView_ItemIssue_ItemIssueSeverity) Reset

func (*ProductView_ItemIssue_ItemIssueSeverity) String

type ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity

type ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity int32

Issue severity aggregated for all reporting contexts.

const (
	// Not specified.
	ProductView_ItemIssue_ItemIssueSeverity_AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity = 0
	// Issue disapproves the product in at least one reporting context.
	ProductView_ItemIssue_ItemIssueSeverity_DISAPPROVED ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity = 1
	// Issue demotes the product in all reporting contexts it affects.
	ProductView_ItemIssue_ItemIssueSeverity_DEMOTED ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity = 2
	// Issue resolution is `PENDING_PROCESSING`.
	ProductView_ItemIssue_ItemIssueSeverity_PENDING ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity = 3
)

func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Descriptor

func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Enum

func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) EnumDescriptor deprecated

Deprecated: Use ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity.Descriptor instead.

func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Number

func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) String

func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Type

type ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext

type ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext struct {

	// Reporting context the issue applies to.
	ReportingContext *typepb.ReportingContext_ReportingContextEnum `` /* 180-byte string literal not displayed */
	// List of disapproved countries in the reporting context, represented
	// in ISO 3166 format.
	DisapprovedCountries []string `protobuf:"bytes,2,rep,name=disapproved_countries,json=disapprovedCountries,proto3" json:"disapproved_countries,omitempty"`
	// List of demoted countries in the reporting context, represented in
	// ISO 3166 format.
	DemotedCountries []string `protobuf:"bytes,3,rep,name=demoted_countries,json=demotedCountries,proto3" json:"demoted_countries,omitempty"`
	// contains filtered or unexported fields
}

Issue severity per reporting context.

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Descriptor deprecated

Deprecated: Use ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext.ProtoReflect.Descriptor instead.

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDemotedCountries

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDisapprovedCountries

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetReportingContext

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoMessage

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoReflect

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Reset

func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) String

type ProductView_ItemIssue_ItemIssueType

type ProductView_ItemIssue_ItemIssueType struct {

	// Error code of the issue, equivalent to the `code` of [Product
	// issues](https://developers.google.com/shopping-content/guides/product-issues).
	Code *string `protobuf:"bytes,1,opt,name=code,proto3,oneof" json:"code,omitempty"`
	// Canonical attribute name for attribute-specific issues.
	CanonicalAttribute *string `protobuf:"bytes,2,opt,name=canonical_attribute,json=canonicalAttribute,proto3,oneof" json:"canonical_attribute,omitempty"`
	// contains filtered or unexported fields
}

Issue type.

func (*ProductView_ItemIssue_ItemIssueType) Descriptor deprecated

func (*ProductView_ItemIssue_ItemIssueType) Descriptor() ([]byte, []int)

Deprecated: Use ProductView_ItemIssue_ItemIssueType.ProtoReflect.Descriptor instead.

func (*ProductView_ItemIssue_ItemIssueType) GetCanonicalAttribute

func (x *ProductView_ItemIssue_ItemIssueType) GetCanonicalAttribute() string

func (*ProductView_ItemIssue_ItemIssueType) GetCode

func (*ProductView_ItemIssue_ItemIssueType) ProtoMessage

func (*ProductView_ItemIssue_ItemIssueType) ProtoMessage()

func (*ProductView_ItemIssue_ItemIssueType) ProtoReflect

func (*ProductView_ItemIssue_ItemIssueType) Reset

func (*ProductView_ItemIssue_ItemIssueType) String

type RelativeDemand

type RelativeDemand struct {
	// contains filtered or unexported fields
}

Relative demand of a product cluster or brand in the Best sellers report.

func (*RelativeDemand) Descriptor deprecated

func (*RelativeDemand) Descriptor() ([]byte, []int)

Deprecated: Use RelativeDemand.ProtoReflect.Descriptor instead.

func (*RelativeDemand) ProtoMessage

func (*RelativeDemand) ProtoMessage()

func (*RelativeDemand) ProtoReflect

func (x *RelativeDemand) ProtoReflect() protoreflect.Message

func (*RelativeDemand) Reset

func (x *RelativeDemand) Reset()

func (*RelativeDemand) String

func (x *RelativeDemand) String() string

type RelativeDemandChangeType

type RelativeDemandChangeType struct {
	// contains filtered or unexported fields
}

Relative demand of a product cluster or brand in the Best sellers report compared to the previous time period.

func (*RelativeDemandChangeType) Descriptor deprecated

func (*RelativeDemandChangeType) Descriptor() ([]byte, []int)

Deprecated: Use RelativeDemandChangeType.ProtoReflect.Descriptor instead.

func (*RelativeDemandChangeType) ProtoMessage

func (*RelativeDemandChangeType) ProtoMessage()

func (*RelativeDemandChangeType) ProtoReflect

func (x *RelativeDemandChangeType) ProtoReflect() protoreflect.Message

func (*RelativeDemandChangeType) Reset

func (x *RelativeDemandChangeType) Reset()

func (*RelativeDemandChangeType) String

func (x *RelativeDemandChangeType) String() string

type RelativeDemandChangeType_RelativeDemandChangeTypeEnum

type RelativeDemandChangeType_RelativeDemandChangeTypeEnum int32

Relative demand change type values.

const (
	// Not specified.
	RelativeDemandChangeType_RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED RelativeDemandChangeType_RelativeDemandChangeTypeEnum = 0
	// Relative demand is lower than the previous time period.
	RelativeDemandChangeType_SINKER RelativeDemandChangeType_RelativeDemandChangeTypeEnum = 1
	// Relative demand is equal to the previous time period.
	RelativeDemandChangeType_FLAT RelativeDemandChangeType_RelativeDemandChangeTypeEnum = 2
	// Relative demand is higher than the previous time period.
	RelativeDemandChangeType_RISER RelativeDemandChangeType_RelativeDemandChangeTypeEnum = 3
)

func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Descriptor

func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Enum

func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) EnumDescriptor deprecated

Deprecated: Use RelativeDemandChangeType_RelativeDemandChangeTypeEnum.Descriptor instead.

func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Number

func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) String

func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Type

type RelativeDemand_RelativeDemandEnum

type RelativeDemand_RelativeDemandEnum int32

Relative demand values.

const (
	// Not specified.
	RelativeDemand_RELATIVE_DEMAND_ENUM_UNSPECIFIED RelativeDemand_RelativeDemandEnum = 0
	// Demand is 0-5% of the demand of the highest ranked product cluster or
	// brand.
	RelativeDemand_VERY_LOW RelativeDemand_RelativeDemandEnum = 10
	// Demand is 6-10% of the demand of the highest ranked product cluster or
	// brand.
	RelativeDemand_LOW RelativeDemand_RelativeDemandEnum = 20
	// Demand is 11-20% of the demand of the highest ranked product cluster or
	// brand.
	RelativeDemand_MEDIUM RelativeDemand_RelativeDemandEnum = 30
	// Demand is 21-50% of the demand of the highest ranked product cluster or
	// brand.
	RelativeDemand_HIGH RelativeDemand_RelativeDemandEnum = 40
	// Demand is 51-100% of the demand of the highest ranked product cluster or
	// brand.
	RelativeDemand_VERY_HIGH RelativeDemand_RelativeDemandEnum = 50
)

func (RelativeDemand_RelativeDemandEnum) Descriptor

func (RelativeDemand_RelativeDemandEnum) Enum

func (RelativeDemand_RelativeDemandEnum) EnumDescriptor deprecated

func (RelativeDemand_RelativeDemandEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use RelativeDemand_RelativeDemandEnum.Descriptor instead.

func (RelativeDemand_RelativeDemandEnum) Number

func (RelativeDemand_RelativeDemandEnum) String

func (RelativeDemand_RelativeDemandEnum) Type

type ReportGranularity

type ReportGranularity struct {
	// contains filtered or unexported fields
}

Granularity of the Best sellers report. Best sellers reports are computed over a week and a month timeframe.

func (*ReportGranularity) Descriptor deprecated

func (*ReportGranularity) Descriptor() ([]byte, []int)

Deprecated: Use ReportGranularity.ProtoReflect.Descriptor instead.

func (*ReportGranularity) ProtoMessage

func (*ReportGranularity) ProtoMessage()

func (*ReportGranularity) ProtoReflect

func (x *ReportGranularity) ProtoReflect() protoreflect.Message

func (*ReportGranularity) Reset

func (x *ReportGranularity) Reset()

func (*ReportGranularity) String

func (x *ReportGranularity) String() string

type ReportGranularity_ReportGranularityEnum

type ReportGranularity_ReportGranularityEnum int32

Report granularity values.

const (
	// Not specified.
	ReportGranularity_REPORT_GRANULARITY_ENUM_UNSPECIFIED ReportGranularity_ReportGranularityEnum = 0
	// Report is computed over a week timeframe.
	ReportGranularity_WEEKLY ReportGranularity_ReportGranularityEnum = 1
	// Report is computed over a month timeframe.
	ReportGranularity_MONTHLY ReportGranularity_ReportGranularityEnum = 2
)

func (ReportGranularity_ReportGranularityEnum) Descriptor

func (ReportGranularity_ReportGranularityEnum) Enum

func (ReportGranularity_ReportGranularityEnum) EnumDescriptor deprecated

func (ReportGranularity_ReportGranularityEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReportGranularity_ReportGranularityEnum.Descriptor instead.

func (ReportGranularity_ReportGranularityEnum) Number

func (ReportGranularity_ReportGranularityEnum) String

func (ReportGranularity_ReportGranularityEnum) Type

type ReportRow

type ReportRow struct {

	// Fields available for query in `product_performance_view` table.
	ProductPerformanceView *ProductPerformanceView `` /* 129-byte string literal not displayed */
	// Fields available for query in `non_product_performance_view` table.
	NonProductPerformanceView *NonProductPerformanceView `` /* 140-byte string literal not displayed */
	// Fields available for query in `product_view` table.
	ProductView *ProductView `protobuf:"bytes,2,opt,name=product_view,json=productView,proto3" json:"product_view,omitempty"`
	// Fields available for query in `price_competitiveness_product_view` table.
	PriceCompetitivenessProductView *PriceCompetitivenessProductView `` /* 158-byte string literal not displayed */
	// Fields available for query in `price_insights_product_view` table.
	PriceInsightsProductView *PriceInsightsProductView `` /* 137-byte string literal not displayed */
	// Fields available for query in `best_sellers_product_cluster_view` table.
	BestSellersProductClusterView *BestSellersProductClusterView `` /* 154-byte string literal not displayed */
	// Fields available for query in `best_sellers_brand_view` table.
	BestSellersBrandView *BestSellersBrandView `protobuf:"bytes,6,opt,name=best_sellers_brand_view,json=bestSellersBrandView,proto3" json:"best_sellers_brand_view,omitempty"`
	// Fields available for query in `competitive_visibility_competitor_view`
	// table.
	CompetitiveVisibilityCompetitorView *CompetitiveVisibilityCompetitorView `` /* 170-byte string literal not displayed */
	// Fields available for query in `competitive_visibility_top_merchant_view`
	// table.
	CompetitiveVisibilityTopMerchantView *CompetitiveVisibilityTopMerchantView `` /* 175-byte string literal not displayed */
	// Fields available for query in `competitive_visibility_benchmark_view`
	// table.
	CompetitiveVisibilityBenchmarkView *CompetitiveVisibilityBenchmarkView `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

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.

func (*ReportRow) Descriptor deprecated

func (*ReportRow) Descriptor() ([]byte, []int)

Deprecated: Use ReportRow.ProtoReflect.Descriptor instead.

func (*ReportRow) GetBestSellersBrandView

func (x *ReportRow) GetBestSellersBrandView() *BestSellersBrandView

func (*ReportRow) GetBestSellersProductClusterView

func (x *ReportRow) GetBestSellersProductClusterView() *BestSellersProductClusterView

func (*ReportRow) GetCompetitiveVisibilityBenchmarkView

func (x *ReportRow) GetCompetitiveVisibilityBenchmarkView() *CompetitiveVisibilityBenchmarkView

func (*ReportRow) GetCompetitiveVisibilityCompetitorView

func (x *ReportRow) GetCompetitiveVisibilityCompetitorView() *CompetitiveVisibilityCompetitorView

func (*ReportRow) GetCompetitiveVisibilityTopMerchantView

func (x *ReportRow) GetCompetitiveVisibilityTopMerchantView() *CompetitiveVisibilityTopMerchantView

func (*ReportRow) GetNonProductPerformanceView added in v0.7.0

func (x *ReportRow) GetNonProductPerformanceView() *NonProductPerformanceView

func (*ReportRow) GetPriceCompetitivenessProductView

func (x *ReportRow) GetPriceCompetitivenessProductView() *PriceCompetitivenessProductView

func (*ReportRow) GetPriceInsightsProductView

func (x *ReportRow) GetPriceInsightsProductView() *PriceInsightsProductView

func (*ReportRow) GetProductPerformanceView

func (x *ReportRow) GetProductPerformanceView() *ProductPerformanceView

func (*ReportRow) GetProductView

func (x *ReportRow) GetProductView() *ProductView

func (*ReportRow) ProtoMessage

func (*ReportRow) ProtoMessage()

func (*ReportRow) ProtoReflect

func (x *ReportRow) ProtoReflect() protoreflect.Message

func (*ReportRow) Reset

func (x *ReportRow) Reset()

func (*ReportRow) String

func (x *ReportRow) String() string

type ReportServiceClient

type ReportServiceClient interface {
	// Retrieves a report defined by a search query. The response might contain
	// fewer rows than specified by `page_size`. Rely on `next_page_token` to
	// determine if there are more rows to be requested.
	Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error)
}

ReportServiceClient is the client API for ReportService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type ReportServiceServer

type ReportServiceServer interface {
	// Retrieves a report defined by a search query. The response might contain
	// fewer rows than specified by `page_size`. Rely on `next_page_token` to
	// determine if there are more rows to be requested.
	Search(context.Context, *SearchRequest) (*SearchResponse, error)
}

ReportServiceServer is the server API for ReportService service.

type SearchRequest

type SearchRequest struct {

	// Required. Id of the account making the call. Must be a standalone account
	// or an MCA subaccount. Format: accounts/{account}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Query that defines a report to be retrieved.
	//
	// For details on how to construct your query, see the Query Language
	// guide. For the full list of available tables and fields, see the Available
	// fields.
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// Optional. Number of `ReportRows` to retrieve in a single page. Defaults to
	// 1000. Values above 5000 are coerced to 5000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. Token of the page to retrieve. If not specified, the first page
	// of results is returned. In order to request the next page of results, the
	// value obtained from `next_page_token` in the previous response should be
	// used.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for the `ReportService.Search` method.

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetPageSize

func (x *SearchRequest) GetPageSize() int32

func (*SearchRequest) GetPageToken

func (x *SearchRequest) GetPageToken() string

func (*SearchRequest) GetParent

func (x *SearchRequest) GetParent() string

func (*SearchRequest) GetQuery

func (x *SearchRequest) GetQuery() string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {

	// Rows that matched the search query.
	Results []*ReportRow `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// Token which can be sent as `page_token` to retrieve the next page. If
	// omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for the `ReportService.Search` method.

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetNextPageToken

func (x *SearchResponse) GetNextPageToken() string

func (*SearchResponse) GetResults

func (x *SearchResponse) GetResults() []*ReportRow

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type TrafficSource

type TrafficSource struct {
	// contains filtered or unexported fields
}

Traffic source of impressions in the Competitive visibility report.

func (*TrafficSource) Descriptor deprecated

func (*TrafficSource) Descriptor() ([]byte, []int)

Deprecated: Use TrafficSource.ProtoReflect.Descriptor instead.

func (*TrafficSource) ProtoMessage

func (*TrafficSource) ProtoMessage()

func (*TrafficSource) ProtoReflect

func (x *TrafficSource) ProtoReflect() protoreflect.Message

func (*TrafficSource) Reset

func (x *TrafficSource) Reset()

func (*TrafficSource) String

func (x *TrafficSource) String() string

type TrafficSource_TrafficSourceEnum

type TrafficSource_TrafficSourceEnum int32

Traffic source values.

const (
	// Not specified.
	TrafficSource_TRAFFIC_SOURCE_ENUM_UNSPECIFIED TrafficSource_TrafficSourceEnum = 0
	// Organic traffic.
	TrafficSource_ORGANIC TrafficSource_TrafficSourceEnum = 1
	// Traffic from ads.
	TrafficSource_ADS TrafficSource_TrafficSourceEnum = 2
	// Organic and ads traffic.
	TrafficSource_ALL TrafficSource_TrafficSourceEnum = 3
)

func (TrafficSource_TrafficSourceEnum) Descriptor

func (TrafficSource_TrafficSourceEnum) Enum

func (TrafficSource_TrafficSourceEnum) EnumDescriptor deprecated

func (TrafficSource_TrafficSourceEnum) EnumDescriptor() ([]byte, []int)

Deprecated: Use TrafficSource_TrafficSourceEnum.Descriptor instead.

func (TrafficSource_TrafficSourceEnum) Number

func (TrafficSource_TrafficSourceEnum) String

func (TrafficSource_TrafficSourceEnum) Type

type UnimplementedReportServiceServer

type UnimplementedReportServiceServer struct {
}

UnimplementedReportServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedReportServiceServer) Search

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL