criteo-api-retailmedia-sdk 0.0.250724__py3-none-any.whl → 0.0.250730__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 +0 -137
- criteo_api_retailmedia_preview/api/campaign_api.py +11 -160
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_seller_search_result.py → entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata.py} +14 -8
- criteo_api_retailmedia_preview/model/flight_leg.py +16 -16
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +14 -18
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +12 -9
- criteo_api_retailmedia_preview/model/{value_resource_input_of_seller_search.py → value_resource_input_of_sponsored_products_line_item_create_request_model.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_cpc_min_bids_request.py → value_resource_of_sponsored_products_line_item_create_request_model.py} +8 -8
- criteo_api_retailmedia_preview/models/__init__.py +3 -15
- {criteo_api_retailmedia_sdk-0.0.250724.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250724.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/RECORD +16 -28
- criteo_api_retailmedia_preview/model/cpc_min_bids_request.py +0 -263
- criteo_api_retailmedia_preview/model/cpc_min_bids_response.py +0 -274
- criteo_api_retailmedia_preview/model/page_of_sponsored_products_line_item.py +0 -276
- criteo_api_retailmedia_preview/model/retail_media_seller.py +0 -265
- criteo_api_retailmedia_preview/model/seller_search.py +0 -270
- criteo_api_retailmedia_preview/model/seller_search_result.py +0 -266
- criteo_api_retailmedia_preview/model/sku_min_bid.py +0 -269
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +0 -266
- criteo_api_retailmedia_preview/model/value_resource_input_cpc_min_bids_request.py +0 -262
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +0 -266
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +0 -266
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +0 -274
- {criteo_api_retailmedia_sdk-0.0.250724.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250724.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/top_level.txt +0 -0
|
@@ -23,11 +23,9 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
23
23
|
)
|
|
24
24
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account_and_metadata import EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata
|
|
25
25
|
from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
26
|
-
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_seller_search_result import ValueResourceCollectionOutcomeOfSellerSearchResult
|
|
27
26
|
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_private_market_account_fees_and_metadata import ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata
|
|
28
27
|
from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_search_request import ValueResourceInputAccountFeesSearchRequest
|
|
29
28
|
from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_update_request import ValueResourceInputAccountFeesUpdateRequest
|
|
30
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_search import ValueResourceInputOfSellerSearch
|
|
31
29
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_account_fees_update_result import ValueResourceOutcomeAccountFeesUpdateResult
|
|
32
30
|
|
|
33
31
|
|
|
@@ -236,62 +234,6 @@ class AccountsApi(object):
|
|
|
236
234
|
},
|
|
237
235
|
api_client=api_client
|
|
238
236
|
)
|
|
239
|
-
self.search_sellers_endpoint = _Endpoint(
|
|
240
|
-
settings={
|
|
241
|
-
'response_type': (ValueResourceCollectionOutcomeOfSellerSearchResult,),
|
|
242
|
-
'auth': [
|
|
243
|
-
'oauth',
|
|
244
|
-
'oauth'
|
|
245
|
-
],
|
|
246
|
-
'endpoint_path': '/preview/retail-media/accounts/sellers/search',
|
|
247
|
-
'operation_id': 'search_sellers',
|
|
248
|
-
'http_method': 'POST',
|
|
249
|
-
'servers': None,
|
|
250
|
-
},
|
|
251
|
-
params_map={
|
|
252
|
-
'all': [
|
|
253
|
-
'value_resource_input_of_seller_search',
|
|
254
|
-
],
|
|
255
|
-
'required': [],
|
|
256
|
-
'nullable': [
|
|
257
|
-
],
|
|
258
|
-
'enum': [
|
|
259
|
-
],
|
|
260
|
-
'validation': [
|
|
261
|
-
]
|
|
262
|
-
},
|
|
263
|
-
root_map={
|
|
264
|
-
'validations': {
|
|
265
|
-
},
|
|
266
|
-
'allowed_values': {
|
|
267
|
-
},
|
|
268
|
-
'openapi_types': {
|
|
269
|
-
'value_resource_input_of_seller_search':
|
|
270
|
-
(ValueResourceInputOfSellerSearch,),
|
|
271
|
-
},
|
|
272
|
-
'attribute_map': {
|
|
273
|
-
},
|
|
274
|
-
'location_map': {
|
|
275
|
-
'value_resource_input_of_seller_search': 'body',
|
|
276
|
-
},
|
|
277
|
-
'collection_format_map': {
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
|
-
headers_map={
|
|
281
|
-
'accept': [
|
|
282
|
-
'text/plain',
|
|
283
|
-
'application/json',
|
|
284
|
-
'text/json'
|
|
285
|
-
],
|
|
286
|
-
'content_type': [
|
|
287
|
-
'application/json-patch+json',
|
|
288
|
-
'application/json',
|
|
289
|
-
'text/json',
|
|
290
|
-
'application/*+json'
|
|
291
|
-
]
|
|
292
|
-
},
|
|
293
|
-
api_client=api_client
|
|
294
|
-
)
|
|
295
237
|
|
|
296
238
|
def get_api_external_v1_account_private_market_child_accounts_by_account_id(
|
|
297
239
|
self,
|
|
@@ -538,82 +480,3 @@ class AccountsApi(object):
|
|
|
538
480
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
539
481
|
return self.preview_retail_media_accounts_fees_update_post_endpoint.call_with_http_info(**kwargs)
|
|
540
482
|
|
|
541
|
-
def search_sellers(
|
|
542
|
-
self,
|
|
543
|
-
**kwargs
|
|
544
|
-
):
|
|
545
|
-
"""search_sellers # noqa: E501
|
|
546
|
-
|
|
547
|
-
Get the sellers mapped to provided accounts # noqa: E501
|
|
548
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
549
|
-
asynchronous HTTP request, please pass async_req=True
|
|
550
|
-
|
|
551
|
-
>>> thread = api.search_sellers(async_req=True)
|
|
552
|
-
>>> result = thread.get()
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
Keyword Args:
|
|
556
|
-
value_resource_input_of_seller_search (ValueResourceInputOfSellerSearch): . [optional]
|
|
557
|
-
_return_http_data_only (bool): response data without head status
|
|
558
|
-
code and headers. Default is True.
|
|
559
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
560
|
-
will be returned without reading/decoding response data.
|
|
561
|
-
Default is True.
|
|
562
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
563
|
-
one number provided, it will be total request timeout. It can also
|
|
564
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
565
|
-
Default is None.
|
|
566
|
-
_check_input_type (bool): specifies if type checking
|
|
567
|
-
should be done one the data sent to the server.
|
|
568
|
-
Default is True.
|
|
569
|
-
_check_return_type (bool): specifies if type checking
|
|
570
|
-
should be done one the data received from the server.
|
|
571
|
-
Default is True.
|
|
572
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
573
|
-
are serialized names, as specified in the OpenAPI document.
|
|
574
|
-
False if the variable names in the input data
|
|
575
|
-
are pythonic names, e.g. snake case (default)
|
|
576
|
-
_content_type (str/None): force body content-type.
|
|
577
|
-
Default is None and content-type will be predicted by allowed
|
|
578
|
-
content-types and body.
|
|
579
|
-
_host_index (int/None): specifies the index of the server
|
|
580
|
-
that we want to use.
|
|
581
|
-
Default is read from the configuration.
|
|
582
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
583
|
-
request; this effectively ignores the authentication
|
|
584
|
-
in the spec for a single request.
|
|
585
|
-
Default is None
|
|
586
|
-
async_req (bool): execute request asynchronously
|
|
587
|
-
|
|
588
|
-
Returns:
|
|
589
|
-
ValueResourceCollectionOutcomeOfSellerSearchResult
|
|
590
|
-
If the method is called asynchronously, returns the request
|
|
591
|
-
thread.
|
|
592
|
-
"""
|
|
593
|
-
kwargs['async_req'] = kwargs.get(
|
|
594
|
-
'async_req', False
|
|
595
|
-
)
|
|
596
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
597
|
-
'_return_http_data_only', True
|
|
598
|
-
)
|
|
599
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
600
|
-
'_preload_content', True
|
|
601
|
-
)
|
|
602
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
603
|
-
'_request_timeout', None
|
|
604
|
-
)
|
|
605
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
606
|
-
'_check_input_type', True
|
|
607
|
-
)
|
|
608
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
609
|
-
'_check_return_type', True
|
|
610
|
-
)
|
|
611
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
612
|
-
'_spec_property_naming', False
|
|
613
|
-
)
|
|
614
|
-
kwargs['_content_type'] = kwargs.get(
|
|
615
|
-
'_content_type')
|
|
616
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
617
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
618
|
-
return self.search_sellers_endpoint.call_with_http_info(**kwargs)
|
|
619
|
-
|
|
@@ -32,11 +32,11 @@ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_bra
|
|
|
32
32
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204 import EntityResourceCollectionOutcomeCategory202204
|
|
33
33
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204_metadata import EntityResourceCollectionOutcomeCategory202204Metadata
|
|
34
34
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
|
|
35
|
+
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata import EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
|
|
35
36
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_status_v2 import EntityResourceOutcomeOfCatalogStatusV2
|
|
36
37
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_sponsored_products_line_item import EntityResourceOutcomeOfSponsoredProductsLineItem
|
|
37
38
|
from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
|
|
38
39
|
from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
39
|
-
from criteo_api_retailmedia_preview.model.page_of_sponsored_products_line_item import PageOfSponsoredProductsLineItem
|
|
40
40
|
from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
|
|
41
41
|
from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
|
|
42
42
|
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
|
|
@@ -57,17 +57,15 @@ from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_reques
|
|
|
57
57
|
from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
|
|
58
58
|
from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
|
|
59
59
|
from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
|
|
60
|
-
from criteo_api_retailmedia_preview.model.sponsored_products_line_item_create_request_model import SponsoredProductsLineItemCreateRequestModel
|
|
61
60
|
from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
|
|
62
61
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
63
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_cpc_min_bids_request import ValueResourceInputCpcMinBidsRequest
|
|
64
62
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
65
63
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
|
|
64
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_create_request_model import ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel
|
|
66
65
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
|
|
67
66
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
|
|
68
67
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
|
|
69
68
|
from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
|
|
70
|
-
from criteo_api_retailmedia_preview.model.value_resource_outcome_cpc_min_bids_response import ValueResourceOutcomeCpcMinBidsResponse
|
|
71
69
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
|
|
72
70
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
|
|
73
71
|
|
|
@@ -297,7 +295,7 @@ class CampaignApi(object):
|
|
|
297
295
|
params_map={
|
|
298
296
|
'all': [
|
|
299
297
|
'campaign_id',
|
|
300
|
-
'
|
|
298
|
+
'value_resource_input_of_sponsored_products_line_item_create_request_model',
|
|
301
299
|
],
|
|
302
300
|
'required': [
|
|
303
301
|
'campaign_id',
|
|
@@ -317,15 +315,15 @@ class CampaignApi(object):
|
|
|
317
315
|
'openapi_types': {
|
|
318
316
|
'campaign_id':
|
|
319
317
|
(str,),
|
|
320
|
-
'
|
|
321
|
-
(
|
|
318
|
+
'value_resource_input_of_sponsored_products_line_item_create_request_model':
|
|
319
|
+
(ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel,),
|
|
322
320
|
},
|
|
323
321
|
'attribute_map': {
|
|
324
322
|
'campaign_id': 'campaignId',
|
|
325
323
|
},
|
|
326
324
|
'location_map': {
|
|
327
325
|
'campaign_id': 'path',
|
|
328
|
-
'
|
|
326
|
+
'value_resource_input_of_sponsored_products_line_item_create_request_model': 'body',
|
|
329
327
|
},
|
|
330
328
|
'collection_format_map': {
|
|
331
329
|
}
|
|
@@ -1197,7 +1195,7 @@ class CampaignApi(object):
|
|
|
1197
1195
|
},
|
|
1198
1196
|
'openapi_types': {
|
|
1199
1197
|
'line_item_id':
|
|
1200
|
-
(
|
|
1198
|
+
(int,),
|
|
1201
1199
|
},
|
|
1202
1200
|
'attribute_map': {
|
|
1203
1201
|
'line_item_id': 'lineItemId',
|
|
@@ -1218,7 +1216,7 @@ class CampaignApi(object):
|
|
|
1218
1216
|
)
|
|
1219
1217
|
self.get_auction_line_items_by_campaign_id_v2_endpoint = _Endpoint(
|
|
1220
1218
|
settings={
|
|
1221
|
-
'response_type': (
|
|
1219
|
+
'response_type': (EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata,),
|
|
1222
1220
|
'auth': [
|
|
1223
1221
|
'oauth',
|
|
1224
1222
|
'oauth'
|
|
@@ -1296,69 +1294,6 @@ class CampaignApi(object):
|
|
|
1296
1294
|
},
|
|
1297
1295
|
api_client=api_client
|
|
1298
1296
|
)
|
|
1299
|
-
self.get_cpc_min_bids_by_sku_ids_v1_endpoint = _Endpoint(
|
|
1300
|
-
settings={
|
|
1301
|
-
'response_type': (ValueResourceOutcomeCpcMinBidsResponse,),
|
|
1302
|
-
'auth': [
|
|
1303
|
-
'oauth',
|
|
1304
|
-
'oauth'
|
|
1305
|
-
],
|
|
1306
|
-
'endpoint_path': '/preview/retail-media/retailers/{retailerId}/cpc-min-bids',
|
|
1307
|
-
'operation_id': 'get_cpc_min_bids_by_sku_ids_v1',
|
|
1308
|
-
'http_method': 'POST',
|
|
1309
|
-
'servers': None,
|
|
1310
|
-
},
|
|
1311
|
-
params_map={
|
|
1312
|
-
'all': [
|
|
1313
|
-
'retailer_id',
|
|
1314
|
-
'value_resource_input_cpc_min_bids_request',
|
|
1315
|
-
],
|
|
1316
|
-
'required': [
|
|
1317
|
-
'retailer_id',
|
|
1318
|
-
],
|
|
1319
|
-
'nullable': [
|
|
1320
|
-
],
|
|
1321
|
-
'enum': [
|
|
1322
|
-
],
|
|
1323
|
-
'validation': [
|
|
1324
|
-
]
|
|
1325
|
-
},
|
|
1326
|
-
root_map={
|
|
1327
|
-
'validations': {
|
|
1328
|
-
},
|
|
1329
|
-
'allowed_values': {
|
|
1330
|
-
},
|
|
1331
|
-
'openapi_types': {
|
|
1332
|
-
'retailer_id':
|
|
1333
|
-
(int,),
|
|
1334
|
-
'value_resource_input_cpc_min_bids_request':
|
|
1335
|
-
(ValueResourceInputCpcMinBidsRequest,),
|
|
1336
|
-
},
|
|
1337
|
-
'attribute_map': {
|
|
1338
|
-
'retailer_id': 'retailerId',
|
|
1339
|
-
},
|
|
1340
|
-
'location_map': {
|
|
1341
|
-
'retailer_id': 'path',
|
|
1342
|
-
'value_resource_input_cpc_min_bids_request': 'body',
|
|
1343
|
-
},
|
|
1344
|
-
'collection_format_map': {
|
|
1345
|
-
}
|
|
1346
|
-
},
|
|
1347
|
-
headers_map={
|
|
1348
|
-
'accept': [
|
|
1349
|
-
'text/plain',
|
|
1350
|
-
'application/json',
|
|
1351
|
-
'text/json'
|
|
1352
|
-
],
|
|
1353
|
-
'content_type': [
|
|
1354
|
-
'application/json-patch+json',
|
|
1355
|
-
'application/json',
|
|
1356
|
-
'text/json',
|
|
1357
|
-
'application/*+json'
|
|
1358
|
-
]
|
|
1359
|
-
},
|
|
1360
|
-
api_client=api_client
|
|
1361
|
-
)
|
|
1362
1297
|
self.get_recommended_categories_endpoint = _Endpoint(
|
|
1363
1298
|
settings={
|
|
1364
1299
|
'response_type': (EntityResourceCollectionOutcomeCategory202204,),
|
|
@@ -3060,7 +2995,7 @@ class CampaignApi(object):
|
|
|
3060
2995
|
campaign_id (str): The given campaign id
|
|
3061
2996
|
|
|
3062
2997
|
Keyword Args:
|
|
3063
|
-
|
|
2998
|
+
value_resource_input_of_sponsored_products_line_item_create_request_model (ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel): The line item settings to create a line item with. [optional]
|
|
3064
2999
|
_return_http_data_only (bool): response data without head status
|
|
3065
3000
|
code and headers. Default is True.
|
|
3066
3001
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4329,7 +4264,7 @@ class CampaignApi(object):
|
|
|
4329
4264
|
>>> result = thread.get()
|
|
4330
4265
|
|
|
4331
4266
|
Args:
|
|
4332
|
-
line_item_id (
|
|
4267
|
+
line_item_id (int): The id of the line item
|
|
4333
4268
|
|
|
4334
4269
|
Keyword Args:
|
|
4335
4270
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4450,7 +4385,7 @@ class CampaignApi(object):
|
|
|
4450
4385
|
async_req (bool): execute request asynchronously
|
|
4451
4386
|
|
|
4452
4387
|
Returns:
|
|
4453
|
-
|
|
4388
|
+
EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
|
|
4454
4389
|
If the method is called asynchronously, returns the request
|
|
4455
4390
|
thread.
|
|
4456
4391
|
"""
|
|
@@ -4483,90 +4418,6 @@ class CampaignApi(object):
|
|
|
4483
4418
|
campaign_id
|
|
4484
4419
|
return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
|
|
4485
4420
|
|
|
4486
|
-
def get_cpc_min_bids_by_sku_ids_v1(
|
|
4487
|
-
self,
|
|
4488
|
-
retailer_id,
|
|
4489
|
-
**kwargs
|
|
4490
|
-
):
|
|
4491
|
-
"""get_cpc_min_bids_by_sku_ids_v1 # noqa: E501
|
|
4492
|
-
|
|
4493
|
-
Get overall and individual minimum bid amount for given retailer id and sku id list. # noqa: E501
|
|
4494
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4495
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4496
|
-
|
|
4497
|
-
>>> thread = api.get_cpc_min_bids_by_sku_ids_v1(retailer_id, async_req=True)
|
|
4498
|
-
>>> result = thread.get()
|
|
4499
|
-
|
|
4500
|
-
Args:
|
|
4501
|
-
retailer_id (int): Retailer Id.
|
|
4502
|
-
|
|
4503
|
-
Keyword Args:
|
|
4504
|
-
value_resource_input_cpc_min_bids_request (ValueResourceInputCpcMinBidsRequest): Cpc minimum bid amount request object.. [optional]
|
|
4505
|
-
_return_http_data_only (bool): response data without head status
|
|
4506
|
-
code and headers. Default is True.
|
|
4507
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4508
|
-
will be returned without reading/decoding response data.
|
|
4509
|
-
Default is True.
|
|
4510
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4511
|
-
one number provided, it will be total request timeout. It can also
|
|
4512
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4513
|
-
Default is None.
|
|
4514
|
-
_check_input_type (bool): specifies if type checking
|
|
4515
|
-
should be done one the data sent to the server.
|
|
4516
|
-
Default is True.
|
|
4517
|
-
_check_return_type (bool): specifies if type checking
|
|
4518
|
-
should be done one the data received from the server.
|
|
4519
|
-
Default is True.
|
|
4520
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4521
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4522
|
-
False if the variable names in the input data
|
|
4523
|
-
are pythonic names, e.g. snake case (default)
|
|
4524
|
-
_content_type (str/None): force body content-type.
|
|
4525
|
-
Default is None and content-type will be predicted by allowed
|
|
4526
|
-
content-types and body.
|
|
4527
|
-
_host_index (int/None): specifies the index of the server
|
|
4528
|
-
that we want to use.
|
|
4529
|
-
Default is read from the configuration.
|
|
4530
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4531
|
-
request; this effectively ignores the authentication
|
|
4532
|
-
in the spec for a single request.
|
|
4533
|
-
Default is None
|
|
4534
|
-
async_req (bool): execute request asynchronously
|
|
4535
|
-
|
|
4536
|
-
Returns:
|
|
4537
|
-
ValueResourceOutcomeCpcMinBidsResponse
|
|
4538
|
-
If the method is called asynchronously, returns the request
|
|
4539
|
-
thread.
|
|
4540
|
-
"""
|
|
4541
|
-
kwargs['async_req'] = kwargs.get(
|
|
4542
|
-
'async_req', False
|
|
4543
|
-
)
|
|
4544
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4545
|
-
'_return_http_data_only', True
|
|
4546
|
-
)
|
|
4547
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4548
|
-
'_preload_content', True
|
|
4549
|
-
)
|
|
4550
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4551
|
-
'_request_timeout', None
|
|
4552
|
-
)
|
|
4553
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4554
|
-
'_check_input_type', True
|
|
4555
|
-
)
|
|
4556
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4557
|
-
'_check_return_type', True
|
|
4558
|
-
)
|
|
4559
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4560
|
-
'_spec_property_naming', False
|
|
4561
|
-
)
|
|
4562
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4563
|
-
'_content_type')
|
|
4564
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4565
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4566
|
-
kwargs['retailer_id'] = \
|
|
4567
|
-
retailer_id
|
|
4568
|
-
return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
|
|
4569
|
-
|
|
4570
4421
|
def get_recommended_categories(
|
|
4571
4422
|
self,
|
|
4572
4423
|
retailer_id,
|
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/0.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/0.0.250730/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: Preview\n"\
|
|
398
|
-
"SDK Package Version: 0.0.
|
|
398
|
+
"SDK Package Version: 0.0.250730".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -30,13 +30,15 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_preview.model.entity_resource_of_sponsored_products_line_item import EntityResourceOfSponsoredProductsLineItem
|
|
34
|
+
from criteo_api_retailmedia_preview.model.metadata import Metadata
|
|
33
35
|
from criteo_api_retailmedia_preview.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
|
|
34
|
-
|
|
36
|
+
globals()['EntityResourceOfSponsoredProductsLineItem'] = EntityResourceOfSponsoredProductsLineItem
|
|
37
|
+
globals()['Metadata'] = Metadata
|
|
35
38
|
globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
|
|
36
|
-
globals()['ValueResourceOfSellerSearchResult'] = ValueResourceOfSellerSearchResult
|
|
37
39
|
|
|
38
40
|
|
|
39
|
-
class
|
|
41
|
+
class EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata(ModelNormal):
|
|
40
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
43
|
Ref: https://openapi-generator.tech
|
|
42
44
|
|
|
@@ -82,8 +84,9 @@ class ValueResourceCollectionOutcomeOfSellerSearchResult(ModelNormal):
|
|
|
82
84
|
"""
|
|
83
85
|
lazy_import()
|
|
84
86
|
return {
|
|
85
|
-
'data': ([
|
|
87
|
+
'data': ([EntityResourceOfSponsoredProductsLineItem], none_type,), # noqa: E501
|
|
86
88
|
'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
89
|
+
'metadata': (Metadata,), # noqa: E501
|
|
87
90
|
'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
88
91
|
}
|
|
89
92
|
|
|
@@ -95,6 +98,7 @@ class ValueResourceCollectionOutcomeOfSellerSearchResult(ModelNormal):
|
|
|
95
98
|
attribute_map = {
|
|
96
99
|
'data': 'data', # noqa: E501
|
|
97
100
|
'errors': 'errors', # noqa: E501
|
|
101
|
+
'metadata': 'metadata', # noqa: E501
|
|
98
102
|
'warnings': 'warnings', # noqa: E501
|
|
99
103
|
}
|
|
100
104
|
|
|
@@ -108,7 +112,7 @@ class ValueResourceCollectionOutcomeOfSellerSearchResult(ModelNormal):
|
|
|
108
112
|
@classmethod
|
|
109
113
|
@convert_js_args_to_python_args
|
|
110
114
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
115
|
+
"""EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata - a model defined in OpenAPI
|
|
112
116
|
|
|
113
117
|
Keyword Args:
|
|
114
118
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -141,8 +145,9 @@ class ValueResourceCollectionOutcomeOfSellerSearchResult(ModelNormal):
|
|
|
141
145
|
Animal class but this time we won't travel
|
|
142
146
|
through its discriminator because we passed in
|
|
143
147
|
_visited_composed_classes = (Animal,)
|
|
144
|
-
data ([
|
|
148
|
+
data ([EntityResourceOfSponsoredProductsLineItem], none_type): [optional] # noqa: E501
|
|
145
149
|
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
150
|
+
metadata (Metadata): [optional] # noqa: E501
|
|
146
151
|
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
147
152
|
"""
|
|
148
153
|
|
|
@@ -196,7 +201,7 @@ class ValueResourceCollectionOutcomeOfSellerSearchResult(ModelNormal):
|
|
|
196
201
|
|
|
197
202
|
@convert_js_args_to_python_args
|
|
198
203
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
204
|
+
"""EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata - a model defined in OpenAPI
|
|
200
205
|
|
|
201
206
|
Keyword Args:
|
|
202
207
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,8 +234,9 @@ class ValueResourceCollectionOutcomeOfSellerSearchResult(ModelNormal):
|
|
|
229
234
|
Animal class but this time we won't travel
|
|
230
235
|
through its discriminator because we passed in
|
|
231
236
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
data ([
|
|
237
|
+
data ([EntityResourceOfSponsoredProductsLineItem], none_type): [optional] # noqa: E501
|
|
233
238
|
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
239
|
+
metadata (Metadata): [optional] # noqa: E501
|
|
234
240
|
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
235
241
|
"""
|
|
236
242
|
|
|
@@ -56,16 +56,16 @@ class FlightLeg(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('day_of_week',): {
|
|
59
|
-
'SUNDAY': "
|
|
60
|
-
'MONDAY': "
|
|
61
|
-
'TUESDAY': "
|
|
62
|
-
'WEDNESDAY': "
|
|
63
|
-
'THURSDAY': "
|
|
64
|
-
'FRIDAY': "
|
|
65
|
-
'SATURDAY': "
|
|
66
|
-
'EVERYDAY': "
|
|
67
|
-
'WEEKDAYS': "
|
|
68
|
-
'WEEKENDS': "
|
|
59
|
+
'SUNDAY': "sunday",
|
|
60
|
+
'MONDAY': "monday",
|
|
61
|
+
'TUESDAY': "tuesday",
|
|
62
|
+
'WEDNESDAY': "wednesday",
|
|
63
|
+
'THURSDAY': "thursday",
|
|
64
|
+
'FRIDAY': "friday",
|
|
65
|
+
'SATURDAY': "saturday",
|
|
66
|
+
'EVERYDAY': "everyday",
|
|
67
|
+
'WEEKDAYS': "weekdays",
|
|
68
|
+
'WEEKENDS': "weekends",
|
|
69
69
|
},
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -88,8 +88,8 @@ class FlightLeg(ModelNormal):
|
|
|
88
88
|
"""
|
|
89
89
|
return {
|
|
90
90
|
'day_of_week': (str,), # noqa: E501
|
|
91
|
-
'end_time': (
|
|
92
|
-
'start_time': (
|
|
91
|
+
'end_time': (str,), # noqa: E501
|
|
92
|
+
'start_time': (str,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -115,8 +115,8 @@ class FlightLeg(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
117
|
day_of_week (str): Enum for the days of the week.
|
|
118
|
-
end_time (
|
|
119
|
-
start_time (
|
|
118
|
+
end_time (str):
|
|
119
|
+
start_time (str):
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
122
122
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -208,8 +208,8 @@ class FlightLeg(ModelNormal):
|
|
|
208
208
|
|
|
209
209
|
Args:
|
|
210
210
|
day_of_week (str): Enum for the days of the week.
|
|
211
|
-
end_time (
|
|
212
|
-
start_time (
|
|
211
|
+
end_time (str):
|
|
212
|
+
start_time (str):
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|