Skip to content

Commit b5678de

Browse files
feat: [google-shopping-merchant-reports] Add additional YouTube report fields to Merchant reports endpoint (#14166)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 789013724 Source-Link: googleapis/googleapis@6301a14 Source-Link: googleapis/googleapis-gen@318c5b3 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LXJlcG9ydHMvLk93bEJvdC55YW1sIiwiaCI6IjMxOGM1YjM0NGY1MzU3YWI4YWIwZThhZmU1ZjhkNmUwNTljM2NhMzAifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3f9568d commit b5678de

File tree

6 files changed

+37
-8
lines changed

6 files changed

+37
-8
lines changed

packages/google-shopping-merchant-reports/google/shopping/merchant_reports/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.16" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-shopping-merchant-reports/google/shopping/merchant_reports_v1alpha/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.16" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-shopping-merchant-reports/google/shopping/merchant_reports_v1alpha/types/reports.py

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,17 +226,17 @@ class ReportRow(proto.Message):
226226
)
227227
youtube_creator_performance_view: "YoutubeCreatorPerformanceView" = proto.Field(
228228
proto.MESSAGE,
229-
number=11,
229+
number=13,
230230
message="YoutubeCreatorPerformanceView",
231231
)
232232
youtube_content_performance_view: "YoutubeContentPerformanceView" = proto.Field(
233233
proto.MESSAGE,
234-
number=12,
234+
number=14,
235235
message="YoutubeContentPerformanceView",
236236
)
237237
youtube_product_performance_view: "YoutubeProductPerformanceView" = proto.Field(
238238
proto.MESSAGE,
239-
number=13,
239+
number=15,
240240
message="YoutubeProductPerformanceView",
241241
)
242242

@@ -2739,6 +2739,11 @@ class YoutubeContentPerformanceView(proto.Message):
27392739
and refunds).
27402740
27412741
This field is a member of `oneof`_ ``_net_sales``.
2742+
tagged_product_ids (MutableSequence[str]):
2743+
Set of unique `product
2744+
IDs <https://support.google.com/merchants/answer/188494#id>`__
2745+
tagged on the YouTube video. These IDs correspond to the
2746+
'offerId' in the Products API.
27422747
"""
27432748

27442749
date: date_pb2.Date = proto.Field(
@@ -2799,6 +2804,10 @@ class YoutubeContentPerformanceView(proto.Message):
27992804
optional=True,
28002805
message=types.Price,
28012806
)
2807+
tagged_product_ids: MutableSequence[str] = proto.RepeatedField(
2808+
proto.STRING,
2809+
number=12,
2810+
)
28022811

28032812

28042813
class YoutubeProductPerformanceView(proto.Message):
@@ -2866,6 +2875,16 @@ class YoutubeProductPerformanceView(proto.Message):
28662875
and refunds).
28672876
28682877
This field is a member of `oneof`_ ``_net_sales``.
2878+
tagged_creator_count (int):
2879+
The number of distinct creators that tagged
2880+
the product.
2881+
2882+
This field is a member of `oneof`_ ``_tagged_creator_count``.
2883+
tagged_video_count (int):
2884+
The number of distinct videos that tagged the
2885+
product.
2886+
2887+
This field is a member of `oneof`_ ``_tagged_video_count``.
28692888
"""
28702889

28712890
date: date_pb2.Date = proto.Field(
@@ -2926,6 +2945,16 @@ class YoutubeProductPerformanceView(proto.Message):
29262945
optional=True,
29272946
message=types.Price,
29282947
)
2948+
tagged_creator_count: int = proto.Field(
2949+
proto.INT64,
2950+
number=12,
2951+
optional=True,
2952+
)
2953+
tagged_video_count: int = proto.Field(
2954+
proto.INT64,
2955+
number=13,
2956+
optional=True,
2957+
)
29292958

29302959

29312960
__all__ = tuple(sorted(__protobuf__.manifest))

packages/google-shopping-merchant-reports/google/shopping/merchant_reports_v1beta/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.16" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-shopping-merchant-reports/samples/generated_samples/snippet_metadata_google.shopping.merchant.reports.v1alpha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-shopping-merchant-reports",
11-
"version": "0.1.16"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-shopping-merchant-reports/samples/generated_samples/snippet_metadata_google.shopping.merchant.reports.v1beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-shopping-merchant-reports",
11-
"version": "0.1.16"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)