Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 8 additions & 0 deletions packages/google-shopping-merchant-reports/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ API Reference
merchant_reports_v1beta/services_
merchant_reports_v1beta/types_

API Reference
-------------
.. toctree::
:maxdepth: 2

merchant_reports_v1/services_
merchant_reports_v1/types_

API Reference
-------------
.. toctree::
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ReportService
-------------------------------

.. automodule:: google.shopping.merchant_reports_v1.services.report_service
:members:
:inherited-members:

.. automodule:: google.shopping.merchant_reports_v1.services.report_service.pagers
:members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Services for Google Shopping Merchant Reports v1 API
====================================================
.. toctree::
:maxdepth: 2

report_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Types for Google Shopping Merchant Reports v1 API
=================================================

.. automodule:: google.shopping.merchant_reports_v1.types
:members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from google.shopping.merchant_reports_v1 import gapic_version as package_version

__version__ = package_version.__version__


from .services.report_service import ReportServiceAsyncClient, ReportServiceClient
from .types.reports import (
BestSellersBrandView,
BestSellersProductClusterView,
CompetitiveVisibilityBenchmarkView,
CompetitiveVisibilityCompetitorView,
CompetitiveVisibilityTopMerchantView,
MarketingMethod,
NonProductPerformanceView,
PriceCompetitivenessProductView,
PriceInsightsProductView,
ProductPerformanceView,
ProductView,
RelativeDemand,
RelativeDemandChangeType,
ReportGranularity,
ReportRow,
SearchRequest,
SearchResponse,
TrafficSource,
)

__all__ = (
"ReportServiceAsyncClient",
"BestSellersBrandView",
"BestSellersProductClusterView",
"CompetitiveVisibilityBenchmarkView",
"CompetitiveVisibilityCompetitorView",
"CompetitiveVisibilityTopMerchantView",
"MarketingMethod",
"NonProductPerformanceView",
"PriceCompetitivenessProductView",
"PriceInsightsProductView",
"ProductPerformanceView",
"ProductView",
"RelativeDemand",
"RelativeDemandChangeType",
"ReportGranularity",
"ReportRow",
"ReportServiceClient",
"SearchRequest",
"SearchResponse",
"TrafficSource",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "python",
"libraryPackage": "google.shopping.merchant_reports_v1",
"protoPackage": "google.shopping.merchant.reports.v1",
"schema": "1.0",
"services": {
"ReportService": {
"clients": {
"grpc": {
"libraryClient": "ReportServiceClient",
"rpcs": {
"Search": {
"methods": [
"search"
]
}
}
},
"grpc-async": {
"libraryClient": "ReportServiceAsyncClient",
"rpcs": {
"Search": {
"methods": [
"search"
]
}
}
},
"rest": {
"libraryClient": "ReportServiceClient",
"rpcs": {
"Search": {
"methods": [
"search"
]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = "0.0.0" # {x-release-please-version}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Marker file for PEP 561.
# The google-shopping-merchant-reports package uses inline types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
# Copyright 2025 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from .async_client import ReportServiceAsyncClient
from .client import ReportServiceClient

__all__ = (
"ReportServiceClient",
"ReportServiceAsyncClient",
)
Loading
Loading