criteo-api-retailmedia-sdk 2025.7.0.250915__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.

Files changed (80) hide show
  1. {criteo_api_retailmedia_sdk-2025.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2025.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/RECORD +77 -80
  3. criteo_api_retailmedia_v2025_07/__init__.py +1 -1
  4. criteo_api_retailmedia_v2025_07/api/accounts_api.py +65 -76
  5. criteo_api_retailmedia_v2025_07/api/analytics_api.py +8 -28
  6. criteo_api_retailmedia_v2025_07/api/audience_api.py +15 -43
  7. criteo_api_retailmedia_v2025_07/api/balance_api.py +257 -261
  8. criteo_api_retailmedia_v2025_07/api/billing_api.py +20 -25
  9. criteo_api_retailmedia_v2025_07/api/campaign_api.py +1640 -1659
  10. criteo_api_retailmedia_v2025_07/api_client.py +1 -1
  11. criteo_api_retailmedia_v2025_07/configuration.py +1 -1
  12. criteo_api_retailmedia_v2025_07/model/add_funds_to_balance_v2.py +6 -6
  13. criteo_api_retailmedia_v2025_07/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +3 -3
  14. criteo_api_retailmedia_v2025_07/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +3 -3
  15. criteo_api_retailmedia_v2025_07/model/add_to_basket_target202110_response.py +8 -8
  16. criteo_api_retailmedia_v2025_07/model/async_campaigns_report.py +14 -0
  17. criteo_api_retailmedia_v2025_07/model/async_line_items_report.py +14 -0
  18. criteo_api_retailmedia_v2025_07/model/async_revenue_report.py +11 -0
  19. criteo_api_retailmedia_v2025_07/model/{external_auction_line_item.py → auction_line_item.py} +19 -25
  20. criteo_api_retailmedia_v2025_07/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +3 -3
  21. criteo_api_retailmedia_v2025_07/model/auction_line_item_paged_list_response.py +8 -8
  22. criteo_api_retailmedia_v2025_07/model/auction_line_item_response.py +8 -8
  23. criteo_api_retailmedia_v2025_07/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +6 -6
  24. criteo_api_retailmedia_v2025_07/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
  25. criteo_api_retailmedia_v2025_07/model/{external_audience_target202110.py → audience_target202110.py} +3 -3
  26. criteo_api_retailmedia_v2025_07/model/audience_target202110_response.py +8 -8
  27. criteo_api_retailmedia_v2025_07/model/balance_campaign202110_paged_list_response.py +8 -8
  28. criteo_api_retailmedia_v2025_07/model/balance_response_v2.py +6 -6
  29. criteo_api_retailmedia_v2025_07/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +3 -3
  30. criteo_api_retailmedia_v2025_07/model/campaign_attributes_v202301.py +11 -15
  31. criteo_api_retailmedia_v2025_07/model/campaign_v202301.py +23 -33
  32. criteo_api_retailmedia_v2025_07/model/change_dates_of_balance_v2.py +9 -9
  33. criteo_api_retailmedia_v2025_07/model/{external_common_line_item.py → common_line_item.py} +19 -25
  34. criteo_api_retailmedia_v2025_07/model/common_line_item_paged_list_response.py +8 -8
  35. criteo_api_retailmedia_v2025_07/model/common_line_item_response.py +8 -8
  36. criteo_api_retailmedia_v2025_07/model/create_balance_v2.py +6 -6
  37. criteo_api_retailmedia_v2025_07/model/editable_campaign_attributes_v202301.py +11 -15
  38. criteo_api_retailmedia_v2025_07/model/files_variable_value.py +0 -3
  39. criteo_api_retailmedia_v2025_07/model/input_resource_of_auction_line_item_create_model.py +5 -5
  40. criteo_api_retailmedia_v2025_07/model/input_resource_of_preferred_line_item_create_model_v2.py +5 -5
  41. 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
  42. criteo_api_retailmedia_v2025_07/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
  43. criteo_api_retailmedia_v2025_07/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +5 -5
  44. criteo_api_retailmedia_v2025_07/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +3 -3
  45. criteo_api_retailmedia_v2025_07/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
  46. criteo_api_retailmedia_v2025_07/model/{external_line_item_page_v2.py → line_item_page_v2.py} +9 -9
  47. criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +16 -16
  48. criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +16 -16
  49. criteo_api_retailmedia_v2025_07/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +33 -35
  50. criteo_api_retailmedia_v2025_07/model/resource_of_auction_line_item.py +5 -5
  51. criteo_api_retailmedia_v2025_07/model/resource_of_auction_line_item_update_model.py +5 -5
  52. criteo_api_retailmedia_v2025_07/model/resource_of_common_line_item.py +5 -5
  53. criteo_api_retailmedia_v2025_07/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
  54. criteo_api_retailmedia_v2025_07/model/resource_of_preferred_line_item_update_model_v2.py +5 -5
  55. criteo_api_retailmedia_v2025_07/model/resource_of_preferred_line_item_v2.py +5 -5
  56. criteo_api_retailmedia_v2025_07/model/rm_contact_list_create_v1.py +1 -0
  57. criteo_api_retailmedia_v2025_07/model/rm_contact_list_v1.py +1 -0
  58. criteo_api_retailmedia_v2025_07/model/rm_events_create_v1.py +0 -2
  59. criteo_api_retailmedia_v2025_07/model/rm_events_update_v1.py +0 -2
  60. criteo_api_retailmedia_v2025_07/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
  61. criteo_api_retailmedia_v2025_07/model/{external_store_target202110.py → store_target202110.py} +3 -3
  62. criteo_api_retailmedia_v2025_07/model/store_target202110_response.py +8 -8
  63. criteo_api_retailmedia_v2025_07/model/value_resource_of_campaign_budget_overrides.py +2 -2
  64. criteo_api_retailmedia_v2025_07/model/value_resource_of_line_item_budget_overrides.py +2 -2
  65. criteo_api_retailmedia_v2025_07/model/value_resource_of_recommended_keywords_result.py +2 -2
  66. criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_campaign_budget_overrides.py +8 -8
  67. criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_line_item_budget_overrides.py +8 -8
  68. criteo_api_retailmedia_v2025_07/model/value_resource_outcome_of_recommended_keywords_result.py +8 -8
  69. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +5 -5
  70. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_add_to_basket_target202110.py +5 -5
  71. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_audience_ids_update_model202110.py +5 -5
  72. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_audience_target202110.py +5 -5
  73. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_store_ids_update_model202110.py +5 -5
  74. criteo_api_retailmedia_v2025_07/model/value_type_resource_of_store_target202110.py +5 -5
  75. criteo_api_retailmedia_v2025_07/models/__init__.py +19 -22
  76. criteo_api_retailmedia_v2025_07/model/error_code_response.py +0 -281
  77. criteo_api_retailmedia_v2025_07/model/outcome.py +0 -268
  78. criteo_api_retailmedia_v2025_07/model/report_outcome.py +0 -275
  79. {criteo_api_retailmedia_sdk-2025.7.0.250915.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/WHEEL +0 -0
  80. {criteo_api_retailmedia_sdk-2025.7.0.250915.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 ExternalLineItemBidMultipliersV2(ModelNormal):
33
+ class LineItemBidMultipliersV2(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -123,7 +123,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
123
123
  @classmethod
124
124
  @convert_js_args_to_python_args
125
125
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
126
- """ExternalLineItemBidMultipliersV2 - a model defined in OpenAPI
126
+ """LineItemBidMultipliersV2 - a model defined in OpenAPI
127
127
 
128
128
  Keyword Args:
129
129
  _check_type (bool): if True, values for parameters in openapi_types
@@ -163,7 +163,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
163
163
  deals (float, none_type): Deals Page Type Bid Multiplier. [optional] # noqa: E501
164
164
  favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501
165
165
  home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501
166
- id (str, none_type): Id of the entity. [optional] # noqa: E501
166
+ id (str, none_type): [optional] # noqa: E501
167
167
  merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501
168
168
  product_detail (float, none_type): ProductDetail Page Type Bid Multiplier. [optional] # noqa: E501
169
169
  search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501
@@ -220,7 +220,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
220
220
 
221
221
  @convert_js_args_to_python_args
222
222
  def __init__(self, *args, **kwargs): # noqa: E501
223
- """ExternalLineItemBidMultipliersV2 - a model defined in OpenAPI
223
+ """LineItemBidMultipliersV2 - a model defined in OpenAPI
224
224
 
225
225
  Keyword Args:
226
226
  _check_type (bool): if True, values for parameters in openapi_types
@@ -260,7 +260,7 @@ class ExternalLineItemBidMultipliersV2(ModelNormal):
260
260
  deals (float, none_type): Deals Page Type Bid Multiplier. [optional] # noqa: E501
261
261
  favorites (float, none_type): Favorites Page Type Bid Multiplier. [optional] # noqa: E501
262
262
  home (float, none_type): Home Page Type Bid Multiplier. [optional] # noqa: E501
263
- id (str, none_type): Id of the entity. [optional] # noqa: E501
263
+ id (str, none_type): [optional] # noqa: E501
264
264
  merchandising (float, none_type): Merchandising Page Type Bid Multiplier. [optional] # noqa: E501
265
265
  product_detail (float, none_type): ProductDetail Page Type Bid Multiplier. [optional] # noqa: E501
266
266
  search (float, none_type): Search Page Type Bid Multiplier. [optional] # noqa: E501
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalLineItemCappingV2(ModelNormal):
33
+ class LineItemCappingV2(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -108,7 +108,7 @@ class ExternalLineItemCappingV2(ModelNormal):
108
108
  @classmethod
109
109
  @convert_js_args_to_python_args
110
110
  def _from_openapi_data(cls, count, type, *args, **kwargs): # noqa: E501
111
- """ExternalLineItemCappingV2 - a model defined in OpenAPI
111
+ """LineItemCappingV2 - a model defined in OpenAPI
112
112
 
113
113
  Args:
114
114
  count (int):
@@ -199,7 +199,7 @@ class ExternalLineItemCappingV2(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, count, type, *args, **kwargs): # noqa: E501
202
- """ExternalLineItemCappingV2 - a model defined in OpenAPI
202
+ """LineItemCappingV2 - a model defined in OpenAPI
203
203
 
204
204
  Args:
205
205
  count (int):
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalLineItemPageCategoryV2(ModelNormal):
33
+ class LineItemPageCategoryV2(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -103,7 +103,7 @@ class ExternalLineItemPageCategoryV2(ModelNormal):
103
103
  @classmethod
104
104
  @convert_js_args_to_python_args
105
105
  def _from_openapi_data(cls, category_id, *args, **kwargs): # noqa: E501
106
- """ExternalLineItemPageCategoryV2 - a model defined in OpenAPI
106
+ """LineItemPageCategoryV2 - a model defined in OpenAPI
107
107
 
108
108
  Args:
109
109
  category_id (str):
@@ -193,7 +193,7 @@ class ExternalLineItemPageCategoryV2(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, category_id, *args, **kwargs): # noqa: E501
196
- """ExternalLineItemPageCategoryV2 - a model defined in OpenAPI
196
+ """LineItemPageCategoryV2 - a model defined in OpenAPI
197
197
 
198
198
  Args:
199
199
  category_id (str):
@@ -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.external_line_item_page_category_v2 import ExternalLineItemPageCategoryV2
34
- globals()['ExternalLineItemPageCategoryV2'] = ExternalLineItemPageCategoryV2
33
+ from criteo_api_retailmedia_v2025_07.model.line_item_page_category_v2 import LineItemPageCategoryV2
34
+ globals()['LineItemPageCategoryV2'] = LineItemPageCategoryV2
35
35
 
36
36
 
37
- class ExternalLineItemPageV2(ModelNormal):
37
+ class LineItemPageV2(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 ExternalLineItemPageV2(ModelNormal):
88
88
  lazy_import()
89
89
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
90
90
 
91
- _nullable = False
91
+ _nullable = True
92
92
 
93
93
  @cached_property
94
94
  def openapi_types():
@@ -103,7 +103,7 @@ class ExternalLineItemPageV2(ModelNormal):
103
103
  lazy_import()
104
104
  return {
105
105
  'page_type': (str,), # noqa: E501
106
- 'categories': ([ExternalLineItemPageCategoryV2], none_type,), # noqa: E501
106
+ 'categories': ([LineItemPageCategoryV2], none_type,), # noqa: E501
107
107
  'search_keywords': ([str], none_type,), # noqa: E501
108
108
  }
109
109
 
@@ -126,7 +126,7 @@ class ExternalLineItemPageV2(ModelNormal):
126
126
  @classmethod
127
127
  @convert_js_args_to_python_args
128
128
  def _from_openapi_data(cls, page_type, *args, **kwargs): # noqa: E501
129
- """ExternalLineItemPageV2 - a model defined in OpenAPI
129
+ """LineItemPageV2 - a model defined in OpenAPI
130
130
 
131
131
  Args:
132
132
  page_type (str): Page Type Enum
@@ -162,7 +162,7 @@ class ExternalLineItemPageV2(ModelNormal):
162
162
  Animal class but this time we won't travel
163
163
  through its discriminator because we passed in
164
164
  _visited_composed_classes = (Animal,)
165
- categories ([ExternalLineItemPageCategoryV2], none_type): [optional] # noqa: E501
165
+ categories ([LineItemPageCategoryV2], none_type): [optional] # noqa: E501
166
166
  search_keywords ([str], none_type): [optional] # noqa: E501
167
167
  """
168
168
 
@@ -217,7 +217,7 @@ class ExternalLineItemPageV2(ModelNormal):
217
217
 
218
218
  @convert_js_args_to_python_args
219
219
  def __init__(self, page_type, *args, **kwargs): # noqa: E501
220
- """ExternalLineItemPageV2 - a model defined in OpenAPI
220
+ """LineItemPageV2 - a model defined in OpenAPI
221
221
 
222
222
  Args:
223
223
  page_type (str): Page Type Enum
@@ -253,7 +253,7 @@ class ExternalLineItemPageV2(ModelNormal):
253
253
  Animal class but this time we won't travel
254
254
  through its discriminator because we passed in
255
255
  _visited_composed_classes = (Animal,)
256
- categories ([ExternalLineItemPageCategoryV2], none_type): [optional] # noqa: E501
256
+ categories ([LineItemPageCategoryV2], none_type): [optional] # noqa: E501
257
257
  search_keywords ([str], none_type): [optional] # noqa: E501
258
258
  """
259
259
 
@@ -30,13 +30,13 @@ 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.external_line_item_capping_v2 import ExternalLineItemCappingV2
34
- from criteo_api_retailmedia_v2025_07.model.external_line_item_page_v2 import ExternalLineItemPageV2
35
- globals()['ExternalLineItemCappingV2'] = ExternalLineItemCappingV2
36
- globals()['ExternalLineItemPageV2'] = ExternalLineItemPageV2
33
+ from criteo_api_retailmedia_v2025_07.model.line_item_capping_v2 import LineItemCappingV2
34
+ from criteo_api_retailmedia_v2025_07.model.line_item_page_v2 import LineItemPageV2
35
+ globals()['LineItemCappingV2'] = LineItemCappingV2
36
+ globals()['LineItemPageV2'] = LineItemPageV2
37
37
 
38
38
 
39
- class ExternalPreferredLineItemCreateModelV2(ModelNormal):
39
+ class PreferredLineItemCreateModelV2(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -113,11 +113,11 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
113
113
  'end_date': (date,), # noqa: E501
114
114
  'name': (str,), # noqa: E501
115
115
  'pacing': (str,), # noqa: E501
116
- 'page': (ExternalLineItemPageV2,), # noqa: E501
116
+ 'page': (LineItemPageV2,), # noqa: E501
117
117
  'start_date': (date,), # noqa: E501
118
118
  'target_retailer_id': (str,), # noqa: E501
119
- 'capping': (ExternalLineItemCappingV2,), # noqa: E501
120
- 'creative_id': (str, none_type,), # noqa: E501
119
+ 'capping': (LineItemCappingV2,), # noqa: E501
120
+ 'creative_id': (str,), # noqa: E501
121
121
  'status': (str,), # noqa: E501
122
122
  }
123
123
 
@@ -147,14 +147,14 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
147
147
  @classmethod
148
148
  @convert_js_args_to_python_args
149
149
  def _from_openapi_data(cls, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
150
- """ExternalPreferredLineItemCreateModelV2 - a model defined in OpenAPI
150
+ """PreferredLineItemCreateModelV2 - a model defined in OpenAPI
151
151
 
152
152
  Args:
153
153
  budget (float):
154
154
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
155
155
  name (str):
156
156
  pacing (str): Line Item Pacing Enum
157
- page (ExternalLineItemPageV2):
157
+ page (LineItemPageV2):
158
158
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
159
159
  target_retailer_id (str):
160
160
 
@@ -189,8 +189,8 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
189
189
  Animal class but this time we won't travel
190
190
  through its discriminator because we passed in
191
191
  _visited_composed_classes = (Animal,)
192
- capping (ExternalLineItemCappingV2): [optional] # noqa: E501
193
- creative_id (str, none_type): [optional] # noqa: E501
192
+ capping (LineItemCappingV2): [optional] # noqa: E501
193
+ creative_id (str): [optional] # noqa: E501
194
194
  status (str): Line Item Status Enum. [optional] # noqa: E501
195
195
  """
196
196
 
@@ -251,14 +251,14 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
251
251
 
252
252
  @convert_js_args_to_python_args
253
253
  def __init__(self, budget, end_date, name, pacing, page, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
254
- """ExternalPreferredLineItemCreateModelV2 - a model defined in OpenAPI
254
+ """PreferredLineItemCreateModelV2 - a model defined in OpenAPI
255
255
 
256
256
  Args:
257
257
  budget (float):
258
258
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
259
259
  name (str):
260
260
  pacing (str): Line Item Pacing Enum
261
- page (ExternalLineItemPageV2):
261
+ page (LineItemPageV2):
262
262
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
263
263
  target_retailer_id (str):
264
264
 
@@ -293,8 +293,8 @@ class ExternalPreferredLineItemCreateModelV2(ModelNormal):
293
293
  Animal class but this time we won't travel
294
294
  through its discriminator because we passed in
295
295
  _visited_composed_classes = (Animal,)
296
- capping (ExternalLineItemCappingV2): [optional] # noqa: E501
297
- creative_id (str, none_type): [optional] # noqa: E501
296
+ capping (LineItemCappingV2): [optional] # noqa: E501
297
+ creative_id (str): [optional] # noqa: E501
298
298
  status (str): Line Item Status Enum. [optional] # noqa: E501
299
299
  """
300
300
 
@@ -30,13 +30,13 @@ 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.external_line_item_capping_v2 import ExternalLineItemCappingV2
34
- from criteo_api_retailmedia_v2025_07.model.external_line_item_page_v2 import ExternalLineItemPageV2
35
- globals()['ExternalLineItemCappingV2'] = ExternalLineItemCappingV2
36
- globals()['ExternalLineItemPageV2'] = ExternalLineItemPageV2
33
+ from criteo_api_retailmedia_v2025_07.model.line_item_capping_v2 import LineItemCappingV2
34
+ from criteo_api_retailmedia_v2025_07.model.line_item_page_v2 import LineItemPageV2
35
+ globals()['LineItemCappingV2'] = LineItemCappingV2
36
+ globals()['LineItemPageV2'] = LineItemPageV2
37
37
 
38
38
 
39
- class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
39
+ class PreferredLineItemUpdateModelV2(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -114,10 +114,10 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
114
114
  'start_date': (date,), # noqa: E501
115
115
  'status': (str,), # noqa: E501
116
116
  'budget': (float,), # noqa: E501
117
- 'capping': (ExternalLineItemCappingV2,), # noqa: E501
118
- 'creative_id': (str, none_type,), # noqa: E501
117
+ 'capping': (LineItemCappingV2,), # noqa: E501
118
+ 'creative_id': (str,), # noqa: E501
119
119
  'pacing': (str,), # noqa: E501
120
- 'page': (ExternalLineItemPageV2,), # noqa: E501
120
+ 'page': (LineItemPageV2,), # noqa: E501
121
121
  }
122
122
 
123
123
  @cached_property
@@ -145,7 +145,7 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
145
145
  @classmethod
146
146
  @convert_js_args_to_python_args
147
147
  def _from_openapi_data(cls, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
148
- """ExternalPreferredLineItemUpdateModelV2 - a model defined in OpenAPI
148
+ """PreferredLineItemUpdateModelV2 - a model defined in OpenAPI
149
149
 
150
150
  Args:
151
151
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
@@ -185,10 +185,10 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
185
185
  through its discriminator because we passed in
186
186
  _visited_composed_classes = (Animal,)
187
187
  budget (float): [optional] # noqa: E501
188
- capping (ExternalLineItemCappingV2): [optional] # noqa: E501
189
- creative_id (str, none_type): [optional] # noqa: E501
188
+ capping (LineItemCappingV2): [optional] # noqa: E501
189
+ creative_id (str): [optional] # noqa: E501
190
190
  pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
191
- page (ExternalLineItemPageV2): [optional] # noqa: E501
191
+ page (LineItemPageV2): [optional] # noqa: E501
192
192
  """
193
193
 
194
194
  _check_type = kwargs.pop('_check_type', True)
@@ -245,7 +245,7 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
245
245
 
246
246
  @convert_js_args_to_python_args
247
247
  def __init__(self, end_date, name, start_date, status, *args, **kwargs): # noqa: E501
248
- """ExternalPreferredLineItemUpdateModelV2 - a model defined in OpenAPI
248
+ """PreferredLineItemUpdateModelV2 - a model defined in OpenAPI
249
249
 
250
250
  Args:
251
251
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
@@ -285,10 +285,10 @@ class ExternalPreferredLineItemUpdateModelV2(ModelNormal):
285
285
  through its discriminator because we passed in
286
286
  _visited_composed_classes = (Animal,)
287
287
  budget (float): [optional] # noqa: E501
288
- capping (ExternalLineItemCappingV2): [optional] # noqa: E501
289
- creative_id (str, none_type): [optional] # noqa: E501
288
+ capping (LineItemCappingV2): [optional] # noqa: E501
289
+ creative_id (str): [optional] # noqa: E501
290
290
  pacing (str): [optional] if omitted the server will use the default value of "accelerated" # noqa: E501
291
- page (ExternalLineItemPageV2): [optional] # noqa: E501
291
+ page (LineItemPageV2): [optional] # noqa: E501
292
292
  """
293
293
 
294
294
  _check_type = kwargs.pop('_check_type', True)
@@ -30,13 +30,13 @@ 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.external_line_item_capping_v2 import ExternalLineItemCappingV2
34
- from criteo_api_retailmedia_v2025_07.model.external_line_item_page_v2 import ExternalLineItemPageV2
35
- globals()['ExternalLineItemCappingV2'] = ExternalLineItemCappingV2
36
- globals()['ExternalLineItemPageV2'] = ExternalLineItemPageV2
33
+ from criteo_api_retailmedia_v2025_07.model.line_item_capping_v2 import LineItemCappingV2
34
+ from criteo_api_retailmedia_v2025_07.model.line_item_page_v2 import LineItemPageV2
35
+ globals()['LineItemCappingV2'] = LineItemCappingV2
36
+ globals()['LineItemPageV2'] = LineItemPageV2
37
37
 
38
38
 
39
- class ExternalPreferredLineItemV2(ModelNormal):
39
+ class PreferredLineItemV2(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -110,22 +110,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
110
110
  """
111
111
  lazy_import()
112
112
  return {
113
+ 'budget': (float,), # noqa: E501
113
114
  'campaign_id': (str,), # noqa: E501
114
- 'created_at': (datetime,), # noqa: E501
115
115
  'end_date': (date,), # noqa: E501
116
116
  'name': (str,), # noqa: E501
117
117
  'start_date': (date,), # noqa: E501
118
118
  'status': (str,), # noqa: E501
119
119
  'target_retailer_id': (str,), # noqa: E501
120
- 'updated_at': (datetime,), # noqa: E501
121
- 'budget': (float, none_type,), # noqa: E501
122
120
  'budget_remaining': (float, none_type,), # noqa: E501
123
121
  'budget_spent': (float, none_type,), # noqa: E501
124
- 'capping': (ExternalLineItemCappingV2,), # noqa: E501
122
+ 'capping': (LineItemCappingV2,), # noqa: E501
123
+ 'created_at': (datetime,), # noqa: E501
125
124
  'creative_id': (str, none_type,), # noqa: E501
126
125
  'id': (str, none_type,), # noqa: E501
127
126
  'pacing': (str, none_type,), # noqa: E501
128
- 'page': (ExternalLineItemPageV2,), # noqa: E501
127
+ 'page': (LineItemPageV2,), # noqa: E501
128
+ 'updated_at': (datetime,), # noqa: E501
129
129
  }
130
130
 
131
131
  @cached_property
@@ -134,22 +134,22 @@ class ExternalPreferredLineItemV2(ModelNormal):
134
134
 
135
135
 
136
136
  attribute_map = {
137
+ 'budget': 'budget', # noqa: E501
137
138
  'campaign_id': 'campaignId', # noqa: E501
138
- 'created_at': 'createdAt', # noqa: E501
139
139
  'end_date': 'endDate', # noqa: E501
140
140
  'name': 'name', # noqa: E501
141
141
  'start_date': 'startDate', # noqa: E501
142
142
  'status': 'status', # noqa: E501
143
143
  'target_retailer_id': 'targetRetailerId', # noqa: E501
144
- 'updated_at': 'updatedAt', # noqa: E501
145
- 'budget': 'budget', # noqa: E501
146
144
  'budget_remaining': 'budgetRemaining', # noqa: E501
147
145
  'budget_spent': 'budgetSpent', # noqa: E501
148
146
  'capping': 'capping', # noqa: E501
147
+ 'created_at': 'createdAt', # noqa: E501
149
148
  'creative_id': 'creativeId', # noqa: E501
150
149
  'id': 'id', # noqa: E501
151
150
  'pacing': 'pacing', # noqa: E501
152
151
  'page': 'page', # noqa: E501
152
+ 'updated_at': 'updatedAt', # noqa: E501
153
153
  }
154
154
 
155
155
  read_only_vars = {
@@ -159,18 +159,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
159
159
 
160
160
  @classmethod
161
161
  @convert_js_args_to_python_args
162
- def _from_openapi_data(cls, campaign_id, created_at, end_date, name, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
163
- """ExternalPreferredLineItemV2 - a model defined in OpenAPI
162
+ def _from_openapi_data(cls, budget, campaign_id, end_date, name, start_date, status, target_retailer_id, *args, **kwargs): # noqa: E501
163
+ """PreferredLineItemV2 - a model defined in OpenAPI
164
164
 
165
165
  Args:
166
+ budget (float):
166
167
  campaign_id (str):
167
- created_at (datetime):
168
168
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
169
169
  name (str):
170
170
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
171
171
  status (str): Line Item Status Enum
172
172
  target_retailer_id (str):
173
- updated_at (datetime):
174
173
 
175
174
  Keyword Args:
176
175
  _check_type (bool): if True, values for parameters in openapi_types
@@ -203,14 +202,15 @@ class ExternalPreferredLineItemV2(ModelNormal):
203
202
  Animal class but this time we won't travel
204
203
  through its discriminator because we passed in
205
204
  _visited_composed_classes = (Animal,)
206
- budget (float, none_type): [optional] # noqa: E501
207
205
  budget_remaining (float, none_type): [optional] # noqa: E501
208
206
  budget_spent (float, none_type): [optional] # noqa: E501
209
- capping (ExternalLineItemCappingV2): [optional] # noqa: E501
210
- creative_id (str, none_type): External creative Id. [optional] # noqa: E501
211
- id (str, none_type): Id of the entity. [optional] # noqa: E501
207
+ capping (LineItemCappingV2): [optional] # noqa: E501
208
+ created_at (datetime): [optional] # noqa: E501
209
+ creative_id (str, none_type): creative Id. [optional] # noqa: E501
210
+ id (str, none_type): [optional] # noqa: E501
212
211
  pacing (str, none_type): [optional] # noqa: E501
213
- page (ExternalLineItemPageV2): [optional] # noqa: E501
212
+ page (LineItemPageV2): [optional] # noqa: E501
213
+ updated_at (datetime): [optional] # noqa: E501
214
214
  """
215
215
 
216
216
  _check_type = kwargs.pop('_check_type', True)
@@ -242,14 +242,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
242
242
  self._configuration = _configuration
243
243
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
244
244
 
245
+ self.budget = budget
245
246
  self.campaign_id = campaign_id
246
- self.created_at = created_at
247
247
  self.end_date = end_date
248
248
  self.name = name
249
249
  self.start_date = start_date
250
250
  self.status = status
251
251
  self.target_retailer_id = target_retailer_id
252
- self.updated_at = updated_at
253
252
  for var_name, var_value in kwargs.items():
254
253
  if var_name not in self.attribute_map and \
255
254
  self._configuration is not None and \
@@ -270,18 +269,17 @@ class ExternalPreferredLineItemV2(ModelNormal):
270
269
  ])
271
270
 
272
271
  @convert_js_args_to_python_args
273
- def __init__(self, campaign_id, created_at, end_date, name, start_date, status, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
274
- """ExternalPreferredLineItemV2 - a model defined in OpenAPI
272
+ def __init__(self, budget, campaign_id, end_date, name, start_date, status, target_retailer_id, *args, **kwargs): # noqa: E501
273
+ """PreferredLineItemV2 - a model defined in OpenAPI
275
274
 
276
275
  Args:
276
+ budget (float):
277
277
  campaign_id (str):
278
- created_at (datetime):
279
278
  end_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
280
279
  name (str):
281
280
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
282
281
  status (str): Line Item Status Enum
283
282
  target_retailer_id (str):
284
- updated_at (datetime):
285
283
 
286
284
  Keyword Args:
287
285
  _check_type (bool): if True, values for parameters in openapi_types
@@ -314,14 +312,15 @@ class ExternalPreferredLineItemV2(ModelNormal):
314
312
  Animal class but this time we won't travel
315
313
  through its discriminator because we passed in
316
314
  _visited_composed_classes = (Animal,)
317
- budget (float, none_type): [optional] # noqa: E501
318
315
  budget_remaining (float, none_type): [optional] # noqa: E501
319
316
  budget_spent (float, none_type): [optional] # noqa: E501
320
- capping (ExternalLineItemCappingV2): [optional] # noqa: E501
321
- creative_id (str, none_type): External creative Id. [optional] # noqa: E501
322
- id (str, none_type): Id of the entity. [optional] # noqa: E501
317
+ capping (LineItemCappingV2): [optional] # noqa: E501
318
+ created_at (datetime): [optional] # noqa: E501
319
+ creative_id (str, none_type): creative Id. [optional] # noqa: E501
320
+ id (str, none_type): [optional] # noqa: E501
323
321
  pacing (str, none_type): [optional] # noqa: E501
324
- page (ExternalLineItemPageV2): [optional] # noqa: E501
322
+ page (LineItemPageV2): [optional] # noqa: E501
323
+ updated_at (datetime): [optional] # noqa: E501
325
324
  """
326
325
 
327
326
  _check_type = kwargs.pop('_check_type', True)
@@ -351,14 +350,13 @@ class ExternalPreferredLineItemV2(ModelNormal):
351
350
  self._configuration = _configuration
352
351
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
353
352
 
353
+ self.budget = budget
354
354
  self.campaign_id = campaign_id
355
- self.created_at = created_at
356
355
  self.end_date = end_date
357
356
  self.name = name
358
357
  self.start_date = start_date
359
358
  self.status = status
360
359
  self.target_retailer_id = target_retailer_id
361
- self.updated_at = updated_at
362
360
  for var_name, var_value in kwargs.items():
363
361
  if var_name not in self.attribute_map and \
364
362
  self._configuration is not None 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.external_auction_line_item import ExternalAuctionLineItem
34
- globals()['ExternalAuctionLineItem'] = ExternalAuctionLineItem
33
+ from criteo_api_retailmedia_v2025_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_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2025_07.model.external_auction_line_item_update_model import ExternalAuctionLineItemUpdateModel
34
- globals()['ExternalAuctionLineItemUpdateModel'] = ExternalAuctionLineItemUpdateModel
33
+ from criteo_api_retailmedia_v2025_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
  """
@@ -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.external_common_line_item import ExternalCommonLineItem
34
- globals()['ExternalCommonLineItem'] = ExternalCommonLineItem
33
+ from criteo_api_retailmedia_v2025_07.model.common_line_item import CommonLineItem
34
+ globals()['CommonLineItem'] = CommonLineItem
35
35
 
36
36
 
37
37
  class ResourceOfCommonLineItem(ModelNormal):
@@ -87,7 +87,7 @@ class ResourceOfCommonLineItem(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'attributes': (ExternalCommonLineItem,), # noqa: E501
90
+ 'attributes': (CommonLineItem,), # 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 ResourceOfCommonLineItem(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 (ExternalCommonLineItem): [optional] # noqa: E501
147
+ attributes (CommonLineItem): [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 ResourceOfCommonLineItem(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 (ExternalCommonLineItem): [optional] # noqa: E501
235
+ attributes (CommonLineItem): [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
  """