criteo-api-retailmedia-sdk 0.0.241029__py3-none-any.whl → 0.0.250205__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 +23 -324
- criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
- criteo_api_retailmedia_preview/api/balance_api.py +0 -159
- criteo_api_retailmedia_preview/api/campaign_api.py +226 -859
- criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +0 -1
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/async_accounts_report.py +44 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +44 -0
- criteo_api_retailmedia_preview/model/{retail_media_contactlist_amendment_attributes.py → async_fill_rate_report.py} +80 -31
- criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → async_fill_rate_report_request.py} +8 -8
- criteo_api_retailmedia_preview/model/{http_validation_error.py → async_fill_rate_report_resource.py} +13 -9
- criteo_api_retailmedia_preview/model/async_line_items_report.py +44 -0
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
- criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → brand_id_search_request.py} +21 -20
- criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
- criteo_api_retailmedia_preview/model/category.py +3 -3
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
- criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
- criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
- criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
- criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
- criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
- criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
- criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
- criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
- criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → entity_resource_collection_outcome_brand_id_search_result.py} +17 -24
- criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_of_retail_media_account.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
- criteo_api_retailmedia_preview/model/{entity_resource_of_retail_media_account.py → entity_resource_of_retail_media_child_account.py} +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
- criteo_api_retailmedia_preview/model/{external_retail_media_account.py → external_retail_media_child_account.py} +4 -8
- criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
- criteo_api_retailmedia_preview/model/message.py +5 -5
- criteo_api_retailmedia_preview/model/offset_page_metadata.py +279 -0
- criteo_api_retailmedia_preview/model/outcome.py +268 -0
- criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
- criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
- criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
- criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
- criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment.py +31 -18
- criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +296 -0
- criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
- criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
- criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
- criteo_api_retailmedia_preview/model/{external_brand.py → sku_min_bid.py} +18 -22
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
- criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
- criteo_api_retailmedia_preview/model/{location_inner.py → text_variable_value.py} +9 -11
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/{external_text_variable_value.py → value_resource_input_cpc_min_bids_request.py} +13 -14
- criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_of_seller_search.py} +8 -8
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → value_resource_of_seller_search.py} +13 -9
- criteo_api_retailmedia_preview/model/{proposal_status_model_response.py → value_resource_outcome_cpc_min_bids_response.py} +19 -19
- criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
- criteo_api_retailmedia_preview/models/__init__.py +39 -54
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/METADATA +14 -5
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/RECORD +78 -93
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
- criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
- criteo_api_retailmedia_preview/model/botmessage.py +0 -329
- criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
- criteo_api_retailmedia_preview/model/creative_v2_response.py +0 -281
- criteo_api_retailmedia_preview/model/external_account.py +0 -330
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_account_and_account.py +0 -285
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +0 -285
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +0 -285
- criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
- criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
- criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
- criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
- criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
- criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +0 -277
- criteo_api_retailmedia_preview/model/resource_of_creative_v2.py +0 -277
- criteo_api_retailmedia_preview/model/retail_media_account.py +0 -301
- criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -274
- criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
- criteo_api_retailmedia_preview/model/validation_error.py +0 -287
- {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/top_level.txt +0 -0
|
@@ -30,13 +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
|
-
|
|
35
|
-
globals()['InsertionOrderHistoryChangeDataCaptureV2'] = InsertionOrderHistoryChangeDataCaptureV2
|
|
36
|
-
globals()['Metadata'] = Metadata
|
|
33
|
+
from criteo_api_retailmedia_preview.model.sku_min_bid import SkuMinBid
|
|
34
|
+
globals()['SkuMinBid'] = SkuMinBid
|
|
37
35
|
|
|
38
36
|
|
|
39
|
-
class
|
|
37
|
+
class CpcMinBidsResponse(ModelNormal):
|
|
40
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
39
|
Ref: https://openapi-generator.tech
|
|
42
40
|
|
|
@@ -82,8 +80,8 @@ class PageOfInsertionOrderHistoryChangeDataCaptureV2(ModelNormal):
|
|
|
82
80
|
"""
|
|
83
81
|
lazy_import()
|
|
84
82
|
return {
|
|
85
|
-
'
|
|
86
|
-
'
|
|
83
|
+
'overall_min_bid': (float,), # noqa: E501
|
|
84
|
+
'sku_min_bids': ([SkuMinBid],), # noqa: E501
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
@cached_property
|
|
@@ -92,8 +90,8 @@ class PageOfInsertionOrderHistoryChangeDataCaptureV2(ModelNormal):
|
|
|
92
90
|
|
|
93
91
|
|
|
94
92
|
attribute_map = {
|
|
95
|
-
'
|
|
96
|
-
'
|
|
93
|
+
'overall_min_bid': 'overallMinBid', # noqa: E501
|
|
94
|
+
'sku_min_bids': 'skuMinBids', # noqa: E501
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
read_only_vars = {
|
|
@@ -103,12 +101,12 @@ class PageOfInsertionOrderHistoryChangeDataCaptureV2(ModelNormal):
|
|
|
103
101
|
|
|
104
102
|
@classmethod
|
|
105
103
|
@convert_js_args_to_python_args
|
|
106
|
-
def _from_openapi_data(cls,
|
|
107
|
-
"""
|
|
104
|
+
def _from_openapi_data(cls, overall_min_bid, sku_min_bids, *args, **kwargs): # noqa: E501
|
|
105
|
+
"""CpcMinBidsResponse - a model defined in OpenAPI
|
|
108
106
|
|
|
109
107
|
Args:
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
overall_min_bid (float): Overall minimum bid amount for the given list of sku ids.
|
|
109
|
+
sku_min_bids ([SkuMinBid]): Minimum bid amounts for each of the given list of sku ids.
|
|
112
110
|
|
|
113
111
|
Keyword Args:
|
|
114
112
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -172,8 +170,8 @@ class PageOfInsertionOrderHistoryChangeDataCaptureV2(ModelNormal):
|
|
|
172
170
|
self._configuration = _configuration
|
|
173
171
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
172
|
|
|
175
|
-
self.
|
|
176
|
-
self.
|
|
173
|
+
self.overall_min_bid = overall_min_bid
|
|
174
|
+
self.sku_min_bids = sku_min_bids
|
|
177
175
|
for var_name, var_value in kwargs.items():
|
|
178
176
|
if var_name not in self.attribute_map and \
|
|
179
177
|
self._configuration is not None and \
|
|
@@ -194,12 +192,12 @@ class PageOfInsertionOrderHistoryChangeDataCaptureV2(ModelNormal):
|
|
|
194
192
|
])
|
|
195
193
|
|
|
196
194
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self,
|
|
198
|
-
"""
|
|
195
|
+
def __init__(self, overall_min_bid, sku_min_bids, *args, **kwargs): # noqa: E501
|
|
196
|
+
"""CpcMinBidsResponse - a model defined in OpenAPI
|
|
199
197
|
|
|
200
198
|
Args:
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
overall_min_bid (float): Overall minimum bid amount for the given list of sku ids.
|
|
200
|
+
sku_min_bids ([SkuMinBid]): Minimum bid amounts for each of the given list of sku ids.
|
|
203
201
|
|
|
204
202
|
Keyword Args:
|
|
205
203
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -261,8 +259,8 @@ class PageOfInsertionOrderHistoryChangeDataCaptureV2(ModelNormal):
|
|
|
261
259
|
self._configuration = _configuration
|
|
262
260
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
261
|
|
|
264
|
-
self.
|
|
265
|
-
self.
|
|
262
|
+
self.overall_min_bid = overall_min_bid
|
|
263
|
+
self.sku_min_bids = sku_min_bids
|
|
266
264
|
for var_name, var_value in kwargs.items():
|
|
267
265
|
if var_name not in self.attribute_map and \
|
|
268
266
|
self._configuration is not None and \
|
|
@@ -88,8 +88,8 @@ class CpcRateCardPreview(ModelNormal):
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
90
|
'retailer_minimum_cpc_bid': (float,), # noqa: E501
|
|
91
|
-
'category_minimum_cpc_bids': ({str: (float,)},), # noqa: E501
|
|
92
|
-
'categories': ({str: (Category202204,)},), # noqa: E501
|
|
91
|
+
'category_minimum_cpc_bids': ({str: (float,)}, none_type,), # noqa: E501
|
|
92
|
+
'categories': ({str: (Category202204,)}, none_type,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -147,8 +147,8 @@ class CpcRateCardPreview(ModelNormal):
|
|
|
147
147
|
Animal class but this time we won't travel
|
|
148
148
|
through its discriminator because we passed in
|
|
149
149
|
_visited_composed_classes = (Animal,)
|
|
150
|
-
category_minimum_cpc_bids ({str: (float,)}): map of category id to minimum cpc bids. [optional] # noqa: E501
|
|
151
|
-
categories ({str: (Category202204,)}): map of category id to category values. [optional] # noqa: E501
|
|
150
|
+
category_minimum_cpc_bids ({str: (float,)}, none_type): map of category id to minimum cpc bids. [optional] # noqa: E501
|
|
151
|
+
categories ({str: (Category202204,)}, none_type): map of category id to category values. [optional] # noqa: E501
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -238,8 +238,8 @@ class CpcRateCardPreview(ModelNormal):
|
|
|
238
238
|
Animal class but this time we won't travel
|
|
239
239
|
through its discriminator because we passed in
|
|
240
240
|
_visited_composed_classes = (Animal,)
|
|
241
|
-
category_minimum_cpc_bids ({str: (float,)}): map of category id to minimum cpc bids. [optional] # noqa: E501
|
|
242
|
-
categories ({str: (Category202204,)}): map of category id to category values. [optional] # noqa: E501
|
|
241
|
+
category_minimum_cpc_bids ({str: (float,)}, none_type): map of category id to minimum cpc bids. [optional] # noqa: E501
|
|
242
|
+
categories ({str: (Category202204,)}, none_type): map of category id to category values. [optional] # noqa: E501
|
|
243
243
|
"""
|
|
244
244
|
|
|
245
245
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,13 +30,13 @@ 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
|
-
from criteo_api_retailmedia_preview.model.
|
|
35
|
-
globals()['
|
|
36
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_preview.model.page_type_environment2 import PageTypeEnvironment2
|
|
34
|
+
from criteo_api_retailmedia_preview.model.template_variable_value import TemplateVariableValue
|
|
35
|
+
globals()['PageTypeEnvironment2'] = PageTypeEnvironment2
|
|
36
|
+
globals()['TemplateVariableValue'] = TemplateVariableValue
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Creative2(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -67,7 +67,7 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
67
67
|
'ARCHIVED': "Archived",
|
|
68
68
|
'DELETED': "Deleted",
|
|
69
69
|
},
|
|
70
|
-
('
|
|
70
|
+
('creative_format_v2_type',): {
|
|
71
71
|
'UNKNOWN': "Unknown",
|
|
72
72
|
'FLAGSHIP': "FlagShip",
|
|
73
73
|
'SHOWCASE': "Showcase",
|
|
@@ -84,14 +84,7 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
84
84
|
validations = {
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
def additional_properties_type():
|
|
89
|
-
"""
|
|
90
|
-
This must be a method because a model may have properties that are
|
|
91
|
-
of type self, this must run after the class is loaded
|
|
92
|
-
"""
|
|
93
|
-
lazy_import()
|
|
94
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
87
|
+
additional_properties_type = None
|
|
95
88
|
|
|
96
89
|
_nullable = False
|
|
97
90
|
|
|
@@ -116,9 +109,9 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
116
109
|
'format_id': (int,), # noqa: E501
|
|
117
110
|
'associated_line_item_ids': ([str],), # noqa: E501
|
|
118
111
|
'updated_at': (datetime,), # noqa: E501
|
|
119
|
-
'
|
|
120
|
-
'environments': ([
|
|
121
|
-
'template_variable_values': ([
|
|
112
|
+
'creative_format_v2_type': (str,), # noqa: E501
|
|
113
|
+
'environments': ([PageTypeEnvironment2],), # noqa: E501
|
|
114
|
+
'template_variable_values': ([TemplateVariableValue],), # noqa: E501
|
|
122
115
|
}
|
|
123
116
|
|
|
124
117
|
@cached_property
|
|
@@ -136,7 +129,7 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
136
129
|
'format_id': 'formatId', # noqa: E501
|
|
137
130
|
'associated_line_item_ids': 'associatedLineItemIds', # noqa: E501
|
|
138
131
|
'updated_at': 'updatedAt', # noqa: E501
|
|
139
|
-
'
|
|
132
|
+
'creative_format_v2_type': 'creativeFormatV2Type', # noqa: E501
|
|
140
133
|
'environments': 'environments', # noqa: E501
|
|
141
134
|
'template_variable_values': 'templateVariableValues', # noqa: E501
|
|
142
135
|
}
|
|
@@ -148,8 +141,8 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
148
141
|
|
|
149
142
|
@classmethod
|
|
150
143
|
@convert_js_args_to_python_args
|
|
151
|
-
def _from_openapi_data(cls, name, status, brand_id, retailer_id, template_id, template_name, format_id, associated_line_item_ids, updated_at,
|
|
152
|
-
"""
|
|
144
|
+
def _from_openapi_data(cls, name, status, brand_id, retailer_id, template_id, template_name, format_id, associated_line_item_ids, updated_at, creative_format_v2_type, environments, template_variable_values, *args, **kwargs): # noqa: E501
|
|
145
|
+
"""Creative2 - a model defined in OpenAPI
|
|
153
146
|
|
|
154
147
|
Args:
|
|
155
148
|
name (str): Name
|
|
@@ -161,9 +154,9 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
161
154
|
format_id (int): Format Id
|
|
162
155
|
associated_line_item_ids ([str]): Associated Line Item Ids
|
|
163
156
|
updated_at (datetime): Updated at time
|
|
164
|
-
|
|
165
|
-
environments ([
|
|
166
|
-
template_variable_values ([
|
|
157
|
+
creative_format_v2_type (str): Creative format type
|
|
158
|
+
environments ([PageTypeEnvironment2]): Environment type (e.g. mobile, web, app)
|
|
159
|
+
template_variable_values ([TemplateVariableValue]): The template chosen values
|
|
167
160
|
|
|
168
161
|
Keyword Args:
|
|
169
162
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -236,7 +229,7 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
236
229
|
self.format_id = format_id
|
|
237
230
|
self.associated_line_item_ids = associated_line_item_ids
|
|
238
231
|
self.updated_at = updated_at
|
|
239
|
-
self.
|
|
232
|
+
self.creative_format_v2_type = creative_format_v2_type
|
|
240
233
|
self.environments = environments
|
|
241
234
|
self.template_variable_values = template_variable_values
|
|
242
235
|
for var_name, var_value in kwargs.items():
|
|
@@ -259,8 +252,8 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
259
252
|
])
|
|
260
253
|
|
|
261
254
|
@convert_js_args_to_python_args
|
|
262
|
-
def __init__(self, name, status, brand_id, retailer_id, template_id, template_name, format_id, associated_line_item_ids, updated_at,
|
|
263
|
-
"""
|
|
255
|
+
def __init__(self, name, status, brand_id, retailer_id, template_id, template_name, format_id, associated_line_item_ids, updated_at, creative_format_v2_type, environments, template_variable_values, *args, **kwargs): # noqa: E501
|
|
256
|
+
"""Creative2 - a model defined in OpenAPI
|
|
264
257
|
|
|
265
258
|
Args:
|
|
266
259
|
name (str): Name
|
|
@@ -272,9 +265,9 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
272
265
|
format_id (int): Format Id
|
|
273
266
|
associated_line_item_ids ([str]): Associated Line Item Ids
|
|
274
267
|
updated_at (datetime): Updated at time
|
|
275
|
-
|
|
276
|
-
environments ([
|
|
277
|
-
template_variable_values ([
|
|
268
|
+
creative_format_v2_type (str): Creative format type
|
|
269
|
+
environments ([PageTypeEnvironment2]): Environment type (e.g. mobile, web, app)
|
|
270
|
+
template_variable_values ([TemplateVariableValue]): The template chosen values
|
|
278
271
|
|
|
279
272
|
Keyword Args:
|
|
280
273
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -345,7 +338,7 @@ class ExternalCreativeV2(ModelNormal):
|
|
|
345
338
|
self.format_id = format_id
|
|
346
339
|
self.associated_line_item_ids = associated_line_item_ids
|
|
347
340
|
self.updated_at = updated_at
|
|
348
|
-
self.
|
|
341
|
+
self.creative_format_v2_type = creative_format_v2_type
|
|
349
342
|
self.environments = environments
|
|
350
343
|
self.template_variable_values = template_variable_values
|
|
351
344
|
for var_name, var_value in kwargs.items():
|
|
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_preview.model.common_problem import CommonProblem
|
|
34
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
+
from criteo_api_retailmedia_preview.model.resource_of_creative2 import ResourceOfCreative2
|
|
35
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['
|
|
36
|
+
globals()['ResourceOfCreative2'] = ResourceOfCreative2
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Creative2ListResponse(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -68,7 +68,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
68
68
|
|
|
69
69
|
additional_properties_type = None
|
|
70
70
|
|
|
71
|
-
_nullable =
|
|
71
|
+
_nullable = True
|
|
72
72
|
|
|
73
73
|
@cached_property
|
|
74
74
|
def openapi_types():
|
|
@@ -82,7 +82,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
|
-
'data': (
|
|
85
|
+
'data': ([ResourceOfCreative2], none_type,), # noqa: E501
|
|
86
86
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
87
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
88
88
|
}
|
|
@@ -108,7 +108,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
110
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
111
|
+
"""Creative2ListResponse - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Keyword Args:
|
|
114
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -141,7 +141,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
141
141
|
Animal class but this time we won't travel
|
|
142
142
|
through its discriminator because we passed in
|
|
143
143
|
_visited_composed_classes = (Animal,)
|
|
144
|
-
data (
|
|
144
|
+
data ([ResourceOfCreative2], none_type): [optional] # noqa: E501
|
|
145
145
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
146
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
@@ -196,7 +196,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""Creative2ListResponse - a model defined in OpenAPI
|
|
200
200
|
|
|
201
201
|
Keyword Args:
|
|
202
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,7 +229,7 @@ class ResourceOutcomeOfRetailMediaAccount(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
data (
|
|
232
|
+
data ([ResourceOfCreative2], none_type): [optional] # noqa: E501
|
|
233
233
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
234
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
235
|
"""
|
|
@@ -31,12 +31,12 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_preview.model.common_problem import CommonProblem
|
|
34
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
+
from criteo_api_retailmedia_preview.model.resource_of_creative2 import ResourceOfCreative2
|
|
35
35
|
globals()['CommonProblem'] = CommonProblem
|
|
36
|
-
globals()['
|
|
36
|
+
globals()['ResourceOfCreative2'] = ResourceOfCreative2
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Creative2Response(ModelNormal):
|
|
40
40
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
41
|
Ref: https://openapi-generator.tech
|
|
42
42
|
|
|
@@ -68,7 +68,7 @@ class ResourceCollectionOutcomeOfSkuSearchResult(ModelNormal):
|
|
|
68
68
|
|
|
69
69
|
additional_properties_type = None
|
|
70
70
|
|
|
71
|
-
_nullable =
|
|
71
|
+
_nullable = True
|
|
72
72
|
|
|
73
73
|
@cached_property
|
|
74
74
|
def openapi_types():
|
|
@@ -82,7 +82,7 @@ class ResourceCollectionOutcomeOfSkuSearchResult(ModelNormal):
|
|
|
82
82
|
"""
|
|
83
83
|
lazy_import()
|
|
84
84
|
return {
|
|
85
|
-
'data': (
|
|
85
|
+
'data': (ResourceOfCreative2,), # noqa: E501
|
|
86
86
|
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
87
87
|
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
88
88
|
}
|
|
@@ -108,7 +108,7 @@ class ResourceCollectionOutcomeOfSkuSearchResult(ModelNormal):
|
|
|
108
108
|
@classmethod
|
|
109
109
|
@convert_js_args_to_python_args
|
|
110
110
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
111
|
-
"""
|
|
111
|
+
"""Creative2Response - a model defined in OpenAPI
|
|
112
112
|
|
|
113
113
|
Keyword Args:
|
|
114
114
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -141,7 +141,7 @@ class ResourceCollectionOutcomeOfSkuSearchResult(ModelNormal):
|
|
|
141
141
|
Animal class but this time we won't travel
|
|
142
142
|
through its discriminator because we passed in
|
|
143
143
|
_visited_composed_classes = (Animal,)
|
|
144
|
-
data (
|
|
144
|
+
data (ResourceOfCreative2): [optional] # noqa: E501
|
|
145
145
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
146
146
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
@@ -196,7 +196,7 @@ class ResourceCollectionOutcomeOfSkuSearchResult(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""Creative2Response - a model defined in OpenAPI
|
|
200
200
|
|
|
201
201
|
Keyword Args:
|
|
202
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,7 +229,7 @@ class ResourceCollectionOutcomeOfSkuSearchResult(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
data (
|
|
232
|
+
data (ResourceOfCreative2): [optional] # noqa: E501
|
|
233
233
|
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
234
234
|
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
235
235
|
"""
|
|
@@ -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.template_variable_value import TemplateVariableValue
|
|
34
|
+
globals()['TemplateVariableValue'] = TemplateVariableValue
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreativeCreateModel2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,14 +64,7 @@ class ExternalCreativeCreateModelV2(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
69
|
-
"""
|
|
70
|
-
This must be a method because a model may have properties that are
|
|
71
|
-
of type self, this must run after the class is loaded
|
|
72
|
-
"""
|
|
73
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -90,7 +83,7 @@ class ExternalCreativeCreateModelV2(ModelNormal):
|
|
|
90
83
|
'name': (str,), # noqa: E501
|
|
91
84
|
'retailer_id': (int,), # noqa: E501
|
|
92
85
|
'template_id': (int,), # noqa: E501
|
|
93
|
-
'template_variable_values': ([
|
|
86
|
+
'template_variable_values': ([TemplateVariableValue],), # noqa: E501
|
|
94
87
|
'brand_id': (int, none_type,), # noqa: E501
|
|
95
88
|
}
|
|
96
89
|
|
|
@@ -115,13 +108,13 @@ class ExternalCreativeCreateModelV2(ModelNormal):
|
|
|
115
108
|
@classmethod
|
|
116
109
|
@convert_js_args_to_python_args
|
|
117
110
|
def _from_openapi_data(cls, name, retailer_id, template_id, template_variable_values, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
111
|
+
"""CreativeCreateModel2 - a model defined in OpenAPI
|
|
119
112
|
|
|
120
113
|
Args:
|
|
121
114
|
name (str): The name of the creative
|
|
122
115
|
retailer_id (int): The retailer associated to the creative
|
|
123
116
|
template_id (int): The creative template used for this creative
|
|
124
|
-
template_variable_values ([
|
|
117
|
+
template_variable_values ([TemplateVariableValue]): The template chosen values
|
|
125
118
|
|
|
126
119
|
Keyword Args:
|
|
127
120
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -211,13 +204,13 @@ class ExternalCreativeCreateModelV2(ModelNormal):
|
|
|
211
204
|
|
|
212
205
|
@convert_js_args_to_python_args
|
|
213
206
|
def __init__(self, name, retailer_id, template_id, template_variable_values, *args, **kwargs): # noqa: E501
|
|
214
|
-
"""
|
|
207
|
+
"""CreativeCreateModel2 - a model defined in OpenAPI
|
|
215
208
|
|
|
216
209
|
Args:
|
|
217
210
|
name (str): The name of the creative
|
|
218
211
|
retailer_id (int): The retailer associated to the creative
|
|
219
212
|
template_id (int): The creative template used for this creative
|
|
220
|
-
template_variable_values ([
|
|
213
|
+
template_variable_values ([TemplateVariableValue]): The template chosen values
|
|
221
214
|
|
|
222
215
|
Keyword Args:
|
|
223
216
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -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.template_variable_value import TemplateVariableValue
|
|
34
|
+
globals()['TemplateVariableValue'] = TemplateVariableValue
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreativeUpdateModel2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -64,14 +64,7 @@ class ExternalCreativeUpdateModelV2(ModelNormal):
|
|
|
64
64
|
validations = {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
def additional_properties_type():
|
|
69
|
-
"""
|
|
70
|
-
This must be a method because a model may have properties that are
|
|
71
|
-
of type self, this must run after the class is loaded
|
|
72
|
-
"""
|
|
73
|
-
lazy_import()
|
|
74
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
75
68
|
|
|
76
69
|
_nullable = False
|
|
77
70
|
|
|
@@ -90,7 +83,7 @@ class ExternalCreativeUpdateModelV2(ModelNormal):
|
|
|
90
83
|
'name': (str,), # noqa: E501
|
|
91
84
|
'retailer_id': (int,), # noqa: E501
|
|
92
85
|
'template_id': (int,), # noqa: E501
|
|
93
|
-
'template_variable_values': ([
|
|
86
|
+
'template_variable_values': ([TemplateVariableValue],), # noqa: E501
|
|
94
87
|
'brand_id': (int, none_type,), # noqa: E501
|
|
95
88
|
}
|
|
96
89
|
|
|
@@ -115,13 +108,13 @@ class ExternalCreativeUpdateModelV2(ModelNormal):
|
|
|
115
108
|
@classmethod
|
|
116
109
|
@convert_js_args_to_python_args
|
|
117
110
|
def _from_openapi_data(cls, name, retailer_id, template_id, template_variable_values, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
111
|
+
"""CreativeUpdateModel2 - a model defined in OpenAPI
|
|
119
112
|
|
|
120
113
|
Args:
|
|
121
114
|
name (str): The name of the creative
|
|
122
115
|
retailer_id (int): The retailer associated to the creative
|
|
123
116
|
template_id (int): The creative template used for this creative
|
|
124
|
-
template_variable_values ([
|
|
117
|
+
template_variable_values ([TemplateVariableValue]): The template chosen values
|
|
125
118
|
|
|
126
119
|
Keyword Args:
|
|
127
120
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -211,13 +204,13 @@ class ExternalCreativeUpdateModelV2(ModelNormal):
|
|
|
211
204
|
|
|
212
205
|
@convert_js_args_to_python_args
|
|
213
206
|
def __init__(self, name, retailer_id, template_id, template_variable_values, *args, **kwargs): # noqa: E501
|
|
214
|
-
"""
|
|
207
|
+
"""CreativeUpdateModel2 - a model defined in OpenAPI
|
|
215
208
|
|
|
216
209
|
Args:
|
|
217
210
|
name (str): The name of the creative
|
|
218
211
|
retailer_id (int): The retailer associated to the creative
|
|
219
212
|
template_id (int): The creative template used for this creative
|
|
220
|
-
template_variable_values ([
|
|
213
|
+
template_variable_values ([TemplateVariableValue]): The template chosen values
|
|
221
214
|
|
|
222
215
|
Keyword Args:
|
|
223
216
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -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.brand_id_search_result import BrandIdSearchResult
|
|
34
|
+
globals()['BrandIdSearchResult'] = BrandIdSearchResult
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class EntityResourceBrandIdSearchResult(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -80,9 +80,9 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
-
'attributes': (RetailMediaAccount,), # noqa: E501
|
|
84
83
|
'id': (str, none_type,), # noqa: E501
|
|
85
84
|
'type': (str, none_type,), # noqa: E501
|
|
85
|
+
'attributes': (BrandIdSearchResult,), # noqa: E501
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@cached_property
|
|
@@ -91,9 +91,9 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
attribute_map = {
|
|
94
|
-
'attributes': 'attributes', # noqa: E501
|
|
95
94
|
'id': 'id', # noqa: E501
|
|
96
95
|
'type': 'type', # noqa: E501
|
|
96
|
+
'attributes': 'attributes', # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
read_only_vars = {
|
|
@@ -104,7 +104,7 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
104
104
|
@classmethod
|
|
105
105
|
@convert_js_args_to_python_args
|
|
106
106
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
-
"""
|
|
107
|
+
"""EntityResourceBrandIdSearchResult - a model defined in OpenAPI
|
|
108
108
|
|
|
109
109
|
Keyword Args:
|
|
110
110
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -137,9 +137,9 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
137
137
|
Animal class but this time we won't travel
|
|
138
138
|
through its discriminator because we passed in
|
|
139
139
|
_visited_composed_classes = (Animal,)
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
id (str, none_type): Unique id of the entity.. [optional] # noqa: E501
|
|
141
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
142
|
+
attributes (BrandIdSearchResult): [optional] # noqa: E501
|
|
143
143
|
"""
|
|
144
144
|
|
|
145
145
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -192,7 +192,7 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
192
192
|
|
|
193
193
|
@convert_js_args_to_python_args
|
|
194
194
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
195
|
-
"""
|
|
195
|
+
"""EntityResourceBrandIdSearchResult - a model defined in OpenAPI
|
|
196
196
|
|
|
197
197
|
Keyword Args:
|
|
198
198
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -225,9 +225,9 @@ class ResourceOfRetailMediaAccount(ModelNormal):
|
|
|
225
225
|
Animal class but this time we won't travel
|
|
226
226
|
through its discriminator because we passed in
|
|
227
227
|
_visited_composed_classes = (Animal,)
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
id (str, none_type): Unique id of the entity.. [optional] # noqa: E501
|
|
229
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
230
|
+
attributes (BrandIdSearchResult): [optional] # noqa: E501
|
|
231
231
|
"""
|
|
232
232
|
|
|
233
233
|
_check_type = kwargs.pop('_check_type', True)
|