criteo-api-retailmedia-sdk 0.0.240207__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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
- criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
- criteo_api_retailmedia_preview/api/campaign_api.py +443 -974
- criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/{creative202210.py → async_accounts_report.py} +149 -95
- criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +57 -53
- criteo_api_retailmedia_preview/model/async_line_items_report.py +57 -54
- criteo_api_retailmedia_preview/model/{text_variable_value.py → batch_accepted_response.py} +11 -11
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → change_details.py} +27 -26
- criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → custom_attribute.py} +17 -11
- criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
- criteo_api_retailmedia_preview/model/{files_variable_value.py → external_line_item_capping_v2.py} +22 -13
- criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
- criteo_api_retailmedia_preview/model/{page_type_environment.py → external_line_item_page_v2.py} +40 -29
- criteo_api_retailmedia_preview/model/{creative_create_model202207.py → external_preferred_line_item_create_model_v2.py} +79 -31
- criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
- criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → fail_response.py} +21 -23
- criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → input_resource_of_preferred_line_item_create_model_v2.py} +12 -18
- criteo_api_retailmedia_preview/model/{choice_variable_specification.py → insertion_order_history_change_data_capture.py} +49 -29
- criteo_api_retailmedia_preview/model/installment.py +273 -0
- criteo_api_retailmedia_preview/model/loyalty_points.py +271 -0
- criteo_api_retailmedia_preview/model/metadata.py +273 -0
- criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
- criteo_api_retailmedia_preview/model/preferred_line_item_update_model_v2_request.py +269 -0
- criteo_api_retailmedia_preview/model/{creative202210_response.py → preferred_line_item_v2_paged_list_response.py} +22 -16
- criteo_api_retailmedia_preview/model/{creative202210_list_response.py → preferred_line_item_v2_response.py} +16 -16
- criteo_api_retailmedia_preview/model/price.py +267 -0
- criteo_api_retailmedia_preview/model/product.py +626 -0
- criteo_api_retailmedia_preview/model/{template_variable.py → product_importer_error.py} +37 -48
- criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
- criteo_api_retailmedia_preview/model/{template_list_response.py → product_shipping.py} +33 -21
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
- criteo_api_retailmedia_preview/model/{color_variable_value.py → product_shipping_weight.py} +13 -20
- criteo_api_retailmedia_preview/model/product_tax.py +283 -0
- criteo_api_retailmedia_preview/model/{choice_variable_value.py → product_unit_pricing_base_measure.py} +13 -15
- criteo_api_retailmedia_preview/model/{text_variable_specification.py → product_unit_pricing_measure.py} +11 -7
- criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
- criteo_api_retailmedia_preview/model/{creative_update_model202207.py → products_custom_batch_request_entry.py} +43 -35
- criteo_api_retailmedia_preview/model/{choice_option.py → report_detail_error.py} +41 -23
- criteo_api_retailmedia_preview/model/report_detail_errors.py +281 -0
- criteo_api_retailmedia_preview/model/{template_variable_value.py → report_ok_response.py} +58 -43
- criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_preferred_line_item_update_model_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_preferred_line_item_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/retail_media_brands.py +257 -0
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +37 -37
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +51 -47
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +53 -50
- criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brands.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
- criteo_api_retailmedia_preview/models/__init__.py +48 -31
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/RECORD +67 -49
- {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240404.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
- criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +0 -287
- criteo_api_retailmedia_preview/model/template_response.py +0 -281
- {criteo_api_retailmedia_sdk-0.0.240207.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
|
-
('
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
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
|
-
('
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'
|
|
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
|
-
'
|
|
111
|
-
'
|
|
112
|
-
'
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
'
|
|
116
|
-
'
|
|
117
|
-
'
|
|
118
|
-
'
|
|
119
|
-
'
|
|
120
|
-
'
|
|
121
|
-
'
|
|
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
|
-
'
|
|
131
|
-
'
|
|
132
|
-
'
|
|
133
|
-
'
|
|
134
|
-
'
|
|
135
|
-
'
|
|
136
|
-
'
|
|
137
|
-
'
|
|
138
|
-
'
|
|
139
|
-
'
|
|
140
|
-
'
|
|
141
|
-
'
|
|
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,
|
|
152
|
-
"""
|
|
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
|
-
|
|
156
|
-
|
|
157
|
-
|
|
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
|
-
|
|
197
|
-
|
|
198
|
-
|
|
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.
|
|
231
|
-
self.
|
|
232
|
-
self.
|
|
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,
|
|
260
|
-
"""
|
|
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
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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
|
-
|
|
305
|
-
|
|
306
|
-
|
|
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.
|
|
337
|
-
self.
|
|
338
|
-
self.
|
|
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
|
-
|
|
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
|
-
'
|
|
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
|
-
'
|
|
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
|
-
"""
|
|
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
|
-
|
|
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
|
-
"""
|
|
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
|
-
|
|
229
|
+
data (AsyncAccountsReportResource): [optional] # noqa: E501
|
|
227
230
|
"""
|
|
228
231
|
|
|
229
232
|
_check_type = kwargs.pop('_check_type', True)
|