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.

Files changed (80) hide show
  1. {criteo_api_retailmedia_sdk-2025.7.0.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2025.7.0.250911.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.250911.dist-info → criteo_api_retailmedia_sdk-2025.7.0.251009.dist-info}/WHEEL +0 -0
  80. {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
@@ -76,7 +76,7 @@ class ApiClient(object):
76
76
  self.default_headers[header_name] = header_value
77
77
  self.cookie = cookie
78
78
  # Set default User-Agent.
79
- self.user_agent = 'OpenAPI-Generator/2025.07.0.250911/python'
79
+ self.user_agent = 'OpenAPI-Generator/2025.07.0.251009/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: 2025-07\n"\
398
- "SDK Package Version: 2025.07.0.250911".\
398
+ "SDK Package Version: 2025.07.0.251009".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -82,8 +82,8 @@ class AddFundsToBalanceV2(ModelNormal):
82
82
  """
83
83
  return {
84
84
  'delta_amount': (float,), # noqa: E501
85
- 'memo': (str, none_type,), # noqa: E501
86
- 'po_number': (str, none_type,), # noqa: E501
85
+ 'memo': (str,), # noqa: E501
86
+ 'po_number': (str,), # noqa: E501
87
87
  }
88
88
 
89
89
  @cached_property
@@ -141,8 +141,8 @@ class AddFundsToBalanceV2(ModelNormal):
141
141
  Animal class but this time we won't travel
142
142
  through its discriminator because we passed in
143
143
  _visited_composed_classes = (Animal,)
144
- memo (str, none_type): Memo. [optional] # noqa: E501
145
- po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
144
+ memo (str): Memo. [optional] # noqa: E501
145
+ po_number (str): Purchase Order number.. [optional] # noqa: E501
146
146
  """
147
147
 
148
148
  _check_type = kwargs.pop('_check_type', True)
@@ -232,8 +232,8 @@ class AddFundsToBalanceV2(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
- memo (str, none_type): Memo. [optional] # noqa: E501
236
- po_number (str, none_type): Purchase Order number.. [optional] # noqa: E501
235
+ memo (str): Memo. [optional] # noqa: E501
236
+ po_number (str): Purchase Order number.. [optional] # noqa: E501
237
237
  """
238
238
 
239
239
  _check_type = kwargs.pop('_check_type', True)
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAddToBasketIdsUpdateModel202110(ModelNormal):
33
+ class AddToBasketIdsUpdateModel202110(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 ExternalAddToBasketIdsUpdateModel202110(ModelNormal):
103
103
  @classmethod
104
104
  @convert_js_args_to_python_args
105
105
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
106
- """ExternalAddToBasketIdsUpdateModel202110 - a model defined in OpenAPI
106
+ """AddToBasketIdsUpdateModel202110 - a model defined in OpenAPI
107
107
 
108
108
  Keyword Args:
109
109
  _check_type (bool): if True, values for parameters in openapi_types
@@ -190,7 +190,7 @@ class ExternalAddToBasketIdsUpdateModel202110(ModelNormal):
190
190
 
191
191
  @convert_js_args_to_python_args
192
192
  def __init__(self, *args, **kwargs): # noqa: E501
193
- """ExternalAddToBasketIdsUpdateModel202110 - a model defined in OpenAPI
193
+ """AddToBasketIdsUpdateModel202110 - a model defined in OpenAPI
194
194
 
195
195
  Keyword Args:
196
196
  _check_type (bool): if True, values for parameters in openapi_types
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAddToBasketTarget202110(ModelNormal):
33
+ class AddToBasketTarget202110(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -110,7 +110,7 @@ class ExternalAddToBasketTarget202110(ModelNormal):
110
110
  @classmethod
111
111
  @convert_js_args_to_python_args
112
112
  def _from_openapi_data(cls, scope, *args, **kwargs): # noqa: E501
113
- """ExternalAddToBasketTarget202110 - a model defined in OpenAPI
113
+ """AddToBasketTarget202110 - a model defined in OpenAPI
114
114
 
115
115
  Args:
116
116
  scope (str): Scope of the add to basket target
@@ -201,7 +201,7 @@ class ExternalAddToBasketTarget202110(ModelNormal):
201
201
 
202
202
  @convert_js_args_to_python_args
203
203
  def __init__(self, scope, *args, **kwargs): # noqa: E501
204
- """ExternalAddToBasketTarget202110 - a model defined in OpenAPI
204
+ """AddToBasketTarget202110 - a model defined in OpenAPI
205
205
 
206
206
  Args:
207
207
  scope (str): Scope of the add to basket target
@@ -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.problem_details import ProblemDetails
33
+ from criteo_api_retailmedia_v2025_07.model.common_problem import CommonProblem
34
34
  from criteo_api_retailmedia_v2025_07.model.value_type_resource_of_add_to_basket_target202110 import ValueTypeResourceOfAddToBasketTarget202110
35
- globals()['ProblemDetails'] = ProblemDetails
35
+ globals()['CommonProblem'] = CommonProblem
36
36
  globals()['ValueTypeResourceOfAddToBasketTarget202110'] = ValueTypeResourceOfAddToBasketTarget202110
37
37
 
38
38
 
@@ -90,8 +90,8 @@ class AddToBasketTarget202110Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ValueTypeResourceOfAddToBasketTarget202110,), # 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 AddToBasketTarget202110Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ValueTypeResourceOfAddToBasketTarget202110): [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 AddToBasketTarget202110Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ValueTypeResourceOfAddToBasketTarget202110): [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)
@@ -84,6 +84,7 @@ class AsyncCampaignsReport(ModelNormal):
84
84
  'ADVPRODUCTID': "advProductId",
85
85
  'ADVPRODUCTNAME': "advProductName",
86
86
  'SALESCHANNEL': "salesChannel",
87
+ 'MEDIATYPE': "mediaType",
87
88
  'ENVIRONMENT': "environment",
88
89
  'PAGETYPENAME': "pageTypeName",
89
90
  'PAGECATEGORY': "pageCategory",
@@ -107,6 +108,12 @@ class AsyncCampaignsReport(ModelNormal):
107
108
  'JSON-NEWLINE': "json-newline",
108
109
  'CSV': "csv",
109
110
  },
111
+ ('media_type',): {
112
+ 'UNKNOWN': "unknown",
113
+ 'VIDEO': "video",
114
+ 'DISPLAY': "display",
115
+ 'ALL': "all",
116
+ },
110
117
  ('metrics',): {
111
118
  'IMPRESSIONS': "impressions",
112
119
  'CLICKS': "clicks",
@@ -145,6 +152,9 @@ class AsyncCampaignsReport(ModelNormal):
145
152
  'NEWTOBRANDATTRIBUTEDUNITSRATE': "newToBrandAttributedUnitsRate",
146
153
  'UNIQUEVISITORS': "uniqueVisitors",
147
154
  'FREQUENCY': "frequency",
155
+ 'WINRATE': "winRate",
156
+ 'SAMPLEDBIDSWON': "sampledBidsWon",
157
+ 'SAMPLEDBIDSPARTICIPATED': "sampledBidsParticipated",
148
158
  },
149
159
  ('report_type',): {
150
160
  'SUMMARY': "summary",
@@ -219,6 +229,7 @@ class AsyncCampaignsReport(ModelNormal):
219
229
  'format': (str,), # noqa: E501
220
230
  'id': (str,), # noqa: E501
221
231
  'ids': ([str],), # noqa: E501
232
+ 'media_type': (str,), # noqa: E501
222
233
  'metrics': ([str],), # noqa: E501
223
234
  'report_type': (str,), # noqa: E501
224
235
  'sales_channel': (str,), # noqa: E501
@@ -243,6 +254,7 @@ class AsyncCampaignsReport(ModelNormal):
243
254
  'format': 'format', # noqa: E501
244
255
  'id': 'id', # noqa: E501
245
256
  'ids': 'ids', # noqa: E501
257
+ 'media_type': 'mediaType', # noqa: E501
246
258
  'metrics': 'metrics', # noqa: E501
247
259
  'report_type': 'reportType', # noqa: E501
248
260
  'sales_channel': 'salesChannel', # noqa: E501
@@ -304,6 +316,7 @@ class AsyncCampaignsReport(ModelNormal):
304
316
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
305
317
  id (str): Campaign id to report on. [optional] # noqa: E501
306
318
  ids ([str]): Campaign ids to report on. [optional] # noqa: E501
319
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
307
320
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
308
321
  report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
309
322
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
@@ -409,6 +422,7 @@ class AsyncCampaignsReport(ModelNormal):
409
422
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
410
423
  id (str): Campaign id to report on. [optional] # noqa: E501
411
424
  ids ([str]): Campaign ids to report on. [optional] # noqa: E501
425
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
412
426
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
413
427
  report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
414
428
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
@@ -84,6 +84,7 @@ class AsyncLineItemsReport(ModelNormal):
84
84
  'ADVPRODUCTID': "advProductId",
85
85
  'ADVPRODUCTNAME': "advProductName",
86
86
  'SALESCHANNEL': "salesChannel",
87
+ 'MEDIATYPE': "mediaType",
87
88
  'ENVIRONMENT': "environment",
88
89
  'PAGETYPENAME': "pageTypeName",
89
90
  'PAGECATEGORY': "pageCategory",
@@ -107,6 +108,12 @@ class AsyncLineItemsReport(ModelNormal):
107
108
  'JSON-NEWLINE': "json-newline",
108
109
  'CSV': "csv",
109
110
  },
111
+ ('media_type',): {
112
+ 'UNKNOWN': "unknown",
113
+ 'VIDEO': "video",
114
+ 'DISPLAY': "display",
115
+ 'ALL': "all",
116
+ },
110
117
  ('metrics',): {
111
118
  'IMPRESSIONS': "impressions",
112
119
  'CLICKS': "clicks",
@@ -145,6 +152,9 @@ class AsyncLineItemsReport(ModelNormal):
145
152
  'NEWTOBRANDATTRIBUTEDUNITSRATE': "newToBrandAttributedUnitsRate",
146
153
  'UNIQUEVISITORS': "uniqueVisitors",
147
154
  'FREQUENCY': "frequency",
155
+ 'WINRATE': "winRate",
156
+ 'SAMPLEDBIDSWON': "sampledBidsWon",
157
+ 'SAMPLEDBIDSPARTICIPATED': "sampledBidsParticipated",
148
158
  },
149
159
  ('report_type',): {
150
160
  'SUMMARY': "summary",
@@ -219,6 +229,7 @@ class AsyncLineItemsReport(ModelNormal):
219
229
  'format': (str,), # noqa: E501
220
230
  'id': (str,), # noqa: E501
221
231
  'ids': ([str],), # noqa: E501
232
+ 'media_type': (str,), # noqa: E501
222
233
  'metrics': ([str],), # noqa: E501
223
234
  'report_type': (str,), # noqa: E501
224
235
  'sales_channel': (str,), # noqa: E501
@@ -243,6 +254,7 @@ class AsyncLineItemsReport(ModelNormal):
243
254
  'format': 'format', # noqa: E501
244
255
  'id': 'id', # noqa: E501
245
256
  'ids': 'ids', # noqa: E501
257
+ 'media_type': 'mediaType', # noqa: E501
246
258
  'metrics': 'metrics', # noqa: E501
247
259
  'report_type': 'reportType', # noqa: E501
248
260
  'sales_channel': 'salesChannel', # noqa: E501
@@ -304,6 +316,7 @@ class AsyncLineItemsReport(ModelNormal):
304
316
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
305
317
  id (str): Line Item id to report on. [optional] # noqa: E501
306
318
  ids ([str]): Line Item ids to report on. [optional] # noqa: E501
319
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
307
320
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
308
321
  report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
309
322
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
@@ -409,6 +422,7 @@ class AsyncLineItemsReport(ModelNormal):
409
422
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
410
423
  id (str): Line Item id to report on. [optional] # noqa: E501
411
424
  ids ([str]): Line Item ids to report on. [optional] # noqa: E501
425
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
412
426
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
413
427
  report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
414
428
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
@@ -117,6 +117,7 @@ class AsyncRevenueReport(ModelNormal):
117
117
  'SOLDBY': "soldBy",
118
118
  'SALECHANNEL': "saleChannel",
119
119
  'SALESCHANNEL': "salesChannel",
120
+ 'MEDIATYPE': "mediaType",
120
121
  'ATTRIBUTIONSETTINGS': "attributionSettings",
121
122
  'ACTIVITYTYPE': "activityType",
122
123
  'KEYWORD': "keyword",
@@ -146,6 +147,12 @@ class AsyncRevenueReport(ModelNormal):
146
147
  'JSON-NEWLINE': "json-newline",
147
148
  'CSV': "csv",
148
149
  },
150
+ ('media_type',): {
151
+ 'UNKNOWN': "unknown",
152
+ 'VIDEO': "video",
153
+ 'DISPLAY': "display",
154
+ 'ALL': "all",
155
+ },
149
156
  ('metrics',): {
150
157
  'NUMBEROFCAMPAIGNS': "numberOfCampaigns",
151
158
  'NUMBEROFLINEITEMS': "numberOfLineItems",
@@ -279,6 +286,7 @@ class AsyncRevenueReport(ModelNormal):
279
286
  'id': (str,), # noqa: E501
280
287
  'ids': ([str],), # noqa: E501
281
288
  'line_item_ids': ([str],), # noqa: E501
289
+ 'media_type': (str,), # noqa: E501
282
290
  'metrics': ([str],), # noqa: E501
283
291
  'report_type': (str,), # noqa: E501
284
292
  'retailer_ids': ([str],), # noqa: E501
@@ -312,6 +320,7 @@ class AsyncRevenueReport(ModelNormal):
312
320
  'id': 'id', # noqa: E501
313
321
  'ids': 'ids', # noqa: E501
314
322
  'line_item_ids': 'lineItemIds', # noqa: E501
323
+ 'media_type': 'mediaType', # noqa: E501
315
324
  'metrics': 'metrics', # noqa: E501
316
325
  'report_type': 'reportType', # noqa: E501
317
326
  'retailer_ids': 'retailerIds', # noqa: E501
@@ -382,6 +391,7 @@ class AsyncRevenueReport(ModelNormal):
382
391
  id (str): Supply account id to report on. [optional] # noqa: E501
383
392
  ids ([str]): Supply account ids to report on. [optional] # noqa: E501
384
393
  line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
394
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
385
395
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
386
396
  report_type (str): Type of report, if no dimensions and metrics are provided, falls back to advertiser reportType. [optional] # noqa: E501
387
397
  retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
@@ -496,6 +506,7 @@ class AsyncRevenueReport(ModelNormal):
496
506
  id (str): Supply account id to report on. [optional] # noqa: E501
497
507
  ids ([str]): Supply account ids to report on. [optional] # noqa: E501
498
508
  line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
509
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
499
510
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
500
511
  report_type (str): Type of report, if no dimensions and metrics are provided, falls back to advertiser reportType. [optional] # noqa: E501
501
512
  retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAuctionLineItem(ModelNormal):
33
+ class AuctionLineItem(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -102,16 +102,15 @@ class ExternalAuctionLineItem(ModelNormal):
102
102
  and the value is attribute type.
103
103
  """
104
104
  return {
105
- 'budget_remaining': (float, none_type,), # noqa: E501
106
105
  'campaign_id': (str,), # noqa: E501
107
- 'created_at': (datetime,), # noqa: E501
108
106
  'name': (str,), # noqa: E501
109
107
  'start_date': (date,), # noqa: E501
110
108
  'target_retailer_id': (str,), # noqa: E501
111
- 'updated_at': (datetime,), # noqa: E501
112
109
  'bid_strategy': (str,), # noqa: E501
113
110
  'budget': (float, none_type,), # noqa: E501
111
+ 'budget_remaining': (float, none_type,), # noqa: E501
114
112
  'budget_spent': (float,), # noqa: E501
113
+ 'created_at': (datetime,), # noqa: E501
115
114
  'daily_pacing': (float, none_type,), # noqa: E501
116
115
  'end_date': (date, none_type,), # noqa: E501
117
116
  'id': (str, none_type,), # noqa: E501
@@ -120,6 +119,7 @@ class ExternalAuctionLineItem(ModelNormal):
120
119
  'monthly_pacing': (float, none_type,), # noqa: E501
121
120
  'status': (str,), # noqa: E501
122
121
  'target_bid': (float, none_type,), # noqa: E501
122
+ 'updated_at': (datetime,), # noqa: E501
123
123
  }
124
124
 
125
125
  @cached_property
@@ -128,16 +128,15 @@ class ExternalAuctionLineItem(ModelNormal):
128
128
 
129
129
 
130
130
  attribute_map = {
131
- 'budget_remaining': 'budgetRemaining', # noqa: E501
132
131
  'campaign_id': 'campaignId', # noqa: E501
133
- 'created_at': 'createdAt', # noqa: E501
134
132
  'name': 'name', # noqa: E501
135
133
  'start_date': 'startDate', # noqa: E501
136
134
  'target_retailer_id': 'targetRetailerId', # noqa: E501
137
- 'updated_at': 'updatedAt', # noqa: E501
138
135
  'bid_strategy': 'bidStrategy', # noqa: E501
139
136
  'budget': 'budget', # noqa: E501
137
+ 'budget_remaining': 'budgetRemaining', # noqa: E501
140
138
  'budget_spent': 'budgetSpent', # noqa: E501
139
+ 'created_at': 'createdAt', # noqa: E501
141
140
  'daily_pacing': 'dailyPacing', # noqa: E501
142
141
  'end_date': 'endDate', # noqa: E501
143
142
  'id': 'id', # noqa: E501
@@ -146,6 +145,7 @@ class ExternalAuctionLineItem(ModelNormal):
146
145
  'monthly_pacing': 'monthlyPacing', # noqa: E501
147
146
  'status': 'status', # noqa: E501
148
147
  'target_bid': 'targetBid', # noqa: E501
148
+ 'updated_at': 'updatedAt', # noqa: E501
149
149
  }
150
150
 
151
151
  read_only_vars = {
@@ -155,17 +155,14 @@ class ExternalAuctionLineItem(ModelNormal):
155
155
 
156
156
  @classmethod
157
157
  @convert_js_args_to_python_args
158
- def _from_openapi_data(cls, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
159
- """ExternalAuctionLineItem - a model defined in OpenAPI
158
+ def _from_openapi_data(cls, campaign_id, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
159
+ """AuctionLineItem - a model defined in OpenAPI
160
160
 
161
161
  Args:
162
- budget_remaining (float, none_type):
163
162
  campaign_id (str):
164
- created_at (datetime):
165
163
  name (str):
166
164
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
167
165
  target_retailer_id (str):
168
- updated_at (datetime):
169
166
 
170
167
  Keyword Args:
171
168
  _check_type (bool): if True, values for parameters in openapi_types
@@ -200,15 +197,18 @@ class ExternalAuctionLineItem(ModelNormal):
200
197
  _visited_composed_classes = (Animal,)
201
198
  bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
202
199
  budget (float, none_type): [optional] # noqa: E501
200
+ budget_remaining (float, none_type): [optional] # noqa: E501
203
201
  budget_spent (float): [optional] # noqa: E501
202
+ created_at (datetime): [optional] # noqa: E501
204
203
  daily_pacing (float, none_type): [optional] # noqa: E501
205
204
  end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
206
- id (str, none_type): Id of the entity. [optional] # noqa: E501
205
+ id (str, none_type): [optional] # noqa: E501
207
206
  is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
208
207
  max_bid (float, none_type): [optional] # noqa: E501
209
208
  monthly_pacing (float, none_type): [optional] # noqa: E501
210
209
  status (str): [optional] # noqa: E501
211
210
  target_bid (float, none_type): [optional] # noqa: E501
211
+ updated_at (datetime): [optional] # noqa: E501
212
212
  """
213
213
 
214
214
  _check_type = kwargs.pop('_check_type', True)
@@ -240,13 +240,10 @@ class ExternalAuctionLineItem(ModelNormal):
240
240
  self._configuration = _configuration
241
241
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
242
242
 
243
- self.budget_remaining = budget_remaining
244
243
  self.campaign_id = campaign_id
245
- self.created_at = created_at
246
244
  self.name = name
247
245
  self.start_date = start_date
248
246
  self.target_retailer_id = target_retailer_id
249
- self.updated_at = updated_at
250
247
  for var_name, var_value in kwargs.items():
251
248
  if var_name not in self.attribute_map and \
252
249
  self._configuration is not None and \
@@ -267,17 +264,14 @@ class ExternalAuctionLineItem(ModelNormal):
267
264
  ])
268
265
 
269
266
  @convert_js_args_to_python_args
270
- def __init__(self, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
271
- """ExternalAuctionLineItem - a model defined in OpenAPI
267
+ def __init__(self, campaign_id, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
268
+ """AuctionLineItem - a model defined in OpenAPI
272
269
 
273
270
  Args:
274
- budget_remaining (float, none_type):
275
271
  campaign_id (str):
276
- created_at (datetime):
277
272
  name (str):
278
273
  start_date (date): Represents the Date as a year, month, and day in the format YYYY-MM-DD
279
274
  target_retailer_id (str):
280
- updated_at (datetime):
281
275
 
282
276
  Keyword Args:
283
277
  _check_type (bool): if True, values for parameters in openapi_types
@@ -312,15 +306,18 @@ class ExternalAuctionLineItem(ModelNormal):
312
306
  _visited_composed_classes = (Animal,)
313
307
  bid_strategy (str): [optional] if omitted the server will use the default value of "conversion" # noqa: E501
314
308
  budget (float, none_type): [optional] # noqa: E501
309
+ budget_remaining (float, none_type): [optional] # noqa: E501
315
310
  budget_spent (float): [optional] # noqa: E501
311
+ created_at (datetime): [optional] # noqa: E501
316
312
  daily_pacing (float, none_type): [optional] # noqa: E501
317
313
  end_date (date, none_type): Represents the Date as a year, month, and day in the format YYYY-MM-DD. [optional] # noqa: E501
318
- id (str, none_type): Id of the entity. [optional] # noqa: E501
314
+ id (str, none_type): [optional] # noqa: E501
319
315
  is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
320
316
  max_bid (float, none_type): [optional] # noqa: E501
321
317
  monthly_pacing (float, none_type): [optional] # noqa: E501
322
318
  status (str): [optional] # noqa: E501
323
319
  target_bid (float, none_type): [optional] # noqa: E501
320
+ updated_at (datetime): [optional] # noqa: E501
324
321
  """
325
322
 
326
323
  _check_type = kwargs.pop('_check_type', True)
@@ -350,13 +347,10 @@ class ExternalAuctionLineItem(ModelNormal):
350
347
  self._configuration = _configuration
351
348
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
352
349
 
353
- self.budget_remaining = budget_remaining
354
350
  self.campaign_id = campaign_id
355
- self.created_at = created_at
356
351
  self.name = name
357
352
  self.start_date = start_date
358
353
  self.target_retailer_id = target_retailer_id
359
- self.updated_at = updated_at
360
354
  for var_name, var_value in kwargs.items():
361
355
  if var_name not in self.attribute_map and \
362
356
  self._configuration is not None and \
@@ -30,7 +30,7 @@ from criteo_api_retailmedia_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class ExternalAuctionLineItemCreateModel(ModelNormal):
33
+ class AuctionLineItemCreateModel(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -144,7 +144,7 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
144
144
  @classmethod
145
145
  @convert_js_args_to_python_args
146
146
  def _from_openapi_data(cls, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
147
- """ExternalAuctionLineItemCreateModel - a model defined in OpenAPI
147
+ """AuctionLineItemCreateModel - a model defined in OpenAPI
148
148
 
149
149
  Args:
150
150
  name (str):
@@ -246,7 +246,7 @@ class ExternalAuctionLineItemCreateModel(ModelNormal):
246
246
 
247
247
  @convert_js_args_to_python_args
248
248
  def __init__(self, name, start_date, target_retailer_id, *args, **kwargs): # noqa: E501
249
- """ExternalAuctionLineItemCreateModel - a model defined in OpenAPI
249
+ """AuctionLineItemCreateModel - a model defined in OpenAPI
250
250
 
251
251
  Args:
252
252
  name (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.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_auction_line_item import ResourceOfAuctionLineItem
36
+ globals()['CommonProblem'] = CommonProblem
36
37
  globals()['PageMetadata'] = PageMetadata
37
- globals()['ProblemDetails'] = ProblemDetails
38
38
  globals()['ResourceOfAuctionLineItem'] = ResourceOfAuctionLineItem
39
39
 
40
40
 
@@ -92,9 +92,9 @@ class AuctionLineItemPagedListResponse(ModelNormal):
92
92
  lazy_import()
93
93
  return {
94
94
  'data': ([ResourceOfAuctionLineItem],), # 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 AuctionLineItemPagedListResponse(ModelNormal):
153
153
  through its discriminator because we passed in
154
154
  _visited_composed_classes = (Animal,)
155
155
  data ([ResourceOfAuctionLineItem]): [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 AuctionLineItemPagedListResponse(ModelNormal):
242
242
  through its discriminator because we passed in
243
243
  _visited_composed_classes = (Animal,)
244
244
  data ([ResourceOfAuctionLineItem]): [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_v2025_07.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
33
- from criteo_api_retailmedia_v2025_07.model.problem_details import ProblemDetails
33
+ from criteo_api_retailmedia_v2025_07.model.common_problem import CommonProblem
34
34
  from criteo_api_retailmedia_v2025_07.model.resource_of_auction_line_item import ResourceOfAuctionLineItem
35
- globals()['ProblemDetails'] = ProblemDetails
35
+ globals()['CommonProblem'] = CommonProblem
36
36
  globals()['ResourceOfAuctionLineItem'] = ResourceOfAuctionLineItem
37
37
 
38
38
 
@@ -90,8 +90,8 @@ class AuctionLineItemResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (ResourceOfAuctionLineItem,), # 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 AuctionLineItemResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (ResourceOfAuctionLineItem): [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 AuctionLineItemResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (ResourceOfAuctionLineItem): [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)