Skip to content

Commit f2d8f3e

Browse files
feat: add conversions API client libraries for v1 (#14175)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 791348692 Source-Link: googleapis/googleapis@3ac024c Source-Link: googleapis/googleapis-gen@dfb4463 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWNvbnZlcnNpb25zLy5Pd2xCb3QueWFtbCIsImgiOiJkZmI0NDYzOTYyMWFjMmM1YzcxMTI1OWVhN2I4ZGViOTU3ZWY0OWI1In0= feat: add conversions API client libraries for v1 PiperOrigin-RevId: 790723312 Source-Link: googleapis/googleapis@ef16549 Source-Link: googleapis/googleapis-gen@9207d35 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXNob3BwaW5nLW1lcmNoYW50LWNvbnZlcnNpb25zLy5Pd2xCb3QueWFtbCIsImgiOiI5MjA3ZDM1MGZhMWFmZTYxNDQxZmJkOTFkODhhZjAzYzlmY2MwYjI5In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 29d65ad commit f2d8f3e

File tree

41 files changed

+15346
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+15346
-3
lines changed

packages/google-shopping-merchant-conversions/docs/index.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
.. include:: multiprocessing.rst
44

5+
This package includes clients for multiple versions of Merchant API.
6+
By default, you will get version ``merchant_conversions_v1beta``.
7+
58

69
API Reference
710
-------------
@@ -11,6 +14,14 @@ API Reference
1114
merchant_conversions_v1beta/services_
1215
merchant_conversions_v1beta/types_
1316

17+
API Reference
18+
-------------
19+
.. toctree::
20+
:maxdepth: 2
21+
22+
merchant_conversions_v1/services_
23+
merchant_conversions_v1/types_
24+
1425

1526
Changelog
1627
---------
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ConversionSourcesService
2+
------------------------------------------
3+
4+
.. automodule:: google.shopping.merchant_conversions_v1.services.conversion_sources_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.shopping.merchant_conversions_v1.services.conversion_sources_service.pagers
9+
:members:
10+
:inherited-members:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Services for Google Shopping Merchant Conversions v1 API
2+
========================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
conversion_sources_service
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Types for Google Shopping Merchant Conversions v1 API
2+
=====================================================
3+
4+
.. automodule:: google.shopping.merchant_conversions_v1.types
5+
:members:
6+
:show-inheritance:

packages/google-shopping-merchant-conversions/google/shopping/merchant_conversions/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.9" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from google.shopping.merchant_conversions_v1 import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from .services.conversion_sources_service import (
22+
ConversionSourcesServiceAsyncClient,
23+
ConversionSourcesServiceClient,
24+
)
25+
from .types.conversionsources import (
26+
AttributionSettings,
27+
ConversionSource,
28+
CreateConversionSourceRequest,
29+
DeleteConversionSourceRequest,
30+
GetConversionSourceRequest,
31+
GoogleAnalyticsLink,
32+
ListConversionSourcesRequest,
33+
ListConversionSourcesResponse,
34+
MerchantCenterDestination,
35+
UndeleteConversionSourceRequest,
36+
UpdateConversionSourceRequest,
37+
)
38+
39+
__all__ = (
40+
"ConversionSourcesServiceAsyncClient",
41+
"AttributionSettings",
42+
"ConversionSource",
43+
"ConversionSourcesServiceClient",
44+
"CreateConversionSourceRequest",
45+
"DeleteConversionSourceRequest",
46+
"GetConversionSourceRequest",
47+
"GoogleAnalyticsLink",
48+
"ListConversionSourcesRequest",
49+
"ListConversionSourcesResponse",
50+
"MerchantCenterDestination",
51+
"UndeleteConversionSourceRequest",
52+
"UpdateConversionSourceRequest",
53+
)
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.shopping.merchant_conversions_v1",
5+
"protoPackage": "google.shopping.merchant.conversions.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"ConversionSourcesService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "ConversionSourcesServiceClient",
12+
"rpcs": {
13+
"CreateConversionSource": {
14+
"methods": [
15+
"create_conversion_source"
16+
]
17+
},
18+
"DeleteConversionSource": {
19+
"methods": [
20+
"delete_conversion_source"
21+
]
22+
},
23+
"GetConversionSource": {
24+
"methods": [
25+
"get_conversion_source"
26+
]
27+
},
28+
"ListConversionSources": {
29+
"methods": [
30+
"list_conversion_sources"
31+
]
32+
},
33+
"UndeleteConversionSource": {
34+
"methods": [
35+
"undelete_conversion_source"
36+
]
37+
},
38+
"UpdateConversionSource": {
39+
"methods": [
40+
"update_conversion_source"
41+
]
42+
}
43+
}
44+
},
45+
"grpc-async": {
46+
"libraryClient": "ConversionSourcesServiceAsyncClient",
47+
"rpcs": {
48+
"CreateConversionSource": {
49+
"methods": [
50+
"create_conversion_source"
51+
]
52+
},
53+
"DeleteConversionSource": {
54+
"methods": [
55+
"delete_conversion_source"
56+
]
57+
},
58+
"GetConversionSource": {
59+
"methods": [
60+
"get_conversion_source"
61+
]
62+
},
63+
"ListConversionSources": {
64+
"methods": [
65+
"list_conversion_sources"
66+
]
67+
},
68+
"UndeleteConversionSource": {
69+
"methods": [
70+
"undelete_conversion_source"
71+
]
72+
},
73+
"UpdateConversionSource": {
74+
"methods": [
75+
"update_conversion_source"
76+
]
77+
}
78+
}
79+
},
80+
"rest": {
81+
"libraryClient": "ConversionSourcesServiceClient",
82+
"rpcs": {
83+
"CreateConversionSource": {
84+
"methods": [
85+
"create_conversion_source"
86+
]
87+
},
88+
"DeleteConversionSource": {
89+
"methods": [
90+
"delete_conversion_source"
91+
]
92+
},
93+
"GetConversionSource": {
94+
"methods": [
95+
"get_conversion_source"
96+
]
97+
},
98+
"ListConversionSources": {
99+
"methods": [
100+
"list_conversion_sources"
101+
]
102+
},
103+
"UndeleteConversionSource": {
104+
"methods": [
105+
"undelete_conversion_source"
106+
]
107+
},
108+
"UpdateConversionSource": {
109+
"methods": [
110+
"update_conversion_source"
111+
]
112+
}
113+
}
114+
}
115+
}
116+
}
117+
}
118+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
__version__ = "0.0.0" # {x-release-please-version}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-shopping-merchant-conversions package uses inline types.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2025 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#

0 commit comments

Comments
 (0)