criteo-api-retailmedia-sdk 0.0.251015__py3-none-any.whl → 0.0.251021__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 +144 -0
- 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/display_auction_min_bid_request.py +268 -0
- criteo_api_retailmedia_preview/model/display_auction_min_bid_result.py +280 -0
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_account_v2.py +270 -0
- criteo_api_retailmedia_preview/model/entity_resource_outcome_of_retail_media_account_v2.py +274 -0
- criteo_api_retailmedia_preview/model/external_retail_media_account_v2.py +301 -0
- criteo_api_retailmedia_preview/model/external_retail_media_brand_account_creation_v2.py +269 -0
- criteo_api_retailmedia_preview/model/external_retail_media_brands.py +263 -0
- criteo_api_retailmedia_preview/model/external_retail_media_seller.py +269 -0
- criteo_api_retailmedia_preview/model/external_retail_media_seller_account_creation_v2.py +280 -0
- criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_display_auction_min_bid_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_display_auction_min_bid_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_display_auction_min_bid_result.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_input_display_auction_min_bid_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation_v2.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brands.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation_v2.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation_v2.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brands.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation_v2.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_outcome_of_retail_media_brands.py +274 -0
- criteo_api_retailmedia_preview/models/__init__.py +23 -0
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/RECORD +35 -11
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.251015.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/top_level.txt +0 -0
|
@@ -311,7 +311,7 @@ class AccountsApi(object):
|
|
|
311
311
|
):
|
|
312
312
|
"""get_private_market_child_accounts_by_account_id # noqa: E501
|
|
313
313
|
|
|
314
|
-
Gets
|
|
314
|
+
Gets Private Market child accounts that are associated with the given account # noqa: E501
|
|
315
315
|
This method makes a synchronous HTTP request by default. To make an
|
|
316
316
|
asynchronous HTTP request, please pass async_req=True
|
|
317
317
|
|
|
@@ -53,8 +53,10 @@ from criteo_api_retailmedia_preview.model.seller_preview_response import SellerP
|
|
|
53
53
|
from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
|
|
54
54
|
from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
|
|
55
55
|
from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
|
|
56
|
+
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_display_auction_min_bid_result import ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
|
|
56
57
|
from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
|
|
57
58
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
59
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_display_auction_min_bid_request import ValueResourceInputDisplayAuctionMinBidRequest
|
|
58
60
|
from criteo_api_retailmedia_preview.model.value_resource_input_line_item_budget_cap_out_history_request import ValueResourceInputLineItemBudgetCapOutHistoryRequest
|
|
59
61
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
60
62
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_retailer_search_request import ValueResourceInputOfRetailerSearchRequest
|
|
@@ -255,6 +257,64 @@ class CampaignApi(object):
|
|
|
255
257
|
},
|
|
256
258
|
api_client=api_client
|
|
257
259
|
)
|
|
260
|
+
self.compute_display_min_bid_by_retailer_id_endpoint = _Endpoint(
|
|
261
|
+
settings={
|
|
262
|
+
'response_type': (ValueResourceCollectionOutcomeDisplayAuctionMinBidResult,),
|
|
263
|
+
'auth': [
|
|
264
|
+
'oauth',
|
|
265
|
+
'oauth'
|
|
266
|
+
],
|
|
267
|
+
'endpoint_path': '/preview/retail-media/retailers/{retailerId}/compute-display-min-bid',
|
|
268
|
+
'operation_id': 'compute_display_min_bid_by_retailer_id',
|
|
269
|
+
'http_method': 'POST',
|
|
270
|
+
'servers': None,
|
|
271
|
+
},
|
|
272
|
+
params_map={
|
|
273
|
+
'all': [
|
|
274
|
+
'retailer_id',
|
|
275
|
+
'value_resource_input_display_auction_min_bid_request',
|
|
276
|
+
],
|
|
277
|
+
'required': [
|
|
278
|
+
'retailer_id',
|
|
279
|
+
],
|
|
280
|
+
'nullable': [
|
|
281
|
+
],
|
|
282
|
+
'enum': [
|
|
283
|
+
],
|
|
284
|
+
'validation': [
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
root_map={
|
|
288
|
+
'validations': {
|
|
289
|
+
},
|
|
290
|
+
'allowed_values': {
|
|
291
|
+
},
|
|
292
|
+
'openapi_types': {
|
|
293
|
+
'retailer_id':
|
|
294
|
+
(int,),
|
|
295
|
+
'value_resource_input_display_auction_min_bid_request':
|
|
296
|
+
(ValueResourceInputDisplayAuctionMinBidRequest,),
|
|
297
|
+
},
|
|
298
|
+
'attribute_map': {
|
|
299
|
+
'retailer_id': 'retailerId',
|
|
300
|
+
},
|
|
301
|
+
'location_map': {
|
|
302
|
+
'retailer_id': 'path',
|
|
303
|
+
'value_resource_input_display_auction_min_bid_request': 'body',
|
|
304
|
+
},
|
|
305
|
+
'collection_format_map': {
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
headers_map={
|
|
309
|
+
'accept': [
|
|
310
|
+
'application/json'
|
|
311
|
+
],
|
|
312
|
+
'content_type': [
|
|
313
|
+
'application/json'
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
api_client=api_client
|
|
317
|
+
)
|
|
258
318
|
self.create_auction_line_item_v2_endpoint = _Endpoint(
|
|
259
319
|
settings={
|
|
260
320
|
'response_type': (EntityResourceOutcomeOfSponsoredProductsLineItem,),
|
|
@@ -2924,6 +2984,90 @@ class CampaignApi(object):
|
|
|
2924
2984
|
line_item_id
|
|
2925
2985
|
return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
2926
2986
|
|
|
2987
|
+
def compute_display_min_bid_by_retailer_id(
|
|
2988
|
+
self,
|
|
2989
|
+
retailer_id,
|
|
2990
|
+
**kwargs
|
|
2991
|
+
):
|
|
2992
|
+
"""compute_display_min_bid_by_retailer_id # noqa: E501
|
|
2993
|
+
|
|
2994
|
+
computes the min bid for relevant page types based on the provided information # noqa: E501
|
|
2995
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2996
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2997
|
+
|
|
2998
|
+
>>> thread = api.compute_display_min_bid_by_retailer_id(retailer_id, async_req=True)
|
|
2999
|
+
>>> result = thread.get()
|
|
3000
|
+
|
|
3001
|
+
Args:
|
|
3002
|
+
retailer_id (int): the retailer id
|
|
3003
|
+
|
|
3004
|
+
Keyword Args:
|
|
3005
|
+
value_resource_input_display_auction_min_bid_request (ValueResourceInputDisplayAuctionMinBidRequest): the details for what cratives and product ids to use to compute the min bids. [optional]
|
|
3006
|
+
_return_http_data_only (bool): response data without head status
|
|
3007
|
+
code and headers. Default is True.
|
|
3008
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3009
|
+
will be returned without reading/decoding response data.
|
|
3010
|
+
Default is True.
|
|
3011
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3012
|
+
one number provided, it will be total request timeout. It can also
|
|
3013
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
3014
|
+
Default is None.
|
|
3015
|
+
_check_input_type (bool): specifies if type checking
|
|
3016
|
+
should be done one the data sent to the server.
|
|
3017
|
+
Default is True.
|
|
3018
|
+
_check_return_type (bool): specifies if type checking
|
|
3019
|
+
should be done one the data received from the server.
|
|
3020
|
+
Default is True.
|
|
3021
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
3022
|
+
are serialized names, as specified in the OpenAPI document.
|
|
3023
|
+
False if the variable names in the input data
|
|
3024
|
+
are pythonic names, e.g. snake case (default)
|
|
3025
|
+
_content_type (str/None): force body content-type.
|
|
3026
|
+
Default is None and content-type will be predicted by allowed
|
|
3027
|
+
content-types and body.
|
|
3028
|
+
_host_index (int/None): specifies the index of the server
|
|
3029
|
+
that we want to use.
|
|
3030
|
+
Default is read from the configuration.
|
|
3031
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
3032
|
+
request; this effectively ignores the authentication
|
|
3033
|
+
in the spec for a single request.
|
|
3034
|
+
Default is None
|
|
3035
|
+
async_req (bool): execute request asynchronously
|
|
3036
|
+
|
|
3037
|
+
Returns:
|
|
3038
|
+
ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
|
|
3039
|
+
If the method is called asynchronously, returns the request
|
|
3040
|
+
thread.
|
|
3041
|
+
"""
|
|
3042
|
+
kwargs['async_req'] = kwargs.get(
|
|
3043
|
+
'async_req', False
|
|
3044
|
+
)
|
|
3045
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3046
|
+
'_return_http_data_only', True
|
|
3047
|
+
)
|
|
3048
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
3049
|
+
'_preload_content', True
|
|
3050
|
+
)
|
|
3051
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
3052
|
+
'_request_timeout', None
|
|
3053
|
+
)
|
|
3054
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
3055
|
+
'_check_input_type', True
|
|
3056
|
+
)
|
|
3057
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
3058
|
+
'_check_return_type', True
|
|
3059
|
+
)
|
|
3060
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3061
|
+
'_spec_property_naming', False
|
|
3062
|
+
)
|
|
3063
|
+
kwargs['_content_type'] = kwargs.get(
|
|
3064
|
+
'_content_type')
|
|
3065
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3066
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3067
|
+
kwargs['retailer_id'] = \
|
|
3068
|
+
retailer_id
|
|
3069
|
+
return self.compute_display_min_bid_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
3070
|
+
|
|
2927
3071
|
def create_auction_line_item_v2(
|
|
2928
3072
|
self,
|
|
2929
3073
|
campaign_id,
|