Documentation ¶
Index ¶
- Variables
- func RegisterReportServiceServer(s *grpc.Server, srv ReportServiceServer)
- type BestSellersBrandView
- func (*BestSellersBrandView) Descriptor() ([]byte, []int)deprecated
- func (x *BestSellersBrandView) GetBrand() string
- func (x *BestSellersBrandView) GetPreviousRank() int64
- func (x *BestSellersBrandView) GetPreviousRelativeDemand() RelativeDemand_RelativeDemandEnum
- func (x *BestSellersBrandView) GetRank() int64
- func (x *BestSellersBrandView) GetRelativeDemand() RelativeDemand_RelativeDemandEnum
- func (x *BestSellersBrandView) GetRelativeDemandChange() RelativeDemandChangeType_RelativeDemandChangeTypeEnum
- func (x *BestSellersBrandView) GetReportCategoryId() int64
- func (x *BestSellersBrandView) GetReportCountryCode() string
- func (x *BestSellersBrandView) GetReportDate() *date.Date
- func (x *BestSellersBrandView) GetReportGranularity() ReportGranularity_ReportGranularityEnum
- func (*BestSellersBrandView) ProtoMessage()
- func (x *BestSellersBrandView) ProtoReflect() protoreflect.Message
- func (x *BestSellersBrandView) Reset()
- func (x *BestSellersBrandView) String() string
- type BestSellersProductClusterView
- func (*BestSellersProductClusterView) Descriptor() ([]byte, []int)deprecated
- func (x *BestSellersProductClusterView) GetBrand() string
- func (x *BestSellersProductClusterView) GetBrandInventoryStatus() BestSellersProductClusterView_InventoryStatus
- func (x *BestSellersProductClusterView) GetCategoryL1() string
- func (x *BestSellersProductClusterView) GetCategoryL2() string
- func (x *BestSellersProductClusterView) GetCategoryL3() string
- func (x *BestSellersProductClusterView) GetCategoryL4() string
- func (x *BestSellersProductClusterView) GetCategoryL5() string
- func (x *BestSellersProductClusterView) GetInventoryStatus() BestSellersProductClusterView_InventoryStatus
- func (x *BestSellersProductClusterView) GetPreviousRank() int64
- func (x *BestSellersProductClusterView) GetPreviousRelativeDemand() RelativeDemand_RelativeDemandEnum
- func (x *BestSellersProductClusterView) GetRank() int64
- func (x *BestSellersProductClusterView) GetRelativeDemand() RelativeDemand_RelativeDemandEnum
- func (x *BestSellersProductClusterView) GetRelativeDemandChange() RelativeDemandChangeType_RelativeDemandChangeTypeEnum
- func (x *BestSellersProductClusterView) GetReportCategoryId() int64
- func (x *BestSellersProductClusterView) GetReportCountryCode() string
- func (x *BestSellersProductClusterView) GetReportDate() *date.Date
- func (x *BestSellersProductClusterView) GetReportGranularity() ReportGranularity_ReportGranularityEnum
- func (x *BestSellersProductClusterView) GetTitle() string
- func (x *BestSellersProductClusterView) GetVariantGtins() []string
- func (*BestSellersProductClusterView) ProtoMessage()
- func (x *BestSellersProductClusterView) ProtoReflect() protoreflect.Message
- func (x *BestSellersProductClusterView) Reset()
- func (x *BestSellersProductClusterView) String() string
- type BestSellersProductClusterView_InventoryStatus
- func (BestSellersProductClusterView_InventoryStatus) Descriptor() protoreflect.EnumDescriptor
- func (x BestSellersProductClusterView_InventoryStatus) Enum() *BestSellersProductClusterView_InventoryStatus
- func (BestSellersProductClusterView_InventoryStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x BestSellersProductClusterView_InventoryStatus) Number() protoreflect.EnumNumber
- func (x BestSellersProductClusterView_InventoryStatus) String() string
- func (BestSellersProductClusterView_InventoryStatus) Type() protoreflect.EnumType
- type CompetitiveVisibilityBenchmarkView
- func (*CompetitiveVisibilityBenchmarkView) Descriptor() ([]byte, []int)deprecated
- func (x *CompetitiveVisibilityBenchmarkView) GetCategoryBenchmarkVisibilityTrend() float64
- func (x *CompetitiveVisibilityBenchmarkView) GetDate() *date.Date
- func (x *CompetitiveVisibilityBenchmarkView) GetReportCategoryId() int64
- func (x *CompetitiveVisibilityBenchmarkView) GetReportCountryCode() string
- func (x *CompetitiveVisibilityBenchmarkView) GetTrafficSource() TrafficSource_TrafficSourceEnum
- func (x *CompetitiveVisibilityBenchmarkView) GetYourDomainVisibilityTrend() float64
- func (*CompetitiveVisibilityBenchmarkView) ProtoMessage()
- func (x *CompetitiveVisibilityBenchmarkView) ProtoReflect() protoreflect.Message
- func (x *CompetitiveVisibilityBenchmarkView) Reset()
- func (x *CompetitiveVisibilityBenchmarkView) String() string
- type CompetitiveVisibilityCompetitorView
- func (*CompetitiveVisibilityCompetitorView) Descriptor() ([]byte, []int)deprecated
- func (x *CompetitiveVisibilityCompetitorView) GetAdsOrganicRatio() float64
- func (x *CompetitiveVisibilityCompetitorView) GetDate() *date.Date
- func (x *CompetitiveVisibilityCompetitorView) GetDomain() string
- func (x *CompetitiveVisibilityCompetitorView) GetHigherPositionRate() float64
- func (x *CompetitiveVisibilityCompetitorView) GetIsYourDomain() bool
- func (x *CompetitiveVisibilityCompetitorView) GetPageOverlapRate() float64
- func (x *CompetitiveVisibilityCompetitorView) GetRank() int64
- func (x *CompetitiveVisibilityCompetitorView) GetRelativeVisibility() float64
- func (x *CompetitiveVisibilityCompetitorView) GetReportCategoryId() int64
- func (x *CompetitiveVisibilityCompetitorView) GetReportCountryCode() string
- func (x *CompetitiveVisibilityCompetitorView) GetTrafficSource() TrafficSource_TrafficSourceEnum
- func (*CompetitiveVisibilityCompetitorView) ProtoMessage()
- func (x *CompetitiveVisibilityCompetitorView) ProtoReflect() protoreflect.Message
- func (x *CompetitiveVisibilityCompetitorView) Reset()
- func (x *CompetitiveVisibilityCompetitorView) String() string
- type CompetitiveVisibilityTopMerchantView
- func (*CompetitiveVisibilityTopMerchantView) Descriptor() ([]byte, []int)deprecated
- func (x *CompetitiveVisibilityTopMerchantView) GetAdsOrganicRatio() float64
- func (x *CompetitiveVisibilityTopMerchantView) GetDate() *date.Date
- func (x *CompetitiveVisibilityTopMerchantView) GetDomain() string
- func (x *CompetitiveVisibilityTopMerchantView) GetHigherPositionRate() float64
- func (x *CompetitiveVisibilityTopMerchantView) GetIsYourDomain() bool
- func (x *CompetitiveVisibilityTopMerchantView) GetPageOverlapRate() float64
- func (x *CompetitiveVisibilityTopMerchantView) GetRank() int64
- func (x *CompetitiveVisibilityTopMerchantView) GetReportCategoryId() int64
- func (x *CompetitiveVisibilityTopMerchantView) GetReportCountryCode() string
- func (x *CompetitiveVisibilityTopMerchantView) GetTrafficSource() TrafficSource_TrafficSourceEnum
- func (*CompetitiveVisibilityTopMerchantView) ProtoMessage()
- func (x *CompetitiveVisibilityTopMerchantView) ProtoReflect() protoreflect.Message
- func (x *CompetitiveVisibilityTopMerchantView) Reset()
- func (x *CompetitiveVisibilityTopMerchantView) String() string
- type MarketingMethod
- type MarketingMethod_MarketingMethodEnum
- func (MarketingMethod_MarketingMethodEnum) Descriptor() protoreflect.EnumDescriptor
- func (x MarketingMethod_MarketingMethodEnum) Enum() *MarketingMethod_MarketingMethodEnum
- func (MarketingMethod_MarketingMethodEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x MarketingMethod_MarketingMethodEnum) Number() protoreflect.EnumNumber
- func (x MarketingMethod_MarketingMethodEnum) String() string
- func (MarketingMethod_MarketingMethodEnum) Type() protoreflect.EnumType
- type NonProductPerformanceView
- func (*NonProductPerformanceView) Descriptor() ([]byte, []int)deprecated
- func (x *NonProductPerformanceView) GetClickThroughRate() float64
- func (x *NonProductPerformanceView) GetClicks() int64
- func (x *NonProductPerformanceView) GetDate() *date.Date
- func (x *NonProductPerformanceView) GetImpressions() int64
- func (x *NonProductPerformanceView) GetWeek() *date.Date
- func (*NonProductPerformanceView) ProtoMessage()
- func (x *NonProductPerformanceView) ProtoReflect() protoreflect.Message
- func (x *NonProductPerformanceView) Reset()
- func (x *NonProductPerformanceView) String() string
- type PriceCompetitivenessProductView
- func (*PriceCompetitivenessProductView) Descriptor() ([]byte, []int)deprecated
- func (x *PriceCompetitivenessProductView) GetBenchmarkPrice() *typepb.Price
- func (x *PriceCompetitivenessProductView) GetBrand() string
- func (x *PriceCompetitivenessProductView) GetCategoryL1() string
- func (x *PriceCompetitivenessProductView) GetCategoryL2() string
- func (x *PriceCompetitivenessProductView) GetCategoryL3() string
- func (x *PriceCompetitivenessProductView) GetCategoryL4() string
- func (x *PriceCompetitivenessProductView) GetCategoryL5() string
- func (x *PriceCompetitivenessProductView) GetId() string
- func (x *PriceCompetitivenessProductView) GetOfferId() string
- func (x *PriceCompetitivenessProductView) GetPrice() *typepb.Price
- func (x *PriceCompetitivenessProductView) GetProductTypeL1() string
- func (x *PriceCompetitivenessProductView) GetProductTypeL2() string
- func (x *PriceCompetitivenessProductView) GetProductTypeL3() string
- func (x *PriceCompetitivenessProductView) GetProductTypeL4() string
- func (x *PriceCompetitivenessProductView) GetProductTypeL5() string
- func (x *PriceCompetitivenessProductView) GetReportCountryCode() string
- func (x *PriceCompetitivenessProductView) GetTitle() string
- func (*PriceCompetitivenessProductView) ProtoMessage()
- func (x *PriceCompetitivenessProductView) ProtoReflect() protoreflect.Message
- func (x *PriceCompetitivenessProductView) Reset()
- func (x *PriceCompetitivenessProductView) String() string
- type PriceInsightsProductView
- func (*PriceInsightsProductView) Descriptor() ([]byte, []int)deprecated
- func (x *PriceInsightsProductView) GetBrand() string
- func (x *PriceInsightsProductView) GetCategoryL1() string
- func (x *PriceInsightsProductView) GetCategoryL2() string
- func (x *PriceInsightsProductView) GetCategoryL3() string
- func (x *PriceInsightsProductView) GetCategoryL4() string
- func (x *PriceInsightsProductView) GetCategoryL5() string
- func (x *PriceInsightsProductView) GetEffectiveness() PriceInsightsProductView_Effectiveness
- func (x *PriceInsightsProductView) GetId() string
- func (x *PriceInsightsProductView) GetOfferId() string
- func (x *PriceInsightsProductView) GetPredictedClicksChangeFraction() float64
- func (x *PriceInsightsProductView) GetPredictedConversionsChangeFraction() float64
- func (x *PriceInsightsProductView) GetPredictedImpressionsChangeFraction() float64
- func (x *PriceInsightsProductView) GetPrice() *typepb.Price
- func (x *PriceInsightsProductView) GetProductTypeL1() string
- func (x *PriceInsightsProductView) GetProductTypeL2() string
- func (x *PriceInsightsProductView) GetProductTypeL3() string
- func (x *PriceInsightsProductView) GetProductTypeL4() string
- func (x *PriceInsightsProductView) GetProductTypeL5() string
- func (x *PriceInsightsProductView) GetSuggestedPrice() *typepb.Price
- func (x *PriceInsightsProductView) GetTitle() string
- func (*PriceInsightsProductView) ProtoMessage()
- func (x *PriceInsightsProductView) ProtoReflect() protoreflect.Message
- func (x *PriceInsightsProductView) Reset()
- func (x *PriceInsightsProductView) String() string
- type PriceInsightsProductView_Effectiveness
- func (PriceInsightsProductView_Effectiveness) Descriptor() protoreflect.EnumDescriptor
- func (x PriceInsightsProductView_Effectiveness) Enum() *PriceInsightsProductView_Effectiveness
- func (PriceInsightsProductView_Effectiveness) EnumDescriptor() ([]byte, []int)deprecated
- func (x PriceInsightsProductView_Effectiveness) Number() protoreflect.EnumNumber
- func (x PriceInsightsProductView_Effectiveness) String() string
- func (PriceInsightsProductView_Effectiveness) Type() protoreflect.EnumType
- type ProductPerformanceView
- func (*ProductPerformanceView) Descriptor() ([]byte, []int)deprecated
- func (x *ProductPerformanceView) GetBrand() string
- func (x *ProductPerformanceView) GetCategoryL1() string
- func (x *ProductPerformanceView) GetCategoryL2() string
- func (x *ProductPerformanceView) GetCategoryL3() string
- func (x *ProductPerformanceView) GetCategoryL4() string
- func (x *ProductPerformanceView) GetCategoryL5() string
- func (x *ProductPerformanceView) GetClickThroughRate() float64
- func (x *ProductPerformanceView) GetClicks() int64
- func (x *ProductPerformanceView) GetConversionRate() float64
- func (x *ProductPerformanceView) GetConversionValue() *typepb.Price
- func (x *ProductPerformanceView) GetConversions() float64
- func (x *ProductPerformanceView) GetCustomLabel0() string
- func (x *ProductPerformanceView) GetCustomLabel1() string
- func (x *ProductPerformanceView) GetCustomLabel2() string
- func (x *ProductPerformanceView) GetCustomLabel3() string
- func (x *ProductPerformanceView) GetCustomLabel4() string
- func (x *ProductPerformanceView) GetCustomerCountryCode() string
- func (x *ProductPerformanceView) GetDate() *date.Date
- func (x *ProductPerformanceView) GetImpressions() int64
- func (x *ProductPerformanceView) GetMarketingMethod() MarketingMethod_MarketingMethodEnum
- func (x *ProductPerformanceView) GetOfferId() string
- func (x *ProductPerformanceView) GetProductTypeL1() string
- func (x *ProductPerformanceView) GetProductTypeL2() string
- func (x *ProductPerformanceView) GetProductTypeL3() string
- func (x *ProductPerformanceView) GetProductTypeL4() string
- func (x *ProductPerformanceView) GetProductTypeL5() string
- func (x *ProductPerformanceView) GetTitle() string
- func (x *ProductPerformanceView) GetWeek() *date.Date
- func (*ProductPerformanceView) ProtoMessage()
- func (x *ProductPerformanceView) ProtoReflect() protoreflect.Message
- func (x *ProductPerformanceView) Reset()
- func (x *ProductPerformanceView) String() string
- type ProductView
- func (*ProductView) Descriptor() ([]byte, []int)deprecated
- func (x *ProductView) GetAggregatedReportingContextStatus() ProductView_AggregatedReportingContextStatus
- func (x *ProductView) GetAvailability() string
- func (x *ProductView) GetBrand() string
- func (x *ProductView) GetCategoryL1() string
- func (x *ProductView) GetCategoryL2() string
- func (x *ProductView) GetCategoryL3() string
- func (x *ProductView) GetCategoryL4() string
- func (x *ProductView) GetCategoryL5() string
- func (x *ProductView) GetChannel() typepb.Channel_ChannelEnum
- func (x *ProductView) GetClickPotential() ProductView_ClickPotential
- func (x *ProductView) GetClickPotentialRank() int64
- func (x *ProductView) GetCondition() string
- func (x *ProductView) GetCreationTime() *timestamppb.Timestamp
- func (x *ProductView) GetExpirationDate() *date.Date
- func (x *ProductView) GetFeedLabel() string
- func (x *ProductView) GetGtin() []string
- func (x *ProductView) GetId() string
- func (x *ProductView) GetItemGroupId() string
- func (x *ProductView) GetItemIssues() []*ProductView_ItemIssue
- func (x *ProductView) GetLanguageCode() string
- func (x *ProductView) GetOfferId() string
- func (x *ProductView) GetPrice() *typepb.Price
- func (x *ProductView) GetProductTypeL1() string
- func (x *ProductView) GetProductTypeL2() string
- func (x *ProductView) GetProductTypeL3() string
- func (x *ProductView) GetProductTypeL4() string
- func (x *ProductView) GetProductTypeL5() string
- func (x *ProductView) GetShippingLabel() string
- func (x *ProductView) GetThumbnailLink() string
- func (x *ProductView) GetTitle() string
- func (*ProductView) ProtoMessage()
- func (x *ProductView) ProtoReflect() protoreflect.Message
- func (x *ProductView) Reset()
- func (x *ProductView) String() string
- type ProductView_AggregatedReportingContextStatus
- func (ProductView_AggregatedReportingContextStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ProductView_AggregatedReportingContextStatus) Enum() *ProductView_AggregatedReportingContextStatus
- func (ProductView_AggregatedReportingContextStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductView_AggregatedReportingContextStatus) Number() protoreflect.EnumNumber
- func (x ProductView_AggregatedReportingContextStatus) String() string
- func (ProductView_AggregatedReportingContextStatus) Type() protoreflect.EnumType
- type ProductView_ClickPotential
- func (ProductView_ClickPotential) Descriptor() protoreflect.EnumDescriptor
- func (x ProductView_ClickPotential) Enum() *ProductView_ClickPotential
- func (ProductView_ClickPotential) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductView_ClickPotential) Number() protoreflect.EnumNumber
- func (x ProductView_ClickPotential) String() string
- func (ProductView_ClickPotential) Type() protoreflect.EnumType
- type ProductView_ItemIssue
- func (*ProductView_ItemIssue) Descriptor() ([]byte, []int)deprecated
- func (x *ProductView_ItemIssue) GetResolution() ProductView_ItemIssue_ItemIssueResolution
- func (x *ProductView_ItemIssue) GetSeverity() *ProductView_ItemIssue_ItemIssueSeverity
- func (x *ProductView_ItemIssue) GetType() *ProductView_ItemIssue_ItemIssueType
- func (*ProductView_ItemIssue) ProtoMessage()
- func (x *ProductView_ItemIssue) ProtoReflect() protoreflect.Message
- func (x *ProductView_ItemIssue) Reset()
- func (x *ProductView_ItemIssue) String() string
- type ProductView_ItemIssue_ItemIssueResolution
- func (ProductView_ItemIssue_ItemIssueResolution) Descriptor() protoreflect.EnumDescriptor
- func (x ProductView_ItemIssue_ItemIssueResolution) Enum() *ProductView_ItemIssue_ItemIssueResolution
- func (ProductView_ItemIssue_ItemIssueResolution) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductView_ItemIssue_ItemIssueResolution) Number() protoreflect.EnumNumber
- func (x ProductView_ItemIssue_ItemIssueResolution) String() string
- func (ProductView_ItemIssue_ItemIssueResolution) Type() protoreflect.EnumType
- type ProductView_ItemIssue_ItemIssueSeverity
- func (*ProductView_ItemIssue_ItemIssueSeverity) Descriptor() ([]byte, []int)deprecated
- func (x *ProductView_ItemIssue_ItemIssueSeverity) GetAggregatedSeverity() ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity
- func (x *ProductView_ItemIssue_ItemIssueSeverity) GetSeverityPerReportingContext() []*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext
- func (*ProductView_ItemIssue_ItemIssueSeverity) ProtoMessage()
- func (x *ProductView_ItemIssue_ItemIssueSeverity) ProtoReflect() protoreflect.Message
- func (x *ProductView_ItemIssue_ItemIssueSeverity) Reset()
- func (x *ProductView_ItemIssue_ItemIssueSeverity) String() string
- type ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity
- func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Descriptor() protoreflect.EnumDescriptor
- func (x ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Enum() *ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity
- func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Number() protoreflect.EnumNumber
- func (x ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) String() string
- func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) Type() protoreflect.EnumType
- type ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext
- func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Descriptor() ([]byte, []int)deprecated
- func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDemotedCountries() []string
- func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetDisapprovedCountries() []string
- func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) GetReportingContext() typepb.ReportingContext_ReportingContextEnum
- func (*ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoMessage()
- func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) ProtoReflect() protoreflect.Message
- func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) Reset()
- func (x *ProductView_ItemIssue_ItemIssueSeverity_IssueSeverityPerReportingContext) String() string
- type ProductView_ItemIssue_ItemIssueType
- func (*ProductView_ItemIssue_ItemIssueType) Descriptor() ([]byte, []int)deprecated
- func (x *ProductView_ItemIssue_ItemIssueType) GetCanonicalAttribute() string
- func (x *ProductView_ItemIssue_ItemIssueType) GetCode() string
- func (*ProductView_ItemIssue_ItemIssueType) ProtoMessage()
- func (x *ProductView_ItemIssue_ItemIssueType) ProtoReflect() protoreflect.Message
- func (x *ProductView_ItemIssue_ItemIssueType) Reset()
- func (x *ProductView_ItemIssue_ItemIssueType) String() string
- type RelativeDemand
- type RelativeDemandChangeType
- type RelativeDemandChangeType_RelativeDemandChangeTypeEnum
- func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Descriptor() protoreflect.EnumDescriptor
- func (x RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Enum() *RelativeDemandChangeType_RelativeDemandChangeTypeEnum
- func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Number() protoreflect.EnumNumber
- func (x RelativeDemandChangeType_RelativeDemandChangeTypeEnum) String() string
- func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) Type() protoreflect.EnumType
- type RelativeDemand_RelativeDemandEnum
- func (RelativeDemand_RelativeDemandEnum) Descriptor() protoreflect.EnumDescriptor
- func (x RelativeDemand_RelativeDemandEnum) Enum() *RelativeDemand_RelativeDemandEnum
- func (RelativeDemand_RelativeDemandEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelativeDemand_RelativeDemandEnum) Number() protoreflect.EnumNumber
- func (x RelativeDemand_RelativeDemandEnum) String() string
- func (RelativeDemand_RelativeDemandEnum) Type() protoreflect.EnumType
- type ReportGranularity
- type ReportGranularity_ReportGranularityEnum
- func (ReportGranularity_ReportGranularityEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ReportGranularity_ReportGranularityEnum) Enum() *ReportGranularity_ReportGranularityEnum
- func (ReportGranularity_ReportGranularityEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReportGranularity_ReportGranularityEnum) Number() protoreflect.EnumNumber
- func (x ReportGranularity_ReportGranularityEnum) String() string
- func (ReportGranularity_ReportGranularityEnum) Type() protoreflect.EnumType
- type ReportRow
- func (*ReportRow) Descriptor() ([]byte, []int)deprecated
- func (x *ReportRow) GetBestSellersBrandView() *BestSellersBrandView
- func (x *ReportRow) GetBestSellersProductClusterView() *BestSellersProductClusterView
- func (x *ReportRow) GetCompetitiveVisibilityBenchmarkView() *CompetitiveVisibilityBenchmarkView
- func (x *ReportRow) GetCompetitiveVisibilityCompetitorView() *CompetitiveVisibilityCompetitorView
- func (x *ReportRow) GetCompetitiveVisibilityTopMerchantView() *CompetitiveVisibilityTopMerchantView
- func (x *ReportRow) GetNonProductPerformanceView() *NonProductPerformanceView
- func (x *ReportRow) GetPriceCompetitivenessProductView() *PriceCompetitivenessProductView
- func (x *ReportRow) GetPriceInsightsProductView() *PriceInsightsProductView
- func (x *ReportRow) GetProductPerformanceView() *ProductPerformanceView
- func (x *ReportRow) GetProductView() *ProductView
- func (*ReportRow) ProtoMessage()
- func (x *ReportRow) ProtoReflect() protoreflect.Message
- func (x *ReportRow) Reset()
- func (x *ReportRow) String() string
- type ReportServiceClient
- type ReportServiceServer
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetPageSize() int32
- func (x *SearchRequest) GetPageToken() string
- func (x *SearchRequest) GetParent() string
- func (x *SearchRequest) GetQuery() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetNextPageToken() string
- func (x *SearchResponse) GetResults() []*ReportRow
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- type TrafficSource
- type TrafficSource_TrafficSourceEnum
- func (TrafficSource_TrafficSourceEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TrafficSource_TrafficSourceEnum) Enum() *TrafficSource_TrafficSourceEnum
- func (TrafficSource_TrafficSourceEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrafficSource_TrafficSourceEnum) Number() protoreflect.EnumNumber
- func (x TrafficSource_TrafficSourceEnum) String() string
- func (TrafficSource_TrafficSourceEnum) Type() protoreflect.EnumType
- type UnimplementedReportServiceServer
Constants ¶
This section is empty.
Variables ¶
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 (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
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 (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
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) Descriptor() protoreflect.EnumDescriptor
func (BestSellersProductClusterView_InventoryStatus) EnumDescriptor
deprecated
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
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 (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
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 (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
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 (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
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) Descriptor() protoreflect.EnumDescriptor
func (MarketingMethod_MarketingMethodEnum) Enum ¶
func (x MarketingMethod_MarketingMethodEnum) Enum() *MarketingMethod_MarketingMethodEnum
func (MarketingMethod_MarketingMethodEnum) EnumDescriptor
deprecated
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
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 (x *NonProductPerformanceView) ProtoReflect() protoreflect.Message
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 (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
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 (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
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) Descriptor() protoreflect.EnumDescriptor
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 (x PriceInsightsProductView_Effectiveness) Number() protoreflect.EnumNumber
func (PriceInsightsProductView_Effectiveness) String ¶ added in v0.7.0
func (x PriceInsightsProductView_Effectiveness) String() string
func (PriceInsightsProductView_Effectiveness) Type ¶ added in v0.7.0
func (PriceInsightsProductView_Effectiveness) Type() protoreflect.EnumType
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 (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
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 (*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
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) Descriptor() protoreflect.EnumDescriptor
func (ProductView_AggregatedReportingContextStatus) EnumDescriptor
deprecated
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
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) Descriptor() protoreflect.EnumDescriptor
func (ProductView_ClickPotential) Enum ¶
func (x ProductView_ClickPotential) Enum() *ProductView_ClickPotential
func (ProductView_ClickPotential) EnumDescriptor
deprecated
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
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 (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
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) Descriptor() protoreflect.EnumDescriptor
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 (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
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 (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
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) EnumDescriptor
deprecated
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity.Descriptor instead.
func (ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) String ¶
func (x ProductView_ItemIssue_ItemIssueSeverity_AggregatedIssueSeverity) String() string
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
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
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 (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
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) Descriptor() protoreflect.EnumDescriptor
func (RelativeDemandChangeType_RelativeDemandChangeTypeEnum) EnumDescriptor
deprecated
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
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) Descriptor() protoreflect.EnumDescriptor
func (RelativeDemand_RelativeDemandEnum) Enum ¶
func (x RelativeDemand_RelativeDemandEnum) Enum() *RelativeDemand_RelativeDemandEnum
func (RelativeDemand_RelativeDemandEnum) EnumDescriptor
deprecated
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
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) Descriptor() protoreflect.EnumDescriptor
func (ReportGranularity_ReportGranularityEnum) EnumDescriptor
deprecated
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
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) 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
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.
func NewReportServiceClient ¶
func NewReportServiceClient(cc grpc.ClientConnInterface) ReportServiceClient
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) Descriptor() protoreflect.EnumDescriptor
func (TrafficSource_TrafficSourceEnum) Enum ¶
func (x TrafficSource_TrafficSourceEnum) Enum() *TrafficSource_TrafficSourceEnum
func (TrafficSource_TrafficSourceEnum) EnumDescriptor
deprecated
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
type UnimplementedReportServiceServer ¶
type UnimplementedReportServiceServer struct { }
UnimplementedReportServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReportServiceServer) Search ¶
func (*UnimplementedReportServiceServer) Search(context.Context, *SearchRequest) (*SearchResponse, error)