criteo-api-retailmedia-sdk 0.0.251015__py3-none-any.whl → 0.0.251028__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.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +1 -1
- criteo_api_retailmedia_preview/api/campaign_api.py +332 -1203
- criteo_api_retailmedia_preview/api/third_party_accounts_api.py +757 -0
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/{set_bid_model.py → display_auction_min_bid_request.py} +17 -14
- criteo_api_retailmedia_preview/model/{keywords_model.py → display_auction_min_bid_result.py} +30 -16
- criteo_api_retailmedia_preview/model/{entity_resource_line_item_keyword_review_report.py → entity_resource_of_retail_media_account_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/{value_resource_outcome_retail_media_keywords_review_result.py → entity_resource_outcome_of_retail_media_account_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/external_retail_media_account_v2.py +301 -0
- criteo_api_retailmedia_preview/model/{add_remove_keyword_model.py → external_retail_media_brand_account_creation_v2.py} +19 -24
- criteo_api_retailmedia_preview/model/{set_bids_model.py → external_retail_media_brands.py} +16 -15
- criteo_api_retailmedia_preview/model/{seller_identifier_v2.py → external_retail_media_seller.py} +10 -16
- criteo_api_retailmedia_preview/model/{retail_media_keywords_review.py → external_retail_media_seller_account_creation_v2.py} +25 -16
- criteo_api_retailmedia_preview/model/{value_resource_input_retail_media_keywords_review.py → value_resource_collection_input_of_retail_media_seller.py} +8 -8
- criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py → value_resource_collection_outcome_display_auction_min_bid_result.py} +8 -14
- criteo_api_retailmedia_preview/model/{resource_outcome.py → value_resource_collection_outcome_of_retail_media_seller.py} +17 -11
- criteo_api_retailmedia_preview/model/{keywords_model_resource.py → value_resource_display_auction_min_bid_request.py} +11 -15
- criteo_api_retailmedia_preview/model/{set_bids_model_resource.py → value_resource_display_auction_min_bid_result.py} +10 -14
- criteo_api_retailmedia_preview/model/{add_remove_keywords_model_request.py → value_resource_input_display_auction_min_bid_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{add_remove_keywords_model.py → value_resource_input_of_retail_media_brand_account_creation_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/{set_bids_model_request.py → value_resource_input_of_retail_media_brands.py} +8 -8
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation_v2.py +262 -0
- criteo_api_retailmedia_preview/model/{add_remove_keywords_model_resource.py → value_resource_of_retail_media_brand_account_creation_v2.py} +10 -14
- criteo_api_retailmedia_preview/model/{value_resource_retail_media_keywords_review_result.py → value_resource_of_retail_media_brands.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_retail_media_keywords_review.py → value_resource_of_retail_media_seller.py} +8 -8
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation_v2.py +266 -0
- criteo_api_retailmedia_preview/model/{keywords_model_response.py → value_resource_outcome_of_retail_media_brands.py} +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +23 -33
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/RECORD +35 -44
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +0 -284
- criteo_api_retailmedia_preview/model/input_keywords_model.py +0 -265
- criteo_api_retailmedia_preview/model/keyword_data_model.py +0 -286
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +0 -311
- criteo_api_retailmedia_preview/model/match_type_model.py +0 -291
- criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +0 -271
- criteo_api_retailmedia_preview/model/review_set_state.py +0 -278
- criteo_api_retailmedia_preview/model/review_state_model.py +0 -294
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +0 -286
- criteo_api_retailmedia_preview/model/value_resource_input_of_brand_catalog_request_v2.py +0 -269
- criteo_api_retailmedia_preview/model/value_resource_input_of_seller_catalog_request_v2.py +0 -269
- criteo_api_retailmedia_preview/model/value_resource_of_brand_catalog_request_v2.py +0 -273
- criteo_api_retailmedia_preview/model/value_resource_of_seller_catalog_request_v2.py +0 -273
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/top_level.txt +0 -0
|
@@ -21,7 +21,6 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
21
21
|
none_type,
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
|
-
from criteo_api_retailmedia_preview.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest
|
|
25
24
|
from criteo_api_retailmedia_preview.model.brand_preview_list_response import BrandPreviewListResponse
|
|
26
25
|
from criteo_api_retailmedia_preview.model.cpc_rate_card_preview_response import CpcRateCardPreviewResponse
|
|
27
26
|
from criteo_api_retailmedia_preview.model.creative2_list_response import Creative2ListResponse
|
|
@@ -31,12 +30,10 @@ from criteo_api_retailmedia_preview.model.creative_update_model2 import Creative
|
|
|
31
30
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata import EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata
|
|
32
31
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204 import EntityResourceCollectionOutcomeCategory202204
|
|
33
32
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204_metadata import EntityResourceCollectionOutcomeCategory202204Metadata
|
|
34
|
-
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
|
|
35
33
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retailer_result_and_metadata import EntityResourceCollectionOutcomeOfRetailerResultAndMetadata
|
|
36
34
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata import EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
|
|
37
35
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_status_v2 import EntityResourceOutcomeOfCatalogStatusV2
|
|
38
36
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_sponsored_products_line_item import EntityResourceOutcomeOfSponsoredProductsLineItem
|
|
39
|
-
from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
|
|
40
37
|
from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
|
|
41
38
|
from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
|
|
42
39
|
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
|
|
@@ -48,25 +45,21 @@ from criteo_api_retailmedia_preview.model.product_button_response_list_response
|
|
|
48
45
|
from criteo_api_retailmedia_preview.model.product_resource_outcome import ProductResourceOutcome
|
|
49
46
|
from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput
|
|
50
47
|
from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome
|
|
51
|
-
from criteo_api_retailmedia_preview.model.resource_outcome import ResourceOutcome
|
|
52
48
|
from criteo_api_retailmedia_preview.model.seller_preview_response import SellerPreviewResponse
|
|
53
|
-
from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
|
|
54
49
|
from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
|
|
55
50
|
from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
|
|
51
|
+
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_display_auction_min_bid_result import ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
|
|
56
52
|
from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
|
|
57
53
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
54
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_display_auction_min_bid_request import ValueResourceInputDisplayAuctionMinBidRequest
|
|
58
55
|
from criteo_api_retailmedia_preview.model.value_resource_input_line_item_budget_cap_out_history_request import ValueResourceInputLineItemBudgetCapOutHistoryRequest
|
|
59
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
60
56
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_retailer_search_request import ValueResourceInputOfRetailerSearchRequest
|
|
61
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
|
|
62
57
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_create_request_model import ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel
|
|
63
58
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
|
|
64
59
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
|
|
65
60
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
|
|
66
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
|
|
67
61
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_line_item_budget_cap_out_history_response import ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
|
|
68
62
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
|
|
69
|
-
from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
|
|
70
63
|
|
|
71
64
|
|
|
72
65
|
class CampaignApi(object):
|
|
@@ -80,27 +73,28 @@ class CampaignApi(object):
|
|
|
80
73
|
if api_client is None:
|
|
81
74
|
api_client = ApiClient()
|
|
82
75
|
self.api_client = api_client
|
|
83
|
-
self.
|
|
76
|
+
self.append_product_button_by_line_item_id_endpoint = _Endpoint(
|
|
84
77
|
settings={
|
|
85
|
-
'response_type': (
|
|
78
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
86
79
|
'auth': [
|
|
87
80
|
'oauth',
|
|
88
81
|
'oauth'
|
|
89
82
|
],
|
|
90
|
-
'endpoint_path': '/preview/retail-media/line-items/{id}/
|
|
91
|
-
'operation_id': '
|
|
83
|
+
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/create',
|
|
84
|
+
'operation_id': 'append_product_button_by_line_item_id',
|
|
92
85
|
'http_method': 'POST',
|
|
93
86
|
'servers': None,
|
|
94
87
|
},
|
|
95
88
|
params_map={
|
|
96
89
|
'all': [
|
|
97
|
-
'
|
|
98
|
-
'
|
|
90
|
+
'line_item_id',
|
|
91
|
+
'product_button_request_list_request',
|
|
99
92
|
],
|
|
100
93
|
'required': [
|
|
101
|
-
'
|
|
94
|
+
'line_item_id',
|
|
102
95
|
],
|
|
103
96
|
'nullable': [
|
|
97
|
+
'product_button_request_list_request',
|
|
104
98
|
],
|
|
105
99
|
'enum': [
|
|
106
100
|
],
|
|
@@ -113,17 +107,17 @@ class CampaignApi(object):
|
|
|
113
107
|
'allowed_values': {
|
|
114
108
|
},
|
|
115
109
|
'openapi_types': {
|
|
116
|
-
'
|
|
110
|
+
'line_item_id':
|
|
117
111
|
(str,),
|
|
118
|
-
'
|
|
119
|
-
(
|
|
112
|
+
'product_button_request_list_request':
|
|
113
|
+
(ProductButtonRequestListRequest,),
|
|
120
114
|
},
|
|
121
115
|
'attribute_map': {
|
|
122
|
-
'
|
|
116
|
+
'line_item_id': 'line-item-id',
|
|
123
117
|
},
|
|
124
118
|
'location_map': {
|
|
125
|
-
'
|
|
126
|
-
'
|
|
119
|
+
'line_item_id': 'path',
|
|
120
|
+
'product_button_request_list_request': 'body',
|
|
127
121
|
},
|
|
128
122
|
'collection_format_map': {
|
|
129
123
|
}
|
|
@@ -138,28 +132,27 @@ class CampaignApi(object):
|
|
|
138
132
|
},
|
|
139
133
|
api_client=api_client
|
|
140
134
|
)
|
|
141
|
-
self.
|
|
135
|
+
self.append_promoted_products_endpoint = _Endpoint(
|
|
142
136
|
settings={
|
|
143
|
-
'response_type': (
|
|
137
|
+
'response_type': (ProductResourceOutcome,),
|
|
144
138
|
'auth': [
|
|
145
139
|
'oauth',
|
|
146
140
|
'oauth'
|
|
147
141
|
],
|
|
148
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/
|
|
149
|
-
'operation_id': '
|
|
142
|
+
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/append',
|
|
143
|
+
'operation_id': 'append_promoted_products',
|
|
150
144
|
'http_method': 'POST',
|
|
151
145
|
'servers': None,
|
|
152
146
|
},
|
|
153
147
|
params_map={
|
|
154
148
|
'all': [
|
|
155
149
|
'line_item_id',
|
|
156
|
-
'
|
|
150
|
+
'promoted_product_resource_collection_input',
|
|
157
151
|
],
|
|
158
152
|
'required': [
|
|
159
153
|
'line_item_id',
|
|
160
154
|
],
|
|
161
155
|
'nullable': [
|
|
162
|
-
'product_button_request_list_request',
|
|
163
156
|
],
|
|
164
157
|
'enum': [
|
|
165
158
|
],
|
|
@@ -174,15 +167,15 @@ class CampaignApi(object):
|
|
|
174
167
|
'openapi_types': {
|
|
175
168
|
'line_item_id':
|
|
176
169
|
(str,),
|
|
177
|
-
'
|
|
178
|
-
(
|
|
170
|
+
'promoted_product_resource_collection_input':
|
|
171
|
+
(PromotedProductResourceCollectionInput,),
|
|
179
172
|
},
|
|
180
173
|
'attribute_map': {
|
|
181
174
|
'line_item_id': 'line-item-id',
|
|
182
175
|
},
|
|
183
176
|
'location_map': {
|
|
184
177
|
'line_item_id': 'path',
|
|
185
|
-
'
|
|
178
|
+
'promoted_product_resource_collection_input': 'body',
|
|
186
179
|
},
|
|
187
180
|
'collection_format_map': {
|
|
188
181
|
}
|
|
@@ -197,25 +190,25 @@ class CampaignApi(object):
|
|
|
197
190
|
},
|
|
198
191
|
api_client=api_client
|
|
199
192
|
)
|
|
200
|
-
self.
|
|
193
|
+
self.compute_display_min_bid_by_retailer_id_endpoint = _Endpoint(
|
|
201
194
|
settings={
|
|
202
|
-
'response_type': (
|
|
195
|
+
'response_type': (ValueResourceCollectionOutcomeDisplayAuctionMinBidResult,),
|
|
203
196
|
'auth': [
|
|
204
197
|
'oauth',
|
|
205
198
|
'oauth'
|
|
206
199
|
],
|
|
207
|
-
'endpoint_path': '/preview/retail-media/
|
|
208
|
-
'operation_id': '
|
|
200
|
+
'endpoint_path': '/preview/retail-media/retailers/{retailerId}/compute-display-min-bid',
|
|
201
|
+
'operation_id': 'compute_display_min_bid_by_retailer_id',
|
|
209
202
|
'http_method': 'POST',
|
|
210
203
|
'servers': None,
|
|
211
204
|
},
|
|
212
205
|
params_map={
|
|
213
206
|
'all': [
|
|
214
|
-
'
|
|
215
|
-
'
|
|
207
|
+
'retailer_id',
|
|
208
|
+
'value_resource_input_display_auction_min_bid_request',
|
|
216
209
|
],
|
|
217
210
|
'required': [
|
|
218
|
-
'
|
|
211
|
+
'retailer_id',
|
|
219
212
|
],
|
|
220
213
|
'nullable': [
|
|
221
214
|
],
|
|
@@ -230,17 +223,17 @@ class CampaignApi(object):
|
|
|
230
223
|
'allowed_values': {
|
|
231
224
|
},
|
|
232
225
|
'openapi_types': {
|
|
233
|
-
'
|
|
234
|
-
(
|
|
235
|
-
'
|
|
236
|
-
(
|
|
226
|
+
'retailer_id':
|
|
227
|
+
(int,),
|
|
228
|
+
'value_resource_input_display_auction_min_bid_request':
|
|
229
|
+
(ValueResourceInputDisplayAuctionMinBidRequest,),
|
|
237
230
|
},
|
|
238
231
|
'attribute_map': {
|
|
239
|
-
'
|
|
232
|
+
'retailer_id': 'retailerId',
|
|
240
233
|
},
|
|
241
234
|
'location_map': {
|
|
242
|
-
'
|
|
243
|
-
'
|
|
235
|
+
'retailer_id': 'path',
|
|
236
|
+
'value_resource_input_display_auction_min_bid_request': 'body',
|
|
244
237
|
},
|
|
245
238
|
'collection_format_map': {
|
|
246
239
|
}
|
|
@@ -543,58 +536,6 @@ class CampaignApi(object):
|
|
|
543
536
|
},
|
|
544
537
|
api_client=api_client
|
|
545
538
|
)
|
|
546
|
-
self.fetch_keywords_endpoint = _Endpoint(
|
|
547
|
-
settings={
|
|
548
|
-
'response_type': (KeywordsModelResponse,),
|
|
549
|
-
'auth': [
|
|
550
|
-
'oauth',
|
|
551
|
-
'oauth'
|
|
552
|
-
],
|
|
553
|
-
'endpoint_path': '/preview/retail-media/line-items/{id}/keywords',
|
|
554
|
-
'operation_id': 'fetch_keywords',
|
|
555
|
-
'http_method': 'GET',
|
|
556
|
-
'servers': None,
|
|
557
|
-
},
|
|
558
|
-
params_map={
|
|
559
|
-
'all': [
|
|
560
|
-
'id',
|
|
561
|
-
],
|
|
562
|
-
'required': [
|
|
563
|
-
'id',
|
|
564
|
-
],
|
|
565
|
-
'nullable': [
|
|
566
|
-
],
|
|
567
|
-
'enum': [
|
|
568
|
-
],
|
|
569
|
-
'validation': [
|
|
570
|
-
]
|
|
571
|
-
},
|
|
572
|
-
root_map={
|
|
573
|
-
'validations': {
|
|
574
|
-
},
|
|
575
|
-
'allowed_values': {
|
|
576
|
-
},
|
|
577
|
-
'openapi_types': {
|
|
578
|
-
'id':
|
|
579
|
-
(str,),
|
|
580
|
-
},
|
|
581
|
-
'attribute_map': {
|
|
582
|
-
'id': 'id',
|
|
583
|
-
},
|
|
584
|
-
'location_map': {
|
|
585
|
-
'id': 'path',
|
|
586
|
-
},
|
|
587
|
-
'collection_format_map': {
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
headers_map={
|
|
591
|
-
'accept': [
|
|
592
|
-
'application/json'
|
|
593
|
-
],
|
|
594
|
-
'content_type': [],
|
|
595
|
-
},
|
|
596
|
-
api_client=api_client
|
|
597
|
-
)
|
|
598
539
|
self.fetch_promoted_products_endpoint = _Endpoint(
|
|
599
540
|
settings={
|
|
600
541
|
'response_type': (PromotedProductResourceCollectionOutcome,),
|
|
@@ -1507,80 +1448,6 @@ class CampaignApi(object):
|
|
|
1507
1448
|
},
|
|
1508
1449
|
api_client=api_client
|
|
1509
1450
|
)
|
|
1510
|
-
self.in_review_report_v1_endpoint = _Endpoint(
|
|
1511
|
-
settings={
|
|
1512
|
-
'response_type': (EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata,),
|
|
1513
|
-
'auth': [
|
|
1514
|
-
'oauth',
|
|
1515
|
-
'oauth'
|
|
1516
|
-
],
|
|
1517
|
-
'endpoint_path': '/preview/retail-media/accounts/{account-id}/keywords/in-review-report',
|
|
1518
|
-
'operation_id': 'in_review_report_v1',
|
|
1519
|
-
'http_method': 'GET',
|
|
1520
|
-
'servers': None,
|
|
1521
|
-
},
|
|
1522
|
-
params_map={
|
|
1523
|
-
'all': [
|
|
1524
|
-
'account_id',
|
|
1525
|
-
'limit',
|
|
1526
|
-
'offset',
|
|
1527
|
-
],
|
|
1528
|
-
'required': [
|
|
1529
|
-
'account_id',
|
|
1530
|
-
],
|
|
1531
|
-
'nullable': [
|
|
1532
|
-
],
|
|
1533
|
-
'enum': [
|
|
1534
|
-
],
|
|
1535
|
-
'validation': [
|
|
1536
|
-
'limit',
|
|
1537
|
-
'offset',
|
|
1538
|
-
]
|
|
1539
|
-
},
|
|
1540
|
-
root_map={
|
|
1541
|
-
'validations': {
|
|
1542
|
-
('limit',): {
|
|
1543
|
-
|
|
1544
|
-
'inclusive_maximum': 50,
|
|
1545
|
-
'inclusive_minimum': 1,
|
|
1546
|
-
},
|
|
1547
|
-
('offset',): {
|
|
1548
|
-
|
|
1549
|
-
'inclusive_maximum': 2147483647,
|
|
1550
|
-
'inclusive_minimum': 0,
|
|
1551
|
-
},
|
|
1552
|
-
},
|
|
1553
|
-
'allowed_values': {
|
|
1554
|
-
},
|
|
1555
|
-
'openapi_types': {
|
|
1556
|
-
'account_id':
|
|
1557
|
-
(int,),
|
|
1558
|
-
'limit':
|
|
1559
|
-
(int,),
|
|
1560
|
-
'offset':
|
|
1561
|
-
(int,),
|
|
1562
|
-
},
|
|
1563
|
-
'attribute_map': {
|
|
1564
|
-
'account_id': 'account-id',
|
|
1565
|
-
'limit': 'limit',
|
|
1566
|
-
'offset': 'offset',
|
|
1567
|
-
},
|
|
1568
|
-
'location_map': {
|
|
1569
|
-
'account_id': 'path',
|
|
1570
|
-
'limit': 'query',
|
|
1571
|
-
'offset': 'query',
|
|
1572
|
-
},
|
|
1573
|
-
'collection_format_map': {
|
|
1574
|
-
}
|
|
1575
|
-
},
|
|
1576
|
-
headers_map={
|
|
1577
|
-
'accept': [
|
|
1578
|
-
'application/json'
|
|
1579
|
-
],
|
|
1580
|
-
'content_type': [],
|
|
1581
|
-
},
|
|
1582
|
-
api_client=api_client
|
|
1583
|
-
)
|
|
1584
1451
|
self.pause_promoted_products_endpoint = _Endpoint(
|
|
1585
1452
|
settings={
|
|
1586
1453
|
'response_type': None,
|
|
@@ -1637,51 +1504,69 @@ class CampaignApi(object):
|
|
|
1637
1504
|
},
|
|
1638
1505
|
api_client=api_client
|
|
1639
1506
|
)
|
|
1640
|
-
self.
|
|
1507
|
+
self.post_api_v1_external_catalogs_sku_retrieval_endpoint = _Endpoint(
|
|
1641
1508
|
settings={
|
|
1642
|
-
'response_type': (
|
|
1509
|
+
'response_type': (SkuDataPreviewListResponse,),
|
|
1643
1510
|
'auth': [
|
|
1644
1511
|
'oauth',
|
|
1645
1512
|
'oauth'
|
|
1646
1513
|
],
|
|
1647
|
-
'endpoint_path': '/preview/retail-media/
|
|
1648
|
-
'operation_id': '
|
|
1514
|
+
'endpoint_path': '/preview/retail-media/catalogs/sku-retrieval',
|
|
1515
|
+
'operation_id': 'post_api_v1_external_catalogs_sku_retrieval',
|
|
1649
1516
|
'http_method': 'POST',
|
|
1650
1517
|
'servers': None,
|
|
1651
1518
|
},
|
|
1652
1519
|
params_map={
|
|
1653
1520
|
'all': [
|
|
1654
|
-
'
|
|
1655
|
-
'
|
|
1656
|
-
|
|
1657
|
-
'required': [
|
|
1658
|
-
'account_id',
|
|
1521
|
+
'page_index',
|
|
1522
|
+
'page_size',
|
|
1523
|
+
'request_body',
|
|
1659
1524
|
],
|
|
1525
|
+
'required': [],
|
|
1660
1526
|
'nullable': [
|
|
1661
|
-
'value_resource_input_of_brand_catalog_request_v2',
|
|
1662
1527
|
],
|
|
1663
1528
|
'enum': [
|
|
1664
1529
|
],
|
|
1665
1530
|
'validation': [
|
|
1531
|
+
'page_index',
|
|
1532
|
+
'page_size',
|
|
1533
|
+
'request_body',
|
|
1666
1534
|
]
|
|
1667
1535
|
},
|
|
1668
1536
|
root_map={
|
|
1669
1537
|
'validations': {
|
|
1538
|
+
('page_index',): {
|
|
1539
|
+
|
|
1540
|
+
'inclusive_maximum': 500,
|
|
1541
|
+
'inclusive_minimum': 0,
|
|
1542
|
+
},
|
|
1543
|
+
('page_size',): {
|
|
1544
|
+
|
|
1545
|
+
'inclusive_maximum': 1000,
|
|
1546
|
+
'inclusive_minimum': 1,
|
|
1547
|
+
},
|
|
1548
|
+
('request_body',): {
|
|
1549
|
+
|
|
1550
|
+
},
|
|
1670
1551
|
},
|
|
1671
1552
|
'allowed_values': {
|
|
1672
1553
|
},
|
|
1673
1554
|
'openapi_types': {
|
|
1674
|
-
'
|
|
1675
|
-
(
|
|
1676
|
-
'
|
|
1677
|
-
(
|
|
1555
|
+
'page_index':
|
|
1556
|
+
(int,),
|
|
1557
|
+
'page_size':
|
|
1558
|
+
(int,),
|
|
1559
|
+
'request_body':
|
|
1560
|
+
([str],),
|
|
1678
1561
|
},
|
|
1679
1562
|
'attribute_map': {
|
|
1680
|
-
'
|
|
1563
|
+
'page_index': 'pageIndex',
|
|
1564
|
+
'page_size': 'pageSize',
|
|
1681
1565
|
},
|
|
1682
1566
|
'location_map': {
|
|
1683
|
-
'
|
|
1684
|
-
'
|
|
1567
|
+
'page_index': 'query',
|
|
1568
|
+
'page_size': 'query',
|
|
1569
|
+
'request_body': 'body',
|
|
1685
1570
|
},
|
|
1686
1571
|
'collection_format_map': {
|
|
1687
1572
|
}
|
|
@@ -1696,51 +1581,65 @@ class CampaignApi(object):
|
|
|
1696
1581
|
},
|
|
1697
1582
|
api_client=api_client
|
|
1698
1583
|
)
|
|
1699
|
-
self.
|
|
1584
|
+
self.post_api_v1_external_catalogs_sku_search_endpoint = _Endpoint(
|
|
1700
1585
|
settings={
|
|
1701
|
-
'response_type': (
|
|
1586
|
+
'response_type': (SkuDataPreviewListResponse,),
|
|
1702
1587
|
'auth': [
|
|
1703
1588
|
'oauth',
|
|
1704
1589
|
'oauth'
|
|
1705
1590
|
],
|
|
1706
|
-
'endpoint_path': '/preview/retail-media/
|
|
1707
|
-
'operation_id': '
|
|
1591
|
+
'endpoint_path': '/preview/retail-media/catalogs/sku-search',
|
|
1592
|
+
'operation_id': 'post_api_v1_external_catalogs_sku_search',
|
|
1708
1593
|
'http_method': 'POST',
|
|
1709
1594
|
'servers': None,
|
|
1710
1595
|
},
|
|
1711
1596
|
params_map={
|
|
1712
1597
|
'all': [
|
|
1713
|
-
'
|
|
1714
|
-
'
|
|
1715
|
-
|
|
1716
|
-
'required': [
|
|
1717
|
-
'account_id',
|
|
1598
|
+
'page_index',
|
|
1599
|
+
'page_size',
|
|
1600
|
+
'sku_search_request_preview_request',
|
|
1718
1601
|
],
|
|
1602
|
+
'required': [],
|
|
1719
1603
|
'nullable': [
|
|
1720
|
-
'value_resource_input_of_seller_catalog_request_v2',
|
|
1721
1604
|
],
|
|
1722
1605
|
'enum': [
|
|
1723
1606
|
],
|
|
1724
1607
|
'validation': [
|
|
1608
|
+
'page_index',
|
|
1609
|
+
'page_size',
|
|
1725
1610
|
]
|
|
1726
1611
|
},
|
|
1727
1612
|
root_map={
|
|
1728
1613
|
'validations': {
|
|
1614
|
+
('page_index',): {
|
|
1615
|
+
|
|
1616
|
+
'inclusive_maximum': 500,
|
|
1617
|
+
'inclusive_minimum': 0,
|
|
1618
|
+
},
|
|
1619
|
+
('page_size',): {
|
|
1620
|
+
|
|
1621
|
+
'inclusive_maximum': 1000,
|
|
1622
|
+
'inclusive_minimum': 1,
|
|
1623
|
+
},
|
|
1729
1624
|
},
|
|
1730
1625
|
'allowed_values': {
|
|
1731
1626
|
},
|
|
1732
1627
|
'openapi_types': {
|
|
1733
|
-
'
|
|
1734
|
-
(
|
|
1735
|
-
'
|
|
1736
|
-
(
|
|
1628
|
+
'page_index':
|
|
1629
|
+
(int,),
|
|
1630
|
+
'page_size':
|
|
1631
|
+
(int,),
|
|
1632
|
+
'sku_search_request_preview_request':
|
|
1633
|
+
(SkuSearchRequestPreviewRequest,),
|
|
1737
1634
|
},
|
|
1738
1635
|
'attribute_map': {
|
|
1739
|
-
'
|
|
1636
|
+
'page_index': 'pageIndex',
|
|
1637
|
+
'page_size': 'pageSize',
|
|
1740
1638
|
},
|
|
1741
1639
|
'location_map': {
|
|
1742
|
-
'
|
|
1743
|
-
'
|
|
1640
|
+
'page_index': 'query',
|
|
1641
|
+
'page_size': 'query',
|
|
1642
|
+
'sku_search_request_preview_request': 'body',
|
|
1744
1643
|
},
|
|
1745
1644
|
'collection_format_map': {
|
|
1746
1645
|
}
|
|
@@ -1755,165 +1654,15 @@ class CampaignApi(object):
|
|
|
1755
1654
|
},
|
|
1756
1655
|
api_client=api_client
|
|
1757
1656
|
)
|
|
1758
|
-
self.
|
|
1657
|
+
self.recommended_keywords_endpoint = _Endpoint(
|
|
1759
1658
|
settings={
|
|
1760
|
-
'response_type': (
|
|
1659
|
+
'response_type': (ValueResourceOutcomeRecommendedKeywordsResponseV1,),
|
|
1761
1660
|
'auth': [
|
|
1762
1661
|
'oauth',
|
|
1763
1662
|
'oauth'
|
|
1764
1663
|
],
|
|
1765
|
-
'endpoint_path': '/preview/retail-media/
|
|
1766
|
-
'operation_id': '
|
|
1767
|
-
'http_method': 'POST',
|
|
1768
|
-
'servers': None,
|
|
1769
|
-
},
|
|
1770
|
-
params_map={
|
|
1771
|
-
'all': [
|
|
1772
|
-
'page_index',
|
|
1773
|
-
'page_size',
|
|
1774
|
-
'request_body',
|
|
1775
|
-
],
|
|
1776
|
-
'required': [],
|
|
1777
|
-
'nullable': [
|
|
1778
|
-
],
|
|
1779
|
-
'enum': [
|
|
1780
|
-
],
|
|
1781
|
-
'validation': [
|
|
1782
|
-
'page_index',
|
|
1783
|
-
'page_size',
|
|
1784
|
-
'request_body',
|
|
1785
|
-
]
|
|
1786
|
-
},
|
|
1787
|
-
root_map={
|
|
1788
|
-
'validations': {
|
|
1789
|
-
('page_index',): {
|
|
1790
|
-
|
|
1791
|
-
'inclusive_maximum': 500,
|
|
1792
|
-
'inclusive_minimum': 0,
|
|
1793
|
-
},
|
|
1794
|
-
('page_size',): {
|
|
1795
|
-
|
|
1796
|
-
'inclusive_maximum': 1000,
|
|
1797
|
-
'inclusive_minimum': 1,
|
|
1798
|
-
},
|
|
1799
|
-
('request_body',): {
|
|
1800
|
-
|
|
1801
|
-
},
|
|
1802
|
-
},
|
|
1803
|
-
'allowed_values': {
|
|
1804
|
-
},
|
|
1805
|
-
'openapi_types': {
|
|
1806
|
-
'page_index':
|
|
1807
|
-
(int,),
|
|
1808
|
-
'page_size':
|
|
1809
|
-
(int,),
|
|
1810
|
-
'request_body':
|
|
1811
|
-
([str],),
|
|
1812
|
-
},
|
|
1813
|
-
'attribute_map': {
|
|
1814
|
-
'page_index': 'pageIndex',
|
|
1815
|
-
'page_size': 'pageSize',
|
|
1816
|
-
},
|
|
1817
|
-
'location_map': {
|
|
1818
|
-
'page_index': 'query',
|
|
1819
|
-
'page_size': 'query',
|
|
1820
|
-
'request_body': 'body',
|
|
1821
|
-
},
|
|
1822
|
-
'collection_format_map': {
|
|
1823
|
-
}
|
|
1824
|
-
},
|
|
1825
|
-
headers_map={
|
|
1826
|
-
'accept': [
|
|
1827
|
-
'application/json'
|
|
1828
|
-
],
|
|
1829
|
-
'content_type': [
|
|
1830
|
-
'application/json'
|
|
1831
|
-
]
|
|
1832
|
-
},
|
|
1833
|
-
api_client=api_client
|
|
1834
|
-
)
|
|
1835
|
-
self.post_api_v1_external_catalogs_sku_search_endpoint = _Endpoint(
|
|
1836
|
-
settings={
|
|
1837
|
-
'response_type': (SkuDataPreviewListResponse,),
|
|
1838
|
-
'auth': [
|
|
1839
|
-
'oauth',
|
|
1840
|
-
'oauth'
|
|
1841
|
-
],
|
|
1842
|
-
'endpoint_path': '/preview/retail-media/catalogs/sku-search',
|
|
1843
|
-
'operation_id': 'post_api_v1_external_catalogs_sku_search',
|
|
1844
|
-
'http_method': 'POST',
|
|
1845
|
-
'servers': None,
|
|
1846
|
-
},
|
|
1847
|
-
params_map={
|
|
1848
|
-
'all': [
|
|
1849
|
-
'page_index',
|
|
1850
|
-
'page_size',
|
|
1851
|
-
'sku_search_request_preview_request',
|
|
1852
|
-
],
|
|
1853
|
-
'required': [],
|
|
1854
|
-
'nullable': [
|
|
1855
|
-
],
|
|
1856
|
-
'enum': [
|
|
1857
|
-
],
|
|
1858
|
-
'validation': [
|
|
1859
|
-
'page_index',
|
|
1860
|
-
'page_size',
|
|
1861
|
-
]
|
|
1862
|
-
},
|
|
1863
|
-
root_map={
|
|
1864
|
-
'validations': {
|
|
1865
|
-
('page_index',): {
|
|
1866
|
-
|
|
1867
|
-
'inclusive_maximum': 500,
|
|
1868
|
-
'inclusive_minimum': 0,
|
|
1869
|
-
},
|
|
1870
|
-
('page_size',): {
|
|
1871
|
-
|
|
1872
|
-
'inclusive_maximum': 1000,
|
|
1873
|
-
'inclusive_minimum': 1,
|
|
1874
|
-
},
|
|
1875
|
-
},
|
|
1876
|
-
'allowed_values': {
|
|
1877
|
-
},
|
|
1878
|
-
'openapi_types': {
|
|
1879
|
-
'page_index':
|
|
1880
|
-
(int,),
|
|
1881
|
-
'page_size':
|
|
1882
|
-
(int,),
|
|
1883
|
-
'sku_search_request_preview_request':
|
|
1884
|
-
(SkuSearchRequestPreviewRequest,),
|
|
1885
|
-
},
|
|
1886
|
-
'attribute_map': {
|
|
1887
|
-
'page_index': 'pageIndex',
|
|
1888
|
-
'page_size': 'pageSize',
|
|
1889
|
-
},
|
|
1890
|
-
'location_map': {
|
|
1891
|
-
'page_index': 'query',
|
|
1892
|
-
'page_size': 'query',
|
|
1893
|
-
'sku_search_request_preview_request': 'body',
|
|
1894
|
-
},
|
|
1895
|
-
'collection_format_map': {
|
|
1896
|
-
}
|
|
1897
|
-
},
|
|
1898
|
-
headers_map={
|
|
1899
|
-
'accept': [
|
|
1900
|
-
'application/json'
|
|
1901
|
-
],
|
|
1902
|
-
'content_type': [
|
|
1903
|
-
'application/json'
|
|
1904
|
-
]
|
|
1905
|
-
},
|
|
1906
|
-
api_client=api_client
|
|
1907
|
-
)
|
|
1908
|
-
self.recommended_keywords_endpoint = _Endpoint(
|
|
1909
|
-
settings={
|
|
1910
|
-
'response_type': (ValueResourceOutcomeRecommendedKeywordsResponseV1,),
|
|
1911
|
-
'auth': [
|
|
1912
|
-
'oauth',
|
|
1913
|
-
'oauth'
|
|
1914
|
-
],
|
|
1915
|
-
'endpoint_path': '/preview/retail-media/retailers/{retailerId}/recommend-keywords',
|
|
1916
|
-
'operation_id': 'recommended_keywords',
|
|
1664
|
+
'endpoint_path': '/preview/retail-media/retailers/{retailerId}/recommend-keywords',
|
|
1665
|
+
'operation_id': 'recommended_keywords',
|
|
1917
1666
|
'http_method': 'POST',
|
|
1918
1667
|
'servers': None,
|
|
1919
1668
|
},
|
|
@@ -2254,64 +2003,6 @@ class CampaignApi(object):
|
|
|
2254
2003
|
},
|
|
2255
2004
|
api_client=api_client
|
|
2256
2005
|
)
|
|
2257
|
-
self.set_keyword_bids_endpoint = _Endpoint(
|
|
2258
|
-
settings={
|
|
2259
|
-
'response_type': (ResourceOutcome,),
|
|
2260
|
-
'auth': [
|
|
2261
|
-
'oauth',
|
|
2262
|
-
'oauth'
|
|
2263
|
-
],
|
|
2264
|
-
'endpoint_path': '/preview/retail-media/line-items/{id}/keywords/set-bid',
|
|
2265
|
-
'operation_id': 'set_keyword_bids',
|
|
2266
|
-
'http_method': 'POST',
|
|
2267
|
-
'servers': None,
|
|
2268
|
-
},
|
|
2269
|
-
params_map={
|
|
2270
|
-
'all': [
|
|
2271
|
-
'id',
|
|
2272
|
-
'set_bids_model_request',
|
|
2273
|
-
],
|
|
2274
|
-
'required': [
|
|
2275
|
-
'id',
|
|
2276
|
-
],
|
|
2277
|
-
'nullable': [
|
|
2278
|
-
],
|
|
2279
|
-
'enum': [
|
|
2280
|
-
],
|
|
2281
|
-
'validation': [
|
|
2282
|
-
]
|
|
2283
|
-
},
|
|
2284
|
-
root_map={
|
|
2285
|
-
'validations': {
|
|
2286
|
-
},
|
|
2287
|
-
'allowed_values': {
|
|
2288
|
-
},
|
|
2289
|
-
'openapi_types': {
|
|
2290
|
-
'id':
|
|
2291
|
-
(str,),
|
|
2292
|
-
'set_bids_model_request':
|
|
2293
|
-
(SetBidsModelRequest,),
|
|
2294
|
-
},
|
|
2295
|
-
'attribute_map': {
|
|
2296
|
-
'id': 'id',
|
|
2297
|
-
},
|
|
2298
|
-
'location_map': {
|
|
2299
|
-
'id': 'path',
|
|
2300
|
-
'set_bids_model_request': 'body',
|
|
2301
|
-
},
|
|
2302
|
-
'collection_format_map': {
|
|
2303
|
-
}
|
|
2304
|
-
},
|
|
2305
|
-
headers_map={
|
|
2306
|
-
'accept': [
|
|
2307
|
-
'application/json'
|
|
2308
|
-
],
|
|
2309
|
-
'content_type': [
|
|
2310
|
-
'application/json'
|
|
2311
|
-
]
|
|
2312
|
-
},
|
|
2313
|
-
api_client=api_client
|
|
2314
|
-
)
|
|
2315
2006
|
self.unpause_promoted_products_endpoint = _Endpoint(
|
|
2316
2007
|
settings={
|
|
2317
2008
|
'response_type': None,
|
|
@@ -2490,64 +2181,6 @@ class CampaignApi(object):
|
|
|
2490
2181
|
},
|
|
2491
2182
|
api_client=api_client
|
|
2492
2183
|
)
|
|
2493
|
-
self.update_keyword_reviews_v1_endpoint = _Endpoint(
|
|
2494
|
-
settings={
|
|
2495
|
-
'response_type': (ValueResourceOutcomeRetailMediaKeywordsReviewResult,),
|
|
2496
|
-
'auth': [
|
|
2497
|
-
'oauth',
|
|
2498
|
-
'oauth'
|
|
2499
|
-
],
|
|
2500
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/keywords/review',
|
|
2501
|
-
'operation_id': 'update_keyword_reviews_v1',
|
|
2502
|
-
'http_method': 'POST',
|
|
2503
|
-
'servers': None,
|
|
2504
|
-
},
|
|
2505
|
-
params_map={
|
|
2506
|
-
'all': [
|
|
2507
|
-
'line_item_id',
|
|
2508
|
-
'value_resource_input_retail_media_keywords_review',
|
|
2509
|
-
],
|
|
2510
|
-
'required': [
|
|
2511
|
-
'line_item_id',
|
|
2512
|
-
],
|
|
2513
|
-
'nullable': [
|
|
2514
|
-
],
|
|
2515
|
-
'enum': [
|
|
2516
|
-
],
|
|
2517
|
-
'validation': [
|
|
2518
|
-
]
|
|
2519
|
-
},
|
|
2520
|
-
root_map={
|
|
2521
|
-
'validations': {
|
|
2522
|
-
},
|
|
2523
|
-
'allowed_values': {
|
|
2524
|
-
},
|
|
2525
|
-
'openapi_types': {
|
|
2526
|
-
'line_item_id':
|
|
2527
|
-
(int,),
|
|
2528
|
-
'value_resource_input_retail_media_keywords_review':
|
|
2529
|
-
(ValueResourceInputRetailMediaKeywordsReview,),
|
|
2530
|
-
},
|
|
2531
|
-
'attribute_map': {
|
|
2532
|
-
'line_item_id': 'line-item-id',
|
|
2533
|
-
},
|
|
2534
|
-
'location_map': {
|
|
2535
|
-
'line_item_id': 'path',
|
|
2536
|
-
'value_resource_input_retail_media_keywords_review': 'body',
|
|
2537
|
-
},
|
|
2538
|
-
'collection_format_map': {
|
|
2539
|
-
}
|
|
2540
|
-
},
|
|
2541
|
-
headers_map={
|
|
2542
|
-
'accept': [
|
|
2543
|
-
'application/json'
|
|
2544
|
-
],
|
|
2545
|
-
'content_type': [
|
|
2546
|
-
'application/json'
|
|
2547
|
-
]
|
|
2548
|
-
},
|
|
2549
|
-
api_client=api_client
|
|
2550
|
-
)
|
|
2551
2184
|
self.update_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
|
|
2552
2185
|
settings={
|
|
2553
2186
|
'response_type': (PreferredLineItemV2Response,),
|
|
@@ -2672,25 +2305,25 @@ class CampaignApi(object):
|
|
|
2672
2305
|
api_client=api_client
|
|
2673
2306
|
)
|
|
2674
2307
|
|
|
2675
|
-
def
|
|
2308
|
+
def append_product_button_by_line_item_id(
|
|
2676
2309
|
self,
|
|
2677
|
-
|
|
2310
|
+
line_item_id,
|
|
2678
2311
|
**kwargs
|
|
2679
2312
|
):
|
|
2680
|
-
"""
|
|
2313
|
+
"""append_product_button_by_line_item_id # noqa: E501
|
|
2681
2314
|
|
|
2682
|
-
Add
|
|
2315
|
+
Add Specific Product Buttons # noqa: E501
|
|
2683
2316
|
This method makes a synchronous HTTP request by default. To make an
|
|
2684
2317
|
asynchronous HTTP request, please pass async_req=True
|
|
2685
2318
|
|
|
2686
|
-
>>> thread = api.
|
|
2319
|
+
>>> thread = api.append_product_button_by_line_item_id(line_item_id, async_req=True)
|
|
2687
2320
|
>>> result = thread.get()
|
|
2688
2321
|
|
|
2689
2322
|
Args:
|
|
2690
|
-
|
|
2323
|
+
line_item_id (str): LineItemId for productButton retrieval
|
|
2691
2324
|
|
|
2692
2325
|
Keyword Args:
|
|
2693
|
-
|
|
2326
|
+
product_button_request_list_request (ProductButtonRequestListRequest): List of Product Buttons to append. [optional]
|
|
2694
2327
|
_return_http_data_only (bool): response data without head status
|
|
2695
2328
|
code and headers. Default is True.
|
|
2696
2329
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -2723,7 +2356,7 @@ class CampaignApi(object):
|
|
|
2723
2356
|
async_req (bool): execute request asynchronously
|
|
2724
2357
|
|
|
2725
2358
|
Returns:
|
|
2726
|
-
|
|
2359
|
+
ProductButtonResponseListResponse
|
|
2727
2360
|
If the method is called asynchronously, returns the request
|
|
2728
2361
|
thread.
|
|
2729
2362
|
"""
|
|
@@ -2752,29 +2385,29 @@ class CampaignApi(object):
|
|
|
2752
2385
|
'_content_type')
|
|
2753
2386
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2754
2387
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2755
|
-
kwargs['
|
|
2756
|
-
|
|
2757
|
-
return self.
|
|
2388
|
+
kwargs['line_item_id'] = \
|
|
2389
|
+
line_item_id
|
|
2390
|
+
return self.append_product_button_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
2758
2391
|
|
|
2759
|
-
def
|
|
2392
|
+
def append_promoted_products(
|
|
2760
2393
|
self,
|
|
2761
2394
|
line_item_id,
|
|
2762
2395
|
**kwargs
|
|
2763
2396
|
):
|
|
2764
|
-
"""
|
|
2397
|
+
"""append_promoted_products # noqa: E501
|
|
2765
2398
|
|
|
2766
|
-
|
|
2399
|
+
Append a collection of promoted products to a line item # noqa: E501
|
|
2767
2400
|
This method makes a synchronous HTTP request by default. To make an
|
|
2768
2401
|
asynchronous HTTP request, please pass async_req=True
|
|
2769
2402
|
|
|
2770
|
-
>>> thread = api.
|
|
2403
|
+
>>> thread = api.append_promoted_products(line_item_id, async_req=True)
|
|
2771
2404
|
>>> result = thread.get()
|
|
2772
2405
|
|
|
2773
2406
|
Args:
|
|
2774
|
-
line_item_id (str):
|
|
2407
|
+
line_item_id (str): ID of the line item
|
|
2775
2408
|
|
|
2776
2409
|
Keyword Args:
|
|
2777
|
-
|
|
2410
|
+
promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
|
|
2778
2411
|
_return_http_data_only (bool): response data without head status
|
|
2779
2412
|
code and headers. Default is True.
|
|
2780
2413
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -2807,7 +2440,7 @@ class CampaignApi(object):
|
|
|
2807
2440
|
async_req (bool): execute request asynchronously
|
|
2808
2441
|
|
|
2809
2442
|
Returns:
|
|
2810
|
-
|
|
2443
|
+
ProductResourceOutcome
|
|
2811
2444
|
If the method is called asynchronously, returns the request
|
|
2812
2445
|
thread.
|
|
2813
2446
|
"""
|
|
@@ -2838,27 +2471,27 @@ class CampaignApi(object):
|
|
|
2838
2471
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2839
2472
|
kwargs['line_item_id'] = \
|
|
2840
2473
|
line_item_id
|
|
2841
|
-
return self.
|
|
2474
|
+
return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
2842
2475
|
|
|
2843
|
-
def
|
|
2476
|
+
def compute_display_min_bid_by_retailer_id(
|
|
2844
2477
|
self,
|
|
2845
|
-
|
|
2478
|
+
retailer_id,
|
|
2846
2479
|
**kwargs
|
|
2847
2480
|
):
|
|
2848
|
-
"""
|
|
2481
|
+
"""compute_display_min_bid_by_retailer_id # noqa: E501
|
|
2849
2482
|
|
|
2850
|
-
|
|
2483
|
+
Computes the min bid for relevant page types based on the provided information # noqa: E501
|
|
2851
2484
|
This method makes a synchronous HTTP request by default. To make an
|
|
2852
2485
|
asynchronous HTTP request, please pass async_req=True
|
|
2853
2486
|
|
|
2854
|
-
>>> thread = api.
|
|
2487
|
+
>>> thread = api.compute_display_min_bid_by_retailer_id(retailer_id, async_req=True)
|
|
2855
2488
|
>>> result = thread.get()
|
|
2856
2489
|
|
|
2857
2490
|
Args:
|
|
2858
|
-
|
|
2491
|
+
retailer_id (int): The retailer id
|
|
2859
2492
|
|
|
2860
2493
|
Keyword Args:
|
|
2861
|
-
|
|
2494
|
+
value_resource_input_display_auction_min_bid_request (ValueResourceInputDisplayAuctionMinBidRequest): The details for what creatives and product ids to use to compute the min bids. [optional]
|
|
2862
2495
|
_return_http_data_only (bool): response data without head status
|
|
2863
2496
|
code and headers. Default is True.
|
|
2864
2497
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -2891,7 +2524,7 @@ class CampaignApi(object):
|
|
|
2891
2524
|
async_req (bool): execute request asynchronously
|
|
2892
2525
|
|
|
2893
2526
|
Returns:
|
|
2894
|
-
|
|
2527
|
+
ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
|
|
2895
2528
|
If the method is called asynchronously, returns the request
|
|
2896
2529
|
thread.
|
|
2897
2530
|
"""
|
|
@@ -2920,9 +2553,9 @@ class CampaignApi(object):
|
|
|
2920
2553
|
'_content_type')
|
|
2921
2554
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2922
2555
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2923
|
-
kwargs['
|
|
2924
|
-
|
|
2925
|
-
return self.
|
|
2556
|
+
kwargs['retailer_id'] = \
|
|
2557
|
+
retailer_id
|
|
2558
|
+
return self.compute_display_min_bid_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
2926
2559
|
|
|
2927
2560
|
def create_auction_line_item_v2(
|
|
2928
2561
|
self,
|
|
@@ -3260,365 +2893,28 @@ class CampaignApi(object):
|
|
|
3260
2893
|
kwargs['line_item_id'] = \
|
|
3261
2894
|
line_item_id
|
|
3262
2895
|
kwargs['product_button_id'] = \
|
|
3263
|
-
product_button_id
|
|
3264
|
-
return self.delete_product_button_by_line_item_and_product_button_id_endpoint.call_with_http_info(**kwargs)
|
|
3265
|
-
|
|
3266
|
-
def delete_promoted_products(
|
|
3267
|
-
self,
|
|
3268
|
-
line_item_id,
|
|
3269
|
-
**kwargs
|
|
3270
|
-
):
|
|
3271
|
-
"""delete_promoted_products # noqa: E501
|
|
3272
|
-
|
|
3273
|
-
Remove a collection of promoted products from a line item # noqa: E501
|
|
3274
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
3275
|
-
asynchronous HTTP request, please pass async_req=True
|
|
3276
|
-
|
|
3277
|
-
>>> thread = api.delete_promoted_products(line_item_id, async_req=True)
|
|
3278
|
-
>>> result = thread.get()
|
|
3279
|
-
|
|
3280
|
-
Args:
|
|
3281
|
-
line_item_id (str): ID of the line item
|
|
3282
|
-
|
|
3283
|
-
Keyword Args:
|
|
3284
|
-
promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
|
|
3285
|
-
_return_http_data_only (bool): response data without head status
|
|
3286
|
-
code and headers. Default is True.
|
|
3287
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3288
|
-
will be returned without reading/decoding response data.
|
|
3289
|
-
Default is True.
|
|
3290
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3291
|
-
one number provided, it will be total request timeout. It can also
|
|
3292
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
3293
|
-
Default is None.
|
|
3294
|
-
_check_input_type (bool): specifies if type checking
|
|
3295
|
-
should be done one the data sent to the server.
|
|
3296
|
-
Default is True.
|
|
3297
|
-
_check_return_type (bool): specifies if type checking
|
|
3298
|
-
should be done one the data received from the server.
|
|
3299
|
-
Default is True.
|
|
3300
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
3301
|
-
are serialized names, as specified in the OpenAPI document.
|
|
3302
|
-
False if the variable names in the input data
|
|
3303
|
-
are pythonic names, e.g. snake case (default)
|
|
3304
|
-
_content_type (str/None): force body content-type.
|
|
3305
|
-
Default is None and content-type will be predicted by allowed
|
|
3306
|
-
content-types and body.
|
|
3307
|
-
_host_index (int/None): specifies the index of the server
|
|
3308
|
-
that we want to use.
|
|
3309
|
-
Default is read from the configuration.
|
|
3310
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
3311
|
-
request; this effectively ignores the authentication
|
|
3312
|
-
in the spec for a single request.
|
|
3313
|
-
Default is None
|
|
3314
|
-
async_req (bool): execute request asynchronously
|
|
3315
|
-
|
|
3316
|
-
Returns:
|
|
3317
|
-
None
|
|
3318
|
-
If the method is called asynchronously, returns the request
|
|
3319
|
-
thread.
|
|
3320
|
-
"""
|
|
3321
|
-
kwargs['async_req'] = kwargs.get(
|
|
3322
|
-
'async_req', False
|
|
3323
|
-
)
|
|
3324
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3325
|
-
'_return_http_data_only', True
|
|
3326
|
-
)
|
|
3327
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
3328
|
-
'_preload_content', True
|
|
3329
|
-
)
|
|
3330
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
3331
|
-
'_request_timeout', None
|
|
3332
|
-
)
|
|
3333
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
3334
|
-
'_check_input_type', True
|
|
3335
|
-
)
|
|
3336
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
3337
|
-
'_check_return_type', True
|
|
3338
|
-
)
|
|
3339
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3340
|
-
'_spec_property_naming', False
|
|
3341
|
-
)
|
|
3342
|
-
kwargs['_content_type'] = kwargs.get(
|
|
3343
|
-
'_content_type')
|
|
3344
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3345
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3346
|
-
kwargs['line_item_id'] = \
|
|
3347
|
-
line_item_id
|
|
3348
|
-
return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
3349
|
-
|
|
3350
|
-
def fetch_keywords(
|
|
3351
|
-
self,
|
|
3352
|
-
id,
|
|
3353
|
-
**kwargs
|
|
3354
|
-
):
|
|
3355
|
-
"""fetch_keywords # noqa: E501
|
|
3356
|
-
|
|
3357
|
-
Fetch keywords associated with the specified line item # noqa: E501
|
|
3358
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
3359
|
-
asynchronous HTTP request, please pass async_req=True
|
|
3360
|
-
|
|
3361
|
-
>>> thread = api.fetch_keywords(id, async_req=True)
|
|
3362
|
-
>>> result = thread.get()
|
|
3363
|
-
|
|
3364
|
-
Args:
|
|
3365
|
-
id (str): ID of the line item
|
|
3366
|
-
|
|
3367
|
-
Keyword Args:
|
|
3368
|
-
_return_http_data_only (bool): response data without head status
|
|
3369
|
-
code and headers. Default is True.
|
|
3370
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3371
|
-
will be returned without reading/decoding response data.
|
|
3372
|
-
Default is True.
|
|
3373
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3374
|
-
one number provided, it will be total request timeout. It can also
|
|
3375
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
3376
|
-
Default is None.
|
|
3377
|
-
_check_input_type (bool): specifies if type checking
|
|
3378
|
-
should be done one the data sent to the server.
|
|
3379
|
-
Default is True.
|
|
3380
|
-
_check_return_type (bool): specifies if type checking
|
|
3381
|
-
should be done one the data received from the server.
|
|
3382
|
-
Default is True.
|
|
3383
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
3384
|
-
are serialized names, as specified in the OpenAPI document.
|
|
3385
|
-
False if the variable names in the input data
|
|
3386
|
-
are pythonic names, e.g. snake case (default)
|
|
3387
|
-
_content_type (str/None): force body content-type.
|
|
3388
|
-
Default is None and content-type will be predicted by allowed
|
|
3389
|
-
content-types and body.
|
|
3390
|
-
_host_index (int/None): specifies the index of the server
|
|
3391
|
-
that we want to use.
|
|
3392
|
-
Default is read from the configuration.
|
|
3393
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
3394
|
-
request; this effectively ignores the authentication
|
|
3395
|
-
in the spec for a single request.
|
|
3396
|
-
Default is None
|
|
3397
|
-
async_req (bool): execute request asynchronously
|
|
3398
|
-
|
|
3399
|
-
Returns:
|
|
3400
|
-
KeywordsModelResponse
|
|
3401
|
-
If the method is called asynchronously, returns the request
|
|
3402
|
-
thread.
|
|
3403
|
-
"""
|
|
3404
|
-
kwargs['async_req'] = kwargs.get(
|
|
3405
|
-
'async_req', False
|
|
3406
|
-
)
|
|
3407
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3408
|
-
'_return_http_data_only', True
|
|
3409
|
-
)
|
|
3410
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
3411
|
-
'_preload_content', True
|
|
3412
|
-
)
|
|
3413
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
3414
|
-
'_request_timeout', None
|
|
3415
|
-
)
|
|
3416
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
3417
|
-
'_check_input_type', True
|
|
3418
|
-
)
|
|
3419
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
3420
|
-
'_check_return_type', True
|
|
3421
|
-
)
|
|
3422
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3423
|
-
'_spec_property_naming', False
|
|
3424
|
-
)
|
|
3425
|
-
kwargs['_content_type'] = kwargs.get(
|
|
3426
|
-
'_content_type')
|
|
3427
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3428
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3429
|
-
kwargs['id'] = \
|
|
3430
|
-
id
|
|
3431
|
-
return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
|
|
3432
|
-
|
|
3433
|
-
def fetch_promoted_products(
|
|
3434
|
-
self,
|
|
3435
|
-
line_item_id,
|
|
3436
|
-
**kwargs
|
|
3437
|
-
):
|
|
3438
|
-
"""fetch_promoted_products # noqa: E501
|
|
3439
|
-
|
|
3440
|
-
Retrieve a page of promoted products for a line item # noqa: E501
|
|
3441
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
3442
|
-
asynchronous HTTP request, please pass async_req=True
|
|
3443
|
-
|
|
3444
|
-
>>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
|
|
3445
|
-
>>> result = thread.get()
|
|
3446
|
-
|
|
3447
|
-
Args:
|
|
3448
|
-
line_item_id (str): ID of the line item.
|
|
3449
|
-
|
|
3450
|
-
Keyword Args:
|
|
3451
|
-
fields (str): A comma separated list of attribute names from the response model to compute and return. Valid values are `status` and `bidOverride` in any order. Defaults to `status`.. [optional]
|
|
3452
|
-
limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
|
|
3453
|
-
offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
|
|
3454
|
-
_return_http_data_only (bool): response data without head status
|
|
3455
|
-
code and headers. Default is True.
|
|
3456
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3457
|
-
will be returned without reading/decoding response data.
|
|
3458
|
-
Default is True.
|
|
3459
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3460
|
-
one number provided, it will be total request timeout. It can also
|
|
3461
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
3462
|
-
Default is None.
|
|
3463
|
-
_check_input_type (bool): specifies if type checking
|
|
3464
|
-
should be done one the data sent to the server.
|
|
3465
|
-
Default is True.
|
|
3466
|
-
_check_return_type (bool): specifies if type checking
|
|
3467
|
-
should be done one the data received from the server.
|
|
3468
|
-
Default is True.
|
|
3469
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
3470
|
-
are serialized names, as specified in the OpenAPI document.
|
|
3471
|
-
False if the variable names in the input data
|
|
3472
|
-
are pythonic names, e.g. snake case (default)
|
|
3473
|
-
_content_type (str/None): force body content-type.
|
|
3474
|
-
Default is None and content-type will be predicted by allowed
|
|
3475
|
-
content-types and body.
|
|
3476
|
-
_host_index (int/None): specifies the index of the server
|
|
3477
|
-
that we want to use.
|
|
3478
|
-
Default is read from the configuration.
|
|
3479
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
3480
|
-
request; this effectively ignores the authentication
|
|
3481
|
-
in the spec for a single request.
|
|
3482
|
-
Default is None
|
|
3483
|
-
async_req (bool): execute request asynchronously
|
|
3484
|
-
|
|
3485
|
-
Returns:
|
|
3486
|
-
PromotedProductResourceCollectionOutcome
|
|
3487
|
-
If the method is called asynchronously, returns the request
|
|
3488
|
-
thread.
|
|
3489
|
-
"""
|
|
3490
|
-
kwargs['async_req'] = kwargs.get(
|
|
3491
|
-
'async_req', False
|
|
3492
|
-
)
|
|
3493
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3494
|
-
'_return_http_data_only', True
|
|
3495
|
-
)
|
|
3496
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
3497
|
-
'_preload_content', True
|
|
3498
|
-
)
|
|
3499
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
3500
|
-
'_request_timeout', None
|
|
3501
|
-
)
|
|
3502
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
3503
|
-
'_check_input_type', True
|
|
3504
|
-
)
|
|
3505
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
3506
|
-
'_check_return_type', True
|
|
3507
|
-
)
|
|
3508
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3509
|
-
'_spec_property_naming', False
|
|
3510
|
-
)
|
|
3511
|
-
kwargs['_content_type'] = kwargs.get(
|
|
3512
|
-
'_content_type')
|
|
3513
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3514
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3515
|
-
kwargs['line_item_id'] = \
|
|
3516
|
-
line_item_id
|
|
3517
|
-
return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
3518
|
-
|
|
3519
|
-
def get_api_external_v2_catalog_status_by_catalog_id(
|
|
3520
|
-
self,
|
|
3521
|
-
catalog_id,
|
|
3522
|
-
**kwargs
|
|
3523
|
-
):
|
|
3524
|
-
"""get_api_external_v2_catalog_status_by_catalog_id # noqa: E501
|
|
3525
|
-
|
|
3526
|
-
Check the status of a catalog request. # noqa: E501
|
|
3527
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
3528
|
-
asynchronous HTTP request, please pass async_req=True
|
|
3529
|
-
|
|
3530
|
-
>>> thread = api.get_api_external_v2_catalog_status_by_catalog_id(catalog_id, async_req=True)
|
|
3531
|
-
>>> result = thread.get()
|
|
3532
|
-
|
|
3533
|
-
Args:
|
|
3534
|
-
catalog_id (str): A catalog ID returned from an account catalog request.
|
|
3535
|
-
|
|
3536
|
-
Keyword Args:
|
|
3537
|
-
_return_http_data_only (bool): response data without head status
|
|
3538
|
-
code and headers. Default is True.
|
|
3539
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3540
|
-
will be returned without reading/decoding response data.
|
|
3541
|
-
Default is True.
|
|
3542
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3543
|
-
one number provided, it will be total request timeout. It can also
|
|
3544
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
3545
|
-
Default is None.
|
|
3546
|
-
_check_input_type (bool): specifies if type checking
|
|
3547
|
-
should be done one the data sent to the server.
|
|
3548
|
-
Default is True.
|
|
3549
|
-
_check_return_type (bool): specifies if type checking
|
|
3550
|
-
should be done one the data received from the server.
|
|
3551
|
-
Default is True.
|
|
3552
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
3553
|
-
are serialized names, as specified in the OpenAPI document.
|
|
3554
|
-
False if the variable names in the input data
|
|
3555
|
-
are pythonic names, e.g. snake case (default)
|
|
3556
|
-
_content_type (str/None): force body content-type.
|
|
3557
|
-
Default is None and content-type will be predicted by allowed
|
|
3558
|
-
content-types and body.
|
|
3559
|
-
_host_index (int/None): specifies the index of the server
|
|
3560
|
-
that we want to use.
|
|
3561
|
-
Default is read from the configuration.
|
|
3562
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
3563
|
-
request; this effectively ignores the authentication
|
|
3564
|
-
in the spec for a single request.
|
|
3565
|
-
Default is None
|
|
3566
|
-
async_req (bool): execute request asynchronously
|
|
3567
|
-
|
|
3568
|
-
Returns:
|
|
3569
|
-
EntityResourceOutcomeOfCatalogStatusV2
|
|
3570
|
-
If the method is called asynchronously, returns the request
|
|
3571
|
-
thread.
|
|
3572
|
-
"""
|
|
3573
|
-
kwargs['async_req'] = kwargs.get(
|
|
3574
|
-
'async_req', False
|
|
3575
|
-
)
|
|
3576
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3577
|
-
'_return_http_data_only', True
|
|
3578
|
-
)
|
|
3579
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
3580
|
-
'_preload_content', True
|
|
3581
|
-
)
|
|
3582
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
3583
|
-
'_request_timeout', None
|
|
3584
|
-
)
|
|
3585
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
3586
|
-
'_check_input_type', True
|
|
3587
|
-
)
|
|
3588
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
3589
|
-
'_check_return_type', True
|
|
3590
|
-
)
|
|
3591
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3592
|
-
'_spec_property_naming', False
|
|
3593
|
-
)
|
|
3594
|
-
kwargs['_content_type'] = kwargs.get(
|
|
3595
|
-
'_content_type')
|
|
3596
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3597
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3598
|
-
kwargs['catalog_id'] = \
|
|
3599
|
-
catalog_id
|
|
3600
|
-
return self.get_api_external_v2_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs)
|
|
2896
|
+
product_button_id
|
|
2897
|
+
return self.delete_product_button_by_line_item_and_product_button_id_endpoint.call_with_http_info(**kwargs)
|
|
3601
2898
|
|
|
3602
|
-
def
|
|
2899
|
+
def delete_promoted_products(
|
|
3603
2900
|
self,
|
|
3604
|
-
|
|
2901
|
+
line_item_id,
|
|
3605
2902
|
**kwargs
|
|
3606
2903
|
):
|
|
3607
|
-
"""
|
|
2904
|
+
"""delete_promoted_products # noqa: E501
|
|
3608
2905
|
|
|
3609
|
-
|
|
2906
|
+
Remove a collection of promoted products from a line item # noqa: E501
|
|
3610
2907
|
This method makes a synchronous HTTP request by default. To make an
|
|
3611
2908
|
asynchronous HTTP request, please pass async_req=True
|
|
3612
2909
|
|
|
3613
|
-
>>> thread = api.
|
|
2910
|
+
>>> thread = api.delete_promoted_products(line_item_id, async_req=True)
|
|
3614
2911
|
>>> result = thread.get()
|
|
3615
2912
|
|
|
3616
2913
|
Args:
|
|
3617
|
-
|
|
2914
|
+
line_item_id (str): ID of the line item
|
|
3618
2915
|
|
|
3619
2916
|
Keyword Args:
|
|
3620
|
-
|
|
3621
|
-
sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
|
|
2917
|
+
promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
|
|
3622
2918
|
_return_http_data_only (bool): response data without head status
|
|
3623
2919
|
code and headers. Default is True.
|
|
3624
2920
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3651,7 +2947,7 @@ class CampaignApi(object):
|
|
|
3651
2947
|
async_req (bool): execute request asynchronously
|
|
3652
2948
|
|
|
3653
2949
|
Returns:
|
|
3654
|
-
|
|
2950
|
+
None
|
|
3655
2951
|
If the method is called asynchronously, returns the request
|
|
3656
2952
|
thread.
|
|
3657
2953
|
"""
|
|
@@ -3680,30 +2976,31 @@ class CampaignApi(object):
|
|
|
3680
2976
|
'_content_type')
|
|
3681
2977
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3682
2978
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3683
|
-
kwargs['
|
|
3684
|
-
|
|
3685
|
-
return self.
|
|
2979
|
+
kwargs['line_item_id'] = \
|
|
2980
|
+
line_item_id
|
|
2981
|
+
return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
3686
2982
|
|
|
3687
|
-
def
|
|
2983
|
+
def fetch_promoted_products(
|
|
3688
2984
|
self,
|
|
3689
|
-
|
|
3690
|
-
seller,
|
|
2985
|
+
line_item_id,
|
|
3691
2986
|
**kwargs
|
|
3692
2987
|
):
|
|
3693
|
-
"""
|
|
2988
|
+
"""fetch_promoted_products # noqa: E501
|
|
3694
2989
|
|
|
3695
|
-
|
|
2990
|
+
Retrieve a page of promoted products for a line item # noqa: E501
|
|
3696
2991
|
This method makes a synchronous HTTP request by default. To make an
|
|
3697
2992
|
asynchronous HTTP request, please pass async_req=True
|
|
3698
2993
|
|
|
3699
|
-
>>> thread = api.
|
|
2994
|
+
>>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
|
|
3700
2995
|
>>> result = thread.get()
|
|
3701
2996
|
|
|
3702
2997
|
Args:
|
|
3703
|
-
|
|
3704
|
-
seller (str): The seller id or seller name which should be validated.
|
|
2998
|
+
line_item_id (str): ID of the line item.
|
|
3705
2999
|
|
|
3706
3000
|
Keyword Args:
|
|
3001
|
+
fields (str): A comma separated list of attribute names from the response model to compute and return. Valid values are `status` and `bidOverride` in any order. Defaults to `status`.. [optional]
|
|
3002
|
+
limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
|
|
3003
|
+
offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
|
|
3707
3004
|
_return_http_data_only (bool): response data without head status
|
|
3708
3005
|
code and headers. Default is True.
|
|
3709
3006
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3736,7 +3033,7 @@ class CampaignApi(object):
|
|
|
3736
3033
|
async_req (bool): execute request asynchronously
|
|
3737
3034
|
|
|
3738
3035
|
Returns:
|
|
3739
|
-
|
|
3036
|
+
PromotedProductResourceCollectionOutcome
|
|
3740
3037
|
If the method is called asynchronously, returns the request
|
|
3741
3038
|
thread.
|
|
3742
3039
|
"""
|
|
@@ -3765,31 +3062,28 @@ class CampaignApi(object):
|
|
|
3765
3062
|
'_content_type')
|
|
3766
3063
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3767
3064
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3768
|
-
kwargs['
|
|
3769
|
-
|
|
3770
|
-
kwargs
|
|
3771
|
-
seller
|
|
3772
|
-
return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
|
|
3065
|
+
kwargs['line_item_id'] = \
|
|
3066
|
+
line_item_id
|
|
3067
|
+
return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
3773
3068
|
|
|
3774
|
-
def
|
|
3069
|
+
def get_api_external_v2_catalog_status_by_catalog_id(
|
|
3775
3070
|
self,
|
|
3776
|
-
|
|
3071
|
+
catalog_id,
|
|
3777
3072
|
**kwargs
|
|
3778
3073
|
):
|
|
3779
|
-
"""
|
|
3074
|
+
"""get_api_external_v2_catalog_status_by_catalog_id # noqa: E501
|
|
3780
3075
|
|
|
3781
|
-
|
|
3076
|
+
Check the status of a catalog request. # noqa: E501
|
|
3782
3077
|
This method makes a synchronous HTTP request by default. To make an
|
|
3783
3078
|
asynchronous HTTP request, please pass async_req=True
|
|
3784
3079
|
|
|
3785
|
-
>>> thread = api.
|
|
3080
|
+
>>> thread = api.get_api_external_v2_catalog_status_by_catalog_id(catalog_id, async_req=True)
|
|
3786
3081
|
>>> result = thread.get()
|
|
3787
3082
|
|
|
3788
3083
|
Args:
|
|
3789
|
-
|
|
3084
|
+
catalog_id (str): A catalog ID returned from an account catalog request.
|
|
3790
3085
|
|
|
3791
3086
|
Keyword Args:
|
|
3792
|
-
fields ([str]): The fields in the response that is to be included. [optional]
|
|
3793
3087
|
_return_http_data_only (bool): response data without head status
|
|
3794
3088
|
code and headers. Default is True.
|
|
3795
3089
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3822,7 +3116,7 @@ class CampaignApi(object):
|
|
|
3822
3116
|
async_req (bool): execute request asynchronously
|
|
3823
3117
|
|
|
3824
3118
|
Returns:
|
|
3825
|
-
|
|
3119
|
+
EntityResourceOutcomeOfCatalogStatusV2
|
|
3826
3120
|
If the method is called asynchronously, returns the request
|
|
3827
3121
|
thread.
|
|
3828
3122
|
"""
|
|
@@ -3851,28 +3145,30 @@ class CampaignApi(object):
|
|
|
3851
3145
|
'_content_type')
|
|
3852
3146
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3853
3147
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3854
|
-
kwargs['
|
|
3855
|
-
|
|
3856
|
-
return self.
|
|
3148
|
+
kwargs['catalog_id'] = \
|
|
3149
|
+
catalog_id
|
|
3150
|
+
return self.get_api_external_v2_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs)
|
|
3857
3151
|
|
|
3858
|
-
def
|
|
3152
|
+
def get_api_v1_external_retailer_brands_by_retailer_id(
|
|
3859
3153
|
self,
|
|
3860
3154
|
retailer_id,
|
|
3861
3155
|
**kwargs
|
|
3862
3156
|
):
|
|
3863
|
-
"""
|
|
3157
|
+
"""get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
|
|
3864
3158
|
|
|
3865
|
-
Gets
|
|
3159
|
+
Gets the brands for the given retailer # noqa: E501
|
|
3866
3160
|
This method makes a synchronous HTTP request by default. To make an
|
|
3867
3161
|
asynchronous HTTP request, please pass async_req=True
|
|
3868
3162
|
|
|
3869
|
-
>>> thread = api.
|
|
3163
|
+
>>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
|
|
3870
3164
|
>>> result = thread.get()
|
|
3871
3165
|
|
|
3872
3166
|
Args:
|
|
3873
|
-
retailer_id (
|
|
3167
|
+
retailer_id (int): The retailer id for which brands should be fetched.
|
|
3874
3168
|
|
|
3875
3169
|
Keyword Args:
|
|
3170
|
+
brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
|
|
3171
|
+
sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
|
|
3876
3172
|
_return_http_data_only (bool): response data without head status
|
|
3877
3173
|
code and headers. Default is True.
|
|
3878
3174
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3905,7 +3201,7 @@ class CampaignApi(object):
|
|
|
3905
3201
|
async_req (bool): execute request asynchronously
|
|
3906
3202
|
|
|
3907
3203
|
Returns:
|
|
3908
|
-
|
|
3204
|
+
BrandPreviewListResponse
|
|
3909
3205
|
If the method is called asynchronously, returns the request
|
|
3910
3206
|
thread.
|
|
3911
3207
|
"""
|
|
@@ -3936,24 +3232,26 @@ class CampaignApi(object):
|
|
|
3936
3232
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3937
3233
|
kwargs['retailer_id'] = \
|
|
3938
3234
|
retailer_id
|
|
3939
|
-
return self.
|
|
3235
|
+
return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
3940
3236
|
|
|
3941
|
-
def
|
|
3237
|
+
def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
|
|
3942
3238
|
self,
|
|
3943
|
-
|
|
3239
|
+
retailer_id,
|
|
3240
|
+
seller,
|
|
3944
3241
|
**kwargs
|
|
3945
3242
|
):
|
|
3946
|
-
"""
|
|
3243
|
+
"""get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
|
|
3947
3244
|
|
|
3948
|
-
|
|
3245
|
+
Endpoint to get market place seller id and name # noqa: E501
|
|
3949
3246
|
This method makes a synchronous HTTP request by default. To make an
|
|
3950
3247
|
asynchronous HTTP request, please pass async_req=True
|
|
3951
3248
|
|
|
3952
|
-
>>> thread = api.
|
|
3249
|
+
>>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
|
|
3953
3250
|
>>> result = thread.get()
|
|
3954
3251
|
|
|
3955
3252
|
Args:
|
|
3956
|
-
|
|
3253
|
+
retailer_id (int): The retailer id for which seller should be fetched.
|
|
3254
|
+
seller (str): The seller id or seller name which should be validated.
|
|
3957
3255
|
|
|
3958
3256
|
Keyword Args:
|
|
3959
3257
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3988,7 +3286,7 @@ class CampaignApi(object):
|
|
|
3988
3286
|
async_req (bool): execute request asynchronously
|
|
3989
3287
|
|
|
3990
3288
|
Returns:
|
|
3991
|
-
|
|
3289
|
+
SellerPreviewResponse
|
|
3992
3290
|
If the method is called asynchronously, returns the request
|
|
3993
3291
|
thread.
|
|
3994
3292
|
"""
|
|
@@ -4017,31 +3315,31 @@ class CampaignApi(object):
|
|
|
4017
3315
|
'_content_type')
|
|
4018
3316
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4019
3317
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4020
|
-
kwargs['
|
|
4021
|
-
|
|
4022
|
-
|
|
3318
|
+
kwargs['retailer_id'] = \
|
|
3319
|
+
retailer_id
|
|
3320
|
+
kwargs['seller'] = \
|
|
3321
|
+
seller
|
|
3322
|
+
return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
|
|
4023
3323
|
|
|
4024
|
-
def
|
|
3324
|
+
def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
|
|
4025
3325
|
self,
|
|
4026
|
-
|
|
3326
|
+
retailer_id,
|
|
4027
3327
|
**kwargs
|
|
4028
3328
|
):
|
|
4029
|
-
"""
|
|
3329
|
+
"""get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
|
|
4030
3330
|
|
|
4031
|
-
Gets
|
|
3331
|
+
Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
|
|
4032
3332
|
This method makes a synchronous HTTP request by default. To make an
|
|
4033
3333
|
asynchronous HTTP request, please pass async_req=True
|
|
4034
3334
|
|
|
4035
|
-
>>> thread = api.
|
|
3335
|
+
>>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
|
|
4036
3336
|
>>> result = thread.get()
|
|
4037
3337
|
|
|
4038
3338
|
Args:
|
|
4039
|
-
|
|
3339
|
+
retailer_id (str): The retailer id
|
|
4040
3340
|
|
|
4041
3341
|
Keyword Args:
|
|
4042
|
-
|
|
4043
|
-
limit_to_ids ([str]): The ids to limit the auction line item results to. [optional]
|
|
4044
|
-
offset (int): The (zero-based) starting offset into the collection.. [optional] if omitted the server will use the default value of 0
|
|
3342
|
+
fields ([str]): The fields in the response that is to be included. [optional]
|
|
4045
3343
|
_return_http_data_only (bool): response data without head status
|
|
4046
3344
|
code and headers. Default is True.
|
|
4047
3345
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4074,7 +3372,7 @@ class CampaignApi(object):
|
|
|
4074
3372
|
async_req (bool): execute request asynchronously
|
|
4075
3373
|
|
|
4076
3374
|
Returns:
|
|
4077
|
-
|
|
3375
|
+
CpcRateCardPreviewResponse
|
|
4078
3376
|
If the method is called asynchronously, returns the request
|
|
4079
3377
|
thread.
|
|
4080
3378
|
"""
|
|
@@ -4103,28 +3401,26 @@ class CampaignApi(object):
|
|
|
4103
3401
|
'_content_type')
|
|
4104
3402
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4105
3403
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4106
|
-
kwargs['
|
|
4107
|
-
|
|
4108
|
-
return self.
|
|
3404
|
+
kwargs['retailer_id'] = \
|
|
3405
|
+
retailer_id
|
|
3406
|
+
return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
4109
3407
|
|
|
4110
|
-
def
|
|
3408
|
+
def get_api_v1_external_retailer_placements_by_retailer_id(
|
|
4111
3409
|
self,
|
|
4112
|
-
|
|
4113
|
-
value_resource_input_line_item_budget_cap_out_history_request,
|
|
3410
|
+
retailer_id,
|
|
4114
3411
|
**kwargs
|
|
4115
3412
|
):
|
|
4116
|
-
"""
|
|
3413
|
+
"""get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
|
|
4117
3414
|
|
|
4118
|
-
|
|
3415
|
+
Gets all placement information for the given retailer # noqa: E501
|
|
4119
3416
|
This method makes a synchronous HTTP request by default. To make an
|
|
4120
3417
|
asynchronous HTTP request, please pass async_req=True
|
|
4121
3418
|
|
|
4122
|
-
>>> thread = api.
|
|
3419
|
+
>>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
|
|
4123
3420
|
>>> result = thread.get()
|
|
4124
3421
|
|
|
4125
3422
|
Args:
|
|
4126
|
-
|
|
4127
|
-
value_resource_input_line_item_budget_cap_out_history_request (ValueResourceInputLineItemBudgetCapOutHistoryRequest): lineitem budgetcapout history object
|
|
3423
|
+
retailer_id (str): The retailer id for which placements should be fetched.
|
|
4128
3424
|
|
|
4129
3425
|
Keyword Args:
|
|
4130
3426
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4159,7 +3455,7 @@ class CampaignApi(object):
|
|
|
4159
3455
|
async_req (bool): execute request asynchronously
|
|
4160
3456
|
|
|
4161
3457
|
Returns:
|
|
4162
|
-
|
|
3458
|
+
PlacementPreviewListResponse
|
|
4163
3459
|
If the method is called asynchronously, returns the request
|
|
4164
3460
|
thread.
|
|
4165
3461
|
"""
|
|
@@ -4188,30 +3484,26 @@ class CampaignApi(object):
|
|
|
4188
3484
|
'_content_type')
|
|
4189
3485
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4190
3486
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4191
|
-
kwargs['
|
|
4192
|
-
|
|
4193
|
-
kwargs
|
|
4194
|
-
value_resource_input_line_item_budget_cap_out_history_request
|
|
4195
|
-
return self.get_capout_history_endpoint.call_with_http_info(**kwargs)
|
|
3487
|
+
kwargs['retailer_id'] = \
|
|
3488
|
+
retailer_id
|
|
3489
|
+
return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
4196
3490
|
|
|
4197
|
-
def
|
|
3491
|
+
def get_auction_line_item_v2(
|
|
4198
3492
|
self,
|
|
4199
|
-
|
|
4200
|
-
creative_id,
|
|
3493
|
+
line_item_id,
|
|
4201
3494
|
**kwargs
|
|
4202
3495
|
):
|
|
4203
|
-
"""
|
|
3496
|
+
"""get_auction_line_item_v2 # noqa: E501
|
|
4204
3497
|
|
|
4205
|
-
|
|
3498
|
+
Gets a sponsored product line item by its id. # noqa: E501
|
|
4206
3499
|
This method makes a synchronous HTTP request by default. To make an
|
|
4207
3500
|
asynchronous HTTP request, please pass async_req=True
|
|
4208
3501
|
|
|
4209
|
-
>>> thread = api.
|
|
3502
|
+
>>> thread = api.get_auction_line_item_v2(line_item_id, async_req=True)
|
|
4210
3503
|
>>> result = thread.get()
|
|
4211
3504
|
|
|
4212
3505
|
Args:
|
|
4213
|
-
|
|
4214
|
-
creative_id (str): Creative to get
|
|
3506
|
+
line_item_id (int): The id of the line item
|
|
4215
3507
|
|
|
4216
3508
|
Keyword Args:
|
|
4217
3509
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4246,7 +3538,7 @@ class CampaignApi(object):
|
|
|
4246
3538
|
async_req (bool): execute request asynchronously
|
|
4247
3539
|
|
|
4248
3540
|
Returns:
|
|
4249
|
-
|
|
3541
|
+
EntityResourceOutcomeOfSponsoredProductsLineItem
|
|
4250
3542
|
If the method is called asynchronously, returns the request
|
|
4251
3543
|
thread.
|
|
4252
3544
|
"""
|
|
@@ -4275,33 +3567,31 @@ class CampaignApi(object):
|
|
|
4275
3567
|
'_content_type')
|
|
4276
3568
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4277
3569
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4278
|
-
kwargs['
|
|
4279
|
-
|
|
4280
|
-
kwargs
|
|
4281
|
-
creative_id
|
|
4282
|
-
return self.get_creative_endpoint.call_with_http_info(**kwargs)
|
|
3570
|
+
kwargs['line_item_id'] = \
|
|
3571
|
+
line_item_id
|
|
3572
|
+
return self.get_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
|
|
4283
3573
|
|
|
4284
|
-
def
|
|
3574
|
+
def get_auction_line_items_by_campaign_id_v2(
|
|
4285
3575
|
self,
|
|
4286
3576
|
campaign_id,
|
|
4287
3577
|
**kwargs
|
|
4288
3578
|
):
|
|
4289
|
-
"""
|
|
3579
|
+
"""get_auction_line_items_by_campaign_id_v2 # noqa: E501
|
|
4290
3580
|
|
|
4291
|
-
Gets page of
|
|
3581
|
+
Gets a page of sponsored product line items by campaign id. # noqa: E501
|
|
4292
3582
|
This method makes a synchronous HTTP request by default. To make an
|
|
4293
3583
|
asynchronous HTTP request, please pass async_req=True
|
|
4294
3584
|
|
|
4295
|
-
>>> thread = api.
|
|
3585
|
+
>>> thread = api.get_auction_line_items_by_campaign_id_v2(campaign_id, async_req=True)
|
|
4296
3586
|
>>> result = thread.get()
|
|
4297
3587
|
|
|
4298
3588
|
Args:
|
|
4299
|
-
campaign_id (str): The
|
|
3589
|
+
campaign_id (str): The id of the campaign
|
|
4300
3590
|
|
|
4301
3591
|
Keyword Args:
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
3592
|
+
limit (int): The number of elements to be returned on a page.. [optional] if omitted the server will use the default value of 25
|
|
3593
|
+
limit_to_ids ([str]): The ids to limit the auction line item results to. [optional]
|
|
3594
|
+
offset (int): The (zero-based) starting offset into the collection.. [optional] if omitted the server will use the default value of 0
|
|
4305
3595
|
_return_http_data_only (bool): response data without head status
|
|
4306
3596
|
code and headers. Default is True.
|
|
4307
3597
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4334,7 +3624,7 @@ class CampaignApi(object):
|
|
|
4334
3624
|
async_req (bool): execute request asynchronously
|
|
4335
3625
|
|
|
4336
3626
|
Returns:
|
|
4337
|
-
|
|
3627
|
+
EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
|
|
4338
3628
|
If the method is called asynchronously, returns the request
|
|
4339
3629
|
thread.
|
|
4340
3630
|
"""
|
|
@@ -4365,24 +3655,26 @@ class CampaignApi(object):
|
|
|
4365
3655
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4366
3656
|
kwargs['campaign_id'] = \
|
|
4367
3657
|
campaign_id
|
|
4368
|
-
return self.
|
|
3658
|
+
return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
|
|
4369
3659
|
|
|
4370
|
-
def
|
|
3660
|
+
def get_capout_history(
|
|
4371
3661
|
self,
|
|
4372
|
-
|
|
3662
|
+
account_id,
|
|
3663
|
+
value_resource_input_line_item_budget_cap_out_history_request,
|
|
4373
3664
|
**kwargs
|
|
4374
3665
|
):
|
|
4375
|
-
"""
|
|
3666
|
+
"""get_capout_history # noqa: E501
|
|
4376
3667
|
|
|
4377
|
-
|
|
3668
|
+
Get the cap out history for line items # noqa: E501
|
|
4378
3669
|
This method makes a synchronous HTTP request by default. To make an
|
|
4379
3670
|
asynchronous HTTP request, please pass async_req=True
|
|
4380
3671
|
|
|
4381
|
-
>>> thread = api.
|
|
3672
|
+
>>> thread = api.get_capout_history(account_id, value_resource_input_line_item_budget_cap_out_history_request, async_req=True)
|
|
4382
3673
|
>>> result = thread.get()
|
|
4383
3674
|
|
|
4384
3675
|
Args:
|
|
4385
|
-
|
|
3676
|
+
account_id (str): account id that own the lineitem
|
|
3677
|
+
value_resource_input_line_item_budget_cap_out_history_request (ValueResourceInputLineItemBudgetCapOutHistoryRequest): lineitem budgetcapout history object
|
|
4386
3678
|
|
|
4387
3679
|
Keyword Args:
|
|
4388
3680
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4417,7 +3709,7 @@ class CampaignApi(object):
|
|
|
4417
3709
|
async_req (bool): execute request asynchronously
|
|
4418
3710
|
|
|
4419
3711
|
Returns:
|
|
4420
|
-
|
|
3712
|
+
ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
|
|
4421
3713
|
If the method is called asynchronously, returns the request
|
|
4422
3714
|
thread.
|
|
4423
3715
|
"""
|
|
@@ -4446,28 +3738,30 @@ class CampaignApi(object):
|
|
|
4446
3738
|
'_content_type')
|
|
4447
3739
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4448
3740
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4449
|
-
kwargs['
|
|
4450
|
-
|
|
4451
|
-
|
|
3741
|
+
kwargs['account_id'] = \
|
|
3742
|
+
account_id
|
|
3743
|
+
kwargs['value_resource_input_line_item_budget_cap_out_history_request'] = \
|
|
3744
|
+
value_resource_input_line_item_budget_cap_out_history_request
|
|
3745
|
+
return self.get_capout_history_endpoint.call_with_http_info(**kwargs)
|
|
4452
3746
|
|
|
4453
|
-
def
|
|
3747
|
+
def get_creative(
|
|
4454
3748
|
self,
|
|
4455
|
-
|
|
4456
|
-
|
|
3749
|
+
account_id,
|
|
3750
|
+
creative_id,
|
|
4457
3751
|
**kwargs
|
|
4458
3752
|
):
|
|
4459
|
-
"""
|
|
3753
|
+
"""get_creative # noqa: E501
|
|
4460
3754
|
|
|
4461
|
-
Get
|
|
3755
|
+
Get the specified creative # noqa: E501
|
|
4462
3756
|
This method makes a synchronous HTTP request by default. To make an
|
|
4463
3757
|
asynchronous HTTP request, please pass async_req=True
|
|
4464
3758
|
|
|
4465
|
-
>>> thread = api.
|
|
3759
|
+
>>> thread = api.get_creative(account_id, creative_id, async_req=True)
|
|
4466
3760
|
>>> result = thread.get()
|
|
4467
3761
|
|
|
4468
3762
|
Args:
|
|
4469
|
-
|
|
4470
|
-
|
|
3763
|
+
account_id (str): External account id to retrieve creatives for
|
|
3764
|
+
creative_id (str): Creative to get
|
|
4471
3765
|
|
|
4472
3766
|
Keyword Args:
|
|
4473
3767
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4502,7 +3796,7 @@ class CampaignApi(object):
|
|
|
4502
3796
|
async_req (bool): execute request asynchronously
|
|
4503
3797
|
|
|
4504
3798
|
Returns:
|
|
4505
|
-
|
|
3799
|
+
Creative2Response
|
|
4506
3800
|
If the method is called asynchronously, returns the request
|
|
4507
3801
|
thread.
|
|
4508
3802
|
"""
|
|
@@ -4531,30 +3825,33 @@ class CampaignApi(object):
|
|
|
4531
3825
|
'_content_type')
|
|
4532
3826
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4533
3827
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4534
|
-
kwargs['
|
|
4535
|
-
|
|
4536
|
-
kwargs['
|
|
4537
|
-
|
|
4538
|
-
return self.
|
|
3828
|
+
kwargs['account_id'] = \
|
|
3829
|
+
account_id
|
|
3830
|
+
kwargs['creative_id'] = \
|
|
3831
|
+
creative_id
|
|
3832
|
+
return self.get_creative_endpoint.call_with_http_info(**kwargs)
|
|
4539
3833
|
|
|
4540
|
-
def
|
|
3834
|
+
def get_preferred_line_items_by_campaign_id(
|
|
4541
3835
|
self,
|
|
4542
|
-
|
|
3836
|
+
campaign_id,
|
|
4543
3837
|
**kwargs
|
|
4544
3838
|
):
|
|
4545
|
-
"""
|
|
3839
|
+
"""get_preferred_line_items_by_campaign_id # noqa: E501
|
|
4546
3840
|
|
|
4547
|
-
|
|
3841
|
+
Gets page of preferred line item objects for the given campaign id # noqa: E501
|
|
4548
3842
|
This method makes a synchronous HTTP request by default. To make an
|
|
4549
3843
|
asynchronous HTTP request, please pass async_req=True
|
|
4550
3844
|
|
|
4551
|
-
>>> thread = api.
|
|
3845
|
+
>>> thread = api.get_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
|
|
4552
3846
|
>>> result = thread.get()
|
|
4553
3847
|
|
|
4554
3848
|
Args:
|
|
4555
|
-
|
|
3849
|
+
campaign_id (str): The given campaign id
|
|
4556
3850
|
|
|
4557
3851
|
Keyword Args:
|
|
3852
|
+
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
3853
|
+
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
|
|
3854
|
+
page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
|
|
4558
3855
|
_return_http_data_only (bool): response data without head status
|
|
4559
3856
|
code and headers. Default is True.
|
|
4560
3857
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4587,7 +3884,7 @@ class CampaignApi(object):
|
|
|
4587
3884
|
async_req (bool): execute request asynchronously
|
|
4588
3885
|
|
|
4589
3886
|
Returns:
|
|
4590
|
-
|
|
3887
|
+
PreferredLineItemV2PagedListResponse
|
|
4591
3888
|
If the method is called asynchronously, returns the request
|
|
4592
3889
|
thread.
|
|
4593
3890
|
"""
|
|
@@ -4616,29 +3913,28 @@ class CampaignApi(object):
|
|
|
4616
3913
|
'_content_type')
|
|
4617
3914
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4618
3915
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4619
|
-
kwargs['
|
|
4620
|
-
|
|
4621
|
-
return self.
|
|
3916
|
+
kwargs['campaign_id'] = \
|
|
3917
|
+
campaign_id
|
|
3918
|
+
return self.get_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
|
|
4622
3919
|
|
|
4623
|
-
def
|
|
3920
|
+
def get_preferred_line_items_by_line_item_id(
|
|
4624
3921
|
self,
|
|
4625
|
-
|
|
3922
|
+
line_item_id,
|
|
4626
3923
|
**kwargs
|
|
4627
3924
|
):
|
|
4628
|
-
"""
|
|
3925
|
+
"""get_preferred_line_items_by_line_item_id # noqa: E501
|
|
4629
3926
|
|
|
4630
|
-
|
|
3927
|
+
Gets the preferred line item for the given line item id # noqa: E501
|
|
4631
3928
|
This method makes a synchronous HTTP request by default. To make an
|
|
4632
3929
|
asynchronous HTTP request, please pass async_req=True
|
|
4633
3930
|
|
|
4634
|
-
>>> thread = api.
|
|
3931
|
+
>>> thread = api.get_preferred_line_items_by_line_item_id(line_item_id, async_req=True)
|
|
4635
3932
|
>>> result = thread.get()
|
|
4636
3933
|
|
|
4637
3934
|
Args:
|
|
4638
|
-
|
|
3935
|
+
line_item_id (str): The given line item id
|
|
4639
3936
|
|
|
4640
3937
|
Keyword Args:
|
|
4641
|
-
value_resource_input_recommended_categories_request_v1 (ValueResourceInputRecommendedCategoriesRequestV1): Request of recommended categories.. [optional]
|
|
4642
3938
|
_return_http_data_only (bool): response data without head status
|
|
4643
3939
|
code and headers. Default is True.
|
|
4644
3940
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4671,7 +3967,7 @@ class CampaignApi(object):
|
|
|
4671
3967
|
async_req (bool): execute request asynchronously
|
|
4672
3968
|
|
|
4673
3969
|
Returns:
|
|
4674
|
-
|
|
3970
|
+
PreferredLineItemV2Response
|
|
4675
3971
|
If the method is called asynchronously, returns the request
|
|
4676
3972
|
thread.
|
|
4677
3973
|
"""
|
|
@@ -4700,30 +3996,30 @@ class CampaignApi(object):
|
|
|
4700
3996
|
'_content_type')
|
|
4701
3997
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4702
3998
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4703
|
-
kwargs['
|
|
4704
|
-
|
|
4705
|
-
return self.
|
|
3999
|
+
kwargs['line_item_id'] = \
|
|
4000
|
+
line_item_id
|
|
4001
|
+
return self.get_preferred_line_items_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
4706
4002
|
|
|
4707
|
-
def
|
|
4003
|
+
def get_product_button_by_line_item_and_product_button_id(
|
|
4708
4004
|
self,
|
|
4709
|
-
|
|
4005
|
+
line_item_id,
|
|
4006
|
+
product_button_id,
|
|
4710
4007
|
**kwargs
|
|
4711
4008
|
):
|
|
4712
|
-
"""
|
|
4009
|
+
"""get_product_button_by_line_item_and_product_button_id # noqa: E501
|
|
4713
4010
|
|
|
4714
|
-
|
|
4011
|
+
Get Specific Product Button # noqa: E501
|
|
4715
4012
|
This method makes a synchronous HTTP request by default. To make an
|
|
4716
4013
|
asynchronous HTTP request, please pass async_req=True
|
|
4717
4014
|
|
|
4718
|
-
>>> thread = api.
|
|
4015
|
+
>>> thread = api.get_product_button_by_line_item_and_product_button_id(line_item_id, product_button_id, async_req=True)
|
|
4719
4016
|
>>> result = thread.get()
|
|
4720
4017
|
|
|
4721
4018
|
Args:
|
|
4722
|
-
|
|
4019
|
+
line_item_id (str): LineItemId for productButton retrieval
|
|
4020
|
+
product_button_id (str): productButtonId used for retrieval
|
|
4723
4021
|
|
|
4724
4022
|
Keyword Args:
|
|
4725
|
-
limit (int): Number of items per page. [optional] if omitted the server will use the default value of 25
|
|
4726
|
-
offset (int): Offset for pagination. [optional] if omitted the server will use the default value of 0
|
|
4727
4023
|
_return_http_data_only (bool): response data without head status
|
|
4728
4024
|
code and headers. Default is True.
|
|
4729
4025
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4756,7 +4052,7 @@ class CampaignApi(object):
|
|
|
4756
4052
|
async_req (bool): execute request asynchronously
|
|
4757
4053
|
|
|
4758
4054
|
Returns:
|
|
4759
|
-
|
|
4055
|
+
ProductButtonResponseListResponse
|
|
4760
4056
|
If the method is called asynchronously, returns the request
|
|
4761
4057
|
thread.
|
|
4762
4058
|
"""
|
|
@@ -4785,29 +4081,30 @@ class CampaignApi(object):
|
|
|
4785
4081
|
'_content_type')
|
|
4786
4082
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4787
4083
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4788
|
-
kwargs['
|
|
4789
|
-
|
|
4790
|
-
|
|
4084
|
+
kwargs['line_item_id'] = \
|
|
4085
|
+
line_item_id
|
|
4086
|
+
kwargs['product_button_id'] = \
|
|
4087
|
+
product_button_id
|
|
4088
|
+
return self.get_product_button_by_line_item_and_product_button_id_endpoint.call_with_http_info(**kwargs)
|
|
4791
4089
|
|
|
4792
|
-
def
|
|
4090
|
+
def get_product_buttons_by_line_item_id(
|
|
4793
4091
|
self,
|
|
4794
4092
|
line_item_id,
|
|
4795
4093
|
**kwargs
|
|
4796
4094
|
):
|
|
4797
|
-
"""
|
|
4095
|
+
"""get_product_buttons_by_line_item_id # noqa: E501
|
|
4798
4096
|
|
|
4799
|
-
|
|
4097
|
+
Get LineItem Product Buttons # noqa: E501
|
|
4800
4098
|
This method makes a synchronous HTTP request by default. To make an
|
|
4801
4099
|
asynchronous HTTP request, please pass async_req=True
|
|
4802
4100
|
|
|
4803
|
-
>>> thread = api.
|
|
4101
|
+
>>> thread = api.get_product_buttons_by_line_item_id(line_item_id, async_req=True)
|
|
4804
4102
|
>>> result = thread.get()
|
|
4805
4103
|
|
|
4806
4104
|
Args:
|
|
4807
|
-
line_item_id (str):
|
|
4105
|
+
line_item_id (str): LineItemId for productButton retrieval
|
|
4808
4106
|
|
|
4809
4107
|
Keyword Args:
|
|
4810
|
-
promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
|
|
4811
4108
|
_return_http_data_only (bool): response data without head status
|
|
4812
4109
|
code and headers. Default is True.
|
|
4813
4110
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4840,7 +4137,7 @@ class CampaignApi(object):
|
|
|
4840
4137
|
async_req (bool): execute request asynchronously
|
|
4841
4138
|
|
|
4842
4139
|
Returns:
|
|
4843
|
-
|
|
4140
|
+
ProductButtonResponseListResponse
|
|
4844
4141
|
If the method is called asynchronously, returns the request
|
|
4845
4142
|
thread.
|
|
4846
4143
|
"""
|
|
@@ -4871,27 +4168,27 @@ class CampaignApi(object):
|
|
|
4871
4168
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4872
4169
|
kwargs['line_item_id'] = \
|
|
4873
4170
|
line_item_id
|
|
4874
|
-
return self.
|
|
4171
|
+
return self.get_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
4875
4172
|
|
|
4876
|
-
def
|
|
4173
|
+
def get_recommended_categories(
|
|
4877
4174
|
self,
|
|
4878
|
-
|
|
4175
|
+
retailer_id,
|
|
4879
4176
|
**kwargs
|
|
4880
4177
|
):
|
|
4881
|
-
"""
|
|
4178
|
+
"""get_recommended_categories # noqa: E501
|
|
4882
4179
|
|
|
4883
|
-
|
|
4180
|
+
Endpoint to get recommended categories by given retailer id and sku id list. # noqa: E501
|
|
4884
4181
|
This method makes a synchronous HTTP request by default. To make an
|
|
4885
4182
|
asynchronous HTTP request, please pass async_req=True
|
|
4886
4183
|
|
|
4887
|
-
>>> thread = api.
|
|
4184
|
+
>>> thread = api.get_recommended_categories(retailer_id, async_req=True)
|
|
4888
4185
|
>>> result = thread.get()
|
|
4889
4186
|
|
|
4890
4187
|
Args:
|
|
4891
|
-
|
|
4188
|
+
retailer_id (int): Retailer id.
|
|
4892
4189
|
|
|
4893
4190
|
Keyword Args:
|
|
4894
|
-
|
|
4191
|
+
value_resource_input_recommended_categories_request_v1 (ValueResourceInputRecommendedCategoriesRequestV1): Request of recommended categories.. [optional]
|
|
4895
4192
|
_return_http_data_only (bool): response data without head status
|
|
4896
4193
|
code and headers. Default is True.
|
|
4897
4194
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4924,7 +4221,7 @@ class CampaignApi(object):
|
|
|
4924
4221
|
async_req (bool): execute request asynchronously
|
|
4925
4222
|
|
|
4926
4223
|
Returns:
|
|
4927
|
-
|
|
4224
|
+
EntityResourceCollectionOutcomeCategory202204
|
|
4928
4225
|
If the method is called asynchronously, returns the request
|
|
4929
4226
|
thread.
|
|
4930
4227
|
"""
|
|
@@ -4953,29 +4250,29 @@ class CampaignApi(object):
|
|
|
4953
4250
|
'_content_type')
|
|
4954
4251
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4955
4252
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4956
|
-
kwargs['
|
|
4957
|
-
|
|
4958
|
-
return self.
|
|
4253
|
+
kwargs['retailer_id'] = \
|
|
4254
|
+
retailer_id
|
|
4255
|
+
return self.get_recommended_categories_endpoint.call_with_http_info(**kwargs)
|
|
4959
4256
|
|
|
4960
|
-
def
|
|
4257
|
+
def pause_promoted_products(
|
|
4961
4258
|
self,
|
|
4962
|
-
|
|
4259
|
+
line_item_id,
|
|
4963
4260
|
**kwargs
|
|
4964
4261
|
):
|
|
4965
|
-
"""
|
|
4262
|
+
"""pause_promoted_products # noqa: E501
|
|
4966
4263
|
|
|
4967
|
-
|
|
4264
|
+
Pause a collection of promoted products associated with a line item # noqa: E501
|
|
4968
4265
|
This method makes a synchronous HTTP request by default. To make an
|
|
4969
4266
|
asynchronous HTTP request, please pass async_req=True
|
|
4970
4267
|
|
|
4971
|
-
>>> thread = api.
|
|
4268
|
+
>>> thread = api.pause_promoted_products(line_item_id, async_req=True)
|
|
4972
4269
|
>>> result = thread.get()
|
|
4973
4270
|
|
|
4974
4271
|
Args:
|
|
4975
|
-
|
|
4272
|
+
line_item_id (str): ID of the line item
|
|
4976
4273
|
|
|
4977
4274
|
Keyword Args:
|
|
4978
|
-
|
|
4275
|
+
promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
|
|
4979
4276
|
_return_http_data_only (bool): response data without head status
|
|
4980
4277
|
code and headers. Default is True.
|
|
4981
4278
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5008,7 +4305,7 @@ class CampaignApi(object):
|
|
|
5008
4305
|
async_req (bool): execute request asynchronously
|
|
5009
4306
|
|
|
5010
4307
|
Returns:
|
|
5011
|
-
|
|
4308
|
+
None
|
|
5012
4309
|
If the method is called asynchronously, returns the request
|
|
5013
4310
|
thread.
|
|
5014
4311
|
"""
|
|
@@ -5037,9 +4334,9 @@ class CampaignApi(object):
|
|
|
5037
4334
|
'_content_type')
|
|
5038
4335
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5039
4336
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5040
|
-
kwargs['
|
|
5041
|
-
|
|
5042
|
-
return self.
|
|
4337
|
+
kwargs['line_item_id'] = \
|
|
4338
|
+
line_item_id
|
|
4339
|
+
return self.pause_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
5043
4340
|
|
|
5044
4341
|
def post_api_v1_external_catalogs_sku_retrieval(
|
|
5045
4342
|
self,
|
|
@@ -5624,90 +4921,6 @@ class CampaignApi(object):
|
|
|
5624
4921
|
account_id
|
|
5625
4922
|
return self.search_retailers_v1_endpoint.call_with_http_info(**kwargs)
|
|
5626
4923
|
|
|
5627
|
-
def set_keyword_bids(
|
|
5628
|
-
self,
|
|
5629
|
-
id,
|
|
5630
|
-
**kwargs
|
|
5631
|
-
):
|
|
5632
|
-
"""set_keyword_bids # noqa: E501
|
|
5633
|
-
|
|
5634
|
-
Set bid overrides for associated keywords to the given line item in bulk # noqa: E501
|
|
5635
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
5636
|
-
asynchronous HTTP request, please pass async_req=True
|
|
5637
|
-
|
|
5638
|
-
>>> thread = api.set_keyword_bids(id, async_req=True)
|
|
5639
|
-
>>> result = thread.get()
|
|
5640
|
-
|
|
5641
|
-
Args:
|
|
5642
|
-
id (str): ID of the line item
|
|
5643
|
-
|
|
5644
|
-
Keyword Args:
|
|
5645
|
-
set_bids_model_request (SetBidsModelRequest): [optional]
|
|
5646
|
-
_return_http_data_only (bool): response data without head status
|
|
5647
|
-
code and headers. Default is True.
|
|
5648
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5649
|
-
will be returned without reading/decoding response data.
|
|
5650
|
-
Default is True.
|
|
5651
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5652
|
-
one number provided, it will be total request timeout. It can also
|
|
5653
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
5654
|
-
Default is None.
|
|
5655
|
-
_check_input_type (bool): specifies if type checking
|
|
5656
|
-
should be done one the data sent to the server.
|
|
5657
|
-
Default is True.
|
|
5658
|
-
_check_return_type (bool): specifies if type checking
|
|
5659
|
-
should be done one the data received from the server.
|
|
5660
|
-
Default is True.
|
|
5661
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
5662
|
-
are serialized names, as specified in the OpenAPI document.
|
|
5663
|
-
False if the variable names in the input data
|
|
5664
|
-
are pythonic names, e.g. snake case (default)
|
|
5665
|
-
_content_type (str/None): force body content-type.
|
|
5666
|
-
Default is None and content-type will be predicted by allowed
|
|
5667
|
-
content-types and body.
|
|
5668
|
-
_host_index (int/None): specifies the index of the server
|
|
5669
|
-
that we want to use.
|
|
5670
|
-
Default is read from the configuration.
|
|
5671
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
5672
|
-
request; this effectively ignores the authentication
|
|
5673
|
-
in the spec for a single request.
|
|
5674
|
-
Default is None
|
|
5675
|
-
async_req (bool): execute request asynchronously
|
|
5676
|
-
|
|
5677
|
-
Returns:
|
|
5678
|
-
ResourceOutcome
|
|
5679
|
-
If the method is called asynchronously, returns the request
|
|
5680
|
-
thread.
|
|
5681
|
-
"""
|
|
5682
|
-
kwargs['async_req'] = kwargs.get(
|
|
5683
|
-
'async_req', False
|
|
5684
|
-
)
|
|
5685
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5686
|
-
'_return_http_data_only', True
|
|
5687
|
-
)
|
|
5688
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
5689
|
-
'_preload_content', True
|
|
5690
|
-
)
|
|
5691
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
5692
|
-
'_request_timeout', None
|
|
5693
|
-
)
|
|
5694
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
5695
|
-
'_check_input_type', True
|
|
5696
|
-
)
|
|
5697
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
5698
|
-
'_check_return_type', True
|
|
5699
|
-
)
|
|
5700
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5701
|
-
'_spec_property_naming', False
|
|
5702
|
-
)
|
|
5703
|
-
kwargs['_content_type'] = kwargs.get(
|
|
5704
|
-
'_content_type')
|
|
5705
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5706
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5707
|
-
kwargs['id'] = \
|
|
5708
|
-
id
|
|
5709
|
-
return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
|
|
5710
|
-
|
|
5711
4924
|
def unpause_promoted_products(
|
|
5712
4925
|
self,
|
|
5713
4926
|
line_item_id,
|
|
@@ -5964,90 +5177,6 @@ class CampaignApi(object):
|
|
|
5964
5177
|
creative_id
|
|
5965
5178
|
return self.update_creative_endpoint.call_with_http_info(**kwargs)
|
|
5966
5179
|
|
|
5967
|
-
def update_keyword_reviews_v1(
|
|
5968
|
-
self,
|
|
5969
|
-
line_item_id,
|
|
5970
|
-
**kwargs
|
|
5971
|
-
):
|
|
5972
|
-
"""update_keyword_reviews_v1 # noqa: E501
|
|
5973
|
-
|
|
5974
|
-
Update the status of keyword reviews under a line item # noqa: E501
|
|
5975
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
5976
|
-
asynchronous HTTP request, please pass async_req=True
|
|
5977
|
-
|
|
5978
|
-
>>> thread = api.update_keyword_reviews_v1(line_item_id, async_req=True)
|
|
5979
|
-
>>> result = thread.get()
|
|
5980
|
-
|
|
5981
|
-
Args:
|
|
5982
|
-
line_item_id (int): The line item to update keyword review statuses for
|
|
5983
|
-
|
|
5984
|
-
Keyword Args:
|
|
5985
|
-
value_resource_input_retail_media_keywords_review (ValueResourceInputRetailMediaKeywordsReview): Request object containing a list of Phrase-ReviewState pairs to update. [optional]
|
|
5986
|
-
_return_http_data_only (bool): response data without head status
|
|
5987
|
-
code and headers. Default is True.
|
|
5988
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5989
|
-
will be returned without reading/decoding response data.
|
|
5990
|
-
Default is True.
|
|
5991
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5992
|
-
one number provided, it will be total request timeout. It can also
|
|
5993
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
5994
|
-
Default is None.
|
|
5995
|
-
_check_input_type (bool): specifies if type checking
|
|
5996
|
-
should be done one the data sent to the server.
|
|
5997
|
-
Default is True.
|
|
5998
|
-
_check_return_type (bool): specifies if type checking
|
|
5999
|
-
should be done one the data received from the server.
|
|
6000
|
-
Default is True.
|
|
6001
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
6002
|
-
are serialized names, as specified in the OpenAPI document.
|
|
6003
|
-
False if the variable names in the input data
|
|
6004
|
-
are pythonic names, e.g. snake case (default)
|
|
6005
|
-
_content_type (str/None): force body content-type.
|
|
6006
|
-
Default is None and content-type will be predicted by allowed
|
|
6007
|
-
content-types and body.
|
|
6008
|
-
_host_index (int/None): specifies the index of the server
|
|
6009
|
-
that we want to use.
|
|
6010
|
-
Default is read from the configuration.
|
|
6011
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
6012
|
-
request; this effectively ignores the authentication
|
|
6013
|
-
in the spec for a single request.
|
|
6014
|
-
Default is None
|
|
6015
|
-
async_req (bool): execute request asynchronously
|
|
6016
|
-
|
|
6017
|
-
Returns:
|
|
6018
|
-
ValueResourceOutcomeRetailMediaKeywordsReviewResult
|
|
6019
|
-
If the method is called asynchronously, returns the request
|
|
6020
|
-
thread.
|
|
6021
|
-
"""
|
|
6022
|
-
kwargs['async_req'] = kwargs.get(
|
|
6023
|
-
'async_req', False
|
|
6024
|
-
)
|
|
6025
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6026
|
-
'_return_http_data_only', True
|
|
6027
|
-
)
|
|
6028
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
6029
|
-
'_preload_content', True
|
|
6030
|
-
)
|
|
6031
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
6032
|
-
'_request_timeout', None
|
|
6033
|
-
)
|
|
6034
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
6035
|
-
'_check_input_type', True
|
|
6036
|
-
)
|
|
6037
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
6038
|
-
'_check_return_type', True
|
|
6039
|
-
)
|
|
6040
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6041
|
-
'_spec_property_naming', False
|
|
6042
|
-
)
|
|
6043
|
-
kwargs['_content_type'] = kwargs.get(
|
|
6044
|
-
'_content_type')
|
|
6045
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6046
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6047
|
-
kwargs['line_item_id'] = \
|
|
6048
|
-
line_item_id
|
|
6049
|
-
return self.update_keyword_reviews_v1_endpoint.call_with_http_info(**kwargs)
|
|
6050
|
-
|
|
6051
5180
|
def update_preferred_line_item_by_line_item_id(
|
|
6052
5181
|
self,
|
|
6053
5182
|
line_item_id,
|