criteo-api-retailmedia-sdk 0.0.250129__py3-none-any.whl → 0.0.250211__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.

Files changed (29) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +3 -3
  3. criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
  4. criteo_api_retailmedia_preview/api/campaign_api.py +163 -2
  5. criteo_api_retailmedia_preview/api/catalog_api.py +0 -161
  6. criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +0 -1
  7. criteo_api_retailmedia_preview/api_client.py +1 -1
  8. criteo_api_retailmedia_preview/configuration.py +1 -1
  9. criteo_api_retailmedia_preview/model/async_accounts_report.py +4 -0
  10. criteo_api_retailmedia_preview/model/async_campaigns_report.py +4 -0
  11. criteo_api_retailmedia_preview/model/{retail_media_contactlist_operation_response_attributes_attributes.py → async_fill_rate_report.py} +83 -39
  12. criteo_api_retailmedia_preview/model/{http_validation_error.py → async_fill_rate_report_request.py} +9 -9
  13. criteo_api_retailmedia_preview/model/{location_inner.py → async_fill_rate_report_resource.py} +17 -3
  14. criteo_api_retailmedia_preview/model/async_line_items_report.py +4 -0
  15. criteo_api_retailmedia_preview/model/balance_response_v2.py +4 -4
  16. criteo_api_retailmedia_preview/model/external_catalog_status.py +3 -3
  17. criteo_api_retailmedia_preview/model/line_item_product_status.py +7 -7
  18. criteo_api_retailmedia_preview/model/message.py +5 -5
  19. criteo_api_retailmedia_preview/model/retail_media_contactlist_operation.py +4 -0
  20. criteo_api_retailmedia_preview/model/retail_media_contactlist_operation_response_attributes.py +36 -20
  21. criteo_api_retailmedia_preview/model/{validation_error.py → seller_search_result.py} +16 -37
  22. criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_retail_media_seller.py → value_resource_collection_outcome_of_seller_search_result.py} +8 -8
  23. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller.py → value_resource_of_seller_search_result.py} +8 -8
  24. criteo_api_retailmedia_preview/models/__init__.py +6 -7
  25. {criteo_api_retailmedia_sdk-0.0.250129.dist-info → criteo_api_retailmedia_sdk-0.0.250211.dist-info}/METADATA +3 -3
  26. {criteo_api_retailmedia_sdk-0.0.250129.dist-info → criteo_api_retailmedia_sdk-0.0.250211.dist-info}/RECORD +28 -29
  27. criteo_api_retailmedia_preview/model/botmessage.py +0 -329
  28. {criteo_api_retailmedia_sdk-0.0.250129.dist-info → criteo_api_retailmedia_sdk-0.0.250211.dist-info}/WHEEL +0 -0
  29. {criteo_api_retailmedia_sdk-0.0.250129.dist-info → criteo_api_retailmedia_sdk-0.0.250211.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.250129"
11
+ __version__ = "0.0.250211"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_preview.api_client import ApiClient
@@ -24,7 +24,7 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
24
24
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account import EntityResourceCollectionOutcomeOfRetailMediaChildAccount
25
25
  from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
26
26
  from criteo_api_retailmedia_preview.model.outcome import Outcome
27
- from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller
27
+ from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_seller_search_result import ValueResourceCollectionOutcomeOfSellerSearchResult
28
28
  from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_search import ValueResourceInputOfSellerSearch
29
29
 
30
30
 
@@ -162,7 +162,7 @@ class AccountsApi(object):
162
162
  )
163
163
  self.search_sellers_endpoint = _Endpoint(
164
164
  settings={
165
- 'response_type': (ValueResourceCollectionOutcomeOfRetailMediaSeller,),
165
+ 'response_type': (ValueResourceCollectionOutcomeOfSellerSearchResult,),
166
166
  'auth': [
167
167
  'oauth',
168
168
  'oauth'
@@ -434,7 +434,7 @@ class AccountsApi(object):
434
434
  async_req (bool): execute request asynchronously
435
435
 
436
436
  Returns:
437
- ValueResourceCollectionOutcomeOfRetailMediaSeller
437
+ ValueResourceCollectionOutcomeOfSellerSearchResult
438
438
  If the method is called asynchronously, returns the request
439
439
  thread.
440
440
  """
@@ -23,6 +23,7 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
23
23
  )
24
24
  from criteo_api_retailmedia_preview.model.async_accounts_report_request import AsyncAccountsReportRequest
25
25
  from criteo_api_retailmedia_preview.model.async_campaigns_report_request import AsyncCampaignsReportRequest
26
+ from criteo_api_retailmedia_preview.model.async_fill_rate_report_request import AsyncFillRateReportRequest
26
27
  from criteo_api_retailmedia_preview.model.async_line_items_report_request import AsyncLineItemsReportRequest
27
28
  from criteo_api_retailmedia_preview.model.async_report_response import AsyncReportResponse
28
29
  from criteo_api_retailmedia_preview.model.report_outcome import ReportOutcome
@@ -159,6 +160,64 @@ class AnalyticsApi(object):
159
160
  },
160
161
  api_client=api_client
161
162
  )
163
+ self.generate_async_fill_rate_report_endpoint = _Endpoint(
164
+ settings={
165
+ 'response_type': (AsyncReportResponse,),
166
+ 'auth': [
167
+ 'oauth',
168
+ 'oauth'
169
+ ],
170
+ 'endpoint_path': '/preview/retail-media/reports/fillrate',
171
+ 'operation_id': 'generate_async_fill_rate_report',
172
+ 'http_method': 'POST',
173
+ 'servers': None,
174
+ },
175
+ params_map={
176
+ 'all': [
177
+ 'async_fill_rate_report_request',
178
+ ],
179
+ 'required': [
180
+ 'async_fill_rate_report_request',
181
+ ],
182
+ 'nullable': [
183
+ ],
184
+ 'enum': [
185
+ ],
186
+ 'validation': [
187
+ ]
188
+ },
189
+ root_map={
190
+ 'validations': {
191
+ },
192
+ 'allowed_values': {
193
+ },
194
+ 'openapi_types': {
195
+ 'async_fill_rate_report_request':
196
+ (AsyncFillRateReportRequest,),
197
+ },
198
+ 'attribute_map': {
199
+ },
200
+ 'location_map': {
201
+ 'async_fill_rate_report_request': 'body',
202
+ },
203
+ 'collection_format_map': {
204
+ }
205
+ },
206
+ headers_map={
207
+ 'accept': [
208
+ 'text/plain',
209
+ 'application/json',
210
+ 'text/json'
211
+ ],
212
+ 'content_type': [
213
+ 'application/json-patch+json',
214
+ 'application/json',
215
+ 'text/json',
216
+ 'application/*+json'
217
+ ]
218
+ },
219
+ api_client=api_client
220
+ )
162
221
  self.generate_async_line_items_report_endpoint = _Endpoint(
163
222
  settings={
164
223
  'response_type': (AsyncReportResponse,),
@@ -666,6 +725,89 @@ class AnalyticsApi(object):
666
725
  async_campaigns_report_request
667
726
  return self.generate_async_campaigns_report_endpoint.call_with_http_info(**kwargs)
668
727
 
728
+ def generate_async_fill_rate_report(
729
+ self,
730
+ async_fill_rate_report_request,
731
+ **kwargs
732
+ ):
733
+ """generate_async_fill_rate_report # noqa: E501
734
+
735
+ Returns an asynchronous Fill Rate Report This endpoint is subject to specific rate limits. # noqa: E501
736
+ This method makes a synchronous HTTP request by default. To make an
737
+ asynchronous HTTP request, please pass async_req=True
738
+
739
+ >>> thread = api.generate_async_fill_rate_report(async_fill_rate_report_request, async_req=True)
740
+ >>> result = thread.get()
741
+
742
+ Args:
743
+ async_fill_rate_report_request (AsyncFillRateReportRequest):
744
+
745
+ Keyword Args:
746
+ _return_http_data_only (bool): response data without head status
747
+ code and headers. Default is True.
748
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
749
+ will be returned without reading/decoding response data.
750
+ Default is True.
751
+ _request_timeout (int/float/tuple): timeout setting for this request. If
752
+ one number provided, it will be total request timeout. It can also
753
+ be a pair (tuple) of (connection, read) timeouts.
754
+ Default is None.
755
+ _check_input_type (bool): specifies if type checking
756
+ should be done one the data sent to the server.
757
+ Default is True.
758
+ _check_return_type (bool): specifies if type checking
759
+ should be done one the data received from the server.
760
+ Default is True.
761
+ _spec_property_naming (bool): True if the variable names in the input data
762
+ are serialized names, as specified in the OpenAPI document.
763
+ False if the variable names in the input data
764
+ are pythonic names, e.g. snake case (default)
765
+ _content_type (str/None): force body content-type.
766
+ Default is None and content-type will be predicted by allowed
767
+ content-types and body.
768
+ _host_index (int/None): specifies the index of the server
769
+ that we want to use.
770
+ Default is read from the configuration.
771
+ _request_auths (list): set to override the auth_settings for an a single
772
+ request; this effectively ignores the authentication
773
+ in the spec for a single request.
774
+ Default is None
775
+ async_req (bool): execute request asynchronously
776
+
777
+ Returns:
778
+ AsyncReportResponse
779
+ If the method is called asynchronously, returns the request
780
+ thread.
781
+ """
782
+ kwargs['async_req'] = kwargs.get(
783
+ 'async_req', False
784
+ )
785
+ kwargs['_return_http_data_only'] = kwargs.get(
786
+ '_return_http_data_only', True
787
+ )
788
+ kwargs['_preload_content'] = kwargs.get(
789
+ '_preload_content', True
790
+ )
791
+ kwargs['_request_timeout'] = kwargs.get(
792
+ '_request_timeout', None
793
+ )
794
+ kwargs['_check_input_type'] = kwargs.get(
795
+ '_check_input_type', True
796
+ )
797
+ kwargs['_check_return_type'] = kwargs.get(
798
+ '_check_return_type', True
799
+ )
800
+ kwargs['_spec_property_naming'] = kwargs.get(
801
+ '_spec_property_naming', False
802
+ )
803
+ kwargs['_content_type'] = kwargs.get(
804
+ '_content_type')
805
+ kwargs['_host_index'] = kwargs.get('_host_index')
806
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
807
+ kwargs['async_fill_rate_report_request'] = \
808
+ async_fill_rate_report_request
809
+ return self.generate_async_fill_rate_report_endpoint.call_with_http_info(**kwargs)
810
+
669
811
  def generate_async_line_items_report(
670
812
  self,
671
813
  async_line_items_report_request,
@@ -28,6 +28,7 @@ from criteo_api_retailmedia_preview.model.creative2_list_response import Creativ
28
28
  from criteo_api_retailmedia_preview.model.creative2_response import Creative2Response
29
29
  from criteo_api_retailmedia_preview.model.creative_create_model2 import CreativeCreateModel2
30
30
  from criteo_api_retailmedia_preview.model.creative_update_model2 import CreativeUpdateModel2
31
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result import EntityResourceCollectionOutcomeBrandIdSearchResult
31
32
  from criteo_api_retailmedia_preview.model.json_api_request_of_seller_catalog_request import JsonApiRequestOfSellerCatalogRequest
32
33
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus
33
34
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2
@@ -54,6 +55,7 @@ from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_reques
54
55
  from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
55
56
  from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
56
57
  from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
58
+ from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
57
59
  from criteo_api_retailmedia_preview.model.value_resource_input_cpc_min_bids_request import ValueResourceInputCpcMinBidsRequest
58
60
  from criteo_api_retailmedia_preview.model.value_resource_outcome_cpc_min_bids_response import ValueResourceOutcomeCpcMinBidsResponse
59
61
  from criteo_api_retailmedia_preview.model.value_resource_outcome_of_recommended_keywords_result import ValueResourceOutcomeOfRecommendedKeywordsResult
@@ -130,7 +132,7 @@ class CampaignApi(object):
130
132
  )
131
133
  self.append_promoted_products_endpoint = _Endpoint(
132
134
  settings={
133
- 'response_type': None,
135
+ 'response_type': (ProductResourceOutcome,),
134
136
  'auth': [
135
137
  'oauth',
136
138
  'oauth'
@@ -2037,6 +2039,84 @@ class CampaignApi(object):
2037
2039
  },
2038
2040
  api_client=api_client
2039
2041
  )
2042
+ self.search_brands_by_name_async_v1_endpoint = _Endpoint(
2043
+ settings={
2044
+ 'response_type': (EntityResourceCollectionOutcomeBrandIdSearchResult,),
2045
+ 'auth': [
2046
+ 'oauth',
2047
+ 'oauth'
2048
+ ],
2049
+ 'endpoint_path': '/preview/retail-media/brands/search',
2050
+ 'operation_id': 'search_brands_by_name_async_v1',
2051
+ 'http_method': 'POST',
2052
+ 'servers': None,
2053
+ },
2054
+ params_map={
2055
+ 'all': [
2056
+ 'offset',
2057
+ 'limit',
2058
+ 'value_resource_input_brand_id_search_request',
2059
+ ],
2060
+ 'required': [],
2061
+ 'nullable': [
2062
+ ],
2063
+ 'enum': [
2064
+ ],
2065
+ 'validation': [
2066
+ 'offset',
2067
+ 'limit',
2068
+ ]
2069
+ },
2070
+ root_map={
2071
+ 'validations': {
2072
+ ('offset',): {
2073
+
2074
+ 'inclusive_maximum': 2147483647,
2075
+ 'inclusive_minimum': 0,
2076
+ },
2077
+ ('limit',): {
2078
+
2079
+ 'inclusive_maximum': 100,
2080
+ 'inclusive_minimum': 1,
2081
+ },
2082
+ },
2083
+ 'allowed_values': {
2084
+ },
2085
+ 'openapi_types': {
2086
+ 'offset':
2087
+ (int,),
2088
+ 'limit':
2089
+ (int,),
2090
+ 'value_resource_input_brand_id_search_request':
2091
+ (ValueResourceInputBrandIdSearchRequest,),
2092
+ },
2093
+ 'attribute_map': {
2094
+ 'offset': 'offset',
2095
+ 'limit': 'limit',
2096
+ },
2097
+ 'location_map': {
2098
+ 'offset': 'query',
2099
+ 'limit': 'query',
2100
+ 'value_resource_input_brand_id_search_request': 'body',
2101
+ },
2102
+ 'collection_format_map': {
2103
+ }
2104
+ },
2105
+ headers_map={
2106
+ 'accept': [
2107
+ 'text/plain',
2108
+ 'application/json',
2109
+ 'text/json'
2110
+ ],
2111
+ 'content_type': [
2112
+ 'application/json-patch+json',
2113
+ 'application/json',
2114
+ 'text/json',
2115
+ 'application/*+json'
2116
+ ]
2117
+ },
2118
+ api_client=api_client
2119
+ )
2040
2120
  self.set_keyword_bids_endpoint = _Endpoint(
2041
2121
  settings={
2042
2122
  'response_type': (ResourceOutcome,),
@@ -2289,7 +2369,7 @@ class CampaignApi(object):
2289
2369
  async_req (bool): execute request asynchronously
2290
2370
 
2291
2371
  Returns:
2292
- None
2372
+ ProductResourceOutcome
2293
2373
  If the method is called asynchronously, returns the request
2294
2374
  thread.
2295
2375
  """
@@ -4870,6 +4950,87 @@ class CampaignApi(object):
4870
4950
  line_item_id
4871
4951
  return self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4872
4952
 
4953
+ def search_brands_by_name_async_v1(
4954
+ self,
4955
+ **kwargs
4956
+ ):
4957
+ """search_brands_by_name_async_v1 # noqa: E501
4958
+
4959
+ Search for brands given a retailer ID and search term. # noqa: E501
4960
+ This method makes a synchronous HTTP request by default. To make an
4961
+ asynchronous HTTP request, please pass async_req=True
4962
+
4963
+ >>> thread = api.search_brands_by_name_async_v1(async_req=True)
4964
+ >>> result = thread.get()
4965
+
4966
+
4967
+ Keyword Args:
4968
+ offset (int): offset of paginated results. [optional] if omitted the server will use the default value of 0
4969
+ limit (int): the number of brands to return. [optional] if omitted the server will use the default value of 25
4970
+ value_resource_input_brand_id_search_request (ValueResourceInputBrandIdSearchRequest): BrandIdSearchRequest which contains the request parameters. [optional]
4971
+ _return_http_data_only (bool): response data without head status
4972
+ code and headers. Default is True.
4973
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
4974
+ will be returned without reading/decoding response data.
4975
+ Default is True.
4976
+ _request_timeout (int/float/tuple): timeout setting for this request. If
4977
+ one number provided, it will be total request timeout. It can also
4978
+ be a pair (tuple) of (connection, read) timeouts.
4979
+ Default is None.
4980
+ _check_input_type (bool): specifies if type checking
4981
+ should be done one the data sent to the server.
4982
+ Default is True.
4983
+ _check_return_type (bool): specifies if type checking
4984
+ should be done one the data received from the server.
4985
+ Default is True.
4986
+ _spec_property_naming (bool): True if the variable names in the input data
4987
+ are serialized names, as specified in the OpenAPI document.
4988
+ False if the variable names in the input data
4989
+ are pythonic names, e.g. snake case (default)
4990
+ _content_type (str/None): force body content-type.
4991
+ Default is None and content-type will be predicted by allowed
4992
+ content-types and body.
4993
+ _host_index (int/None): specifies the index of the server
4994
+ that we want to use.
4995
+ Default is read from the configuration.
4996
+ _request_auths (list): set to override the auth_settings for an a single
4997
+ request; this effectively ignores the authentication
4998
+ in the spec for a single request.
4999
+ Default is None
5000
+ async_req (bool): execute request asynchronously
5001
+
5002
+ Returns:
5003
+ EntityResourceCollectionOutcomeBrandIdSearchResult
5004
+ If the method is called asynchronously, returns the request
5005
+ thread.
5006
+ """
5007
+ kwargs['async_req'] = kwargs.get(
5008
+ 'async_req', False
5009
+ )
5010
+ kwargs['_return_http_data_only'] = kwargs.get(
5011
+ '_return_http_data_only', True
5012
+ )
5013
+ kwargs['_preload_content'] = kwargs.get(
5014
+ '_preload_content', True
5015
+ )
5016
+ kwargs['_request_timeout'] = kwargs.get(
5017
+ '_request_timeout', None
5018
+ )
5019
+ kwargs['_check_input_type'] = kwargs.get(
5020
+ '_check_input_type', True
5021
+ )
5022
+ kwargs['_check_return_type'] = kwargs.get(
5023
+ '_check_return_type', True
5024
+ )
5025
+ kwargs['_spec_property_naming'] = kwargs.get(
5026
+ '_spec_property_naming', False
5027
+ )
5028
+ kwargs['_content_type'] = kwargs.get(
5029
+ '_content_type')
5030
+ kwargs['_host_index'] = kwargs.get('_host_index')
5031
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5032
+ return self.search_brands_by_name_async_v1_endpoint.call_with_http_info(**kwargs)
5033
+
4873
5034
  def set_keyword_bids(
4874
5035
  self,
4875
5036
  id,
@@ -22,11 +22,9 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
22
22
  validate_and_convert_types
23
23
  )
24
24
  from criteo_api_retailmedia_preview.model.batch_accepted_response import BatchAcceptedResponse
25
- from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result import EntityResourceCollectionOutcomeBrandIdSearchResult
26
25
  from criteo_api_retailmedia_preview.model.fail_response import FailResponse
27
26
  from criteo_api_retailmedia_preview.model.products_custom_batch_request import ProductsCustomBatchRequest
28
27
  from criteo_api_retailmedia_preview.model.report_ok_response import ReportOkResponse
29
- from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
30
28
 
31
29
 
32
30
  class CatalogApi(object):
@@ -145,84 +143,6 @@ class CatalogApi(object):
145
143
  },
146
144
  api_client=api_client
147
145
  )
148
- self.search_brands_by_name_async_v1_endpoint = _Endpoint(
149
- settings={
150
- 'response_type': (EntityResourceCollectionOutcomeBrandIdSearchResult,),
151
- 'auth': [
152
- 'oauth',
153
- 'oauth'
154
- ],
155
- 'endpoint_path': '/preview/retail-media/brands/search',
156
- 'operation_id': 'search_brands_by_name_async_v1',
157
- 'http_method': 'POST',
158
- 'servers': None,
159
- },
160
- params_map={
161
- 'all': [
162
- 'offset',
163
- 'limit',
164
- 'value_resource_input_brand_id_search_request',
165
- ],
166
- 'required': [],
167
- 'nullable': [
168
- ],
169
- 'enum': [
170
- ],
171
- 'validation': [
172
- 'offset',
173
- 'limit',
174
- ]
175
- },
176
- root_map={
177
- 'validations': {
178
- ('offset',): {
179
-
180
- 'inclusive_maximum': 2147483647,
181
- 'inclusive_minimum': 0,
182
- },
183
- ('limit',): {
184
-
185
- 'inclusive_maximum': 100,
186
- 'inclusive_minimum': 1,
187
- },
188
- },
189
- 'allowed_values': {
190
- },
191
- 'openapi_types': {
192
- 'offset':
193
- (int,),
194
- 'limit':
195
- (int,),
196
- 'value_resource_input_brand_id_search_request':
197
- (ValueResourceInputBrandIdSearchRequest,),
198
- },
199
- 'attribute_map': {
200
- 'offset': 'offset',
201
- 'limit': 'limit',
202
- },
203
- 'location_map': {
204
- 'offset': 'query',
205
- 'limit': 'query',
206
- 'value_resource_input_brand_id_search_request': 'body',
207
- },
208
- 'collection_format_map': {
209
- }
210
- },
211
- headers_map={
212
- 'accept': [
213
- 'text/plain',
214
- 'application/json',
215
- 'text/json'
216
- ],
217
- 'content_type': [
218
- 'application/json-patch+json',
219
- 'application/json',
220
- 'text/json',
221
- 'application/*+json'
222
- ]
223
- },
224
- api_client=api_client
225
- )
226
146
 
227
147
  def preview_retail_media_catalog_products_batch_post(
228
148
  self,
@@ -390,84 +310,3 @@ class CatalogApi(object):
390
310
  operation_token
391
311
  return self.preview_retail_media_catalog_products_batch_report_operation_token_get_endpoint.call_with_http_info(**kwargs)
392
312
 
393
- def search_brands_by_name_async_v1(
394
- self,
395
- **kwargs
396
- ):
397
- """search_brands_by_name_async_v1 # noqa: E501
398
-
399
- Search for brands given a retailer ID and search term. # noqa: E501
400
- This method makes a synchronous HTTP request by default. To make an
401
- asynchronous HTTP request, please pass async_req=True
402
-
403
- >>> thread = api.search_brands_by_name_async_v1(async_req=True)
404
- >>> result = thread.get()
405
-
406
-
407
- Keyword Args:
408
- offset (int): offset of paginated results. [optional] if omitted the server will use the default value of 0
409
- limit (int): the number of brands to return. [optional] if omitted the server will use the default value of 25
410
- value_resource_input_brand_id_search_request (ValueResourceInputBrandIdSearchRequest): BrandIdSearchRequest which contains the request parameters. [optional]
411
- _return_http_data_only (bool): response data without head status
412
- code and headers. Default is True.
413
- _preload_content (bool): if False, the urllib3.HTTPResponse object
414
- will be returned without reading/decoding response data.
415
- Default is True.
416
- _request_timeout (int/float/tuple): timeout setting for this request. If
417
- one number provided, it will be total request timeout. It can also
418
- be a pair (tuple) of (connection, read) timeouts.
419
- Default is None.
420
- _check_input_type (bool): specifies if type checking
421
- should be done one the data sent to the server.
422
- Default is True.
423
- _check_return_type (bool): specifies if type checking
424
- should be done one the data received from the server.
425
- Default is True.
426
- _spec_property_naming (bool): True if the variable names in the input data
427
- are serialized names, as specified in the OpenAPI document.
428
- False if the variable names in the input data
429
- are pythonic names, e.g. snake case (default)
430
- _content_type (str/None): force body content-type.
431
- Default is None and content-type will be predicted by allowed
432
- content-types and body.
433
- _host_index (int/None): specifies the index of the server
434
- that we want to use.
435
- Default is read from the configuration.
436
- _request_auths (list): set to override the auth_settings for an a single
437
- request; this effectively ignores the authentication
438
- in the spec for a single request.
439
- Default is None
440
- async_req (bool): execute request asynchronously
441
-
442
- Returns:
443
- EntityResourceCollectionOutcomeBrandIdSearchResult
444
- If the method is called asynchronously, returns the request
445
- thread.
446
- """
447
- kwargs['async_req'] = kwargs.get(
448
- 'async_req', False
449
- )
450
- kwargs['_return_http_data_only'] = kwargs.get(
451
- '_return_http_data_only', True
452
- )
453
- kwargs['_preload_content'] = kwargs.get(
454
- '_preload_content', True
455
- )
456
- kwargs['_request_timeout'] = kwargs.get(
457
- '_request_timeout', None
458
- )
459
- kwargs['_check_input_type'] = kwargs.get(
460
- '_check_input_type', True
461
- )
462
- kwargs['_check_return_type'] = kwargs.get(
463
- '_check_return_type', True
464
- )
465
- kwargs['_spec_property_naming'] = kwargs.get(
466
- '_spec_property_naming', False
467
- )
468
- kwargs['_content_type'] = kwargs.get(
469
- '_content_type')
470
- kwargs['_host_index'] = kwargs.get('_host_index')
471
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
472
- return self.search_brands_by_name_async_v1_endpoint.call_with_http_info(**kwargs)
473
-
@@ -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.http_validation_error import HttpValidationError
25
24
  from criteo_api_retailmedia_preview.model.inbot_discussion_body_model import InbotDiscussionBodyModel
26
25
  from criteo_api_retailmedia_preview.model.message_body_model import MessageBodyModel
27
26
 
@@ -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.250129/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.250211/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.250129".\
398
+ "SDK Package Version: 0.0.250211".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -186,6 +186,10 @@ class AsyncAccountsReport(ModelNormal):
186
186
  'VIDEOSTARTINGRATE': "videoStartingRate",
187
187
  'VIDEOCPC': "videoCPC",
188
188
  'VIDEOCPCV': "videoCPCV",
189
+ 'NEWTOBRANDATTRIBUTEDSALES': "newToBrandAttributedSales",
190
+ 'NEWTOBRANDATTRIBUTEDSALESRATE': "newToBrandAttributedSalesRate",
191
+ 'NEWTOBRANDATTRIBUTEDUNITS': "newToBrandAttributedUnits",
192
+ 'NEWTOBRANDATTRIBUTEDUNITSRATE': "newToBrandAttributedUnitsRate",
189
193
  'UNIQUEVISITORS': "uniqueVisitors",
190
194
  'FREQUENCY': "frequency",
191
195
  },
@@ -181,6 +181,10 @@ class AsyncCampaignsReport(ModelNormal):
181
181
  'VIDEOSTARTINGRATE': "videoStartingRate",
182
182
  'VIDEOCPC': "videoCPC",
183
183
  'VIDEOCPCV': "videoCPCV",
184
+ 'NEWTOBRANDATTRIBUTEDSALES': "newToBrandAttributedSales",
185
+ 'NEWTOBRANDATTRIBUTEDSALESRATE': "newToBrandAttributedSalesRate",
186
+ 'NEWTOBRANDATTRIBUTEDUNITS': "newToBrandAttributedUnits",
187
+ 'NEWTOBRANDATTRIBUTEDUNITSRATE': "newToBrandAttributedUnitsRate",
184
188
  'UNIQUEVISITORS': "uniqueVisitors",
185
189
  'FREQUENCY': "frequency",
186
190
  },