python-amazon-ad-api 1.4.6__tar.gz → 1.4.8__tar.gz
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.
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/PKG-INFO +2 -1
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/README.md +1 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/__init__.py +2 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/brand_store_edition_publish_versions.py +13 -2
- python_amazon_ad_api-1.4.8/ad_api/api/v1/brand_store_pages.py +63 -0
- python_amazon_ad_api-1.4.8/ad_api/version.py +1 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/PKG-INFO +2 -1
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/SOURCES.txt +1 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/setup.cfg +1 -1
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/setup.py +1 -1
- python_amazon_ad_api-1.4.6/ad_api/version.py +0 -1
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/LICENSE +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/__init__.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/__init__.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/account.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/account_budgets.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/advertising_test_account.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/attribution.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/audiences.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/billing.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/brand_metrics.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/creative_assets.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/eligibility.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/exports.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/history.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/insights.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/invoices.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/localization.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/manager_accounts.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/metadata.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/portfolios.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/portfolios_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/profiles.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/reports.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/__init__.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/ad_creatives_v4.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/ad_groups.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/ad_groups_v4.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/ads_v4.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/benchmarks.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/bid_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/brands.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/budget_rules.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/campaigns.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/campaigns_v4.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/forecast.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/keywords.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/keywords_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/landing_page_asins.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/media.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/migration.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/negative_keywords.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/negative_product_targeting.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/optimization_rules.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/product_targeting.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/reports.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/stores.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/targeting_categories.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/targeting_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/themes.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/__init__.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/ad_groups.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/bid_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/brand_safety.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/budget_rules.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/campaigns.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/campaigns_budget_usage.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/creatives.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/forecast.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/negative_product_targeting.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/product_ads.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/product_targeting.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/reports.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/snapshots.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/targeting_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/__init__.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/ad_groups_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/bid_recommendations_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/budget_initial_recommendation.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/budget_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/budget_rules.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/budget_rules_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaign_consolidated_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaign_negative_keywords_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaign_negative_targets.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaigns_budget_usage.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaigns_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaings_optimization.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/keywords_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/negative_keywords_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/negative_product_targeting_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/product_ads_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/product_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/product_targeting_v3.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/ranked_keywords_recommendations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/schedule_based_bid_optimization.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/stores.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/stream.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/ad_associations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/ad_extensions.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/ad_groups.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/ads.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/advertiser_accounts.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/brand_store_editions.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/brand_stores.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/campaigns.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/targets.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/validation_configurations.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/auth/__init__.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/auth/access_token_client.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/auth/access_token_response.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/auth/credentials.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/auth/exceptions.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/__init__.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/api_response.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/base_client.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/client.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/config.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/credential_provider.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/exceptions.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/helpers.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/marketplaces.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/utils.py +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/pyproject.toml +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/dependency_links.txt +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/requires.txt +0 -0
- {python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-amazon-ad-api
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.8
|
|
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
|
|
@@ -310,6 +310,7 @@ The v1 API lives under `/adsApi/v1/` and is **not** split by product: every call
|
|
|
310
310
|
* [Brand Store Edition Publish Versions](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_edition_publish_versions.html#ad_api.api.v1.BrandStoreEditionPublishVersions.BrandStoreEditionPublishVersions.query_brand_store_edition_publish_versions)
|
|
311
311
|
* [Brand Stores](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_stores.html#ad_api.api.v1.BrandStores.BrandStores.query_brand_stores)
|
|
312
312
|
* [Brand Store Editions](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_editions.html#ad_api.api.v1.BrandStoreEditions.BrandStoreEditions.list_brand_store_editions)
|
|
313
|
+
* [Brand Store Pages](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_pages.html#ad_api.api.v1.BrandStorePages.BrandStorePages.query_brand_store_pages)
|
|
313
314
|
|
|
314
315
|
|
|
315
316
|
### [Modules Available Sponsored Products](https://python-amazon-ad-api.readthedocs.io/en/latest/sp.html)
|
|
@@ -282,6 +282,7 @@ The v1 API lives under `/adsApi/v1/` and is **not** split by product: every call
|
|
|
282
282
|
* [Brand Store Edition Publish Versions](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_edition_publish_versions.html#ad_api.api.v1.BrandStoreEditionPublishVersions.BrandStoreEditionPublishVersions.query_brand_store_edition_publish_versions)
|
|
283
283
|
* [Brand Stores](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_stores.html#ad_api.api.v1.BrandStores.BrandStores.query_brand_stores)
|
|
284
284
|
* [Brand Store Editions](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_editions.html#ad_api.api.v1.BrandStoreEditions.BrandStoreEditions.list_brand_store_editions)
|
|
285
|
+
* [Brand Store Pages](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_pages.html#ad_api.api.v1.BrandStorePages.BrandStorePages.query_brand_store_pages)
|
|
285
286
|
|
|
286
287
|
|
|
287
288
|
### [Modules Available Sponsored Products](https://python-amazon-ad-api.readthedocs.io/en/latest/sp.html)
|
|
@@ -8,6 +8,7 @@ from .ad_associations import AdAssociations
|
|
|
8
8
|
from .brand_store_edition_publish_versions import BrandStoreEditionPublishVersions
|
|
9
9
|
from .brand_stores import BrandStores
|
|
10
10
|
from .brand_store_editions import BrandStoreEditions
|
|
11
|
+
from .brand_store_pages import BrandStorePages
|
|
11
12
|
|
|
12
13
|
__all__ = [
|
|
13
14
|
"Campaigns",
|
|
@@ -20,4 +21,5 @@ __all__ = [
|
|
|
20
21
|
"BrandStoreEditionPublishVersions",
|
|
21
22
|
"BrandStores",
|
|
22
23
|
"BrandStoreEditions",
|
|
24
|
+
"BrandStorePages",
|
|
23
25
|
]
|
|
@@ -28,6 +28,15 @@ class BrandStoreEditionPublishVersions(Client):
|
|
|
28
28
|
|
|
29
29
|
Unlike the rest of v1, the query has no fully optional body: store, edition
|
|
30
30
|
and publish status are all required, each accepting exactly one value.
|
|
31
|
+
|
|
32
|
+
``StorePublishStatus`` declares two values but the service accepts only one:
|
|
33
|
+
asking for ``REVIEW_IN_PROGRESS`` answers ``400 Only DRAFT status query is
|
|
34
|
+
supported``. The enum is honest about what exists in the data model, not
|
|
35
|
+
about what can be queried.
|
|
36
|
+
|
|
37
|
+
The ``storeEditionPublishId`` in the answer is not a plain identifier but a
|
|
38
|
+
base64 token holding the schema version, the store, ``editionIdVersion`` and
|
|
39
|
+
the status -- pass it back to update unchanged.
|
|
31
40
|
"""
|
|
32
41
|
|
|
33
42
|
@sp_endpoint('/adsApi/v1/query/brandStoreEditionPublishVersions', method='POST')
|
|
@@ -45,8 +54,10 @@ class BrandStoreEditionPublishVersions(Client):
|
|
|
45
54
|
| **storeIdFilter** (dict) [required]
|
|
46
55
|
| **include** (list<string>) : exactly one store id
|
|
47
56
|
| **publishStatusFilter** (dict) [required]
|
|
48
|
-
| **include** (list<StorePublishStatus>) : exactly one
|
|
49
|
-
|
|
57
|
+
| **include** (list<StorePublishStatus>) : exactly one value.
|
|
58
|
+
The contract declares [ DRAFT, REVIEW_IN_PROGRESS ] but the
|
|
59
|
+
service rejects the second one with
|
|
60
|
+
"400 Only DRAFT status query is supported". Send DRAFT.
|
|
50
61
|
| **maxResults** (int) [optional]
|
|
51
62
|
| **nextToken** (string) [optional]
|
|
52
63
|
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
from ad_api.base import Client, sp_endpoint, ApiResponse, Utils
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class BrandStorePages(Client):
|
|
5
|
+
r"""
|
|
6
|
+
BrandStorePages(account='default', marketplace: Marketplaces = Marketplaces.EU, credentials=None, debug=False)
|
|
7
|
+
|
|
8
|
+
Amazon Ads API v1 - unified BrandStorePages endpoints
|
|
9
|
+
|
|
10
|
+
One route, the query:
|
|
11
|
+
|
|
12
|
+
POST /adsApi/v1/query/brandStorePages
|
|
13
|
+
|
|
14
|
+
Permissions (either): ``amazon_stores_edit`` or ``amazon_stores_view``.
|
|
15
|
+
|
|
16
|
+
Three filters are required and each accepts exactly one value:
|
|
17
|
+
``storeIdFilter``, ``editionIdFilter`` and ``pageIdFilter``. There is no way to
|
|
18
|
+
list every page of a store through this route -- the page identifiers come
|
|
19
|
+
from :class:`~ad_api.api.v1.BrandStores`, whose ``pageInfos`` carries one
|
|
20
|
+
``tag`` per page, and that tag is the ``pageId`` used here.
|
|
21
|
+
|
|
22
|
+
A fourth filter, ``storeEditionPublishIdFilter``, is optional and takes the
|
|
23
|
+
base64 token from BrandStoreEditionPublishVersions.
|
|
24
|
+
|
|
25
|
+
The answer carries ``content``, the page body itself, which is why this
|
|
26
|
+
contract is far larger than its siblings. Read the shape before dumping it.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
@sp_endpoint('/adsApi/v1/query/brandStorePages', method='POST')
|
|
30
|
+
def query_brand_store_pages(self, **kwargs) -> ApiResponse:
|
|
31
|
+
r"""
|
|
32
|
+
query_brand_store_pages(body: dict) -> ApiResponse
|
|
33
|
+
|
|
34
|
+
Amazon Ads API v1 - Query BrandStorePages (operationId: QueryBrandStorePage)
|
|
35
|
+
|
|
36
|
+
Requires one of these permissions: ["amazon_stores_edit", "amazon_stores_view"]
|
|
37
|
+
|
|
38
|
+
Request Body [Required]
|
|
39
|
+
| **storeIdFilter** (dict) [required]
|
|
40
|
+
| **include** (list<string>) : exactly one store id
|
|
41
|
+
| **editionIdFilter** (dict) [required]
|
|
42
|
+
| **include** (list<string>) : exactly one edition id, "default"
|
|
43
|
+
for a store's default edition
|
|
44
|
+
| **pageIdFilter** (dict) [required]
|
|
45
|
+
| **include** (list<string>) : exactly one page id, the tag seen
|
|
46
|
+
in BrandStores' pageInfos
|
|
47
|
+
| **storeEditionPublishIdFilter** (dict) [optional]
|
|
48
|
+
| **include** (list<string>) : one base64 publish token
|
|
49
|
+
| **maxResults** (int) [optional]
|
|
50
|
+
| **nextToken** (string) [optional]
|
|
51
|
+
|
|
52
|
+
Returns
|
|
53
|
+
ApiResponse. ``payload`` holds ``brandStorePages`` and ``nextToken``.
|
|
54
|
+
Each page carries ``storeId``, ``editionId``, ``pageId``, ``pageType``,
|
|
55
|
+
``content`` and, when published, ``storeEditionPublishId`.
|
|
56
|
+
"""
|
|
57
|
+
headers = {"Accept": "application/json", "Content-Type": "application/json"}
|
|
58
|
+
return self._request(
|
|
59
|
+
kwargs.pop('path'),
|
|
60
|
+
data=Utils.convert_body(kwargs.pop('body'), False),
|
|
61
|
+
params=kwargs,
|
|
62
|
+
headers=headers,
|
|
63
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.4.8"
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-amazon-ad-api
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.8
|
|
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
|
|
@@ -310,6 +310,7 @@ The v1 API lives under `/adsApi/v1/` and is **not** split by product: every call
|
|
|
310
310
|
* [Brand Store Edition Publish Versions](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_edition_publish_versions.html#ad_api.api.v1.BrandStoreEditionPublishVersions.BrandStoreEditionPublishVersions.query_brand_store_edition_publish_versions)
|
|
311
311
|
* [Brand Stores](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_stores.html#ad_api.api.v1.BrandStores.BrandStores.query_brand_stores)
|
|
312
312
|
* [Brand Store Editions](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_editions.html#ad_api.api.v1.BrandStoreEditions.BrandStoreEditions.list_brand_store_editions)
|
|
313
|
+
* [Brand Store Pages](https://python-amazon-ad-api.readthedocs.io/en/latest/v1/brand_store_pages.html#ad_api.api.v1.BrandStorePages.BrandStorePages.query_brand_store_pages)
|
|
313
314
|
|
|
314
315
|
|
|
315
316
|
### [Modules Available Sponsored Products](https://python-amazon-ad-api.readthedocs.io/en/latest/sp.html)
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/SOURCES.txt
RENAMED
|
@@ -102,6 +102,7 @@ ad_api/api/v1/ads.py
|
|
|
102
102
|
ad_api/api/v1/advertiser_accounts.py
|
|
103
103
|
ad_api/api/v1/brand_store_edition_publish_versions.py
|
|
104
104
|
ad_api/api/v1/brand_store_editions.py
|
|
105
|
+
ad_api/api/v1/brand_store_pages.py
|
|
105
106
|
ad_api/api/v1/brand_stores.py
|
|
106
107
|
ad_api/api/v1/campaigns.py
|
|
107
108
|
ad_api/api/v1/targets.py
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.4.6"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/advertising_test_account.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/bid_recommendations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/keywords_recommendations.py
RENAMED
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/landing_page_asins.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/negative_keywords.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/optimization_rules.py
RENAMED
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/product_targeting.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/targeting_categories.py
RENAMED
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sb/targeting_recommendations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/bid_recommendations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/campaigns_budget_usage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/product_targeting.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sd/targeting_recommendations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/bid_recommendations_v3.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/budget_recommendations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaign_negative_targets.py
RENAMED
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaigns_budget_usage.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/campaings_optimization.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/negative_keywords_v3.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/product_recommendations.py
RENAMED
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/sp/product_targeting_v3.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/advertiser_accounts.py
RENAMED
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/v1/brand_store_editions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/api/validation_configurations.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/auth/access_token_client.py
RENAMED
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/auth/access_token_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/ad_api/base/credential_provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_amazon_ad_api-1.4.6 → python_amazon_ad_api-1.4.8}/python_amazon_ad_api.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|