criteo-api-retailmedia-sdk 2024.7.0.250915__py3-none-any.whl → 2024.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.

Files changed (102) hide show
  1. {criteo_api_retailmedia_sdk-2024.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2024.7.0.251009.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2024.7.0.251009.dist-info}/RECORD +60 -102
  3. criteo_api_retailmedia_v2024_07/__init__.py +1 -1
  4. criteo_api_retailmedia_v2024_07/api/accounts_api.py +7 -9
  5. criteo_api_retailmedia_v2024_07/api/analytics_api.py +8 -28
  6. criteo_api_retailmedia_v2024_07/api/balance_api.py +257 -261
  7. criteo_api_retailmedia_v2024_07/api/campaign_api.py +1307 -2452
  8. criteo_api_retailmedia_v2024_07/api_client.py +1 -1
  9. criteo_api_retailmedia_v2024_07/apis/__init__.py +0 -1
  10. criteo_api_retailmedia_v2024_07/configuration.py +1 -1
  11. criteo_api_retailmedia_v2024_07/model/add_funds_to_balance_v2.py +6 -6
  12. criteo_api_retailmedia_v2024_07/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +3 -3
  13. criteo_api_retailmedia_v2024_07/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +3 -3
  14. criteo_api_retailmedia_v2024_07/model/add_to_basket_target202110_response.py +8 -8
  15. criteo_api_retailmedia_v2024_07/model/async_campaigns_report.py +14 -0
  16. criteo_api_retailmedia_v2024_07/model/async_line_items_report.py +14 -0
  17. criteo_api_retailmedia_v2024_07/model/async_revenue_report.py +11 -0
  18. criteo_api_retailmedia_v2024_07/model/{external_auction_line_item.py → auction_line_item.py} +19 -25
  19. criteo_api_retailmedia_v2024_07/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +3 -3
  20. criteo_api_retailmedia_v2024_07/model/auction_line_item_paged_list_response.py +8 -8
  21. criteo_api_retailmedia_v2024_07/model/auction_line_item_response.py +8 -8
  22. criteo_api_retailmedia_v2024_07/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +6 -6
  23. criteo_api_retailmedia_v2024_07/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
  24. criteo_api_retailmedia_v2024_07/model/{external_audience_target202110.py → audience_target202110.py} +3 -3
  25. criteo_api_retailmedia_v2024_07/model/audience_target202110_response.py +8 -8
  26. criteo_api_retailmedia_v2024_07/model/balance_campaign202110_paged_list_response.py +8 -8
  27. criteo_api_retailmedia_v2024_07/model/balance_response_v2.py +6 -6
  28. criteo_api_retailmedia_v2024_07/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +3 -3
  29. criteo_api_retailmedia_v2024_07/model/campaign_attributes_v202301.py +11 -15
  30. criteo_api_retailmedia_v2024_07/model/campaign_v202301.py +23 -33
  31. criteo_api_retailmedia_v2024_07/model/change_dates_of_balance_v2.py +9 -9
  32. criteo_api_retailmedia_v2024_07/model/{external_common_line_item.py → common_line_item.py} +19 -25
  33. criteo_api_retailmedia_v2024_07/model/common_line_item_paged_list_response.py +8 -8
  34. criteo_api_retailmedia_v2024_07/model/common_line_item_response.py +8 -8
  35. criteo_api_retailmedia_v2024_07/model/create_balance_v2.py +6 -6
  36. criteo_api_retailmedia_v2024_07/model/editable_campaign_attributes_v202301.py +11 -15
  37. criteo_api_retailmedia_v2024_07/model/files_variable_value.py +0 -3
  38. criteo_api_retailmedia_v2024_07/model/input_resource_of_auction_line_item_create_model.py +5 -5
  39. criteo_api_retailmedia_v2024_07/model/{external_keyword_target202110.py → keyword_target202110.py} +3 -3
  40. criteo_api_retailmedia_v2024_07/model/keyword_target202110_response.py +8 -8
  41. criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item.py +5 -5
  42. criteo_api_retailmedia_v2024_07/model/resource_of_auction_line_item_update_model.py +5 -5
  43. criteo_api_retailmedia_v2024_07/model/resource_of_common_line_item.py +5 -5
  44. criteo_api_retailmedia_v2024_07/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
  45. criteo_api_retailmedia_v2024_07/model/{external_store_target202110.py → store_target202110.py} +3 -3
  46. criteo_api_retailmedia_v2024_07/model/store_target202110_response.py +8 -8
  47. criteo_api_retailmedia_v2024_07/model/value_resource_of_campaign_budget_overrides.py +2 -2
  48. criteo_api_retailmedia_v2024_07/model/value_resource_of_line_item_budget_overrides.py +2 -2
  49. criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_campaign_budget_overrides.py +8 -8
  50. criteo_api_retailmedia_v2024_07/model/value_resource_outcome_of_line_item_budget_overrides.py +8 -8
  51. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +5 -5
  52. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_add_to_basket_target202110.py +5 -5
  53. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_ids_update_model202110.py +5 -5
  54. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_audience_target202110.py +5 -5
  55. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_keyword_target202110.py +5 -5
  56. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_ids_update_model202110.py +5 -5
  57. criteo_api_retailmedia_v2024_07/model/value_type_resource_of_store_target202110.py +5 -5
  58. criteo_api_retailmedia_v2024_07/models/__init__.py +12 -53
  59. criteo_api_retailmedia_v2024_07/api/audience_api.py +0 -657
  60. criteo_api_retailmedia_v2024_07/model/creative202210_list_response.py +0 -274
  61. criteo_api_retailmedia_v2024_07/model/external_line_item_capping202110.py +0 -280
  62. criteo_api_retailmedia_v2024_07/model/external_line_item_page202110.py +0 -293
  63. criteo_api_retailmedia_v2024_07/model/external_line_item_page_category202110.py +0 -273
  64. criteo_api_retailmedia_v2024_07/model/external_preferred_line_item202110.py +0 -377
  65. criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_create_model202110.py +0 -345
  66. criteo_api_retailmedia_v2024_07/model/external_preferred_line_item_update_model202110.py +0 -335
  67. criteo_api_retailmedia_v2024_07/model/input_resource_of_preferred_line_item_create_model202110.py +0 -273
  68. criteo_api_retailmedia_v2024_07/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py +0 -285
  69. criteo_api_retailmedia_v2024_07/model/json_api_single_response_of_line_item_bid_multipliers.py +0 -287
  70. criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers.py +0 -291
  71. criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers_request.py +0 -269
  72. criteo_api_retailmedia_v2024_07/model/line_item_bid_multipliers_response.py +0 -281
  73. criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_paged_list_response.py +0 -287
  74. criteo_api_retailmedia_v2024_07/model/preferred_line_item202110_response.py +0 -281
  75. criteo_api_retailmedia_v2024_07/model/preferred_line_item_create_model202110_request.py +0 -269
  76. criteo_api_retailmedia_v2024_07/model/preferred_line_item_update_model202110_request.py +0 -269
  77. criteo_api_retailmedia_v2024_07/model/report_outcome.py +0 -275
  78. criteo_api_retailmedia_v2024_07/model/resource_of_line_item_bid_multipliers.py +0 -277
  79. criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item202110.py +0 -277
  80. criteo_api_retailmedia_v2024_07/model/resource_of_preferred_line_item_update_model202110.py +0 -277
  81. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1.py +0 -315
  82. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1_resource.py +0 -277
  83. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v1_response.py +0 -281
  84. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2.py +0 -287
  85. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2_resource.py +0 -277
  86. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_entity_v2_response.py +0 -281
  87. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_input_entity_v1.py +0 -269
  88. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_create_input_entity_v2.py +0 -269
  89. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1.py +0 -291
  90. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_list_response.py +0 -281
  91. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v1_resource.py +0 -286
  92. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2.py +0 -291
  93. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2_list_response.py +0 -281
  94. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_get_entity_v2_resource.py +0 -277
  95. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_user_behavior_create_v2.py +0 -279
  96. criteo_api_retailmedia_v2024_07/model/rm_legacy_audience_user_behavior_details_v2.py +0 -279
  97. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_customer_list.py +0 -275
  98. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_create_v2.py +0 -303
  99. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v1.py +0 -306
  100. criteo_api_retailmedia_v2024_07/model/rm_legacy_segment_user_behavior_v2.py +0 -311
  101. {criteo_api_retailmedia_sdk-2024.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2024.7.0.251009.dist-info}/WHEEL +0 -0
  102. {criteo_api_retailmedia_sdk-2024.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2024.7.0.251009.dist-info}/top_level.txt +0 -0
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalCommonLineItem(ModelNormal):
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, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, type, updated_at, *args, **kwargs): # noqa: E501
148
- """ExternalCommonLineItem - a model defined in OpenAPI
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): Id of the entity. [optional] # noqa: E501
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, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, type, updated_at, *args, **kwargs): # noqa: E501
256
- """ExternalCommonLineItem - a model defined in OpenAPI
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): Id of the entity. [optional] # noqa: E501
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_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
+ from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
33
34
  from criteo_api_retailmedia_v2024_07.model.page_metadata import PageMetadata
34
- from criteo_api_retailmedia_v2024_07.model.problem_details import ProblemDetails
35
35
  from criteo_api_retailmedia_v2024_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': ([ProblemDetails],), # noqa: E501
95
+ 'errors': ([CommonProblem],), # noqa: E501
96
96
  'metadata': (PageMetadata,), # noqa: E501
97
- 'warnings': ([ProblemDetails],), # noqa: E501
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 ([ProblemDetails]): [optional] # noqa: E501
156
+ errors ([CommonProblem]): [optional] # noqa: E501
157
157
  metadata (PageMetadata): [optional] # noqa: E501
158
- warnings ([ProblemDetails]): [optional] # noqa: E501
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 ([ProblemDetails]): [optional] # noqa: E501
245
+ errors ([CommonProblem]): [optional] # noqa: E501
246
246
  metadata (PageMetadata): [optional] # noqa: E501
247
- warnings ([ProblemDetails]): [optional] # noqa: E501
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_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.problem_details import ProblemDetails
33
+ from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
34
34
  from criteo_api_retailmedia_v2024_07.model.resource_of_common_line_item import ResourceOfCommonLineItem
35
- globals()['ProblemDetails'] = ProblemDetails
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': ([ProblemDetails],), # noqa: E501
94
- 'warnings': ([ProblemDetails],), # noqa: E501
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 ([ProblemDetails]): [optional] # noqa: E501
153
- warnings ([ProblemDetails]): [optional] # noqa: E501
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 ([ProblemDetails]): [optional] # noqa: E501
241
- warnings ([ProblemDetails]): [optional] # noqa: E501
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': (date,), # noqa: E501
91
+ 'start_date': (str,), # noqa: E501
92
92
  'deposited': (float,), # noqa: E501
93
- 'end_date': (date, none_type,), # noqa: E501
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 (date): Start date of the balance in the format YYYY-MM-DD.
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 (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
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 (date): Start date of the balance in the format YYYY-MM-DD.
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 (date, none_type): End date of the balance in the format YYYY-MM-DD.. [optional] # noqa: E501
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, end_date, is_auto_daily_pacing, name, start_date, view_attribution_window, *args, **kwargs): # noqa: E501
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, end_date, is_auto_daily_pacing, name, start_date, view_attribution_window, *args, **kwargs): # noqa: E501
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 \
@@ -58,9 +58,6 @@ class FilesVariableValue(ModelNormal):
58
58
  }
59
59
 
60
60
  validations = {
61
- ('asset_ids',): {
62
- 'min_items': 1,
63
- },
64
61
  }
65
62
 
66
63
  additional_properties_type = None
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.external_auction_line_item_create_model import ExternalAuctionLineItemCreateModel
34
- globals()['ExternalAuctionLineItemCreateModel'] = ExternalAuctionLineItemCreateModel
33
+ from criteo_api_retailmedia_v2024_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': (ExternalAuctionLineItemCreateModel,), # noqa: E501
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 (ExternalAuctionLineItemCreateModel): [optional] # noqa: E501
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 (ExternalAuctionLineItemCreateModel): [optional] # noqa: E501
232
+ attributes (AuctionLineItemCreateModel): [optional] # noqa: E501
233
233
  type (str): [optional] # noqa: E501
234
234
  """
235
235
 
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalKeywordTarget202110(ModelNormal):
33
+ class KeywordTarget202110(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -106,7 +106,7 @@ class ExternalKeywordTarget202110(ModelNormal):
106
106
  @classmethod
107
107
  @convert_js_args_to_python_args
108
108
  def _from_openapi_data(cls, keywords, *args, **kwargs): # noqa: E501
109
- """ExternalKeywordTarget202110 - a model defined in OpenAPI
109
+ """KeywordTarget202110 - a model defined in OpenAPI
110
110
 
111
111
  Args:
112
112
  keywords ({str: (str,)}): Keywords that targeting specifications exist for
@@ -195,7 +195,7 @@ class ExternalKeywordTarget202110(ModelNormal):
195
195
 
196
196
  @convert_js_args_to_python_args
197
197
  def __init__(self, keywords, *args, **kwargs): # noqa: E501
198
- """ExternalKeywordTarget202110 - a model defined in OpenAPI
198
+ """KeywordTarget202110 - a model defined in OpenAPI
199
199
 
200
200
  Args:
201
201
  keywords ({str: (str,)}): Keywords that targeting specifications exist for
@@ -30,9 +30,9 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.problem_details import ProblemDetails
33
+ from criteo_api_retailmedia_v2024_07.model.common_problem import CommonProblem
34
34
  from criteo_api_retailmedia_v2024_07.model.value_type_resource_of_keyword_target202110 import ValueTypeResourceOfKeywordTarget202110
35
- globals()['ProblemDetails'] = ProblemDetails
35
+ globals()['CommonProblem'] = CommonProblem
36
36
  globals()['ValueTypeResourceOfKeywordTarget202110'] = ValueTypeResourceOfKeywordTarget202110
37
37
 
38
38
 
@@ -90,8 +90,8 @@ class KeywordTarget202110Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ValueTypeResourceOfKeywordTarget202110,), # noqa: E501
93
- 'errors': ([ProblemDetails],), # noqa: E501
94
- 'warnings': ([ProblemDetails],), # noqa: E501
93
+ 'errors': ([CommonProblem],), # noqa: E501
94
+ 'warnings': ([CommonProblem],), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -149,8 +149,8 @@ class KeywordTarget202110Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ValueTypeResourceOfKeywordTarget202110): [optional] # noqa: E501
152
- errors ([ProblemDetails]): [optional] # noqa: E501
153
- warnings ([ProblemDetails]): [optional] # noqa: E501
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 KeywordTarget202110Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ValueTypeResourceOfKeywordTarget202110): [optional] # noqa: E501
240
- errors ([ProblemDetails]): [optional] # noqa: E501
241
- warnings ([ProblemDetails]): [optional] # noqa: E501
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)
@@ -30,8 +30,8 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.external_auction_line_item import ExternalAuctionLineItem
34
- globals()['ExternalAuctionLineItem'] = ExternalAuctionLineItem
33
+ from criteo_api_retailmedia_v2024_07.model.auction_line_item import AuctionLineItem
34
+ globals()['AuctionLineItem'] = AuctionLineItem
35
35
 
36
36
 
37
37
  class ResourceOfAuctionLineItem(ModelNormal):
@@ -87,7 +87,7 @@ class ResourceOfAuctionLineItem(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'attributes': (ExternalAuctionLineItem,), # noqa: E501
90
+ 'attributes': (AuctionLineItem,), # noqa: E501
91
91
  'id': (str, none_type,), # noqa: E501
92
92
  'type': (str, none_type,), # noqa: E501
93
93
  }
@@ -144,7 +144,7 @@ class ResourceOfAuctionLineItem(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 (ExternalAuctionLineItem): [optional] # noqa: E501
147
+ attributes (AuctionLineItem): [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
  """
@@ -232,7 +232,7 @@ class ResourceOfAuctionLineItem(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 (ExternalAuctionLineItem): [optional] # noqa: E501
235
+ attributes (AuctionLineItem): [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,8 +30,8 @@ from criteo_api_retailmedia_v2024_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2024_07.model.external_auction_line_item_update_model import ExternalAuctionLineItemUpdateModel
34
- globals()['ExternalAuctionLineItemUpdateModel'] = ExternalAuctionLineItemUpdateModel
33
+ from criteo_api_retailmedia_v2024_07.model.auction_line_item_update_model import AuctionLineItemUpdateModel
34
+ globals()['AuctionLineItemUpdateModel'] = AuctionLineItemUpdateModel
35
35
 
36
36
 
37
37
  class ResourceOfAuctionLineItemUpdateModel(ModelNormal):
@@ -87,7 +87,7 @@ class ResourceOfAuctionLineItemUpdateModel(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'attributes': (ExternalAuctionLineItemUpdateModel,), # noqa: E501
90
+ 'attributes': (AuctionLineItemUpdateModel,), # noqa: E501
91
91
  'id': (str,), # noqa: E501
92
92
  'type': (str,), # noqa: E501
93
93
  }
@@ -144,7 +144,7 @@ class ResourceOfAuctionLineItemUpdateModel(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 (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
147
+ attributes (AuctionLineItemUpdateModel): [optional] # noqa: E501
148
148
  id (str): Id of the entity. [optional] # noqa: E501
149
149
  type (str): Canonical type name of the entity. [optional] # noqa: E501
150
150
  """
@@ -232,7 +232,7 @@ class ResourceOfAuctionLineItemUpdateModel(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 (ExternalAuctionLineItemUpdateModel): [optional] # noqa: E501
235
+ attributes (AuctionLineItemUpdateModel): [optional] # noqa: E501
236
236
  id (str): Id of the entity. [optional] # noqa: E501
237
237
  type (str): Canonical type name of the entity. [optional] # noqa: E501
238
238
  """