criteo-api-retailmedia-sdk 2025.7.0.250911__py3-none-any.whl → 2025.7.0.251009__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_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/RECORD +77 -80
- criteo_api_retailmedia_v2025_07/__init__.py +1 -1
- criteo_api_retailmedia_v2025_07/api/accounts_api.py +65 -76
- criteo_api_retailmedia_v2025_07/api/analytics_api.py +8 -28
- criteo_api_retailmedia_v2025_07/api/audience_api.py +15 -43
- criteo_api_retailmedia_v2025_07/api/balance_api.py +257 -261
- criteo_api_retailmedia_v2025_07/api/billing_api.py +20 -25
- criteo_api_retailmedia_v2025_07/api/campaign_api.py +1640 -1659
- criteo_api_retailmedia_v2025_07/api_client.py +1 -1
- criteo_api_retailmedia_v2025_07/configuration.py +1 -1
- criteo_api_retailmedia_v2025_07/model/add_funds_to_balance_v2.py +6 -6
- criteo_api_retailmedia_v2025_07/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/add_to_basket_target202110_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/async_campaigns_report.py +14 -0
- criteo_api_retailmedia_v2025_07/model/async_line_items_report.py +14 -0
- criteo_api_retailmedia_v2025_07/model/async_revenue_report.py +11 -0
- criteo_api_retailmedia_v2025_07/model/{external_auction_line_item.py → auction_line_item.py} +19 -25
- criteo_api_retailmedia_v2025_07/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/auction_line_item_paged_list_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/auction_line_item_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +6 -6
- criteo_api_retailmedia_v2025_07/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/{external_audience_target202110.py → audience_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/audience_target202110_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/balance_campaign202110_paged_list_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/balance_response_v2.py +6 -6
- criteo_api_retailmedia_v2025_07/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/campaign_attributes_v202301.py +11 -15
- criteo_api_retailmedia_v2025_07/model/campaign_v202301.py +23 -33
- criteo_api_retailmedia_v2025_07/model/change_dates_of_balance_v2.py +9 -9
- criteo_api_retailmedia_v2025_07/model/{external_common_line_item.py → common_line_item.py} +19 -25
- criteo_api_retailmedia_v2025_07/model/common_line_item_paged_list_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/common_line_item_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/create_balance_v2.py +6 -6
- criteo_api_retailmedia_v2025_07/model/editable_campaign_attributes_v202301.py +11 -15
- criteo_api_retailmedia_v2025_07/model/files_variable_value.py +0 -3
- criteo_api_retailmedia_v2025_07/model/input_resource_of_auction_line_item_create_model.py +5 -5
- criteo_api_retailmedia_v2025_07/model/input_resource_of_preferred_line_item_create_model_v2.py +5 -5
- criteo_api_retailmedia_v2025_07/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → json_api_body_with_line_item_bid_multipliers_v2.py} +8 -8
- criteo_api_retailmedia_v2025_07/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_07/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +5 -5
- criteo_api_retailmedia_v2025_07/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/{external_line_item_page_v2.py → line_item_page_v2.py} +9 -9
- criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +16 -16
- criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +16 -16
- criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +33 -35
- criteo_api_retailmedia_v2025_07/model/resource_of_auction_line_item.py +5 -5
- criteo_api_retailmedia_v2025_07/model/resource_of_auction_line_item_update_model.py +5 -5
- criteo_api_retailmedia_v2025_07/model/resource_of_common_line_item.py +5 -5
- criteo_api_retailmedia_v2025_07/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
- criteo_api_retailmedia_v2025_07/model/resource_of_preferred_line_item_update_model_v2.py +5 -5
- criteo_api_retailmedia_v2025_07/model/resource_of_preferred_line_item_v2.py +5 -5
- criteo_api_retailmedia_v2025_07/model/rm_contact_list_create_v1.py +1 -0
- criteo_api_retailmedia_v2025_07/model/rm_contact_list_v1.py +1 -0
- criteo_api_retailmedia_v2025_07/model/rm_events_create_v1.py +0 -2
- criteo_api_retailmedia_v2025_07/model/rm_events_update_v1.py +0 -2
- criteo_api_retailmedia_v2025_07/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/{external_store_target202110.py → store_target202110.py} +3 -3
- criteo_api_retailmedia_v2025_07/model/store_target202110_response.py +8 -8
- criteo_api_retailmedia_v2025_07/model/value_resource_of_campaign_budget_overrides.py +2 -2
- criteo_api_retailmedia_v2025_07/model/value_resource_of_line_item_budget_overrides.py +2 -2
- criteo_api_retailmedia_v2025_07/model/value_resource_of_recommended_keywords_result.py +2 -2
- criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_recommended_keywords_result.py +8 -8
- criteo_api_retailmedia_v2025_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +5 -5
- criteo_api_retailmedia_v2025_07/model/value_type_resource_of_add_to_basket_target202110.py +5 -5
- criteo_api_retailmedia_v2025_07/model/value_type_resource_of_audience_ids_update_model202110.py +5 -5
- criteo_api_retailmedia_v2025_07/model/value_type_resource_of_audience_target202110.py +5 -5
- criteo_api_retailmedia_v2025_07/model/value_type_resource_of_store_ids_update_model202110.py +5 -5
- criteo_api_retailmedia_v2025_07/model/value_type_resource_of_store_target202110.py +5 -5
- criteo_api_retailmedia_v2025_07/models/__init__.py +19 -22
- criteo_api_retailmedia_v2025_07/model/error_code_response.py +0 -281
- criteo_api_retailmedia_v2025_07/model/outcome.py +0 -268
- criteo_api_retailmedia_v2025_07/model/report_outcome.py +0 -275
- {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/top_level.txt +0 -0
|
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class CommonLineItem(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -101,19 +101,19 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
101
101
|
and the value is attribute type.
|
|
102
102
|
"""
|
|
103
103
|
return {
|
|
104
|
-
'budget_remaining': (float, none_type,), # noqa: E501
|
|
105
104
|
'campaign_id': (str,), # noqa: E501
|
|
106
|
-
'created_at': (datetime,), # noqa: E501
|
|
107
105
|
'name': (str,), # noqa: E501
|
|
108
106
|
'start_date': (date,), # noqa: E501
|
|
109
107
|
'target_retailer_id': (str,), # noqa: E501
|
|
110
108
|
'type': (str,), # noqa: E501
|
|
111
|
-
'updated_at': (datetime,), # noqa: E501
|
|
112
109
|
'budget': (float, none_type,), # noqa: E501
|
|
110
|
+
'budget_remaining': (float, none_type,), # noqa: E501
|
|
113
111
|
'budget_spent': (float,), # noqa: E501
|
|
112
|
+
'created_at': (datetime,), # noqa: E501
|
|
114
113
|
'end_date': (date, none_type,), # noqa: E501
|
|
115
114
|
'id': (str, none_type,), # noqa: E501
|
|
116
115
|
'status': (str,), # noqa: E501
|
|
116
|
+
'updated_at': (datetime,), # noqa: E501
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
@cached_property
|
|
@@ -122,19 +122,19 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
attribute_map = {
|
|
125
|
-
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
126
125
|
'campaign_id': 'campaignId', # noqa: E501
|
|
127
|
-
'created_at': 'createdAt', # noqa: E501
|
|
128
126
|
'name': 'name', # noqa: E501
|
|
129
127
|
'start_date': 'startDate', # noqa: E501
|
|
130
128
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
131
129
|
'type': 'type', # noqa: E501
|
|
132
|
-
'updated_at': 'updatedAt', # noqa: E501
|
|
133
130
|
'budget': 'budget', # noqa: E501
|
|
131
|
+
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
134
132
|
'budget_spent': 'budgetSpent', # noqa: E501
|
|
133
|
+
'created_at': 'createdAt', # noqa: E501
|
|
135
134
|
'end_date': 'endDate', # noqa: E501
|
|
136
135
|
'id': 'id', # noqa: E501
|
|
137
136
|
'status': 'status', # noqa: E501
|
|
137
|
+
'updated_at': 'updatedAt', # noqa: E501
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
read_only_vars = {
|
|
@@ -144,18 +144,15 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
144
144
|
|
|
145
145
|
@classmethod
|
|
146
146
|
@convert_js_args_to_python_args
|
|
147
|
-
def _from_openapi_data(cls,
|
|
148
|
-
"""
|
|
147
|
+
def _from_openapi_data(cls, campaign_id, name, start_date, target_retailer_id, type, *args, **kwargs): # noqa: E501
|
|
148
|
+
"""CommonLineItem - a model defined in OpenAPI
|
|
149
149
|
|
|
150
150
|
Args:
|
|
151
|
-
budget_remaining (float, none_type):
|
|
152
151
|
campaign_id (str):
|
|
153
|
-
created_at (datetime):
|
|
154
152
|
name (str):
|
|
155
153
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
156
154
|
target_retailer_id (str):
|
|
157
155
|
type (str):
|
|
158
|
-
updated_at (datetime):
|
|
159
156
|
|
|
160
157
|
Keyword Args:
|
|
161
158
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -189,10 +186,13 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
189
186
|
through its discriminator because we passed in
|
|
190
187
|
_visited_composed_classes = (Animal,)
|
|
191
188
|
budget (float, none_type): [optional] # noqa: E501
|
|
189
|
+
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
192
190
|
budget_spent (float): [optional] # noqa: E501
|
|
191
|
+
created_at (datetime): [optional] # noqa: E501
|
|
193
192
|
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
194
|
-
id (str, none_type):
|
|
193
|
+
id (str, none_type): [optional] # noqa: E501
|
|
195
194
|
status (str): [optional] # noqa: E501
|
|
195
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
196
196
|
"""
|
|
197
197
|
|
|
198
198
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -224,14 +224,11 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
224
224
|
self._configuration = _configuration
|
|
225
225
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
226
226
|
|
|
227
|
-
self.budget_remaining = budget_remaining
|
|
228
227
|
self.campaign_id = campaign_id
|
|
229
|
-
self.created_at = created_at
|
|
230
228
|
self.name = name
|
|
231
229
|
self.start_date = start_date
|
|
232
230
|
self.target_retailer_id = target_retailer_id
|
|
233
231
|
self.type = type
|
|
234
|
-
self.updated_at = updated_at
|
|
235
232
|
for var_name, var_value in kwargs.items():
|
|
236
233
|
if var_name not in self.attribute_map and \
|
|
237
234
|
self._configuration is not None and \
|
|
@@ -252,18 +249,15 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
252
249
|
])
|
|
253
250
|
|
|
254
251
|
@convert_js_args_to_python_args
|
|
255
|
-
def __init__(self,
|
|
256
|
-
"""
|
|
252
|
+
def __init__(self, campaign_id, name, start_date, target_retailer_id, type, *args, **kwargs): # noqa: E501
|
|
253
|
+
"""CommonLineItem - a model defined in OpenAPI
|
|
257
254
|
|
|
258
255
|
Args:
|
|
259
|
-
budget_remaining (float, none_type):
|
|
260
256
|
campaign_id (str):
|
|
261
|
-
created_at (datetime):
|
|
262
257
|
name (str):
|
|
263
258
|
start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
|
|
264
259
|
target_retailer_id (str):
|
|
265
260
|
type (str):
|
|
266
|
-
updated_at (datetime):
|
|
267
261
|
|
|
268
262
|
Keyword Args:
|
|
269
263
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -297,10 +291,13 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
297
291
|
through its discriminator because we passed in
|
|
298
292
|
_visited_composed_classes = (Animal,)
|
|
299
293
|
budget (float, none_type): [optional] # noqa: E501
|
|
294
|
+
budget_remaining (float, none_type): [optional] # noqa: E501
|
|
300
295
|
budget_spent (float): [optional] # noqa: E501
|
|
296
|
+
created_at (datetime): [optional] # noqa: E501
|
|
301
297
|
end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
|
|
302
|
-
id (str, none_type):
|
|
298
|
+
id (str, none_type): [optional] # noqa: E501
|
|
303
299
|
status (str): [optional] # noqa: E501
|
|
300
|
+
updated_at (datetime): [optional] # noqa: E501
|
|
304
301
|
"""
|
|
305
302
|
|
|
306
303
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -330,14 +327,11 @@ class ExternalCommonLineItem(ModelNormal):
|
|
|
330
327
|
self._configuration = _configuration
|
|
331
328
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
332
329
|
|
|
333
|
-
self.budget_remaining = budget_remaining
|
|
334
330
|
self.campaign_id = campaign_id
|
|
335
|
-
self.created_at = created_at
|
|
336
331
|
self.name = name
|
|
337
332
|
self.start_date = start_date
|
|
338
333
|
self.target_retailer_id = target_retailer_id
|
|
339
334
|
self.type = type
|
|
340
|
-
self.updated_at = updated_at
|
|
341
335
|
for var_name, var_value in kwargs.items():
|
|
342
336
|
if var_name not in self.attribute_map and \
|
|
343
337
|
self._configuration is not None and \
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_v2025_07.model.common_problem import CommonProblem
|
|
33
34
|
from criteo_api_retailmedia_v2025_07.model.page_metadata import PageMetadata
|
|
34
|
-
from criteo_api_retailmedia_v2025_07.model.problem_details import ProblemDetails
|
|
35
35
|
from criteo_api_retailmedia_v2025_07.model.resource_of_common_line_item import ResourceOfCommonLineItem
|
|
36
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
37
|
globals()['PageMetadata'] = PageMetadata
|
|
37
|
-
globals()['ProblemDetails'] = ProblemDetails
|
|
38
38
|
globals()['ResourceOfCommonLineItem'] = ResourceOfCommonLineItem
|
|
39
39
|
|
|
40
40
|
|
|
@@ -92,9 +92,9 @@ class CommonLineItemPagedListResponse(ModelNormal):
|
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
94
|
'data': ([ResourceOfCommonLineItem],), # noqa: E501
|
|
95
|
-
'errors': ([
|
|
95
|
+
'errors': ([CommonProblem],), # noqa: E501
|
|
96
96
|
'metadata': (PageMetadata,), # noqa: E501
|
|
97
|
-
'warnings': ([
|
|
97
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
@cached_property
|
|
@@ -153,9 +153,9 @@ class CommonLineItemPagedListResponse(ModelNormal):
|
|
|
153
153
|
through its discriminator because we passed in
|
|
154
154
|
_visited_composed_classes = (Animal,)
|
|
155
155
|
data ([ResourceOfCommonLineItem]): [optional] # noqa: E501
|
|
156
|
-
errors ([
|
|
156
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
157
157
|
metadata (PageMetadata): [optional] # noqa: E501
|
|
158
|
-
warnings ([
|
|
158
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
159
159
|
"""
|
|
160
160
|
|
|
161
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -242,9 +242,9 @@ class CommonLineItemPagedListResponse(ModelNormal):
|
|
|
242
242
|
through its discriminator because we passed in
|
|
243
243
|
_visited_composed_classes = (Animal,)
|
|
244
244
|
data ([ResourceOfCommonLineItem]): [optional] # noqa: E501
|
|
245
|
-
errors ([
|
|
245
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
246
246
|
metadata (PageMetadata): [optional] # noqa: E501
|
|
247
|
-
warnings ([
|
|
247
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
248
248
|
"""
|
|
249
249
|
|
|
250
250
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_07.model.
|
|
33
|
+
from criteo_api_retailmedia_v2025_07.model.common_problem import CommonProblem
|
|
34
34
|
from criteo_api_retailmedia_v2025_07.model.resource_of_common_line_item import ResourceOfCommonLineItem
|
|
35
|
-
globals()['
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
36
|
globals()['ResourceOfCommonLineItem'] = ResourceOfCommonLineItem
|
|
37
37
|
|
|
38
38
|
|
|
@@ -90,8 +90,8 @@ class CommonLineItemResponse(ModelNormal):
|
|
|
90
90
|
lazy_import()
|
|
91
91
|
return {
|
|
92
92
|
'data': (ResourceOfCommonLineItem,), # noqa: E501
|
|
93
|
-
'errors': ([
|
|
94
|
-
'warnings': ([
|
|
93
|
+
'errors': ([CommonProblem],), # noqa: E501
|
|
94
|
+
'warnings': ([CommonProblem],), # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
@cached_property
|
|
@@ -149,8 +149,8 @@ class CommonLineItemResponse(ModelNormal):
|
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
151
|
data (ResourceOfCommonLineItem): [optional] # noqa: E501
|
|
152
|
-
errors ([
|
|
153
|
-
warnings ([
|
|
152
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
153
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -237,8 +237,8 @@ class CommonLineItemResponse(ModelNormal):
|
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
239
|
data (ResourceOfCommonLineItem): [optional] # noqa: E501
|
|
240
|
-
errors ([
|
|
241
|
-
warnings ([
|
|
240
|
+
errors ([CommonProblem]): [optional] # noqa: E501
|
|
241
|
+
warnings ([CommonProblem]): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -88,9 +88,9 @@ class CreateBalanceV2(ModelNormal):
|
|
|
88
88
|
return {
|
|
89
89
|
'name': (str,), # noqa: E501
|
|
90
90
|
'spend_type': (str,), # noqa: E501
|
|
91
|
-
'start_date': (
|
|
91
|
+
'start_date': (str,), # noqa: E501
|
|
92
92
|
'deposited': (float,), # noqa: E501
|
|
93
|
-
'end_date': (
|
|
93
|
+
'end_date': (str, none_type,), # noqa: E501
|
|
94
94
|
'memo': (str, none_type,), # noqa: E501
|
|
95
95
|
'po_number': (str, none_type,), # noqa: E501
|
|
96
96
|
}
|
|
@@ -123,7 +123,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
123
123
|
Args:
|
|
124
124
|
name (str): Name of the balance.
|
|
125
125
|
spend_type (str): Type of the balance spend.
|
|
126
|
-
start_date (
|
|
126
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.
|
|
127
127
|
|
|
128
128
|
Keyword Args:
|
|
129
129
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -157,7 +157,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
157
157
|
through its discriminator because we passed in
|
|
158
158
|
_visited_composed_classes = (Animal,)
|
|
159
159
|
deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
160
|
-
end_date (
|
|
160
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
161
161
|
memo (str, none_type): Memo. [optional] # noqa: E501
|
|
162
162
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
163
163
|
"""
|
|
@@ -220,7 +220,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
220
220
|
Args:
|
|
221
221
|
name (str): Name of the balance.
|
|
222
222
|
spend_type (str): Type of the balance spend.
|
|
223
|
-
start_date (
|
|
223
|
+
start_date (str): Start date of the balance in the format YYYY-MM-DD.
|
|
224
224
|
|
|
225
225
|
Keyword Args:
|
|
226
226
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -254,7 +254,7 @@ class CreateBalanceV2(ModelNormal):
|
|
|
254
254
|
through its discriminator because we passed in
|
|
255
255
|
_visited_composed_classes = (Animal,)
|
|
256
256
|
deposited (float): Amount of billable funds allotted to the balance.. [optional] # noqa: E501
|
|
257
|
-
end_date (
|
|
257
|
+
end_date (str, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
|
|
258
258
|
memo (str, none_type): Memo. [optional] # noqa: E501
|
|
259
259
|
po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
|
|
260
260
|
"""
|
|
@@ -63,11 +63,11 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
63
63
|
},
|
|
64
64
|
('view_attribution_window',): {
|
|
65
65
|
'NONE': "none",
|
|
66
|
-
'UNKNOWN': "unknown",
|
|
67
66
|
'1D': "1D",
|
|
68
67
|
'7D': "7D",
|
|
69
68
|
'14D': "14D",
|
|
70
69
|
'30D': "30D",
|
|
70
|
+
'UNKNOWN': "unknown",
|
|
71
71
|
},
|
|
72
72
|
('click_attribution_scope',): {
|
|
73
73
|
'None': None,
|
|
@@ -114,17 +114,17 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
114
114
|
"""
|
|
115
115
|
return {
|
|
116
116
|
'click_attribution_window': (str,), # noqa: E501
|
|
117
|
-
'end_date': (datetime, none_type,), # noqa: E501
|
|
118
117
|
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
119
118
|
'name': (str,), # noqa: E501
|
|
120
|
-
'start_date': (datetime, none_type,), # noqa: E501
|
|
121
119
|
'view_attribution_window': (str,), # noqa: E501
|
|
122
120
|
'budget': (float, none_type,), # noqa: E501
|
|
123
121
|
'click_attribution_scope': (str, none_type,), # noqa: E501
|
|
124
122
|
'company_name': (str, none_type,), # noqa: E501
|
|
125
123
|
'daily_pacing': (float, none_type,), # noqa: E501
|
|
124
|
+
'end_date': (datetime, none_type,), # noqa: E501
|
|
126
125
|
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
127
126
|
'on_behalf_company_name': (str, none_type,), # noqa: E501
|
|
127
|
+
'start_date': (datetime, none_type,), # noqa: E501
|
|
128
128
|
'view_attribution_scope': (str, none_type,), # noqa: E501
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -135,17 +135,17 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
135
135
|
|
|
136
136
|
attribute_map = {
|
|
137
137
|
'click_attribution_window': 'clickAttributionWindow', # noqa: E501
|
|
138
|
-
'end_date': 'endDate', # noqa: E501
|
|
139
138
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
140
139
|
'name': 'name', # noqa: E501
|
|
141
|
-
'start_date': 'startDate', # noqa: E501
|
|
142
140
|
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
143
141
|
'budget': 'budget', # noqa: E501
|
|
144
142
|
'click_attribution_scope': 'clickAttributionScope', # noqa: E501
|
|
145
143
|
'company_name': 'companyName', # noqa: E501
|
|
146
144
|
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
145
|
+
'end_date': 'endDate', # noqa: E501
|
|
147
146
|
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
148
147
|
'on_behalf_company_name': 'onBehalfCompanyName', # noqa: E501
|
|
148
|
+
'start_date': 'startDate', # noqa: E501
|
|
149
149
|
'view_attribution_scope': 'viewAttributionScope', # noqa: E501
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -156,15 +156,13 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
156
156
|
|
|
157
157
|
@classmethod
|
|
158
158
|
@convert_js_args_to_python_args
|
|
159
|
-
def _from_openapi_data(cls, click_attribution_window,
|
|
159
|
+
def _from_openapi_data(cls, click_attribution_window, is_auto_daily_pacing, name, view_attribution_window, *args, **kwargs): # noqa: E501
|
|
160
160
|
"""EditableCampaignAttributesV202301 - a model defined in OpenAPI
|
|
161
161
|
|
|
162
162
|
Args:
|
|
163
163
|
click_attribution_window (str):
|
|
164
|
-
end_date (datetime, none_type):
|
|
165
164
|
is_auto_daily_pacing (bool):
|
|
166
165
|
name (str):
|
|
167
|
-
start_date (datetime, none_type):
|
|
168
166
|
view_attribution_window (str):
|
|
169
167
|
|
|
170
168
|
Keyword Args:
|
|
@@ -202,8 +200,10 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
202
200
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
203
201
|
company_name (str, none_type): [optional] # noqa: E501
|
|
204
202
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
203
|
+
end_date (datetime, none_type): [optional] # noqa: E501
|
|
205
204
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
206
205
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
206
|
+
start_date (datetime, none_type): [optional] # noqa: E501
|
|
207
207
|
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
208
208
|
"""
|
|
209
209
|
|
|
@@ -237,10 +237,8 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
237
237
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
238
238
|
|
|
239
239
|
self.click_attribution_window = click_attribution_window
|
|
240
|
-
self.end_date = end_date
|
|
241
240
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
242
241
|
self.name = name
|
|
243
|
-
self.start_date = start_date
|
|
244
242
|
self.view_attribution_window = view_attribution_window
|
|
245
243
|
for var_name, var_value in kwargs.items():
|
|
246
244
|
if var_name not in self.attribute_map and \
|
|
@@ -262,15 +260,13 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
262
260
|
])
|
|
263
261
|
|
|
264
262
|
@convert_js_args_to_python_args
|
|
265
|
-
def __init__(self, click_attribution_window,
|
|
263
|
+
def __init__(self, click_attribution_window, is_auto_daily_pacing, name, view_attribution_window, *args, **kwargs): # noqa: E501
|
|
266
264
|
"""EditableCampaignAttributesV202301 - a model defined in OpenAPI
|
|
267
265
|
|
|
268
266
|
Args:
|
|
269
267
|
click_attribution_window (str):
|
|
270
|
-
end_date (datetime, none_type):
|
|
271
268
|
is_auto_daily_pacing (bool):
|
|
272
269
|
name (str):
|
|
273
|
-
start_date (datetime, none_type):
|
|
274
270
|
view_attribution_window (str):
|
|
275
271
|
|
|
276
272
|
Keyword Args:
|
|
@@ -308,8 +304,10 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
308
304
|
click_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
309
305
|
company_name (str, none_type): [optional] # noqa: E501
|
|
310
306
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
307
|
+
end_date (datetime, none_type): [optional] # noqa: E501
|
|
311
308
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
312
309
|
on_behalf_company_name (str, none_type): [optional] # noqa: E501
|
|
310
|
+
start_date (datetime, none_type): [optional] # noqa: E501
|
|
313
311
|
view_attribution_scope (str, none_type): [optional] # noqa: E501
|
|
314
312
|
"""
|
|
315
313
|
|
|
@@ -341,10 +339,8 @@ class EditableCampaignAttributesV202301(ModelNormal):
|
|
|
341
339
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
342
340
|
|
|
343
341
|
self.click_attribution_window = click_attribution_window
|
|
344
|
-
self.end_date = end_date
|
|
345
342
|
self.is_auto_daily_pacing = is_auto_daily_pacing
|
|
346
343
|
self.name = name
|
|
347
|
-
self.start_date = start_date
|
|
348
344
|
self.view_attribution_window = view_attribution_window
|
|
349
345
|
for var_name, var_value in kwargs.items():
|
|
350
346
|
if var_name not in self.attribute_map and \
|
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_07.model.auction_line_item_create_model import AuctionLineItemCreateModel
|
|
34
|
+
globals()['AuctionLineItemCreateModel'] = AuctionLineItemCreateModel
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
@@ -87,7 +87,7 @@ class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (AuctionLineItemCreateModel,), # noqa: E501
|
|
91
91
|
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -142,7 +142,7 @@ class InputResourceOfAuctionLineItemCreateModel(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
attributes (
|
|
145
|
+
attributes (AuctionLineItemCreateModel): [optional] # noqa: E501
|
|
146
146
|
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
@@ -229,7 +229,7 @@ class InputResourceOfAuctionLineItemCreateModel(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
|
-
attributes (
|
|
232
|
+
attributes (AuctionLineItemCreateModel): [optional] # noqa: E501
|
|
233
233
|
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
criteo_api_retailmedia_v2025_07/model/input_resource_of_preferred_line_item_create_model_v2.py
CHANGED
|
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_07.model.preferred_line_item_create_model_v2 import PreferredLineItemCreateModelV2
|
|
34
|
+
globals()['PreferredLineItemCreateModelV2'] = PreferredLineItemCreateModelV2
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
@@ -87,7 +87,7 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (PreferredLineItemCreateModelV2,), # noqa: E501
|
|
91
91
|
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -142,7 +142,7 @@ class InputResourceOfPreferredLineItemCreateModelV2(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
attributes (
|
|
145
|
+
attributes (PreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
146
146
|
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
@@ -229,7 +229,7 @@ class InputResourceOfPreferredLineItemCreateModelV2(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
|
-
attributes (
|
|
232
|
+
attributes (PreferredLineItemCreateModelV2): [optional] # noqa: E501
|
|
233
233
|
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
@@ -30,11 +30,11 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_retailmedia_v2025_07.model.line_item_bid_multipliers_v2 import LineItemBidMultipliersV2
|
|
34
|
+
globals()['LineItemBidMultipliersV2'] = LineItemBidMultipliersV2
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class JsonApiBodyWithLineItemBidMultipliersV2(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -88,7 +88,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
90
|
'type': (str,), # noqa: E501
|
|
91
|
-
'attributes': (
|
|
91
|
+
'attributes': (LineItemBidMultipliersV2,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -109,7 +109,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
111
|
def _from_openapi_data(cls, type, *args, **kwargs): # noqa: E501
|
|
112
|
-
"""
|
|
112
|
+
"""JsonApiBodyWithLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Args:
|
|
115
115
|
type (str):
|
|
@@ -145,7 +145,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
145
145
|
Animal class but this time we won't travel
|
|
146
146
|
through its discriminator because we passed in
|
|
147
147
|
_visited_composed_classes = (Animal,)
|
|
148
|
-
attributes (
|
|
148
|
+
attributes (LineItemBidMultipliersV2): [optional] # noqa: E501
|
|
149
149
|
"""
|
|
150
150
|
|
|
151
151
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, type, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""JsonApiBodyWithLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Args:
|
|
205
205
|
type (str):
|
|
@@ -235,7 +235,7 @@ class JsonApiBodyWithIdOfInt64AndLineItemBidMultipliersV2AndLineItemBidMultiplie
|
|
|
235
235
|
Animal class but this time we won't travel
|
|
236
236
|
through its discriminator because we passed in
|
|
237
237
|
_visited_composed_classes = (Animal,)
|
|
238
|
-
attributes (
|
|
238
|
+
attributes (LineItemBidMultipliersV2): [optional] # noqa: E501
|
|
239
239
|
"""
|
|
240
240
|
|
|
241
241
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_retailmedia_v2025_07/model/json_api_single_response_of_line_item_bid_multipliers_v2.py
CHANGED
|
@@ -32,10 +32,10 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
|
|
|
32
32
|
def lazy_import():
|
|
33
33
|
from criteo_api_retailmedia_v2025_07.model.common_error import CommonError
|
|
34
34
|
from criteo_api_retailmedia_v2025_07.model.common_warning import CommonWarning
|
|
35
|
-
from criteo_api_retailmedia_v2025_07.model.
|
|
35
|
+
from criteo_api_retailmedia_v2025_07.model.json_api_body_with_line_item_bid_multipliers_v2 import JsonApiBodyWithLineItemBidMultipliersV2
|
|
36
36
|
globals()['CommonError'] = CommonError
|
|
37
37
|
globals()['CommonWarning'] = CommonWarning
|
|
38
|
-
globals()['
|
|
38
|
+
globals()['JsonApiBodyWithLineItemBidMultipliersV2'] = JsonApiBodyWithLineItemBidMultipliersV2
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
class JsonApiSingleResponseOfLineItemBidMultipliersV2(ModelNormal):
|
|
@@ -91,7 +91,7 @@ class JsonApiSingleResponseOfLineItemBidMultipliersV2(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'data': (
|
|
94
|
+
'data': (JsonApiBodyWithLineItemBidMultipliersV2,), # noqa: E501
|
|
95
95
|
'errors': ([CommonError], none_type,), # noqa: E501
|
|
96
96
|
'warnings': ([CommonWarning], none_type,), # noqa: E501
|
|
97
97
|
}
|
|
@@ -118,7 +118,7 @@ class JsonApiSingleResponseOfLineItemBidMultipliersV2(ModelNormal):
|
|
|
118
118
|
"""JsonApiSingleResponseOfLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
|
-
data (
|
|
121
|
+
data (JsonApiBodyWithLineItemBidMultipliersV2):
|
|
122
122
|
|
|
123
123
|
Keyword Args:
|
|
124
124
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -209,7 +209,7 @@ class JsonApiSingleResponseOfLineItemBidMultipliersV2(ModelNormal):
|
|
|
209
209
|
"""JsonApiSingleResponseOfLineItemBidMultipliersV2 - a model defined in OpenAPI
|
|
210
210
|
|
|
211
211
|
Args:
|
|
212
|
-
data (
|
|
212
|
+
data (JsonApiBodyWithLineItemBidMultipliersV2):
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|