criteo-api-retailmedia-sdk 0.0.240118__py3-none-any.whl → 0.0.240404__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 (86) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
  3. criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
  4. criteo_api_retailmedia_preview/api/audience_api.py +2 -313
  5. criteo_api_retailmedia_preview/api/campaign_api.py +443 -974
  6. criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
  7. criteo_api_retailmedia_preview/api_client.py +4 -4
  8. criteo_api_retailmedia_preview/apis/__init__.py +1 -0
  9. criteo_api_retailmedia_preview/configuration.py +1 -1
  10. criteo_api_retailmedia_preview/model/{creative202210.py → async_accounts_report.py} +149 -95
  11. criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
  12. criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
  13. criteo_api_retailmedia_preview/model/async_campaigns_report.py +57 -53
  14. criteo_api_retailmedia_preview/model/async_line_items_report.py +57 -54
  15. criteo_api_retailmedia_preview/model/{customer_list_details.py → batch_accepted_response.py} +11 -11
  16. criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → change_details.py} +27 -26
  17. criteo_api_retailmedia_preview/model/{color_variable_value.py → custom_attribute.py} +17 -16
  18. criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
  19. criteo_api_retailmedia_preview/model/external_account.py +4 -0
  20. criteo_api_retailmedia_preview/model/{files_variable_value.py → external_line_item_capping_v2.py} +22 -13
  21. criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
  22. criteo_api_retailmedia_preview/model/{page_type_environment.py → external_line_item_page_v2.py} +40 -29
  23. criteo_api_retailmedia_preview/model/{retail_media_audience_attributes.py → external_preferred_line_item_create_model_v2.py} +79 -25
  24. criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
  25. criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
  26. criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → fail_response.py} +21 -23
  27. criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +273 -0
  28. criteo_api_retailmedia_preview/model/{retail_media_audience.py → insertion_order_history_change_data_capture.py} +48 -42
  29. criteo_api_retailmedia_preview/model/installment.py +273 -0
  30. criteo_api_retailmedia_preview/model/{creative202210_response.py → loyalty_points.py} +15 -25
  31. criteo_api_retailmedia_preview/model/metadata.py +273 -0
  32. criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
  33. criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
  34. criteo_api_retailmedia_preview/model/{common_status_code_response.py → preferred_line_item_update_model_v2_request.py} +9 -15
  35. criteo_api_retailmedia_preview/model/{retail_media_audience_v2_list_response.py → preferred_line_item_v2_paged_list_response.py} +21 -27
  36. criteo_api_retailmedia_preview/model/{creative202210_list_response.py → preferred_line_item_v2_response.py} +16 -16
  37. criteo_api_retailmedia_preview/model/price.py +267 -0
  38. criteo_api_retailmedia_preview/model/product.py +626 -0
  39. criteo_api_retailmedia_preview/model/{retail_media_audience_v2.py → product_importer_error.py} +37 -29
  40. criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
  41. criteo_api_retailmedia_preview/model/product_shipping.py +293 -0
  42. criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
  43. criteo_api_retailmedia_preview/model/product_shipping_weight.py +267 -0
  44. criteo_api_retailmedia_preview/model/product_tax.py +283 -0
  45. criteo_api_retailmedia_preview/model/{choice_variable_value.py → product_unit_pricing_base_measure.py} +13 -15
  46. criteo_api_retailmedia_preview/model/{text_variable_specification.py → product_unit_pricing_measure.py} +11 -7
  47. criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
  48. criteo_api_retailmedia_preview/model/{retail_media_audience_v2_attributes.py → products_custom_batch_request_entry.py} +43 -29
  49. criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → report_detail_error.py} +35 -15
  50. criteo_api_retailmedia_preview/model/report_detail_errors.py +281 -0
  51. criteo_api_retailmedia_preview/model/{template_variable_value.py → report_ok_response.py} +58 -43
  52. criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_preferred_line_item_update_model_v2.py} +9 -9
  53. criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_preferred_line_item_v2.py} +9 -9
  54. criteo_api_retailmedia_preview/model/retail_media_account.py +4 -0
  55. criteo_api_retailmedia_preview/model/retail_media_brand_account_creation.py +4 -0
  56. criteo_api_retailmedia_preview/model/{text_variable_value.py → retail_media_brands.py} +10 -22
  57. criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +4 -0
  58. criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py +3 -3
  59. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +37 -37
  60. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +51 -47
  61. criteo_api_retailmedia_preview/model/sync_line_items_report.py +53 -50
  62. criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
  63. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.py +262 -0
  64. criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → value_resource_input_of_retail_media_brands.py} +15 -22
  65. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +262 -0
  66. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
  67. criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
  68. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
  69. criteo_api_retailmedia_preview/models/__init__.py +48 -42
  70. {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/METADATA +3 -3
  71. {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/RECORD +73 -66
  72. {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/WHEEL +1 -1
  73. criteo_api_retailmedia_preview/model/choice_option.py +0 -281
  74. criteo_api_retailmedia_preview/model/choice_variable_specification.py +0 -283
  75. criteo_api_retailmedia_preview/model/create_user_behavior_segment_v2.py +0 -309
  76. criteo_api_retailmedia_preview/model/creative_create_model202207.py +0 -297
  77. criteo_api_retailmedia_preview/model/creative_update_model202207.py +0 -297
  78. criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
  79. criteo_api_retailmedia_preview/model/get_page_of_audiences_by_account_id_response.py +0 -295
  80. criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +0 -287
  81. criteo_api_retailmedia_preview/model/template_list_response.py +0 -281
  82. criteo_api_retailmedia_preview/model/template_response.py +0 -281
  83. criteo_api_retailmedia_preview/model/template_variable.py +0 -310
  84. criteo_api_retailmedia_preview/model/user_behavior_details.py +0 -306
  85. criteo_api_retailmedia_preview/model/user_behavior_details_v2.py +0 -279
  86. {criteo_api_retailmedia_sdk-0.0.240118.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/top_level.txt +0 -0
@@ -29,14 +29,8 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
29
29
  from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
- def lazy_import():
33
- from criteo_api_retailmedia_preview.model.page_type_environment import PageTypeEnvironment
34
- from criteo_api_retailmedia_preview.model.template_variable_value import TemplateVariableValue
35
- globals()['PageTypeEnvironment'] = PageTypeEnvironment
36
- globals()['TemplateVariableValue'] = TemplateVariableValue
37
32
 
38
-
39
- class Creative202210(ModelNormal):
33
+ class AsyncAccountsReport(ModelNormal):
40
34
  """NOTE: This class is auto generated by OpenAPI Generator.
41
35
  Ref: https://openapi-generator.tech
42
36
 
@@ -61,23 +55,93 @@ class Creative202210(ModelNormal):
61
55
  """
62
56
 
63
57
  allowed_values = {
64
- ('status',): {
65
- 'READY': "Ready",
66
- 'IN_USE': "In_Use",
67
- 'ARCHIVED': "Archived",
68
- 'DELETED': "Deleted",
58
+ ('report_type',): {
59
+ 'None': None,
60
+ 'SUMMARY': "summary",
61
+ 'PAGETYPE': "pageType",
62
+ 'KEYWORD': "keyword",
63
+ 'PRODUCTCATEGORY': "productCategory",
64
+ 'PRODUCT': "product",
65
+ 'ENVIRONMENT': "environment",
66
+ 'SERVEDCATEGORY': "servedCategory",
67
+ },
68
+ ('aggregation_level',): {
69
+ 'None': None,
70
+ 'CAMPAIGN': "campaign",
71
+ 'LINEITEM': "lineItem",
72
+ },
73
+ ('campaign_type',): {
74
+ 'None': None,
75
+ 'SPONSOREDPRODUCTS': "sponsoredProducts",
76
+ 'ONSITEDISPLAYS': "onSiteDisplays",
77
+ },
78
+ ('sales_channel',): {
79
+ 'None': None,
80
+ 'OFFLINE': "offline",
81
+ 'ONLINE': "online",
82
+ },
83
+ ('format',): {
84
+ 'None': None,
85
+ 'JSON': "json",
86
+ 'JSON-COMPACT': "json-compact",
87
+ 'JSON-NEWLINE': "json-newline",
88
+ 'CSV': "csv",
89
+ },
90
+ ('click_attribution_window',): {
91
+ 'None': None,
92
+ '7D': "7D",
93
+ '14D': "14D",
94
+ '30D': "30D",
95
+ 'NONE': "none",
96
+ },
97
+ ('view_attribution_window',): {
98
+ 'None': None,
99
+ '1D': "1D",
100
+ '7D': "7D",
101
+ '14D': "14D",
102
+ '30D': "30D",
103
+ 'NONE': "none",
104
+ },
105
+ ('dimensions',): {
106
+ 'None': None,
107
+ 'DATE': "date",
108
+ 'HOUR': "hour",
109
+ 'ACCOUNTID': "accountId",
110
+ 'ACCOUNTNAME': "accountName",
111
+ 'CAMPAIGNID': "campaignId",
112
+ 'CAMPAIGNNAME': "campaignName",
113
+ 'CAMPAIGNTYPENAME': "campaignTypeName",
114
+ 'ADVPRODUCTCATEGORY': "advProductCategory",
115
+ 'ADVPRODUCTID': "advProductId",
116
+ 'ADVPRODUCTNAME': "advProductName",
117
+ 'BRANDID': "brandId",
118
+ 'BRANDNAME': "brandName",
119
+ 'LINEITEMID': "lineItemId",
120
+ 'LINEITEMNAME': "lineItemName",
121
+ 'RETAILERID': "retailerId",
122
+ 'RETAILERNAME': "retailerName",
123
+ 'KEYWORD': "keyword",
124
+ 'PAGETYPENAME': "pageTypeName",
125
+ 'SALESCHANNEL': "salesChannel",
126
+ 'ENVIRONMENT': "environment",
69
127
  },
70
- ('creative_format_type',): {
71
- 'UNKNOWN': "Unknown",
72
- 'FLAGSHIP': "FlagShip",
73
- 'SHOWCASE': "Showcase",
74
- 'SPONSOREDPRODUCTS': "SponsoredProducts",
75
- 'BUTTERFLY': "Butterfly",
76
- 'BUNDLEBOOST': "BundleBoost",
77
- 'IAB': "IAB",
78
- 'CUSTOM': "CUSTOM",
79
- 'DISPLAYPANEL': "DisplayPanel",
80
- 'DIGITALSHELFTALKER': "DigitalShelfTalker",
128
+ ('metrics',): {
129
+ 'None': None,
130
+ 'IMPRESSIONS': "impressions",
131
+ 'CLICKS': "clicks",
132
+ 'SPEND': "spend",
133
+ 'ATTRIBUTEDSALES': "attributedSales",
134
+ 'ATTRIBUTEDUNITS': "attributedUnits",
135
+ 'ATTRIBUTEDORDERS': "attributedOrders",
136
+ 'ASSISTEDSALES': "assistedSales",
137
+ 'ASSISTEDUNITS': "assistedUnits",
138
+ 'CTR': "ctr",
139
+ 'CPC': "cpc",
140
+ 'CPO': "cpo",
141
+ 'CPM': "cpm",
142
+ 'ROAS': "roas",
143
+ 'UNIQUEVISITORS': "uniqueVisitors",
144
+ 'FREQUENCY': "frequency",
81
145
  },
82
146
  }
83
147
 
@@ -90,7 +154,6 @@ class Creative202210(ModelNormal):
90
154
  This must be a method because a model may have properties that are
91
155
  of type self, this must run after the class is loaded
92
156
  """
93
- lazy_import()
94
157
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
95
158
 
96
159
  _nullable = False
@@ -105,20 +168,20 @@ class Creative202210(ModelNormal):
105
168
  openapi_types (dict): The key is attribute name
106
169
  and the value is attribute type.
107
170
  """
108
- lazy_import()
109
171
  return {
110
- 'name': (str,), # noqa: E501
111
- 'status': (str,), # noqa: E501
112
- 'retailer_id': (int,), # noqa: E501
113
- 'template_id': (int,), # noqa: E501
114
- 'template_name': (str,), # noqa: E501
115
- 'format_id': (int,), # noqa: E501
116
- 'creative_format_type': (str,), # noqa: E501
117
- 'environments': ([PageTypeEnvironment],), # noqa: E501
118
- 'template_variable_values': ([TemplateVariableValue],), # noqa: E501
119
- 'brand_id': (int, none_type,), # noqa: E501
120
- 'associated_line_item_ids': ([str],), # noqa: E501
121
- 'updated_at': (datetime,), # noqa: E501
172
+ 'account_ids': ([str],), # noqa: E501
173
+ 'start_date': (datetime,), # noqa: E501
174
+ 'end_date': (datetime,), # noqa: E501
175
+ 'report_type': (str, none_type,), # noqa: E501
176
+ 'aggregation_level': (str, none_type,), # noqa: E501
177
+ 'campaign_type': (str, none_type,), # noqa: E501
178
+ 'sales_channel': (str, none_type,), # noqa: E501
179
+ 'format': (str, none_type,), # noqa: E501
180
+ 'click_attribution_window': (str, none_type,), # noqa: E501
181
+ 'view_attribution_window': (str, none_type,), # noqa: E501
182
+ 'dimensions': ([str], none_type,), # noqa: E501
183
+ 'metrics': ([str], none_type,), # noqa: E501
184
+ 'timezone': (str, none_type,), # noqa: E501
122
185
  }
123
186
 
124
187
  @cached_property
@@ -127,18 +190,19 @@ class Creative202210(ModelNormal):
127
190
 
128
191
 
129
192
  attribute_map = {
130
- 'name': 'name', # noqa: E501
131
- 'status': 'status', # noqa: E501
132
- 'retailer_id': 'retailerId', # noqa: E501
133
- 'template_id': 'templateId', # noqa: E501
134
- 'template_name': 'templateName', # noqa: E501
135
- 'format_id': 'formatId', # noqa: E501
136
- 'creative_format_type': 'creativeFormatType', # noqa: E501
137
- 'environments': 'environments', # noqa: E501
138
- 'template_variable_values': 'templateVariableValues', # noqa: E501
139
- 'brand_id': 'brandId', # noqa: E501
140
- 'associated_line_item_ids': 'associatedLineItemIds', # noqa: E501
141
- 'updated_at': 'updatedAt', # noqa: E501
193
+ 'account_ids': 'accountIds', # noqa: E501
194
+ 'start_date': 'startDate', # noqa: E501
195
+ 'end_date': 'endDate', # noqa: E501
196
+ 'report_type': 'reportType', # noqa: E501
197
+ 'aggregation_level': 'aggregationLevel', # noqa: E501
198
+ 'campaign_type': 'campaignType', # noqa: E501
199
+ 'sales_channel': 'salesChannel', # noqa: E501
200
+ 'format': 'format', # noqa: E501
201
+ 'click_attribution_window': 'clickAttributionWindow', # noqa: E501
202
+ 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
203
+ 'dimensions': 'dimensions', # noqa: E501
204
+ 'metrics': 'metrics', # noqa: E501
205
+ 'timezone': 'timezone', # noqa: E501
142
206
  }
143
207
 
144
208
  read_only_vars = {
@@ -148,19 +212,13 @@ class Creative202210(ModelNormal):
148
212
 
149
213
  @classmethod
150
214
  @convert_js_args_to_python_args
151
- def _from_openapi_data(cls, name, status, retailer_id, template_id, template_name, format_id, creative_format_type, environments, template_variable_values, *args, **kwargs): # noqa: E501
152
- """Creative202210 - a model defined in OpenAPI
215
+ def _from_openapi_data(cls, account_ids, start_date, end_date, *args, **kwargs): # noqa: E501
216
+ """AsyncAccountsReport - a model defined in OpenAPI
153
217
 
154
218
  Args:
155
- name (str): Name
156
- status (str): Creative Status
157
- retailer_id (int): Retailer Id
158
- template_id (int): Template Id
159
- template_name (str): Template Name
160
- format_id (int): Format Id
161
- creative_format_type (str): Creative format type
162
- environments ([PageTypeEnvironment]): Environment type (e.g. mobile, web, app)
163
- template_variable_values ([TemplateVariableValue]): The template chosen values
219
+ account_ids ([str]): Account Ids to report on
220
+ start_date (datetime): Start date
221
+ end_date (datetime): End date
164
222
 
165
223
  Keyword Args:
166
224
  _check_type (bool): if True, values for parameters in openapi_types
@@ -193,9 +251,16 @@ class Creative202210(ModelNormal):
193
251
  Animal class but this time we won't travel
194
252
  through its discriminator because we passed in
195
253
  _visited_composed_classes = (Animal,)
196
- brand_id (int, none_type): Brand Id. [optional] # noqa: E501
197
- associated_line_item_ids ([str]): Associated Line Item Ids. [optional] # noqa: E501
198
- updated_at (datetime): Updated at time. [optional] # noqa: E501
254
+ report_type (str, none_type): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
255
+ aggregation_level (str, none_type): Level of aggregation, if no dimensions/metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
256
+ campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] # noqa: E501
257
+ sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] # noqa: E501
258
+ format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
259
+ click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
260
+ view_attribution_window (str, none_type): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
261
+ dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501
262
+ metrics ([str], none_type): List of metrics to report on. [optional] # noqa: E501
263
+ timezone (str, none_type): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
199
264
  """
200
265
 
201
266
  _check_type = kwargs.pop('_check_type', True)
@@ -227,15 +292,9 @@ class Creative202210(ModelNormal):
227
292
  self._configuration = _configuration
228
293
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
229
294
 
230
- self.name = name
231
- self.status = status
232
- self.retailer_id = retailer_id
233
- self.template_id = template_id
234
- self.template_name = template_name
235
- self.format_id = format_id
236
- self.creative_format_type = creative_format_type
237
- self.environments = environments
238
- self.template_variable_values = template_variable_values
295
+ self.account_ids = account_ids
296
+ self.start_date = start_date
297
+ self.end_date = end_date
239
298
  for var_name, var_value in kwargs.items():
240
299
  if var_name not in self.attribute_map and \
241
300
  self._configuration is not None and \
@@ -256,19 +315,13 @@ class Creative202210(ModelNormal):
256
315
  ])
257
316
 
258
317
  @convert_js_args_to_python_args
259
- def __init__(self, name, status, retailer_id, template_id, template_name, format_id, creative_format_type, environments, template_variable_values, *args, **kwargs): # noqa: E501
260
- """Creative202210 - a model defined in OpenAPI
318
+ def __init__(self, account_ids, start_date, end_date, *args, **kwargs): # noqa: E501
319
+ """AsyncAccountsReport - a model defined in OpenAPI
261
320
 
262
321
  Args:
263
- name (str): Name
264
- status (str): Creative Status
265
- retailer_id (int): Retailer Id
266
- template_id (int): Template Id
267
- template_name (str): Template Name
268
- format_id (int): Format Id
269
- creative_format_type (str): Creative format type
270
- environments ([PageTypeEnvironment]): Environment type (e.g. mobile, web, app)
271
- template_variable_values ([TemplateVariableValue]): The template chosen values
322
+ account_ids ([str]): Account Ids to report on
323
+ start_date (datetime): Start date
324
+ end_date (datetime): End date
272
325
 
273
326
  Keyword Args:
274
327
  _check_type (bool): if True, values for parameters in openapi_types
@@ -301,9 +354,16 @@ class Creative202210(ModelNormal):
301
354
  Animal class but this time we won't travel
302
355
  through its discriminator because we passed in
303
356
  _visited_composed_classes = (Animal,)
304
- brand_id (int, none_type): Brand Id. [optional] # noqa: E501
305
- associated_line_item_ids ([str]): Associated Line Item Ids. [optional] # noqa: E501
306
- updated_at (datetime): Updated at time. [optional] # noqa: E501
357
+ report_type (str, none_type): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
358
+ aggregation_level (str, none_type): Level of aggregation, if no dimensions/metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
359
+ campaign_type (str, none_type): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] # noqa: E501
360
+ sales_channel (str, none_type): Filter on specific sales channel: offline or online. [optional] # noqa: E501
361
+ format (str, none_type): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
362
+ click_attribution_window (str, none_type): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
363
+ view_attribution_window (str, none_type): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
364
+ dimensions ([str], none_type): List of dimensions to report on. [optional] # noqa: E501
365
+ metrics ([str], none_type): List of metrics to report on. [optional] # noqa: E501
366
+ timezone (str, none_type): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
307
367
  """
308
368
 
309
369
  _check_type = kwargs.pop('_check_type', True)
@@ -333,15 +393,9 @@ class Creative202210(ModelNormal):
333
393
  self._configuration = _configuration
334
394
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
335
395
 
336
- self.name = name
337
- self.status = status
338
- self.retailer_id = retailer_id
339
- self.template_id = template_id
340
- self.template_name = template_name
341
- self.format_id = format_id
342
- self.creative_format_type = creative_format_type
343
- self.environments = environments
344
- self.template_variable_values = template_variable_values
396
+ self.account_ids = account_ids
397
+ self.start_date = start_date
398
+ self.end_date = end_date
345
399
  for var_name, var_value in kwargs.items():
346
400
  if var_name not in self.attribute_map and \
347
401
  self._configuration is not None and \
@@ -29,8 +29,12 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
29
29
  from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
+ def lazy_import():
33
+ from criteo_api_retailmedia_preview.model.async_accounts_report_resource import AsyncAccountsReportResource
34
+ globals()['AsyncAccountsReportResource'] = AsyncAccountsReportResource
32
35
 
33
- class ExternalCatalogRequestPreview(ModelNormal):
36
+
37
+ class AsyncAccountsReportRequest(ModelNormal):
34
38
  """NOTE: This class is auto generated by OpenAPI Generator.
35
39
  Ref: https://openapi-generator.tech
36
40
 
@@ -55,9 +59,6 @@ class ExternalCatalogRequestPreview(ModelNormal):
55
59
  """
56
60
 
57
61
  allowed_values = {
58
- ('format',): {
59
- 'JSON-NEWLINE': "json-newline",
60
- },
61
62
  }
62
63
 
63
64
  validations = {
@@ -69,6 +70,7 @@ class ExternalCatalogRequestPreview(ModelNormal):
69
70
  This must be a method because a model may have properties that are
70
71
  of type self, this must run after the class is loaded
71
72
  """
73
+ lazy_import()
72
74
  return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
73
75
 
74
76
  _nullable = False
@@ -83,8 +85,9 @@ class ExternalCatalogRequestPreview(ModelNormal):
83
85
  openapi_types (dict): The key is attribute name
84
86
  and the value is attribute type.
85
87
  """
88
+ lazy_import()
86
89
  return {
87
- 'format': (str,), # noqa: E501
90
+ 'data': (AsyncAccountsReportResource,), # noqa: E501
88
91
  }
89
92
 
90
93
  @cached_property
@@ -93,7 +96,7 @@ class ExternalCatalogRequestPreview(ModelNormal):
93
96
 
94
97
 
95
98
  attribute_map = {
96
- 'format': 'format', # noqa: E501
99
+ 'data': 'data', # noqa: E501
97
100
  }
98
101
 
99
102
  read_only_vars = {
@@ -104,7 +107,7 @@ class ExternalCatalogRequestPreview(ModelNormal):
104
107
  @classmethod
105
108
  @convert_js_args_to_python_args
106
109
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
107
- """ExternalCatalogRequestPreview - a model defined in OpenAPI
110
+ """AsyncAccountsReportRequest - a model defined in OpenAPI
108
111
 
109
112
  Keyword Args:
110
113
  _check_type (bool): if True, values for parameters in openapi_types
@@ -137,7 +140,7 @@ class ExternalCatalogRequestPreview(ModelNormal):
137
140
  Animal class but this time we won't travel
138
141
  through its discriminator because we passed in
139
142
  _visited_composed_classes = (Animal,)
140
- format (str): [optional] if omitted the server will use the default value of "json-newline" # noqa: E501
143
+ data (AsyncAccountsReportResource): [optional] # noqa: E501
141
144
  """
142
145
 
143
146
  _check_type = kwargs.pop('_check_type', True)
@@ -190,7 +193,7 @@ class ExternalCatalogRequestPreview(ModelNormal):
190
193
 
191
194
  @convert_js_args_to_python_args
192
195
  def __init__(self, *args, **kwargs): # noqa: E501
193
- """ExternalCatalogRequestPreview - a model defined in OpenAPI
196
+ """AsyncAccountsReportRequest - a model defined in OpenAPI
194
197
 
195
198
  Keyword Args:
196
199
  _check_type (bool): if True, values for parameters in openapi_types
@@ -223,7 +226,7 @@ class ExternalCatalogRequestPreview(ModelNormal):
223
226
  Animal class but this time we won't travel
224
227
  through its discriminator because we passed in
225
228
  _visited_composed_classes = (Animal,)
226
- format (str): [optional] if omitted the server will use the default value of "json-newline" # noqa: E501
229
+ data (AsyncAccountsReportResource): [optional] # noqa: E501
227
230
  """
228
231
 
229
232
  _check_type = kwargs.pop('_check_type', True)