Skip to content

Commit 716c453

Browse files
committed
v0.5.9
1 parent ebf1cd1 commit 716c453

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ curl \
211211
* [Product Selector](https://python-amazon-ad-api.readthedocs.io/en/latest/api/metadata.html)
212212
* [Validation Configurations](https://python-amazon-ad-api.readthedocs.io/en/latest/api/validation_configurations.html)
213213
* [Tactical recommendations beta](https://python-amazon-ad-api.readthedocs.io/en/latest/api/recommendations.html)
214+
* [Exports](https://advertising.amazon.com/API/docs/en-us/exports)
214215

215216

216217
### [Amazon Attribution open beta](https://python-amazon-ad-api.readthedocs.io/en/latest/api/attribution.html)

ad_api/api/sb/snapshots.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class Snapshots(Client):
77
"""
88

99
@sp_endpoint('/v2/hsa/{}/snapshot', method='POST')
10+
@Utils.deprecated
1011
def post_snapshot(self, recordType, **kwargs) -> ApiResponse:
1112
"""
1213
@@ -16,6 +17,7 @@ def post_snapshot(self, recordType, **kwargs) -> ApiResponse:
1617
return self._request(fill_query_params(kwargs.pop('path'), recordType), data=kwargs.pop('body'), params=kwargs)
1718

1819
@sp_endpoint('/v2/hsa/snapshots/{}', method='GET')
20+
@Utils.deprecated
1921
def get_snapshot(self, snapshotId, **kwargs) -> ApiResponse:
2022
r"""
2123
Gets the status of a requested snapshot.
@@ -25,6 +27,7 @@ def get_snapshot(self, snapshotId, **kwargs) -> ApiResponse:
2527
"""
2628
return self._request(fill_query_params(kwargs.pop('path'), snapshotId), params=kwargs)
2729

30+
@Utils.deprecated
2831
def download_snapshot(self, **kwargs) -> ApiResponse:
2932
r"""
3033
Downloads the snapshot previously get report specified by location (this is not part of the official Amazon Advertising API, is a helper method to download the snapshot). Take in mind that a direct download of location returned in get_snapshot will return 401 - Unauthorized.

ad_api/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.5.8"
1+
__version__ = "0.5.9"

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = python-amazon-ad-api
3-
version = 0.5.8
3+
version = 0.5.9
44
author = Daniel Alvaro
55
author_email = [email protected]
66
description = Python wrapper for the Amazon Advertising API

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='python-amazon-ad-api',
5-
version='0.5.8',
5+
version='0.5.9',
66
install_requires=[
77
"requests>=2.27.1,<2.33.0",
88
"six~=1.16.0",

0 commit comments

Comments
 (0)