python-amazon-ad-api 2.1.1__py3-none-any.whl → 2.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ad_api/api/v1/advertiser_accounts.py +2 -1
- ad_api/api/v1/manager_accounts.py +7 -1
- ad_api/version.py +1 -1
- {python_amazon_ad_api-2.1.1.dist-info → python_amazon_ad_api-2.1.3.dist-info}/METADATA +2 -2
- {python_amazon_ad_api-2.1.1.dist-info → python_amazon_ad_api-2.1.3.dist-info}/RECORD +8 -8
- {python_amazon_ad_api-2.1.1.dist-info → python_amazon_ad_api-2.1.3.dist-info}/WHEEL +0 -0
- {python_amazon_ad_api-2.1.1.dist-info → python_amazon_ad_api-2.1.3.dist-info}/licenses/LICENSE +0 -0
- {python_amazon_ad_api-2.1.1.dist-info → python_amazon_ad_api-2.1.3.dist-info}/top_level.txt +0 -0
|
@@ -41,11 +41,12 @@ class AdvertiserAccounts(Client):
|
|
|
41
41
|
ApiResponse. ``payload`` holds ``advertiserAccounts`` and ``nextToken``.
|
|
42
42
|
"""
|
|
43
43
|
headers = {"Accept": "application/json", "Content-Type": "application/json"}
|
|
44
|
+
body = kwargs.pop('body', None)
|
|
44
45
|
return self._request(
|
|
45
46
|
kwargs.pop('path'),
|
|
46
|
-
data=Utils.convert_body(kwargs.pop('body'), False),
|
|
47
47
|
params=kwargs,
|
|
48
48
|
headers=headers,
|
|
49
|
+
**({'data': Utils.convert_body(body, False)} if body is not None else {})
|
|
49
50
|
)
|
|
50
51
|
|
|
51
52
|
@sp_endpoint('/adsApi/v1/create/advertiserAccounts', method='POST')
|
|
@@ -54,7 +54,13 @@ class ManagerAccounts(Client):
|
|
|
54
54
|
"""
|
|
55
55
|
schema_version = 'application/json'
|
|
56
56
|
headers = {"Accept": schema_version, "Content-Type": schema_version}
|
|
57
|
-
|
|
57
|
+
body = kwargs.pop('body', None)
|
|
58
|
+
return self._request(
|
|
59
|
+
kwargs.pop('path'),
|
|
60
|
+
params=kwargs,
|
|
61
|
+
headers=headers,
|
|
62
|
+
**({'data': Utils.convert_body(body, False)} if body is not None else {})
|
|
63
|
+
)
|
|
58
64
|
|
|
59
65
|
@sp_endpoint('/adsApi/v1/create/managerAccounts', method='POST')
|
|
60
66
|
def create_manager_accounts(self, **kwargs) -> ApiResponse:
|
ad_api/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.1.
|
|
1
|
+
__version__ = "2.1.3"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-amazon-ad-api
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.3
|
|
4
4
|
Summary: Python wrapper for the Amazon Advertising API
|
|
5
5
|
Home-page: https://github.com/denisneuf/python-amazon-ad-api
|
|
6
6
|
Author: Daniel Alvaro
|
|
@@ -15,7 +15,7 @@ License-File: LICENSE
|
|
|
15
15
|
Requires-Dist: requests<2.35.0,>=2.27.1
|
|
16
16
|
Requires-Dist: six<1.18,>=1.16
|
|
17
17
|
Requires-Dist: cachetools<8.1,>=5.0
|
|
18
|
-
Requires-Dist: pycryptodome<4.
|
|
18
|
+
Requires-Dist: pycryptodome<4.6,>=3.13
|
|
19
19
|
Requires-Dist: pytz<2027.0,>=2021.3
|
|
20
20
|
Requires-Dist: confuse<2.4,>=1.7
|
|
21
21
|
Dynamic: author
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
ad_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
ad_api/version.py,sha256
|
|
2
|
+
ad_api/version.py,sha256=-5z5R8xV0UToQjp9-3ipF_dBiBdRXtdotx4_h9ZJZT8,22
|
|
3
3
|
ad_api/api/__init__.py,sha256=Ain-1s6B4eywYsw3CdYQc2C1KTQdAZy2L3T90KJDYdI,1995
|
|
4
4
|
ad_api/api/account.py,sha256=X6VPoPsEfGwuABUYVWJATiUpgHSCAz0BreQOHCze9To,4613
|
|
5
5
|
ad_api/api/account_budgets.py,sha256=jFce5eLWAFK3ydjnYR7_Sv7B0-gHTG5bMTx_TcHyy1A,2319
|
|
@@ -101,7 +101,7 @@ ad_api/api/v1/ad_associations.py,sha256=g5L8hAIagmsb-yQ09hP7z1zbVVe868NlpOOokv-M
|
|
|
101
101
|
ad_api/api/v1/ad_extensions.py,sha256=kL-7xHaXXqb2jXTwZrY0oGttLAG0CW_IjBAqL_CI92U,5519
|
|
102
102
|
ad_api/api/v1/ad_groups.py,sha256=Kuiho34wcJju0C_R1tk8kzYF7aoivgpxu15FqDIXnWE,13880
|
|
103
103
|
ad_api/api/v1/ads.py,sha256=YwZGQ-4WuYquleELtwRI9L8w0fGw7FBRejQE-tZ5hKY,7941
|
|
104
|
-
ad_api/api/v1/advertiser_accounts.py,sha256=
|
|
104
|
+
ad_api/api/v1/advertiser_accounts.py,sha256=Y_QqOIt6ggmysEBT59JhrdvTlZ5OQnPduMKX43JTdDU,5468
|
|
105
105
|
ad_api/api/v1/brand_store_edition_publish_versions.py,sha256=HVeO4ZiPdtjVoVoxQk2xIa8fhcLXSMCquSO1CP4Hbu4,4894
|
|
106
106
|
ad_api/api/v1/brand_store_editions.py,sha256=xW4z2jDWhNJn86tWlT3eLIRr0NEpxLhW1eA-T_hiXcI,2160
|
|
107
107
|
ad_api/api/v1/brand_store_pages.py,sha256=uag4VY4bWgHnYtk7O1GAPub1KpwUwVLowoP_xEjotzI,2766
|
|
@@ -111,7 +111,7 @@ ad_api/api/v1/geo_locations.py,sha256=gH1kR1rPQuIdzStB6wvWI40-XRo5yFyVI9AYYcjN5_
|
|
|
111
111
|
ad_api/api/v1/label_object_associations.py,sha256=zXuD5cUAfqL-PRObvjOM54KC356HFqnzA5ehpGSJPYk,2597
|
|
112
112
|
ad_api/api/v1/labels.py,sha256=jjPmafIQZTh99Ztj5MCcDC7UyoFFN0YuWdn2syqd3Yg,2438
|
|
113
113
|
ad_api/api/v1/location_indexes.py,sha256=F9mV1gBwIcFU4WAsYylgO98T_ZapWb_YoA8etJK2Xvo,5880
|
|
114
|
-
ad_api/api/v1/manager_accounts.py,sha256=
|
|
114
|
+
ad_api/api/v1/manager_accounts.py,sha256=iiW0bjS23rn2R_In3Zisn0mSFQsQ6iy6KgkO_JxT-H4,5101
|
|
115
115
|
ad_api/api/v1/portfolios.py,sha256=W9NFWJFZ5y8H76WwSmznc6BFHRjDN8XSMxZ2d3-pe9o,7872
|
|
116
116
|
ad_api/api/v1/recommendation_types.py,sha256=aEBfXu1EhzcRk9Nhin8_ieFiNnBiusX_vWviJw_qD08,2077
|
|
117
117
|
ad_api/api/v1/recommendations.py,sha256=lb3Jwtwcmq3L8j0HAUKzOt8o_xQRJRduXcjklX_tFw8,4305
|
|
@@ -134,8 +134,8 @@ ad_api/base/marketplaces.py,sha256=44lvCcluXNpqTprWQ80e3weSQmQbJoWL-WDSOWVbCyQ,4
|
|
|
134
134
|
ad_api/base/utils.py,sha256=_qnCBOvyJTLgaZjJzUWTi38GGLHkQszXELs79133Rb4,5618
|
|
135
135
|
ad_api/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
136
136
|
ad_api/shared/base_client.py,sha256=zOL_LTh-58URWf3ZDlrwmqXXbd6PX66QF5hrr2p83yY,356
|
|
137
|
-
python_amazon_ad_api-2.1.
|
|
138
|
-
python_amazon_ad_api-2.1.
|
|
139
|
-
python_amazon_ad_api-2.1.
|
|
140
|
-
python_amazon_ad_api-2.1.
|
|
141
|
-
python_amazon_ad_api-2.1.
|
|
137
|
+
python_amazon_ad_api-2.1.3.dist-info/licenses/LICENSE,sha256=h2rpqlmmLy-4l1tN6KpWAFxx1JEMYeEFrMrZUbx_B_o,1105
|
|
138
|
+
python_amazon_ad_api-2.1.3.dist-info/METADATA,sha256=JnYhDa59ZilzN9inTTc73JOqZSCwNlWUKB11c7AKUVE,54257
|
|
139
|
+
python_amazon_ad_api-2.1.3.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
140
|
+
python_amazon_ad_api-2.1.3.dist-info/top_level.txt,sha256=nN9twUos-8pkP514ZwpvRU9YL9L2XyQyHsMQFfudGTU,7
|
|
141
|
+
python_amazon_ad_api-2.1.3.dist-info/RECORD,,
|
|
File without changes
|
{python_amazon_ad_api-2.1.1.dist-info → python_amazon_ad_api-2.1.3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|