Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class SearchRequest(proto.Message):
fields.
page_size (int):
Optional. Number of ``ReportRows`` to retrieve in a single
page. Defaults to the maximum of 1000. Values above 1000 are
coerced to 1000.
page. Defaults to 1000. Values above 5000 are coerced to
5000.
page_token (str):
Optional. Token of the page to retrieve. If not specified,
the first page of results is returned. In order to request
Expand Down Expand Up @@ -677,18 +677,30 @@ class ProductView(proto.Message):
**Only selected attributes of this field (for example,
``item_issues.severity.aggregated_severity``) can be used
for filtering the results.**
click_potential (google.shopping.merchant_reports_v1beta.types.ProductView.ClickPotential):
Estimated performance potential compared to
highest performing products of the merchant.
click_potential_rank (int):
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.

This field is a member of `oneof`_ ``_click_potential_rank``.
"""

class AggregatedReportingContextStatus(proto.Enum):
r"""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
```

Values:
AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED (0):
Expand All @@ -712,6 +724,35 @@ class AggregatedReportingContextStatus(proto.Enum):
ELIGIBLE_LIMITED = 3
ELIGIBLE = 4

class ClickPotential(proto.Enum):
r"""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.

Values:
CLICK_POTENTIAL_UNSPECIFIED (0):
Unknown predicted clicks impact.
LOW (1):
Potential to receive a low number of clicks
compared to the highest performing products of
the merchant.
MEDIUM (2):
Potential to receive a moderate number of
clicks compared to the highest performing
products of the merchant.
HIGH (3):
Potential to receive a similar number of
clicks as the highest performing products of the
merchant.
"""
CLICK_POTENTIAL_UNSPECIFIED = 0
LOW = 1
MEDIUM = 2
HIGH = 3

class ItemIssue(proto.Message):
r"""Item issue associated with the product.

Expand Down Expand Up @@ -1022,6 +1063,16 @@ class IssueSeverityPerReportingContext(proto.Message):
number=27,
message=ItemIssue,
)
click_potential: ClickPotential = proto.Field(
proto.ENUM,
number=29,
enum=ClickPotential,
)
click_potential_rank: int = proto.Field(
proto.INT64,
number=30,
optional=True,
)


class PriceCompetitivenessProductView(proto.Message):
Expand Down