python-amazon-ad-api 2.4.1__py3-none-any.whl → 2.4.2__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.
@@ -5,7 +5,7 @@ class Benchmarks(Client):
5
5
  """
6
6
  Use the Amazon Advertising API for Sponsored Brands for campaign, ad group, keyword, negative keyword, drafts, Stores, landing pages, and Brands management operations. For more information about Sponsored Brands, see the Sponsored Brands Support Center. For onboarding information, see the account setup topic.
7
7
  """
8
- @sp_endpoint('/benchmarks/brands/{}/categories/{}', method='POST')
8
+ @sp_endpoint('/benchmarks/brands/{}/categories/{}', method='POST', headers=['Amazon-Advertising-API-Scope'])
9
9
  def list_brand_and_category(self, brandName, categoryId, version: int = 1, **kwargs) -> ApiResponse:
10
10
 
11
11
 
@@ -18,7 +18,7 @@ class Benchmarks(Client):
18
18
  return self._request(fill_query_params(kwargs.pop('path'), brandName, categoryId), data=Utils.convert_body(kwargs.pop('body'), False), params=kwargs, headers=headers)
19
19
 
20
20
 
21
- @sp_endpoint('/benchmarks/brands', method='GET')
21
+ @sp_endpoint('/benchmarks/brands', method='GET', headers=['Amazon-Advertising-API-Scope'])
22
22
  def list_brands(self, **kwargs) -> ApiResponse:
23
23
  """
24
24
  Gets an array of Brand data objects for the Brand associated with the profile ID passed in the header. For more information about Brands, see [Brand Services](https://brandservices.amazon.com/).
@@ -37,7 +37,7 @@ class Benchmarks(Client):
37
37
  return self._request(kwargs.pop('path'), params=kwargs)
38
38
 
39
39
 
40
- @sp_endpoint('/benchmarks/brandsAndCategories', method='POST')
40
+ @sp_endpoint('/benchmarks/brandsAndCategories', method='POST', headers=['Amazon-Advertising-API-Scope'])
41
41
  def list_brands_and_categories(self, version: int = 1, **kwargs) -> ApiResponse:
42
42
  """
43
43
  Creates Sponsored Brands campaigns.
ad_api/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.4.1"
1
+ __version__ = "2.4.2"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-amazon-ad-api
3
- Version: 2.4.1
3
+ Version: 2.4.2
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
@@ -1,5 +1,5 @@
1
1
  ad_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- ad_api/version.py,sha256=LgDSW5laOqA_7i2VW0cZ9QumZREigUxs3ZCBzJ1EG0o,22
2
+ ad_api/version.py,sha256=mbr1x0lgwkkOTfP8_pmHp21dDLicZtB6g0722CdAIlc,22
3
3
  ad_api/api/__init__.py,sha256=FNV0slVKzhqevtT-vHdE7cZCGPXojEb9cQnMlUn2d2k,6057
4
4
  ad_api/api/account.py,sha256=jNYwfjW8b0HhqP7PjlMev55aXJP3YIuqWhrxri0Pk4Y,4673
5
5
  ad_api/api/account_budgets.py,sha256=jFce5eLWAFK3ydjnYR7_Sv7B0-gHTG5bMTx_TcHyy1A,2319
@@ -85,7 +85,7 @@ ad_api/api/sb/ad_creatives_v4.py,sha256=zQzTivDkGzX3I5ZfCWIlzRUGWfTRsXJZCKQrKMaM
85
85
  ad_api/api/sb/ad_groups.py,sha256=W06Fk0CCsuEYen1Bd8obR6aHpOMhk6tGWNWApecw59c,2882
86
86
  ad_api/api/sb/ad_groups_v4.py,sha256=KM5h2i-WuMnX3F271SRt96GhaVST4qDvPk1TfnKGyjw,3701
87
87
  ad_api/api/sb/ads_v4.py,sha256=L0f2rCxUMPOVTFZ7jl43TQTkI7MOBdLZ7CGO-KxsXPQ,11501
88
- ad_api/api/sb/benchmarks.py,sha256=eeWv2rrRf4ttK-oI1EEEiui_rl_sxJk9yXcu6sDSfhg,3645
88
+ ad_api/api/sb/benchmarks.py,sha256=pTeiff1kuykJ56rT5l-Ql1-_lqrWUDo4Hg05fkq6otY,3771
89
89
  ad_api/api/sb/bid_recommendations.py,sha256=ssO9XwYC9wK2GFaLtcsC-D3cZhDpCclcu1r01LTkZAw,2297
90
90
  ad_api/api/sb/brands.py,sha256=XIMDzV0tJoPiOcY0KoCKcyIwYLPMlJ-zkB2SeRVMF4Q,1376
91
91
  ad_api/api/sb/budget_rules.py,sha256=D3bvcIdgzMV5_dN3OFeNubwxgbOE97D0pGmMk-fn7ic,10009
@@ -195,8 +195,8 @@ ad_api/base/marketplaces.py,sha256=44lvCcluXNpqTprWQ80e3weSQmQbJoWL-WDSOWVbCyQ,4
195
195
  ad_api/base/utils.py,sha256=_qnCBOvyJTLgaZjJzUWTi38GGLHkQszXELs79133Rb4,5618
196
196
  ad_api/shared/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
197
197
  ad_api/shared/base_client.py,sha256=zOL_LTh-58URWf3ZDlrwmqXXbd6PX66QF5hrr2p83yY,356
198
- python_amazon_ad_api-2.4.1.dist-info/licenses/LICENSE,sha256=h2rpqlmmLy-4l1tN6KpWAFxx1JEMYeEFrMrZUbx_B_o,1105
199
- python_amazon_ad_api-2.4.1.dist-info/METADATA,sha256=G2ot0iCPBRuUiQe5dxNO3-B1_ui02UpSyhB11pNp-Tw,10678
200
- python_amazon_ad_api-2.4.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
201
- python_amazon_ad_api-2.4.1.dist-info/top_level.txt,sha256=nN9twUos-8pkP514ZwpvRU9YL9L2XyQyHsMQFfudGTU,7
202
- python_amazon_ad_api-2.4.1.dist-info/RECORD,,
198
+ python_amazon_ad_api-2.4.2.dist-info/licenses/LICENSE,sha256=h2rpqlmmLy-4l1tN6KpWAFxx1JEMYeEFrMrZUbx_B_o,1105
199
+ python_amazon_ad_api-2.4.2.dist-info/METADATA,sha256=qks8c5sijGQLdxASROnC7mEF-fJdldT-3jr30QKN7p0,10678
200
+ python_amazon_ad_api-2.4.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
201
+ python_amazon_ad_api-2.4.2.dist-info/top_level.txt,sha256=nN9twUos-8pkP514ZwpvRU9YL9L2XyQyHsMQFfudGTU,7
202
+ python_amazon_ad_api-2.4.2.dist-info/RECORD,,