Variables
ProductView_AggregatedReportingContextStatus_name, ProductView_AggregatedReportingContextStatus_value
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.
ProductView_ClickPotential_name, ProductView_ClickPotential_value
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.
ProductView_ItemIssue_ItemIssueResolution_name, ProductView_ItemIssue_ItemIssueResolution_value
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.
ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity_name, ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity_value
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.
PriceInsightsProductView_Effectiveness_name, PriceInsightsProductView_Effectiveness_value
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.
BestSellersProductClusterView_InventoryStatus_name, BestSellersProductClusterView_InventoryStatus_value
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.
MarketingMethod_MarketingMethodEnum_name, MarketingMethod_MarketingMethodEnum_value
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.
ReportGranularity_ReportGranularityEnum_name, ReportGranularity_ReportGranularityEnum_value
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.
RelativeDemand_RelativeDemandEnum_name, RelativeDemand_RelativeDemandEnum_value
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.
RelativeDemandChangeType_RelativeDemandChangeTypeEnum_name, RelativeDemandChangeType_RelativeDemandChangeTypeEnum_value
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.
TrafficSource_TrafficSourceEnum_name, TrafficSource_TrafficSourceEnum_value
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.
File_google_shopping_merchant_reports_v1beta_reports_proto
var File_google_shopping_merchant_reports_v1beta_reports_proto protoreflect.FileDescriptor
Functions
func RegisterReportServiceServer
func RegisterReportServiceServer(s *grpc.Server, srv ReportServiceServer)
BestSellersBrandView
type BestSellersBrandView struct {
ReportDate *date.Date `protobuf:"bytes,1,opt,name=report_date,json=reportDate,proto3" json:"report_date,omitempty"`
ReportGranularity *ReportGranularity_ReportGranularityEnum "" /* 204 byte string literal not displayed */
ReportCountryCode *string `protobuf:"bytes,3,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
ReportCategoryId *int64 `protobuf:"varint,4,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
Brand *string `protobuf:"bytes,6,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
Rank *int64 `protobuf:"varint,7,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
PreviousRank *int64 `protobuf:"varint,8,opt,name=previous_rank,json=previousRank,proto3,oneof" json:"previous_rank,omitempty"`
RelativeDemand *RelativeDemand_RelativeDemandEnum "" /* 189 byte string literal not displayed */
PreviousRelativeDemand *RelativeDemand_RelativeDemandEnum "" /* 216 byte string literal not displayed */
RelativeDemandChange *RelativeDemandChangeType_RelativeDemandChangeTypeEnum "" /* 230 byte string literal not displayed */
}
Fields available for query in best_sellers_brand_view
table.
Best sellers report with top brands.
Values are only set for fields requested explicitly in the request's search query.
func (*BestSellersBrandView) Descriptor
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 (x *BestSellersBrandView) GetRelativeDemand() RelativeDemand_RelativeDemandEnum
func (*BestSellersBrandView) GetRelativeDemandChange
func (x *BestSellersBrandView) GetRelativeDemandChange() RelativeDemandChangeType_RelativeDemandChangeTypeEnum
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 (x *BestSellersBrandView) GetReportGranularity() ReportGranularity_ReportGranularityEnum
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
BestSellersProductClusterView
type BestSellersProductClusterView struct {
ReportDate *date.Date `protobuf:"bytes,1,opt,name=report_date,json=reportDate,proto3" json:"report_date,omitempty"`
ReportGranularity *ReportGranularity_ReportGranularityEnum "" /* 204 byte string literal not displayed */
ReportCountryCode *string `protobuf:"bytes,3,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
ReportCategoryId *int64 `protobuf:"varint,4,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
Title *string `protobuf:"bytes,6,opt,name=title,proto3,oneof" json:"title,omitempty"`
Brand *string `protobuf:"bytes,7,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
CategoryL1 *string `protobuf:"bytes,8,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
CategoryL2 *string `protobuf:"bytes,9,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
CategoryL3 *string `protobuf:"bytes,10,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
CategoryL4 *string `protobuf:"bytes,11,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
CategoryL5 *string `protobuf:"bytes,12,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
VariantGtins []string `protobuf:"bytes,13,rep,name=variant_gtins,json=variantGtins,proto3" json:"variant_gtins,omitempty"`
InventoryStatus *BestSellersProductClusterView_InventoryStatus "" /* 205 byte string literal not displayed */
BrandInventoryStatus *BestSellersProductClusterView_InventoryStatus "" /* 222 byte string literal not displayed */
Rank *int64 `protobuf:"varint,16,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
PreviousRank *int64 `protobuf:"varint,17,opt,name=previous_rank,json=previousRank,proto3,oneof" json:"previous_rank,omitempty"`
RelativeDemand *RelativeDemand_RelativeDemandEnum "" /* 190 byte string literal not displayed */
PreviousRelativeDemand *RelativeDemand_RelativeDemandEnum "" /* 216 byte string literal not displayed */
RelativeDemandChange *RelativeDemandChangeType_RelativeDemandChangeTypeEnum "" /* 230 byte string literal not displayed */
}
Fields available for query in best_sellers_product_cluster_view
table.
Best sellers report with top product clusters. A product cluster is a grouping for different offers and variants that represent the same product, for example, Google Pixel 7.
Values are only set for fields requested explicitly in the request's search query.
func (*BestSellersProductClusterView) Descriptor
func (*BestSellersProductClusterView) Descriptor() ([]byte, []int)
Deprecated: Use BestSellersProductClusterView.ProtoReflect.Descriptor instead.
func (*BestSellersProductClusterView) GetBrand
func (x *BestSellersProductClusterView) GetBrand() string
func (*BestSellersProductClusterView) GetBrandInventoryStatus
func (x *BestSellersProductClusterView) GetBrandInventoryStatus() BestSellersProductClusterView_InventoryStatus
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 (x *BestSellersProductClusterView) GetInventoryStatus() BestSellersProductClusterView_InventoryStatus
func (*BestSellersProductClusterView) GetPreviousRank
func (x *BestSellersProductClusterView) GetPreviousRank() int64
func (*BestSellersProductClusterView) GetPreviousRelativeDemand
func (x *BestSellersProductClusterView) GetPreviousRelativeDemand() RelativeDemand_RelativeDemandEnum
func (*BestSellersProductClusterView) GetRank
func (x *BestSellersProductClusterView) GetRank() int64
func (*BestSellersProductClusterView) GetRelativeDemand
func (x *BestSellersProductClusterView) GetRelativeDemand() RelativeDemand_RelativeDemandEnum
func (*BestSellersProductClusterView) GetRelativeDemandChange
func (x *BestSellersProductClusterView) GetRelativeDemandChange() RelativeDemandChangeType_RelativeDemandChangeTypeEnum
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 (x *BestSellersProductClusterView) GetReportGranularity() ReportGranularity_ReportGranularityEnum
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 (x *BestSellersProductClusterView) ProtoReflect() protoreflect.Message
func (*BestSellersProductClusterView) Reset
func (x *BestSellersProductClusterView) Reset()
func (*BestSellersProductClusterView) String
func (x *BestSellersProductClusterView) String() string
BestSellersProductClusterView_InventoryStatus
type BestSellersProductClusterView_InventoryStatus int32
Status of the product cluster or brand in your inventory.
BestSellersProductClusterView_INVENTORY_STATUS_UNSPECIFIED, BestSellersProductClusterView_IN_STOCK, BestSellersProductClusterView_OUT_OF_STOCK, BestSellersProductClusterView_NOT_IN_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) Descriptor() protoreflect.EnumDescriptor
func (BestSellersProductClusterView_InventoryStatus) Enum
func (x BestSellersProductClusterView_InventoryStatus) Enum() *BestSellersProductClusterView_InventoryStatus
func (BestSellersProductClusterView_InventoryStatus) EnumDescriptor
func (BestSellersProductClusterView_InventoryStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use BestSellersProductClusterView_InventoryStatus.Descriptor instead.
func (BestSellersProductClusterView_InventoryStatus) Number
func (x BestSellersProductClusterView_InventoryStatus) Number() protoreflect.EnumNumber
func (BestSellersProductClusterView_InventoryStatus) String
func (x BestSellersProductClusterView_InventoryStatus) String() string
func (BestSellersProductClusterView_InventoryStatus) Type
CompetitiveVisibilityBenchmarkView
type CompetitiveVisibilityBenchmarkView struct {
Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
ReportCountryCode *string `protobuf:"bytes,2,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
ReportCategoryId *int64 `protobuf:"varint,3,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
TrafficSource *TrafficSource_TrafficSourceEnum "" /* 184 byte string literal not displayed */
YourDomainVisibilityTrend *float64 "" /* 148 byte string literal not displayed */
CategoryBenchmarkVisibilityTrend *float64 "" /* 169 byte string literal not displayed */
}
Fields available for query in competitive_visibility_benchmark_view
table.
Competitive visibility report with the category benchmark.
Values are only set for fields requested explicitly in the request's search query.
func (*CompetitiveVisibilityBenchmarkView) Descriptor
func (*CompetitiveVisibilityBenchmarkView) Descriptor() ([]byte, []int)
Deprecated: Use CompetitiveVisibilityBenchmarkView.ProtoReflect.Descriptor instead.
func (*CompetitiveVisibilityBenchmarkView) GetCategoryBenchmarkVisibilityTrend
func (x *CompetitiveVisibilityBenchmarkView) GetCategoryBenchmarkVisibilityTrend() float64
func (*CompetitiveVisibilityBenchmarkView) GetDate
func (x *CompetitiveVisibilityBenchmarkView) GetDate() *date.Date
func (*CompetitiveVisibilityBenchmarkView) GetReportCategoryId
func (x *CompetitiveVisibilityBenchmarkView) GetReportCategoryId() int64
func (*CompetitiveVisibilityBenchmarkView) GetReportCountryCode
func (x *CompetitiveVisibilityBenchmarkView) GetReportCountryCode() string
func (*CompetitiveVisibilityBenchmarkView) GetTrafficSource
func (x *CompetitiveVisibilityBenchmarkView) GetTrafficSource() TrafficSource_TrafficSourceEnum
func (*CompetitiveVisibilityBenchmarkView) GetYourDomainVisibilityTrend
func (x *CompetitiveVisibilityBenchmarkView) GetYourDomainVisibilityTrend() float64
func (*CompetitiveVisibilityBenchmarkView) ProtoMessage
func (*CompetitiveVisibilityBenchmarkView) ProtoMessage()
func (*CompetitiveVisibilityBenchmarkView) ProtoReflect
func (x *CompetitiveVisibilityBenchmarkView) ProtoReflect() protoreflect.Message
func (*CompetitiveVisibilityBenchmarkView) Reset
func (x *CompetitiveVisibilityBenchmarkView) Reset()
func (*CompetitiveVisibilityBenchmarkView) String
func (x *CompetitiveVisibilityBenchmarkView) String() string
CompetitiveVisibilityCompetitorView
type CompetitiveVisibilityCompetitorView struct {
Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
Domain *string `protobuf:"bytes,2,opt,name=domain,proto3,oneof" json:"domain,omitempty"`
IsYourDomain *bool `protobuf:"varint,3,opt,name=is_your_domain,json=isYourDomain,proto3,oneof" json:"is_your_domain,omitempty"`
ReportCountryCode *string `protobuf:"bytes,4,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
ReportCategoryId *int64 `protobuf:"varint,5,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
TrafficSource *TrafficSource_TrafficSourceEnum "" /* 184 byte string literal not displayed */
Rank *int64 `protobuf:"varint,7,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
AdsOrganicRatio *float64 `protobuf:"fixed64,8,opt,name=ads_organic_ratio,json=adsOrganicRatio,proto3,oneof" json:"ads_organic_ratio,omitempty"`
PageOverlapRate *float64 `protobuf:"fixed64,9,opt,name=page_overlap_rate,json=pageOverlapRate,proto3,oneof" json:"page_overlap_rate,omitempty"`
HigherPositionRate *float64 `protobuf:"fixed64,10,opt,name=higher_position_rate,json=higherPositionRate,proto3,oneof" json:"higher_position_rate,omitempty"`
RelativeVisibility *float64 `protobuf:"fixed64,11,opt,name=relative_visibility,json=relativeVisibility,proto3,oneof" json:"relative_visibility,omitempty"`
}
Fields available for query in competitive_visibility_competitor_view
table.
Competitive visibility report with businesses with similar visibility.
Values are only set for fields requested explicitly in the request's search query.
func (*CompetitiveVisibilityCompetitorView) Descriptor
func (*CompetitiveVisibilityCompetitorView) Descriptor() ([]byte, []int)
Deprecated: Use CompetitiveVisibilityCompetitorView.ProtoReflect.Descriptor instead.
func (*CompetitiveVisibilityCompetitorView) GetAdsOrganicRatio
func (x *CompetitiveVisibilityCompetitorView) GetAdsOrganicRatio() float64
func (*CompetitiveVisibilityCompetitorView) GetDate
func (x *CompetitiveVisibilityCompetitorView) GetDate() *date.Date
func (*CompetitiveVisibilityCompetitorView) GetDomain
func (x *CompetitiveVisibilityCompetitorView) GetDomain() string
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 (x *CompetitiveVisibilityCompetitorView) GetRank() int64
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 (x *CompetitiveVisibilityCompetitorView) GetTrafficSource() TrafficSource_TrafficSourceEnum
func (*CompetitiveVisibilityCompetitorView) ProtoMessage
func (*CompetitiveVisibilityCompetitorView) ProtoMessage()
func (*CompetitiveVisibilityCompetitorView) ProtoReflect
func (x *CompetitiveVisibilityCompetitorView) ProtoReflect() protoreflect.Message
func (*CompetitiveVisibilityCompetitorView) Reset
func (x *CompetitiveVisibilityCompetitorView) Reset()
func (*CompetitiveVisibilityCompetitorView) String
func (x *CompetitiveVisibilityCompetitorView) String() string
CompetitiveVisibilityTopMerchantView
type CompetitiveVisibilityTopMerchantView struct {
Date *date.Date `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
Domain *string `protobuf:"bytes,2,opt,name=domain,proto3,oneof" json:"domain,omitempty"`
IsYourDomain *bool `protobuf:"varint,3,opt,name=is_your_domain,json=isYourDomain,proto3,oneof" json:"is_your_domain,omitempty"`
ReportCountryCode *string `protobuf:"bytes,4,opt,name=report_country_code,json=reportCountryCode,proto3,oneof" json:"report_country_code,omitempty"`
ReportCategoryId *int64 `protobuf:"varint,5,opt,name=report_category_id,json=reportCategoryId,proto3,oneof" json:"report_category_id,omitempty"`
TrafficSource *TrafficSource_TrafficSourceEnum "" /* 184 byte string literal not displayed */
Rank *int64 `protobuf:"varint,7,opt,name=rank,proto3,oneof" json:"rank,omitempty"`
AdsOrganicRatio *float64 `protobuf:"fixed64,8,opt,name=ads_organic_ratio,json=adsOrganicRatio,proto3,oneof" json:"ads_organic_ratio,omitempty"`
PageOverlapRate *float64 `protobuf:"fixed64,9,opt,name=page_overlap_rate,json=pageOverlapRate,proto3,oneof" json:"page_overlap_rate,omitempty"`
HigherPositionRate *float64 `protobuf:"fixed64,10,opt,name=higher_position_rate,json=higherPositionRate,proto3,oneof" json:"higher_position_rate,omitempty"`
}
Fields available for query in competitive_visibility_top_merchant_view
table.
Competitive visibility report with business with highest visibility.
Values are only set for fields requested explicitly in the request's search query.
func (*CompetitiveVisibilityTopMerchantView) Descriptor
func (*CompetitiveVisibilityTopMerchantView) Descriptor() ([]byte, []int)
Deprecated: Use CompetitiveVisibilityTopMerchantView.ProtoReflect.Descriptor instead.
func (*CompetitiveVisibilityTopMerchantView) GetAdsOrganicRatio
func (x *CompetitiveVisibilityTopMerchantView) GetAdsOrganicRatio() float64
func (*CompetitiveVisibilityTopMerchantView) GetDate
func (x *CompetitiveVisibilityTopMerchantView) GetDate() *date.Date
func (*CompetitiveVisibilityTopMerchantView) GetDomain
func (x *CompetitiveVisibilityTopMerchantView) GetDomain() string
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 (x *CompetitiveVisibilityTopMerchantView) GetRank() int64
func (*CompetitiveVisibilityTopMerchantView) GetReportCategoryId
func (x *CompetitiveVisibilityTopMerchantView) GetReportCategoryId() int64
func (*CompetitiveVisibilityTopMerchantView) GetReportCountryCode
func (x *CompetitiveVisibilityTopMerchantView) GetReportCountryCode() string
func (*CompetitiveVisibilityTopMerchantView) GetTrafficSource
func (x *CompetitiveVisibilityTopMerchantView) GetTrafficSource() TrafficSource_TrafficSourceEnum
func (*CompetitiveVisibilityTopMerchantView) ProtoMessage
func (*CompetitiveVisibilityTopMerchantView) ProtoMessage()
func (*CompetitiveVisibilityTopMerchantView) ProtoReflect
func (x *CompetitiveVisibilityTopMerchantView) ProtoReflect() protoreflect.Message
func (*CompetitiveVisibilityTopMerchantView) Reset
func (x *CompetitiveVisibilityTopMerchantView) Reset()
func (*CompetitiveVisibilityTopMerchantView) String
func (x *CompetitiveVisibilityTopMerchantView) String() string
MarketingMethod
type MarketingMethod struct {
// contains filtered or unexported fields
}
Marketing method used to promote your products on Google (organic versus ads).
func (*MarketingMethod) Descriptor
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
MarketingMethod_MarketingMethodEnum
type MarketingMethod_MarketingMethodEnum int32
Marketing method values.
MarketingMethod_MARKETING_METHOD_ENUM_UNSPECIFIED, MarketingMethod_ORGANIC, MarketingMethod_ADS
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) Descriptor() protoreflect.EnumDescriptor
func (MarketingMethod_MarketingMethodEnum) Enum
func (x MarketingMethod_MarketingMethodEnum) Enum() *MarketingMethod_MarketingMethodEnum
func (MarketingMethod_MarketingMethodEnum) EnumDescriptor
func (MarketingMethod_MarketingMethodEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MarketingMethod_MarketingMethodEnum.Descriptor instead.
func (MarketingMethod_MarketingMethodEnum) Number
func (x MarketingMethod_MarketingMethodEnum) Number() protoreflect.EnumNumber
func (MarketingMethod_MarketingMethodEnum) String
func (x MarketingMethod_MarketingMethodEnum) String() string
func (MarketingMethod_MarketingMethodEnum) Type
func (MarketingMethod_MarketingMethodEnum) Type() protoreflect.EnumType
NonProductPerformanceView
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
func (*NonProductPerformanceView) Descriptor() ([]byte, []int)
Deprecated: Use NonProductPerformanceView.ProtoReflect.Descriptor instead.
func (*NonProductPerformanceView) GetClickThroughRate
func (x *NonProductPerformanceView) GetClickThroughRate() float64
func (*NonProductPerformanceView) GetClicks
func (x *NonProductPerformanceView) GetClicks() int64
func (*NonProductPerformanceView) GetDate
func (x *NonProductPerformanceView) GetDate() *date.Date
func (*NonProductPerformanceView) GetImpressions
func (x *NonProductPerformanceView) GetImpressions() int64
func (*NonProductPerformanceView) GetWeek
func (x *NonProductPerformanceView) GetWeek() *date.Date
func (*NonProductPerformanceView) ProtoMessage
func (*NonProductPerformanceView) ProtoMessage()
func (*NonProductPerformanceView) ProtoReflect
func (x *NonProductPerformanceView) ProtoReflect() protoreflect.Message
func (*NonProductPerformanceView) Reset
func (x *NonProductPerformanceView) Reset()
func (*NonProductPerformanceView) String
func (x *NonProductPerformanceView) String() string
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 report.
Values are only set for fields requested explicitly in the request's search query.
func (*PriceCompetitivenessProductView) Descriptor
func (*PriceCompetitivenessProductView) Descriptor() ([]byte, []int)
Deprecated: Use PriceCompetitivenessProductView.ProtoReflect.Descriptor instead.
func (*PriceCompetitivenessProductView) GetBenchmarkPrice
func (x *PriceCompetitivenessProductView) GetBenchmarkPrice() *typepb.Price
func (*PriceCompetitivenessProductView) GetBrand
func (x *PriceCompetitivenessProductView) GetBrand() string
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 (x *PriceCompetitivenessProductView) GetId() string
func (*PriceCompetitivenessProductView) GetOfferId
func (x *PriceCompetitivenessProductView) GetOfferId() string
func (*PriceCompetitivenessProductView) GetPrice
func (x *PriceCompetitivenessProductView) GetPrice() *typepb.Price
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 (x *PriceCompetitivenessProductView) GetTitle() string
func (*PriceCompetitivenessProductView) ProtoMessage
func (*PriceCompetitivenessProductView) ProtoMessage()
func (*PriceCompetitivenessProductView) ProtoReflect
func (x *PriceCompetitivenessProductView) ProtoReflect() protoreflect.Message
func (*PriceCompetitivenessProductView) Reset
func (x *PriceCompetitivenessProductView) Reset()
func (*PriceCompetitivenessProductView) String
func (x *PriceCompetitivenessProductView) String() string
PriceInsightsProductView
type PriceInsightsProductView struct {
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
OfferId *string `protobuf:"bytes,2,opt,name=offer_id,json=offerId,proto3,oneof" json:"offer_id,omitempty"`
Title *string `protobuf:"bytes,3,opt,name=title,proto3,oneof" json:"title,omitempty"`
Brand *string `protobuf:"bytes,4,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
CategoryL1 *string `protobuf:"bytes,5,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
CategoryL2 *string `protobuf:"bytes,6,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
CategoryL3 *string `protobuf:"bytes,7,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
CategoryL4 *string `protobuf:"bytes,8,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
CategoryL5 *string `protobuf:"bytes,9,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
ProductTypeL1 *string `protobuf:"bytes,10,opt,name=product_type_l1,json=productTypeL1,proto3,oneof" json:"product_type_l1,omitempty"`
ProductTypeL2 *string `protobuf:"bytes,11,opt,name=product_type_l2,json=productTypeL2,proto3,oneof" json:"product_type_l2,omitempty"`
ProductTypeL3 *string `protobuf:"bytes,12,opt,name=product_type_l3,json=productTypeL3,proto3,oneof" json:"product_type_l3,omitempty"`
ProductTypeL4 *string `protobuf:"bytes,13,opt,name=product_type_l4,json=productTypeL4,proto3,oneof" json:"product_type_l4,omitempty"`
ProductTypeL5 *string `protobuf:"bytes,14,opt,name=product_type_l5,json=productTypeL5,proto3,oneof" json:"product_type_l5,omitempty"`
Price *typepb.Price `protobuf:"bytes,15,opt,name=price,proto3" json:"price,omitempty"`
SuggestedPrice *typepb.Price `protobuf:"bytes,16,opt,name=suggested_price,json=suggestedPrice,proto3" json:"suggested_price,omitempty"`
PredictedImpressionsChangeFraction *float64 "" /* 176 byte string literal not displayed */
PredictedClicksChangeFraction *float64 "" /* 161 byte string literal not displayed */
PredictedConversionsChangeFraction *float64 "" /* 176 byte string literal not displayed */
Effectiveness PriceInsightsProductView_Effectiveness "" /* 165 byte string literal not displayed */
}
Fields available for query in price_insights_product_view
table.
Price insights report.
Values are only set for fields requested explicitly in the request's search query.
func (*PriceInsightsProductView) Descriptor
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
func (x *PriceInsightsProductView) GetEffectiveness() PriceInsightsProductView_Effectiveness
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
PriceInsightsProductView_Effectiveness
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.
PriceInsightsProductView_EFFECTIVENESS_UNSPECIFIED, PriceInsightsProductView_LOW, PriceInsightsProductView_MEDIUM, PriceInsightsProductView_HIGH
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
func (PriceInsightsProductView_Effectiveness) Descriptor() protoreflect.EnumDescriptor
func (PriceInsightsProductView_Effectiveness) Enum
func (PriceInsightsProductView_Effectiveness) EnumDescriptor
func (PriceInsightsProductView_Effectiveness) EnumDescriptor() ([]byte, []int)
Deprecated: Use PriceInsightsProductView_Effectiveness.Descriptor instead.
func (PriceInsightsProductView_Effectiveness) Number
func (x PriceInsightsProductView_Effectiveness) Number() protoreflect.EnumNumber
func (PriceInsightsProductView_Effectiveness) String
func (x PriceInsightsProductView_Effectiveness) String() string
func (PriceInsightsProductView_Effectiveness) Type
func (PriceInsightsProductView_Effectiveness) Type() protoreflect.EnumType
ProductPerformanceView
type ProductPerformanceView struct {
MarketingMethod *MarketingMethod_MarketingMethodEnum "" /* 194 byte string literal not displayed */
Date *date.Date `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
Week *date.Date `protobuf:"bytes,3,opt,name=week,proto3" json:"week,omitempty"`
CustomerCountryCode *string `protobuf:"bytes,4,opt,name=customer_country_code,json=customerCountryCode,proto3,oneof" json:"customer_country_code,omitempty"`
OfferId *string `protobuf:"bytes,5,opt,name=offer_id,json=offerId,proto3,oneof" json:"offer_id,omitempty"`
Title *string `protobuf:"bytes,6,opt,name=title,proto3,oneof" json:"title,omitempty"`
Brand *string `protobuf:"bytes,7,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
CategoryL1 *string `protobuf:"bytes,8,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
CategoryL2 *string `protobuf:"bytes,9,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
CategoryL3 *string `protobuf:"bytes,10,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
CategoryL4 *string `protobuf:"bytes,11,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
CategoryL5 *string `protobuf:"bytes,12,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
ProductTypeL1 *string `protobuf:"bytes,13,opt,name=product_type_l1,json=productTypeL1,proto3,oneof" json:"product_type_l1,omitempty"`
ProductTypeL2 *string `protobuf:"bytes,14,opt,name=product_type_l2,json=productTypeL2,proto3,oneof" json:"product_type_l2,omitempty"`
ProductTypeL3 *string `protobuf:"bytes,15,opt,name=product_type_l3,json=productTypeL3,proto3,oneof" json:"product_type_l3,omitempty"`
ProductTypeL4 *string `protobuf:"bytes,16,opt,name=product_type_l4,json=productTypeL4,proto3,oneof" json:"product_type_l4,omitempty"`
ProductTypeL5 *string `protobuf:"bytes,17,opt,name=product_type_l5,json=productTypeL5,proto3,oneof" json:"product_type_l5,omitempty"`
CustomLabel0 *string `protobuf:"bytes,18,opt,name=custom_label0,json=customLabel0,proto3,oneof" json:"custom_label0,omitempty"`
CustomLabel1 *string `protobuf:"bytes,19,opt,name=custom_label1,json=customLabel1,proto3,oneof" json:"custom_label1,omitempty"`
CustomLabel2 *string `protobuf:"bytes,20,opt,name=custom_label2,json=customLabel2,proto3,oneof" json:"custom_label2,omitempty"`
CustomLabel3 *string `protobuf:"bytes,21,opt,name=custom_label3,json=customLabel3,proto3,oneof" json:"custom_label3,omitempty"`
CustomLabel4 *string `protobuf:"bytes,22,opt,name=custom_label4,json=customLabel4,proto3,oneof" json:"custom_label4,omitempty"`
Clicks *int64 `protobuf:"varint,23,opt,name=clicks,proto3,oneof" json:"clicks,omitempty"`
Impressions *int64 `protobuf:"varint,24,opt,name=impressions,proto3,oneof" json:"impressions,omitempty"`
ClickThroughRate *float64 `protobuf:"fixed64,25,opt,name=click_through_rate,json=clickThroughRate,proto3,oneof" json:"click_through_rate,omitempty"`
Conversions *float64 `protobuf:"fixed64,26,opt,name=conversions,proto3,oneof" json:"conversions,omitempty"`
ConversionValue *typepb.Price `protobuf:"bytes,27,opt,name=conversion_value,json=conversionValue,proto3" json:"conversion_value,omitempty"`
ConversionRate *float64 `protobuf:"fixed64,28,opt,name=conversion_rate,json=conversionRate,proto3,oneof" json:"conversion_rate,omitempty"`
}
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
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 (x *ProductPerformanceView) GetMarketingMethod() MarketingMethod_MarketingMethodEnum
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
ProductView
type ProductView struct {
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
Channel *typepb.Channel_ChannelEnum `protobuf:"varint,28,opt,name=channel,proto3,enum=google.shopping.type.Channel_ChannelEnum,oneof" json:"channel,omitempty"`
LanguageCode *string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3,oneof" json:"language_code,omitempty"`
FeedLabel *string `protobuf:"bytes,3,opt,name=feed_label,json=feedLabel,proto3,oneof" json:"feed_label,omitempty"`
OfferId *string `protobuf:"bytes,4,opt,name=offer_id,json=offerId,proto3,oneof" json:"offer_id,omitempty"`
Title *string `protobuf:"bytes,5,opt,name=title,proto3,oneof" json:"title,omitempty"`
Brand *string `protobuf:"bytes,6,opt,name=brand,proto3,oneof" json:"brand,omitempty"`
CategoryL1 *string `protobuf:"bytes,7,opt,name=category_l1,json=categoryL1,proto3,oneof" json:"category_l1,omitempty"`
CategoryL2 *string `protobuf:"bytes,8,opt,name=category_l2,json=categoryL2,proto3,oneof" json:"category_l2,omitempty"`
CategoryL3 *string `protobuf:"bytes,9,opt,name=category_l3,json=categoryL3,proto3,oneof" json:"category_l3,omitempty"`
CategoryL4 *string `protobuf:"bytes,10,opt,name=category_l4,json=categoryL4,proto3,oneof" json:"category_l4,omitempty"`
CategoryL5 *string `protobuf:"bytes,11,opt,name=category_l5,json=categoryL5,proto3,oneof" json:"category_l5,omitempty"`
ProductTypeL1 *string `protobuf:"bytes,12,opt,name=product_type_l1,json=productTypeL1,proto3,oneof" json:"product_type_l1,omitempty"`
ProductTypeL2 *string `protobuf:"bytes,13,opt,name=product_type_l2,json=productTypeL2,proto3,oneof" json:"product_type_l2,omitempty"`
ProductTypeL3 *string `protobuf:"bytes,14,opt,name=product_type_l3,json=productTypeL3,proto3,oneof" json:"product_type_l3,omitempty"`
ProductTypeL4 *string `protobuf:"bytes,15,opt,name=product_type_l4,json=productTypeL4,proto3,oneof" json:"product_type_l4,omitempty"`
ProductTypeL5 *string `protobuf:"bytes,16,opt,name=product_type_l5,json=productTypeL5,proto3,oneof" json:"product_type_l5,omitempty"`
Price *typepb.Price `protobuf:"bytes,17,opt,name=price,proto3" json:"price,omitempty"`
Condition *string `protobuf:"bytes,18,opt,name=condition,proto3,oneof" json:"condition,omitempty"`
Availability *string `protobuf:"bytes,19,opt,name=availability,proto3,oneof" json:"availability,omitempty"`
ShippingLabel *string `protobuf:"bytes,20,opt,name=shipping_label,json=shippingLabel,proto3,oneof" json:"shipping_label,omitempty"`
Gtin []string `protobuf:"bytes,21,rep,name=gtin,proto3" json:"gtin,omitempty"`
ItemGroupId *string `protobuf:"bytes,22,opt,name=item_group_id,json=itemGroupId,proto3,oneof" json:"item_group_id,omitempty"`
ThumbnailLink *string `protobuf:"bytes,23,opt,name=thumbnail_link,json=thumbnailLink,proto3,oneof" json:"thumbnail_link,omitempty"`
CreationTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
ExpirationDate *date.Date `protobuf:"bytes,25,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
AggregatedReportingContextStatus *ProductView_AggregatedReportingContextStatus "" /* 259 byte string literal not displayed */
ItemIssues []*ProductView_ItemIssue `protobuf:"bytes,27,rep,name=item_issues,json=itemIssues,proto3" json:"item_issues,omitempty"`
ClickPotential ProductView_ClickPotential "" /* 177 byte string literal not displayed */
ClickPotentialRank *int64 `protobuf:"varint,30,opt,name=click_potential_rank,json=clickPotentialRank,proto3,oneof" json:"click_potential_rank,omitempty"`
}
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
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 (*ProductView) GetThumbnailLink
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
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 |
ProductView_AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED, ProductView_NOT_ELIGIBLE_OR_DISAPPROVED, ProductView_PENDING, ProductView_ELIGIBLE_LIMITED, ProductView_ELIGIBLE
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) Descriptor() protoreflect.EnumDescriptor
func (ProductView_AggregatedReportingContextStatus) Enum
func (x ProductView_AggregatedReportingContextStatus) Enum() *ProductView_AggregatedReportingContextStatus
func (ProductView_AggregatedReportingContextStatus) EnumDescriptor
func (ProductView_AggregatedReportingContextStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductView_AggregatedReportingContextStatus.Descriptor instead.
func (ProductView_AggregatedReportingContextStatus) Number
func (x ProductView_AggregatedReportingContextStatus) Number() protoreflect.EnumNumber
func (ProductView_AggregatedReportingContextStatus) String
func (x ProductView_AggregatedReportingContextStatus) String() string
func (ProductView_AggregatedReportingContextStatus) Type
func (ProductView_AggregatedReportingContextStatus) Type() protoreflect.EnumType
ProductView_ClickPotential
type ProductView_ClickPotential int32
A product's click potential 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.
ProductView_CLICK_POTENTIAL_UNSPECIFIED, ProductView_LOW, ProductView_MEDIUM, ProductView_HIGH
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) Descriptor() protoreflect.EnumDescriptor
func (ProductView_ClickPotential) Enum
func (x ProductView_ClickPotential) Enum() *ProductView_ClickPotential
func (ProductView_ClickPotential) EnumDescriptor
func (ProductView_ClickPotential) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductView_ClickPotential.Descriptor instead.
func (ProductView_ClickPotential) Number
func (x ProductView_ClickPotential) Number() protoreflect.EnumNumber
func (ProductView_ClickPotential) String
func (x ProductView_ClickPotential) String() string
func (ProductView_ClickPotential) Type
func (ProductView_ClickPotential) Type() protoreflect.EnumType
ProductView_ItemIssue
type ProductView_ItemIssue struct {
Type *ProductView_ItemIssue_ItemIssueType `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Severity *ProductView_ItemIssue_ItemIssueSeverity `protobuf:"bytes,2,opt,name=severity,proto3" json:"severity,omitempty"`
Resolution *ProductView_ItemIssue_ItemIssueResolution "" /* 167 byte string literal not displayed */
}
Item issue associated with the product.
func (*ProductView_ItemIssue) Descriptor
func (*ProductView_ItemIssue) Descriptor() ([]byte, []int)
Deprecated: Use ProductView_ItemIssue.ProtoReflect.Descriptor instead.
func (*ProductView_ItemIssue) GetResolution
func (x *ProductView_ItemIssue) GetResolution() ProductView_ItemIssue_ItemIssueResolution
func (*ProductView_ItemIssue) GetSeverity
func (x *ProductView_ItemIssue) GetSeverity() *ProductView_ItemIssue_ItemIssueSeverity
func (*ProductView_ItemIssue) GetType
func (x *ProductView_ItemIssue) GetType() *ProductView_ItemIssue_ItemIssueType
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
ProductView_ItemIssue_ItemIssueResolution
type ProductView_ItemIssue_ItemIssueResolution int32
How to resolve the issue.
ProductView_ItemIssue_ITEM_ISSUE_RESOLUTION_UNSPECIFIED, ProductView_ItemIssue_MERCHANT_ACTION, ProductView_ItemIssue_PENDING_PROCESSING
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) Descriptor() protoreflect.EnumDescriptor
func (ProductView_ItemIssue_ItemIssueResolution) Enum
func (x ProductView_ItemIssue_ItemIssueResolution) Enum() *ProductView_ItemIssue_ItemIssueResolution
func (ProductView_ItemIssue_ItemIssueResolution) EnumDescriptor
func (ProductView_ItemIssue_ItemIssueResolution) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductView_ItemIssue_ItemIssueResolution.Descriptor instead.
func (ProductView_ItemIssue_ItemIssueResolution) Number
func (x ProductView_ItemIssue_ItemIssueResolution) Number() protoreflect.EnumNumber
func (ProductView_ItemIssue_ItemIssueResolution) String
func (x ProductView_ItemIssue_ItemIssueResolution) String() string
func (ProductView_ItemIssue_ItemIssueResolution) Type
func (ProductView_ItemIssue_ItemIssueResolution) Type() protoreflect.EnumType
ProductView_ItemIssue_ItemIssueSeverity
type ProductView_ItemIssue_ItemIssueSeverity struct {
SeverityPerReportingContext []*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext "" /* 146 byte string literal not displayed */
AggregatedSeverity *ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity "" /* 231 byte string literal not displayed */
}
How the issue affects the serving of the product.
func (*ProductView_ItemIssue_ItemIssueSeverity) Descriptor
func (*ProductView_ItemIssue_ItemIssueSeverity) Descriptor() ([]byte, []int)
Deprecated: Use ProductView_ItemIssue_ItemIssueSeverity.ProtoReflect.Descriptor instead.
func (*ProductView_ItemIssue_ItemIssueSeverity) GetAggregatedSeverity
func (x *ProductView_ItemIssue_ItemIssueSeverity) GetAggregatedSeverity() ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity
func (*ProductView_ItemIssue_ItemIssueSeverity) GetSeverityPerReportingContext
func (x *ProductView_ItemIssue_ItemIssueSeverity) GetSeverityPerReportingContext() []*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext
func (*ProductView_ItemIssue_ItemIssueSeverity) ProtoMessage
func (*ProductView_ItemIssue_ItemIssueSeverity) ProtoMessage()
func (*ProductView_ItemIssue_ItemIssueSeverity) ProtoReflect
func (x *ProductView_ItemIssue_ItemIssueSeverity) ProtoReflect() protoreflect.Message
func (*ProductView_ItemIssue_ItemIssueSeverity) Reset
func (x *ProductView_ItemIssue_ItemIssueSeverity) Reset()
func (*ProductView_ItemIssue_ItemIssueSeverity) String
func (x *ProductView_ItemIssue_ItemIssueSeverity) String() string
ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity
type ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity int32
Issue severity aggregated for all reporting contexts.
ProductView_ItemIssue_ItemIssueSeverity_AGGREGATED_ISSUE_SEVERITY_UNSPECIFIED, ProductView_ItemIssue_ItemIssueSeverity_DISAPPROVED, ProductView_ItemIssue_ItemIssueSeverity_DEMOTED, ProductView_ItemIssue_ItemIssueSeverity_PENDING
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) Descriptor() protoreflect.EnumDescriptor
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Enum
func (x ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Enum() *ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) EnumDescriptor
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity.Descriptor instead.
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Number
func (x ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Number() protoreflect.EnumNumber
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) String
func (x ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) String() string
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Type
ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext
type ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext struct {
ReportingContext *typepb.ReportingContext_ReportingContextEnum "" /* 180 byte string literal not displayed */
DisapprovedCountries []string `protobuf:"bytes,2,rep,name=disapproved_countries,json=disapprovedCountries,proto3" json:"disapproved_countries,omitempty"`
DemotedCountries []string `protobuf:"bytes,3,rep,name=demoted_countries,json=demotedCountries,proto3" json:"demoted_countries,omitempty"`
}
Issue severity per reporting context.
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Descriptor
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Descriptor() ([]byte, []int)
Deprecated: Use ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext.ProtoReflect.Descriptor instead.
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDemotedCountries
func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDemotedCountries() []string
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDisapprovedCountries
func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDisapprovedCountries() []string
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetReportingContext
func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoMessage
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoMessage()
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoReflect
func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoReflect() protoreflect.Message
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Reset
func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Reset()
func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) String
func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) String() string
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
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 (x *ProductView_ItemIssue_ItemIssueType) GetCode() string
func (*ProductView_ItemIssue_ItemIssueType) ProtoMessage
func (*ProductView_ItemIssue_ItemIssueType) ProtoMessage()
func (*ProductView_ItemIssue_ItemIssueType) ProtoReflect
func (x *ProductView_ItemIssue_ItemIssueType) ProtoReflect() protoreflect.Message
func (*ProductView_ItemIssue_ItemIssueType) Reset
func (x *ProductView_ItemIssue_ItemIssueType) Reset()
func (*ProductView_ItemIssue_ItemIssueType) String
func (x *ProductView_ItemIssue_ItemIssueType) String() string
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
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
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
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
RelativeDemandChangeType_RelativeDemandChangeTypeEnum
type RelativeDemandChangeType_RelativeDemandChangeTypeEnum int32
Relative demand change type values.
RelativeDemandChangeType_RELATIVE_DEMAND_CHANGE_TYPE_ENUM_UNSPECIFIED, RelativeDemandChangeType_SINKER, RelativeDemandChangeType_FLAT, RelativeDemandChangeType_RISER
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) Descriptor() protoreflect.EnumDescriptor
func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Enum
func (x RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Enum() *RelativeDemandChangeType_RelativeDemandChangeTypeEnum
func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) EnumDescriptor
func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelativeDemandChangeType_RelativeDemandChangeTypeEnum.Descriptor instead.
func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Number
func (x RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Number() protoreflect.EnumNumber
func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) String
func (x RelativeDemandChangeType_RelativeDemandChangeTypeEnum) String() string
func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Type
RelativeDemand_RelativeDemandEnum
type RelativeDemand_RelativeDemandEnum int32
Relative demand values.
RelativeDemand_RELATIVE_DEMAND_ENUM_UNSPECIFIED, RelativeDemand_VERY_LOW, RelativeDemand_LOW, RelativeDemand_MEDIUM, RelativeDemand_HIGH, RelativeDemand_VERY_HIGH
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) Descriptor() protoreflect.EnumDescriptor
func (RelativeDemand_RelativeDemandEnum) Enum
func (x RelativeDemand_RelativeDemandEnum) Enum() *RelativeDemand_RelativeDemandEnum
func (RelativeDemand_RelativeDemandEnum) EnumDescriptor
func (RelativeDemand_RelativeDemandEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelativeDemand_RelativeDemandEnum.Descriptor instead.
func (RelativeDemand_RelativeDemandEnum) Number
func (x RelativeDemand_RelativeDemandEnum) Number() protoreflect.EnumNumber
func (RelativeDemand_RelativeDemandEnum) String
func (x RelativeDemand_RelativeDemandEnum) String() string
func (RelativeDemand_RelativeDemandEnum) Type
func (RelativeDemand_RelativeDemandEnum) Type() protoreflect.EnumType
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
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
ReportGranularity_ReportGranularityEnum
type ReportGranularity_ReportGranularityEnum int32
Report granularity values.
ReportGranularity_REPORT_GRANULARITY_ENUM_UNSPECIFIED, ReportGranularity_WEEKLY, ReportGranularity_MONTHLY
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) Descriptor() protoreflect.EnumDescriptor
func (ReportGranularity_ReportGranularityEnum) Enum
func (ReportGranularity_ReportGranularityEnum) EnumDescriptor
func (ReportGranularity_ReportGranularityEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReportGranularity_ReportGranularityEnum.Descriptor instead.
func (ReportGranularity_ReportGranularityEnum) Number
func (x ReportGranularity_ReportGranularityEnum) Number() protoreflect.EnumNumber
func (ReportGranularity_ReportGranularityEnum) String
func (x ReportGranularity_ReportGranularityEnum) String() string
func (ReportGranularity_ReportGranularityEnum) Type
func (ReportGranularity_ReportGranularityEnum) Type() protoreflect.EnumType
ReportRow
type ReportRow struct {
ProductPerformanceView *ProductPerformanceView "" /* 129 byte string literal not displayed */
NonProductPerformanceView *NonProductPerformanceView "" /* 140 byte string literal not displayed */
ProductView *ProductView `protobuf:"bytes,2,opt,name=product_view,json=productView,proto3" json:"product_view,omitempty"`
PriceCompetitivenessProductView *PriceCompetitivenessProductView "" /* 158 byte string literal not displayed */
PriceInsightsProductView *PriceInsightsProductView "" /* 137 byte string literal not displayed */
BestSellersProductClusterView *BestSellersProductClusterView "" /* 154 byte string literal not displayed */
BestSellersBrandView *BestSellersBrandView `protobuf:"bytes,6,opt,name=best_sellers_brand_view,json=bestSellersBrandView,proto3" json:"best_sellers_brand_view,omitempty"`
CompetitiveVisibilityCompetitorView *CompetitiveVisibilityCompetitorView "" /* 170 byte string literal not displayed */
CompetitiveVisibilityTopMerchantView *CompetitiveVisibilityTopMerchantView "" /* 175 byte string literal not displayed */
CompetitiveVisibilityBenchmarkView *CompetitiveVisibilityBenchmarkView "" /* 168 byte string literal not displayed */
}
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: 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
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
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.
func NewReportServiceClient
func NewReportServiceClient(cc grpc.ClientConnInterface) ReportServiceClient
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.
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
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
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
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
TrafficSource
type TrafficSource struct {
// contains filtered or unexported fields
}
Traffic source of impressions in the Competitive visibility report.
func (*TrafficSource) Descriptor
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
TrafficSource_TrafficSourceEnum
type TrafficSource_TrafficSourceEnum int32
Traffic source values.
TrafficSource_TRAFFIC_SOURCE_ENUM_UNSPECIFIED, TrafficSource_ORGANIC, TrafficSource_ADS, TrafficSource_ALL
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) Descriptor() protoreflect.EnumDescriptor
func (TrafficSource_TrafficSourceEnum) Enum
func (x TrafficSource_TrafficSourceEnum) Enum() *TrafficSource_TrafficSourceEnum
func (TrafficSource_TrafficSourceEnum) EnumDescriptor
func (TrafficSource_TrafficSourceEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrafficSource_TrafficSourceEnum.Descriptor instead.
func (TrafficSource_TrafficSourceEnum) Number
func (x TrafficSource_TrafficSourceEnum) Number() protoreflect.EnumNumber
func (TrafficSource_TrafficSourceEnum) String
func (x TrafficSource_TrafficSourceEnum) String() string
func (TrafficSource_TrafficSourceEnum) Type
func (TrafficSource_TrafficSourceEnum) Type() protoreflect.EnumType
UnimplementedReportServiceServer
type UnimplementedReportServiceServer struct {
}
UnimplementedReportServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReportServiceServer) Search
func (*UnimplementedReportServiceServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)