criteo-api-retailmedia-sdk 0.0.240207__py3-none-any.whl → 0.0.240515__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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
- criteo_api_retailmedia_preview/api/audience_api.py +284 -0
- criteo_api_retailmedia_preview/api/campaign_api.py +1678 -902
- criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keyword_model.py → add_remove_keyword_model.py} +12 -19
- criteo_api_retailmedia_preview/model/add_remove_keywords_model.py +262 -0
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_request.py +262 -0
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/approval_status_model.py +292 -0
- criteo_api_retailmedia_preview/model/async_accounts_report.py +421 -0
- criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +74 -59
- criteo_api_retailmedia_preview/model/async_line_items_report.py +74 -60
- criteo_api_retailmedia_preview/model/audience_error.py +310 -0
- criteo_api_retailmedia_preview/model/{template_variable.py → audience_warning.py} +48 -46
- criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → batch_accepted_response.py} +11 -11
- criteo_api_retailmedia_preview/model/change_details.py +275 -0
- criteo_api_retailmedia_preview/model/{creative202210_list_response.py → creative_v2_list_response.py} +16 -16
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → creative_v2_response.py} +16 -9
- criteo_api_retailmedia_preview/model/custom_attribute.py +275 -0
- criteo_api_retailmedia_preview/model/error_code_response.py +281 -0
- criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
- criteo_api_retailmedia_preview/model/{choice_variable_value.py → external_choice_variable_value.py} +3 -3
- criteo_api_retailmedia_preview/model/{color_variable_value.py → external_color_variable_value.py} +8 -14
- criteo_api_retailmedia_preview/model/{creative_update_model202207.py → external_creative_create_model_v2.py} +11 -11
- criteo_api_retailmedia_preview/model/{creative_create_model202207.py → external_creative_update_model_v2.py} +11 -11
- criteo_api_retailmedia_preview/model/{creative202210.py → external_creative_v2.py} +34 -28
- criteo_api_retailmedia_preview/model/{files_variable_value.py → external_files_variable_value.py} +4 -3
- criteo_api_retailmedia_preview/model/{text_variable_specification.py → external_hyperlink_variable_value.py} +7 -7
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers.py → external_line_item_bid_multipliers_v2.py} +41 -29
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +280 -0
- criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
- criteo_api_retailmedia_preview/model/{choice_variable_specification.py → external_line_item_page_v2.py} +36 -21
- criteo_api_retailmedia_preview/model/{page_type_environment.py → external_page_type_environment.py} +15 -9
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +345 -0
- criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
- criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
- criteo_api_retailmedia_preview/model/{template_variable_value.py → external_template_variable_value.py} +36 -30
- criteo_api_retailmedia_preview/model/{text_variable_value.py → external_text_variable_value.py} +8 -14
- criteo_api_retailmedia_preview/model/external_video_variable_value.py +293 -0
- criteo_api_retailmedia_preview/model/{choice_option.py → fail_response.py} +21 -19
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_input_keywords_model.py → input_keywords_model.py} +4 -16
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model.py → input_resource_of_preferred_line_item_create_model_v2.py} +13 -11
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture.py +303 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model.py → installment.py} +13 -11
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py → json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_line_item_bid_multipliers.py → json_api_single_response_of_line_item_bid_multipliers_v2.py} +14 -14
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keyword_data_model.py → keyword_data_model.py} +19 -37
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model.py → keywords_model.py} +9 -18
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/keywords_model_response.py +274 -0
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_request.py → line_item_bid_multipliers_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_response.py → line_item_bid_multipliers_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/line_item_product_status.py +291 -0
- criteo_api_retailmedia_preview/model/loyalty_points.py +271 -0
- criteo_api_retailmedia_preview/model/match_type_model.py +291 -0
- criteo_api_retailmedia_preview/model/metadata.py +273 -0
- criteo_api_retailmedia_preview/model/negotiation_state_model.py +293 -0
- criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_request.py → preferred_line_item_update_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{creative202210_response.py → preferred_line_item_v2_paged_list_response.py} +22 -16
- criteo_api_retailmedia_preview/model/{template_response.py → preferred_line_item_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/price.py +267 -0
- criteo_api_retailmedia_preview/model/product.py +626 -0
- criteo_api_retailmedia_preview/model/product_importer_error.py +299 -0
- criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
- criteo_api_retailmedia_preview/model/product_metadata.py +269 -0
- criteo_api_retailmedia_preview/model/product_resource_outcome.py +266 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_response.py → product_shipping.py} +33 -25
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +267 -0
- criteo_api_retailmedia_preview/model/product_tax.py +283 -0
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +267 -0
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +267 -0
- criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +305 -0
- criteo_api_retailmedia_preview/model/promoted_product.py +270 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +270 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_input.py +262 -0
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +278 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_proposal_status_model.py → proposal_status_model.py} +22 -50
- criteo_api_retailmedia_preview/model/proposal_status_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/{template_list_response.py → proposal_status_model_response.py} +20 -27
- criteo_api_retailmedia_preview/model/report_detail_error.py +299 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_request.py → report_detail_errors.py} +23 -11
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_resource.py → report_ok_response.py} +56 -21
- criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_creative_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_resource.py → resource_of_preferred_line_item_update_model_v2.py} +16 -22
- criteo_api_retailmedia_preview/model/{resource_of_line_item_bid_multipliers.py → resource_of_preferred_line_item_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/resource_outcome.py +268 -0
- criteo_api_retailmedia_preview/model/retail_media_account.py +6 -6
- criteo_api_retailmedia_preview/model/retail_media_brands.py +257 -0
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → retail_media_contactlist_amendment.py} +16 -16
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_resource.py → retail_media_contactlist_amendment_attributes.py} +34 -25
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_request.py +275 -0
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_catalog_status.py → retail_media_contactlist_operation.py} +24 -20
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → retail_media_contactlist_operation_response_attributes.py} +14 -18
- criteo_api_retailmedia_preview/model/retail_media_contactlist_operation_response_attributes_attributes.py +297 -0
- criteo_api_retailmedia_preview/model/review_state_model.py +294 -0
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_problem_details.py → rmca_common_problem.py} +41 -30
- criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py} +4 -10
- criteo_api_retailmedia_preview/model/set_bids_model.py +262 -0
- criteo_api_retailmedia_preview/model/set_bids_model_request.py +262 -0
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +270 -0
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +47 -45
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +68 -53
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +70 -56
- criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.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.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
- criteo_api_retailmedia_preview/models/__init__.py +106 -55
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/RECORD +127 -75
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
- criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_resource.py +0 -283
- criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_response.py +0 -285
- criteo_api_retailmedia_preview/model/retail_media_externalv1_resource_outcome.py +0 -279
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/top_level.txt +0 -0
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.report_detail_error import ReportDetailError
|
|
34
|
+
globals()['ReportDetailError'] = ReportDetailError
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ReportDetailErrors(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'
|
|
90
|
+
'product_id': (str,), # noqa: E501
|
|
91
|
+
'errors': ([ReportDetailError],), # noqa: E501
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
@cached_property
|
|
@@ -96,7 +97,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
96
97
|
|
|
97
98
|
|
|
98
99
|
attribute_map = {
|
|
99
|
-
'
|
|
100
|
+
'product_id': 'productId', # noqa: E501
|
|
101
|
+
'errors': 'errors', # noqa: E501
|
|
100
102
|
}
|
|
101
103
|
|
|
102
104
|
read_only_vars = {
|
|
@@ -106,8 +108,12 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
106
108
|
|
|
107
109
|
@classmethod
|
|
108
110
|
@convert_js_args_to_python_args
|
|
109
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
111
|
+
def _from_openapi_data(cls, product_id, errors, *args, **kwargs): # noqa: E501
|
|
112
|
+
"""ReportDetailErrors - a model defined in OpenAPI
|
|
113
|
+
|
|
114
|
+
Args:
|
|
115
|
+
product_id (str): The product ID in lowercase
|
|
116
|
+
errors ([ReportDetailError]):
|
|
111
117
|
|
|
112
118
|
Keyword Args:
|
|
113
119
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +146,6 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
140
146
|
Animal class but this time we won't travel
|
|
141
147
|
through its discriminator because we passed in
|
|
142
148
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (RetailMediaExternalv1AddRemoveKeywordsModelResource): [optional] # noqa: E501
|
|
144
149
|
"""
|
|
145
150
|
|
|
146
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -172,6 +177,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
172
177
|
self._configuration = _configuration
|
|
173
178
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
179
|
|
|
180
|
+
self.product_id = product_id
|
|
181
|
+
self.errors = errors
|
|
175
182
|
for var_name, var_value in kwargs.items():
|
|
176
183
|
if var_name not in self.attribute_map and \
|
|
177
184
|
self._configuration is not None and \
|
|
@@ -192,8 +199,12 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
192
199
|
])
|
|
193
200
|
|
|
194
201
|
@convert_js_args_to_python_args
|
|
195
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
202
|
+
def __init__(self, product_id, errors, *args, **kwargs): # noqa: E501
|
|
203
|
+
"""ReportDetailErrors - a model defined in OpenAPI
|
|
204
|
+
|
|
205
|
+
Args:
|
|
206
|
+
product_id (str): The product ID in lowercase
|
|
207
|
+
errors ([ReportDetailError]):
|
|
197
208
|
|
|
198
209
|
Keyword Args:
|
|
199
210
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +237,6 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
226
237
|
Animal class but this time we won't travel
|
|
227
238
|
through its discriminator because we passed in
|
|
228
239
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (RetailMediaExternalv1AddRemoveKeywordsModelResource): [optional] # noqa: E501
|
|
230
240
|
"""
|
|
231
241
|
|
|
232
242
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -256,6 +266,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelRequest(ModelNormal):
|
|
|
256
266
|
self._configuration = _configuration
|
|
257
267
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
258
268
|
|
|
269
|
+
self.product_id = product_id
|
|
270
|
+
self.errors = errors
|
|
259
271
|
for var_name, var_value in kwargs.items():
|
|
260
272
|
if var_name not in self.attribute_map and \
|
|
261
273
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.report_detail_errors import ReportDetailErrors
|
|
34
|
+
globals()['ReportDetailErrors'] = ReportDetailErrors
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ReportOkResponse(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -59,6 +59,13 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
59
59
|
"""
|
|
60
60
|
|
|
61
61
|
allowed_values = {
|
|
62
|
+
('status',): {
|
|
63
|
+
'ACCEPTED': "ACCEPTED",
|
|
64
|
+
'IN_PROGRESS': "IN_PROGRESS",
|
|
65
|
+
'VALIDATED': "VALIDATED",
|
|
66
|
+
'VALIDATED_WITH_ERRORS': "VALIDATED_WITH_ERRORS",
|
|
67
|
+
'FAILED': "FAILED",
|
|
68
|
+
},
|
|
62
69
|
}
|
|
63
70
|
|
|
64
71
|
validations = {
|
|
@@ -87,9 +94,13 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
87
94
|
"""
|
|
88
95
|
lazy_import()
|
|
89
96
|
return {
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
97
|
+
'status': (str,), # noqa: E501
|
|
98
|
+
'import_request_timestamp': (int,), # noqa: E501
|
|
99
|
+
'number_of_products_in_the_batch': (int,), # noqa: E501
|
|
100
|
+
'number_of_products_upserted': (int,), # noqa: E501
|
|
101
|
+
'number_of_products_deleted': (int,), # noqa: E501
|
|
102
|
+
'number_of_products_with_errors': (int,), # noqa: E501
|
|
103
|
+
'error_details': ([ReportDetailErrors],), # noqa: E501
|
|
93
104
|
}
|
|
94
105
|
|
|
95
106
|
@cached_property
|
|
@@ -98,9 +109,13 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
98
109
|
|
|
99
110
|
|
|
100
111
|
attribute_map = {
|
|
101
|
-
'
|
|
102
|
-
'
|
|
103
|
-
'
|
|
112
|
+
'status': 'status', # noqa: E501
|
|
113
|
+
'import_request_timestamp': 'importRequestTimestamp', # noqa: E501
|
|
114
|
+
'number_of_products_in_the_batch': 'numberOfProductsInTheBatch', # noqa: E501
|
|
115
|
+
'number_of_products_upserted': 'numberOfProductsUpserted', # noqa: E501
|
|
116
|
+
'number_of_products_deleted': 'numberOfProductsDeleted', # noqa: E501
|
|
117
|
+
'number_of_products_with_errors': 'numberOfProductsWithErrors', # noqa: E501
|
|
118
|
+
'error_details': 'errorDetails', # noqa: E501
|
|
104
119
|
}
|
|
105
120
|
|
|
106
121
|
read_only_vars = {
|
|
@@ -110,11 +125,17 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
110
125
|
|
|
111
126
|
@classmethod
|
|
112
127
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
114
|
-
"""
|
|
128
|
+
def _from_openapi_data(cls, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, *args, **kwargs): # noqa: E501
|
|
129
|
+
"""ReportOkResponse - a model defined in OpenAPI
|
|
115
130
|
|
|
116
131
|
Args:
|
|
117
|
-
|
|
132
|
+
status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
|
|
133
|
+
import_request_timestamp (int): The date when the original batch request was sent.
|
|
134
|
+
number_of_products_in_the_batch (int): The number of products present in the batch.
|
|
135
|
+
number_of_products_upserted (int): The number of products upserted.
|
|
136
|
+
number_of_products_deleted (int): The number of products deleted.
|
|
137
|
+
number_of_products_with_errors (int): The number of products with errors.
|
|
138
|
+
error_details ([ReportDetailErrors]): The list of errors with details.
|
|
118
139
|
|
|
119
140
|
Keyword Args:
|
|
120
141
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -147,8 +168,6 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
147
168
|
Animal class but this time we won't travel
|
|
148
169
|
through its discriminator because we passed in
|
|
149
170
|
_visited_composed_classes = (Animal,)
|
|
150
|
-
id (str, none_type): [optional] # noqa: E501
|
|
151
|
-
attributes (RetailMediaExternalv1KeywordsModel): [optional] # noqa: E501
|
|
152
171
|
"""
|
|
153
172
|
|
|
154
173
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -180,7 +199,13 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
180
199
|
self._configuration = _configuration
|
|
181
200
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
201
|
|
|
183
|
-
self.
|
|
202
|
+
self.status = status
|
|
203
|
+
self.import_request_timestamp = import_request_timestamp
|
|
204
|
+
self.number_of_products_in_the_batch = number_of_products_in_the_batch
|
|
205
|
+
self.number_of_products_upserted = number_of_products_upserted
|
|
206
|
+
self.number_of_products_deleted = number_of_products_deleted
|
|
207
|
+
self.number_of_products_with_errors = number_of_products_with_errors
|
|
208
|
+
self.error_details = error_details
|
|
184
209
|
for var_name, var_value in kwargs.items():
|
|
185
210
|
if var_name not in self.attribute_map and \
|
|
186
211
|
self._configuration is not None and \
|
|
@@ -201,11 +226,17 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
201
226
|
])
|
|
202
227
|
|
|
203
228
|
@convert_js_args_to_python_args
|
|
204
|
-
def __init__(self,
|
|
205
|
-
"""
|
|
229
|
+
def __init__(self, status, import_request_timestamp, number_of_products_in_the_batch, number_of_products_upserted, number_of_products_deleted, number_of_products_with_errors, error_details, *args, **kwargs): # noqa: E501
|
|
230
|
+
"""ReportOkResponse - a model defined in OpenAPI
|
|
206
231
|
|
|
207
232
|
Args:
|
|
208
|
-
|
|
233
|
+
status (str): The status of the operation. The operation is completed when the status is one of (VALIDATED,VALIDATED_WITH_ERRORS,FAILED)
|
|
234
|
+
import_request_timestamp (int): The date when the original batch request was sent.
|
|
235
|
+
number_of_products_in_the_batch (int): The number of products present in the batch.
|
|
236
|
+
number_of_products_upserted (int): The number of products upserted.
|
|
237
|
+
number_of_products_deleted (int): The number of products deleted.
|
|
238
|
+
number_of_products_with_errors (int): The number of products with errors.
|
|
239
|
+
error_details ([ReportDetailErrors]): The list of errors with details.
|
|
209
240
|
|
|
210
241
|
Keyword Args:
|
|
211
242
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -238,8 +269,6 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
238
269
|
Animal class but this time we won't travel
|
|
239
270
|
through its discriminator because we passed in
|
|
240
271
|
_visited_composed_classes = (Animal,)
|
|
241
|
-
id (str, none_type): [optional] # noqa: E501
|
|
242
|
-
attributes (RetailMediaExternalv1KeywordsModel): [optional] # noqa: E501
|
|
243
272
|
"""
|
|
244
273
|
|
|
245
274
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -269,7 +298,13 @@ class RetailMediaExternalv1KeywordsModelResource(ModelNormal):
|
|
|
269
298
|
self._configuration = _configuration
|
|
270
299
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
271
300
|
|
|
272
|
-
self.
|
|
301
|
+
self.status = status
|
|
302
|
+
self.import_request_timestamp = import_request_timestamp
|
|
303
|
+
self.number_of_products_in_the_batch = number_of_products_in_the_batch
|
|
304
|
+
self.number_of_products_upserted = number_of_products_upserted
|
|
305
|
+
self.number_of_products_deleted = number_of_products_deleted
|
|
306
|
+
self.number_of_products_with_errors = number_of_products_with_errors
|
|
307
|
+
self.error_details = error_details
|
|
273
308
|
for var_name, var_value in kwargs.items():
|
|
274
309
|
if var_name not in self.attribute_map and \
|
|
275
310
|
self._configuration is not None and \
|
criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_creative_v2.py}
RENAMED
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.external_creative_v2 import ExternalCreativeV2
|
|
34
|
+
globals()['ExternalCreativeV2'] = ExternalCreativeV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfCreativeV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class ResourceOfCreative202210(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (ExternalCreativeV2,), # noqa: E501
|
|
91
91
|
'id': (str, none_type,), # noqa: E501
|
|
92
92
|
'type': (str, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -111,7 +111,7 @@ class ResourceOfCreative202210(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfCreativeV2 - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,7 +144,7 @@ class ResourceOfCreative202210(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (
|
|
147
|
+
attributes (ExternalCreativeV2): [optional] # noqa: E501
|
|
148
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
@@ -199,7 +199,7 @@ class ResourceOfCreative202210(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfCreativeV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,7 +232,7 @@ class ResourceOfCreative202210(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (
|
|
235
|
+
attributes (ExternalCreativeV2): [optional] # noqa: E501
|
|
236
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
238
238
|
"""
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.external_line_item_bid_multipliers_v2 import ExternalLineItemBidMultipliersV2
|
|
34
|
+
globals()['ExternalLineItemBidMultipliersV2'] = ExternalLineItemBidMultipliersV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfLineItemBidMultipliersV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class ResourceOfTemplate(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (ExternalLineItemBidMultipliersV2,), # noqa: E501
|
|
91
91
|
'id': (str, none_type,), # noqa: E501
|
|
92
92
|
'type': (str, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
@@ -111,7 +111,7 @@ class ResourceOfTemplate(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,7 +144,7 @@ class ResourceOfTemplate(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (
|
|
147
|
+
attributes (ExternalLineItemBidMultipliersV2): [optional] # noqa: E501
|
|
148
148
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
149
149
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
150
150
|
"""
|
|
@@ -199,7 +199,7 @@ class ResourceOfTemplate(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,7 +232,7 @@ class ResourceOfTemplate(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (
|
|
235
|
+
attributes (ExternalLineItemBidMultipliersV2): [optional] # noqa: E501
|
|
236
236
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
237
237
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
238
238
|
"""
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.external_preferred_line_item_update_model_v2 import ExternalPreferredLineItemUpdateModelV2
|
|
34
|
+
globals()['ExternalPreferredLineItemUpdateModelV2'] = ExternalPreferredLineItemUpdateModelV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfPreferredLineItemUpdateModelV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,9 +87,9 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'id': (str, none_type,), # noqa: E501
|
|
92
|
-
'
|
|
91
|
+
'type': (str, none_type,), # noqa: E501
|
|
92
|
+
'attributes': (ExternalPreferredLineItemUpdateModelV2,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,8 +98,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
-
'type': 'type', # noqa: E501
|
|
102
101
|
'id': 'id', # noqa: E501
|
|
102
|
+
'type': 'type', # noqa: E501
|
|
103
103
|
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -110,11 +110,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
110
110
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
|
-
def _from_openapi_data(cls,
|
|
114
|
-
"""
|
|
115
|
-
|
|
116
|
-
Args:
|
|
117
|
-
type (str):
|
|
113
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
+
"""ResourceOfPreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
118
115
|
|
|
119
116
|
Keyword Args:
|
|
120
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -147,8 +144,9 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
147
144
|
Animal class but this time we won't travel
|
|
148
145
|
through its discriminator because we passed in
|
|
149
146
|
_visited_composed_classes = (Animal,)
|
|
150
|
-
id (str, none_type): [optional] # noqa: E501
|
|
151
|
-
|
|
147
|
+
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
148
|
+
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
149
|
+
attributes (ExternalPreferredLineItemUpdateModelV2): [optional] # noqa: E501
|
|
152
150
|
"""
|
|
153
151
|
|
|
154
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -180,7 +178,6 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
180
178
|
self._configuration = _configuration
|
|
181
179
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
180
|
|
|
183
|
-
self.type = type
|
|
184
181
|
for var_name, var_value in kwargs.items():
|
|
185
182
|
if var_name not in self.attribute_map and \
|
|
186
183
|
self._configuration is not None and \
|
|
@@ -201,11 +198,8 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
201
198
|
])
|
|
202
199
|
|
|
203
200
|
@convert_js_args_to_python_args
|
|
204
|
-
def __init__(self,
|
|
205
|
-
"""
|
|
206
|
-
|
|
207
|
-
Args:
|
|
208
|
-
type (str):
|
|
201
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
+
"""ResourceOfPreferredLineItemUpdateModelV2 - a model defined in OpenAPI
|
|
209
203
|
|
|
210
204
|
Keyword Args:
|
|
211
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -238,8 +232,9 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
238
232
|
Animal class but this time we won't travel
|
|
239
233
|
through its discriminator because we passed in
|
|
240
234
|
_visited_composed_classes = (Animal,)
|
|
241
|
-
id (str, none_type): [optional] # noqa: E501
|
|
242
|
-
|
|
235
|
+
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
236
|
+
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
237
|
+
attributes (ExternalPreferredLineItemUpdateModelV2): [optional] # noqa: E501
|
|
243
238
|
"""
|
|
244
239
|
|
|
245
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -269,7 +264,6 @@ class RetailMediaExternalv1AddRemoveKeywordsModelResource(ModelNormal):
|
|
|
269
264
|
self._configuration = _configuration
|
|
270
265
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
271
266
|
|
|
272
|
-
self.type = type
|
|
273
267
|
for var_name, var_value in kwargs.items():
|
|
274
268
|
if var_name not in self.attribute_map and \
|
|
275
269
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.external_preferred_line_item_v2 import ExternalPreferredLineItemV2
|
|
34
|
+
globals()['ExternalPreferredLineItemV2'] = ExternalPreferredLineItemV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ResourceOfPreferredLineItemV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,9 +87,9 @@ class ResourceOfLineItemBidMultipliers(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (LineItemBidMultipliers,), # noqa: E501
|
|
91
90
|
'id': (str, none_type,), # noqa: E501
|
|
92
91
|
'type': (str, none_type,), # noqa: E501
|
|
92
|
+
'attributes': (ExternalPreferredLineItemV2,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -98,9 +98,9 @@ class ResourceOfLineItemBidMultipliers(ModelNormal):
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
attribute_map = {
|
|
101
|
-
'attributes': 'attributes', # noqa: E501
|
|
102
101
|
'id': 'id', # noqa: E501
|
|
103
102
|
'type': 'type', # noqa: E501
|
|
103
|
+
'attributes': 'attributes', # noqa: E501
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
read_only_vars = {
|
|
@@ -111,7 +111,7 @@ class ResourceOfLineItemBidMultipliers(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""ResourceOfPreferredLineItemV2 - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,9 +144,9 @@ class ResourceOfLineItemBidMultipliers(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
attributes (LineItemBidMultipliers): [optional] # noqa: E501
|
|
148
147
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
149
148
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
149
|
+
attributes (ExternalPreferredLineItemV2): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class ResourceOfLineItemBidMultipliers(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""ResourceOfPreferredLineItemV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,9 +232,9 @@ class ResourceOfLineItemBidMultipliers(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
attributes (LineItemBidMultipliers): [optional] # noqa: E501
|
|
236
235
|
id (str, none_type): Id of the entity. [optional] # noqa: E501
|
|
237
236
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
237
|
+
attributes (ExternalPreferredLineItemV2): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|