criteo-api-retailmedia-sdk 2025.4.0.250728__py3-none-any.whl → 2025.4.0.250811__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.
- {criteo_api_retailmedia_sdk-2025.4.0.250728.dist-info → criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.4.0.250728.dist-info → criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info}/RECORD +12 -12
- criteo_api_retailmedia_v2025_04/__init__.py +1 -1
- criteo_api_retailmedia_v2025_04/api/campaign_api.py +7 -7
- criteo_api_retailmedia_v2025_04/api_client.py +1 -1
- criteo_api_retailmedia_v2025_04/configuration.py +1 -1
- criteo_api_retailmedia_v2025_04/model/asset.py +0 -4
- criteo_api_retailmedia_v2025_04/model/asset_response.py +0 -4
- criteo_api_retailmedia_v2025_04/model/async_revenue_report.py +11 -0
- criteo_api_retailmedia_v2025_04/model/rm_events_create_v1.py +18 -10
- {criteo_api_retailmedia_sdk-2025.4.0.250728.dist-info → criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-2025.4.0.250728.dist-info → criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: criteo-api-retailmedia-sdk
|
|
3
|
-
Version: 2025.4.0.
|
|
3
|
+
Version: 2025.4.0.250811
|
|
4
4
|
Summary: Criteo API SDK
|
|
5
5
|
Home-page: https://github.com/criteo/criteo-api-python-sdk
|
|
6
6
|
Author: Criteo
|
|
@@ -35,9 +35,9 @@ IMPORTANT: This Python package links to Criteo production environment. Any test
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
pip install criteo-api-retailmedia-sdk==2025.04.0.
|
|
38
|
+
pip install criteo-api-retailmedia-sdk==2025.04.0.250811
|
|
39
39
|
```
|
|
40
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.04.0.
|
|
40
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.04.0.250811`)
|
|
41
41
|
|
|
42
42
|
Then import the package:
|
|
43
43
|
```python
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
criteo_api_retailmedia_v2025_04/__init__.py,sha256=
|
|
2
|
-
criteo_api_retailmedia_v2025_04/api_client.py,sha256=
|
|
1
|
+
criteo_api_retailmedia_v2025_04/__init__.py,sha256=gXcDnnkXtol0QYMhVMl_JzbrJHFwkmh8ZvIWYzxZp_Q,1040
|
|
2
|
+
criteo_api_retailmedia_v2025_04/api_client.py,sha256=KF4jiS5DIlW_0w5dYp4XWs-fWu1VIAxTplEd4iJNeAM,39191
|
|
3
3
|
criteo_api_retailmedia_v2025_04/api_client_builder.py,sha256=RliQFxWPQt93aRkPLmPFpss7TdUKM4VL4hRzM3NTZCg,1507
|
|
4
|
-
criteo_api_retailmedia_v2025_04/configuration.py,sha256=
|
|
4
|
+
criteo_api_retailmedia_v2025_04/configuration.py,sha256=7kr190E3Vll_DBLB-2cO-5AlhpF9a24-TD5OsGdPtpE,16722
|
|
5
5
|
criteo_api_retailmedia_v2025_04/criteo_api_client.py,sha256=xqQE1FWWOTEaJmSaivglUcv_kFgi9rsvNqxql0TthX4,654
|
|
6
6
|
criteo_api_retailmedia_v2025_04/criteo_auth.py,sha256=mhzpg7J7ESRQm8oiwJZpuyu19hP98bMM93nPqjXjBJY,4696
|
|
7
7
|
criteo_api_retailmedia_v2025_04/criteo_rest.py,sha256=iBFTU3SHeX5Gk65edUpip99zdZ6sFLrg4xd8SI8po7A,3413
|
|
@@ -14,7 +14,7 @@ criteo_api_retailmedia_v2025_04/api/accounts_api.py,sha256=pUEBqdTdGChytdAtpU-j5
|
|
|
14
14
|
criteo_api_retailmedia_v2025_04/api/analytics_api.py,sha256=KyE0OTIZNUtGvTakoEe7TgDLEe8Zvlrq3RRMtWHlH1k,28515
|
|
15
15
|
criteo_api_retailmedia_v2025_04/api/audience_api.py,sha256=hLO7M26gl2V0ieWuAWbdvitZFKCwHQqTcLcSG1pjKsc,52395
|
|
16
16
|
criteo_api_retailmedia_v2025_04/api/balance_api.py,sha256=kqyoLa5CNPsuHJadbD2NW736R9sly-Agr3kz1-Ch_Pg,52564
|
|
17
|
-
criteo_api_retailmedia_v2025_04/api/campaign_api.py,sha256=
|
|
17
|
+
criteo_api_retailmedia_v2025_04/api/campaign_api.py,sha256=VwkjDV86i357cjAtIs4fPtwtfOilXdqp-P9ki0Ki6VY,362846
|
|
18
18
|
criteo_api_retailmedia_v2025_04/api/gateway_api.py,sha256=ZsTLUrB1BDBHsQMrGWKytFxzxE149uGSCxyxtSby5ww,5696
|
|
19
19
|
criteo_api_retailmedia_v2025_04/apis/__init__.py,sha256=NGrvwBBXOuP5oYAc6Ta7EZlevETc6umBIJvvWlbC5rI,882
|
|
20
20
|
criteo_api_retailmedia_v2025_04/model/__init__.py,sha256=ZUqHURhFAjaoUNbrmADL8hMW-7NruVeuaU5JRXcF0pk,365
|
|
@@ -30,9 +30,9 @@ criteo_api_retailmedia_v2025_04/model/add_to_basket_target202110_response.py,sha
|
|
|
30
30
|
criteo_api_retailmedia_v2025_04/model/application_summary_model.py,sha256=zL6ut-fPXVboO2lpJiK8og1wZE2d0TtzRGWd5wWsYv0,12477
|
|
31
31
|
criteo_api_retailmedia_v2025_04/model/application_summary_model_resource.py,sha256=sWuyDqtYeXMfVo9dhjaXoVZ76dw1NaT-8_63DrZh6cI,11973
|
|
32
32
|
criteo_api_retailmedia_v2025_04/model/application_summary_model_response.py,sha256=LQ_lb2Uxkt8KYe7DzUaN6ZtCVRRkufqZM2T2FqXDn_k,12510
|
|
33
|
-
criteo_api_retailmedia_v2025_04/model/asset.py,sha256=
|
|
33
|
+
criteo_api_retailmedia_v2025_04/model/asset.py,sha256=0t2ix8i5NfIgP44PdNiU3qGrQVOmGCtvWVJBkCudsmA,12051
|
|
34
34
|
criteo_api_retailmedia_v2025_04/model/asset_resource.py,sha256=cFvZF4T1AWkxvXRWPDzA-3vSQvT_m2CbnYYTeu5fMho,11992
|
|
35
|
-
criteo_api_retailmedia_v2025_04/model/asset_response.py,sha256=
|
|
35
|
+
criteo_api_retailmedia_v2025_04/model/asset_response.py,sha256=LhA_I-ZLLI7eCnVd9Dg81_4xxBKM6jueyDtstbe2TKE,12328
|
|
36
36
|
criteo_api_retailmedia_v2025_04/model/async_campaigns_report.py,sha256=IemGkf8Rz3H5w-yNyeBRebc9-EnFyAu5a3G2HbXm7KI,22195
|
|
37
37
|
criteo_api_retailmedia_v2025_04/model/async_campaigns_report_request.py,sha256=-csjfoqEbblzYW1YKetQUtJpYy30L6aiK-9F9_6G7R8,11757
|
|
38
38
|
criteo_api_retailmedia_v2025_04/model/async_campaigns_report_resource.py,sha256=C9lVzQoitAw2Pm1Qv9dRAsQGQDoZy9EEpn8h_fg-6Kg,11911
|
|
@@ -40,7 +40,7 @@ criteo_api_retailmedia_v2025_04/model/async_line_items_report.py,sha256=Q0xeHdFx
|
|
|
40
40
|
criteo_api_retailmedia_v2025_04/model/async_line_items_report_request.py,sha256=jN3k_aSPfTje7aW3h3VFsdW8X-Sx0EyQWZFF4kCJSUM,11758
|
|
41
41
|
criteo_api_retailmedia_v2025_04/model/async_line_items_report_resource.py,sha256=J5J6GHesjBus8PYfBN7uZTVBY2H2u5ZTPFTBxjQHKv8,11912
|
|
42
42
|
criteo_api_retailmedia_v2025_04/model/async_report_response.py,sha256=fxUjg5RONDvhXBiyy6mKhss8563lVnet9ml5RpOf-zY,12410
|
|
43
|
-
criteo_api_retailmedia_v2025_04/model/async_revenue_report.py,sha256=
|
|
43
|
+
criteo_api_retailmedia_v2025_04/model/async_revenue_report.py,sha256=kFizWPHXdw5iqYJgdqW6N3hjq-DqP1ntwfWALw9abfY,26969
|
|
44
44
|
criteo_api_retailmedia_v2025_04/model/async_revenue_report_request.py,sha256=amOdBQBFIeqKwp8pPaK2gb1d3Uywy_0jf6_rSTOFdT4,11737
|
|
45
45
|
criteo_api_retailmedia_v2025_04/model/async_revenue_report_resource.py,sha256=AQPfZH0Xw18LTYPKqj3EsPoLYGLVrgp4HhyKH1ovGXU,11891
|
|
46
46
|
criteo_api_retailmedia_v2025_04/model/auction_line_item_create_model_request.py,sha256=g7lI6ShRF2GlayljqWuPjBRsEaAh3WiyqO41AJR4krg,11870
|
|
@@ -245,7 +245,7 @@ criteo_api_retailmedia_v2025_04/model/rm_contact_list_statistics_entity_v1.py,sh
|
|
|
245
245
|
criteo_api_retailmedia_v2025_04/model/rm_contact_list_statistics_entity_v1_resource.py,sha256=OrvYNcj74AlQi4ZvDYdLuMkLE0gcISnV8c7i22FEFc4,12293
|
|
246
246
|
criteo_api_retailmedia_v2025_04/model/rm_contact_list_statistics_entity_v1_response.py,sha256=V0FqAwMm9wvbcrjYKqYL0vGViVhINPLE5QRXMdnqS9Y,12593
|
|
247
247
|
criteo_api_retailmedia_v2025_04/model/rm_contact_list_v1.py,sha256=SWASEWDKhvNrsZV1bMGXQaQRsOLMHKloOyV440DdR_U,12765
|
|
248
|
-
criteo_api_retailmedia_v2025_04/model/rm_events_create_v1.py,sha256=
|
|
248
|
+
criteo_api_retailmedia_v2025_04/model/rm_events_create_v1.py,sha256=CkP0qBbGDCAUc403BngaefrhZDAeBdk29ikxuHRhr-0,14031
|
|
249
249
|
criteo_api_retailmedia_v2025_04/model/rm_events_update_v1.py,sha256=1bUH698nRXKjEqkIoOLvp2FyGLIbID7QthZhUIW2vD4,13756
|
|
250
250
|
criteo_api_retailmedia_v2025_04/model/rm_events_v1.py,sha256=kw2lOhFGtkyk2iYdmRSCk5i8lWRA2Ubh_83TpHIhiag,13737
|
|
251
251
|
criteo_api_retailmedia_v2025_04/model/rmca_common_problem.py,sha256=PaYa6F0Llx4tHP6vTusrH5iftE6mluMU1umuOIgEYdM,14553
|
|
@@ -308,7 +308,7 @@ criteo_api_retailmedia_v2025_04/model/value_type_resource_of_store_ids_update_mo
|
|
|
308
308
|
criteo_api_retailmedia_v2025_04/model/value_type_resource_of_store_target202110.py,sha256=GhptONObC3IGBaeMoIajguP9fZJTNQdDmWJcUH1nbTk,11970
|
|
309
309
|
criteo_api_retailmedia_v2025_04/model/video_variable_value.py,sha256=HBu7I7zTVxvctyQlc0qIZYi8wPB3iNS6U2udbOp7Jms,12080
|
|
310
310
|
criteo_api_retailmedia_v2025_04/models/__init__.py,sha256=m5UpfyFmDzb6EqVn-s7Poy7eK5omtr1V3hoWkIVHaZY,32948
|
|
311
|
-
criteo_api_retailmedia_sdk-2025.4.0.
|
|
312
|
-
criteo_api_retailmedia_sdk-2025.4.0.
|
|
313
|
-
criteo_api_retailmedia_sdk-2025.4.0.
|
|
314
|
-
criteo_api_retailmedia_sdk-2025.4.0.
|
|
311
|
+
criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info/METADATA,sha256=ybiLB9NcNcs3CMDp41bHLyriene_cMRf8aDYzr4tirg,1866
|
|
312
|
+
criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
313
|
+
criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info/top_level.txt,sha256=RRzMultOBsiZbv-hjIvOJTvxKf5rZs-cWvTLfoxhg7Y,32
|
|
314
|
+
criteo_api_retailmedia_sdk-2025.4.0.250811.dist-info/RECORD,,
|
|
@@ -6122,7 +6122,7 @@ class CampaignApi(object):
|
|
|
6122
6122
|
):
|
|
6123
6123
|
"""get_campaign_budget_overrides # noqa: E501
|
|
6124
6124
|
|
|
6125
|
-
Get current campaign budget overrides by given
|
|
6125
|
+
Get current campaign budget overrides by given campaign id. # noqa: E501
|
|
6126
6126
|
This method makes a synchronous HTTP request by default. To make an
|
|
6127
6127
|
asynchronous HTTP request, please pass async_req=True
|
|
6128
6128
|
|
|
@@ -6130,7 +6130,7 @@ class CampaignApi(object):
|
|
|
6130
6130
|
>>> result = thread.get()
|
|
6131
6131
|
|
|
6132
6132
|
Args:
|
|
6133
|
-
campaign_id (int):
|
|
6133
|
+
campaign_id (int): Campaign id.
|
|
6134
6134
|
|
|
6135
6135
|
Keyword Args:
|
|
6136
6136
|
_return_http_data_only (bool): response data without head status
|
|
@@ -6380,7 +6380,7 @@ class CampaignApi(object):
|
|
|
6380
6380
|
>>> result = thread.get()
|
|
6381
6381
|
|
|
6382
6382
|
Args:
|
|
6383
|
-
external_line_item_id (str): The
|
|
6383
|
+
external_line_item_id (str): The line item identifier
|
|
6384
6384
|
|
|
6385
6385
|
Keyword Args:
|
|
6386
6386
|
_return_http_data_only (bool): response data without head status
|
|
@@ -8649,7 +8649,7 @@ class CampaignApi(object):
|
|
|
8649
8649
|
):
|
|
8650
8650
|
"""update_campaign_budget_overrides # noqa: E501
|
|
8651
8651
|
|
|
8652
|
-
Update campaign budget overrides by given
|
|
8652
|
+
Update campaign budget overrides by given campaign id and new campaign budget overrides settings. # noqa: E501
|
|
8653
8653
|
This method makes a synchronous HTTP request by default. To make an
|
|
8654
8654
|
asynchronous HTTP request, please pass async_req=True
|
|
8655
8655
|
|
|
@@ -8657,7 +8657,7 @@ class CampaignApi(object):
|
|
|
8657
8657
|
>>> result = thread.get()
|
|
8658
8658
|
|
|
8659
8659
|
Args:
|
|
8660
|
-
campaign_id (int):
|
|
8660
|
+
campaign_id (int): Campaign id.
|
|
8661
8661
|
|
|
8662
8662
|
Keyword Args:
|
|
8663
8663
|
value_resource_input_of_campaign_budget_overrides (ValueResourceInputOfCampaignBudgetOverrides): New campaign budget overrides settings value resource input.. [optional]
|
|
@@ -8733,7 +8733,7 @@ class CampaignApi(object):
|
|
|
8733
8733
|
):
|
|
8734
8734
|
"""update_line_item_budget_overrides # noqa: E501
|
|
8735
8735
|
|
|
8736
|
-
Update line item budget overrides by given
|
|
8736
|
+
Update line item budget overrides by given line item id and new line item budget overrides settings. # noqa: E501
|
|
8737
8737
|
This method makes a synchronous HTTP request by default. To make an
|
|
8738
8738
|
asynchronous HTTP request, please pass async_req=True
|
|
8739
8739
|
|
|
@@ -8741,7 +8741,7 @@ class CampaignApi(object):
|
|
|
8741
8741
|
>>> result = thread.get()
|
|
8742
8742
|
|
|
8743
8743
|
Args:
|
|
8744
|
-
line_item_id (str): Line item
|
|
8744
|
+
line_item_id (str): Line item id.
|
|
8745
8745
|
|
|
8746
8746
|
Keyword Args:
|
|
8747
8747
|
value_resource_input_of_line_item_budget_overrides (ValueResourceInputOfLineItemBudgetOverrides): New line item budget overrides settings value resource input.. [optional]
|
|
@@ -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.04.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2025.04.0.250811/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-04\n"\
|
|
398
|
-
"SDK Package Version: 2025.04.0.
|
|
398
|
+
"SDK Package Version: 2025.04.0.250811".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -83,7 +83,6 @@ class Asset(ModelNormal):
|
|
|
83
83
|
return {
|
|
84
84
|
'file_extension': (str,), # noqa: E501
|
|
85
85
|
'file_location': (str, none_type,), # noqa: E501
|
|
86
|
-
'id': (str, none_type,), # noqa: E501
|
|
87
86
|
}
|
|
88
87
|
|
|
89
88
|
@cached_property
|
|
@@ -94,7 +93,6 @@ class Asset(ModelNormal):
|
|
|
94
93
|
attribute_map = {
|
|
95
94
|
'file_extension': 'fileExtension', # noqa: E501
|
|
96
95
|
'file_location': 'fileLocation', # noqa: E501
|
|
97
|
-
'id': 'id', # noqa: E501
|
|
98
96
|
}
|
|
99
97
|
|
|
100
98
|
read_only_vars = {
|
|
@@ -142,7 +140,6 @@ class Asset(ModelNormal):
|
|
|
142
140
|
through its discriminator because we passed in
|
|
143
141
|
_visited_composed_classes = (Animal,)
|
|
144
142
|
file_location (str, none_type): A url pointing towards the static file the asset represents.. [optional] # noqa: E501
|
|
145
|
-
id (str, none_type): [optional] # noqa: E501
|
|
146
143
|
"""
|
|
147
144
|
|
|
148
145
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -233,7 +230,6 @@ class Asset(ModelNormal):
|
|
|
233
230
|
through its discriminator because we passed in
|
|
234
231
|
_visited_composed_classes = (Animal,)
|
|
235
232
|
file_location (str, none_type): A url pointing towards the static file the asset represents.. [optional] # noqa: E501
|
|
236
|
-
id (str, none_type): [optional] # noqa: E501
|
|
237
233
|
"""
|
|
238
234
|
|
|
239
235
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -138,6 +138,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
138
138
|
'TAXONOMY6NAME': "taxonomy6Name",
|
|
139
139
|
'TAXONOMY7ID': "taxonomy7Id",
|
|
140
140
|
'TAXONOMY7NAME': "taxonomy7Name",
|
|
141
|
+
'TARGETEDKEYWORDTYPE': "targetedKeywordType",
|
|
141
142
|
},
|
|
142
143
|
('format',): {
|
|
143
144
|
'JSON': "json",
|
|
@@ -219,6 +220,12 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
219
220
|
'INDIRECTSOLD': "indirectSold",
|
|
220
221
|
'PRIVATEMARKET': "privateMarket",
|
|
221
222
|
},
|
|
223
|
+
('targeted_keyword_types',): {
|
|
224
|
+
'UNKNOWN': "unknown",
|
|
225
|
+
'GENERIC': "generic",
|
|
226
|
+
'BRANDED': "branded",
|
|
227
|
+
'CONQUESTING': "conquesting",
|
|
228
|
+
},
|
|
222
229
|
('view_attribution_window',): {
|
|
223
230
|
'NONE': "none",
|
|
224
231
|
'1D': "1D",
|
|
@@ -279,6 +286,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
279
286
|
'sales_channel': (str,), # noqa: E501
|
|
280
287
|
'sku_relations': ([str],), # noqa: E501
|
|
281
288
|
'sold_by': (str,), # noqa: E501
|
|
289
|
+
'targeted_keyword_types': ([str],), # noqa: E501
|
|
282
290
|
'timezone': (str,), # noqa: E501
|
|
283
291
|
'view_attribution_window': (str,), # noqa: E501
|
|
284
292
|
'view_match_level': (str,), # noqa: E501
|
|
@@ -311,6 +319,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
311
319
|
'sales_channel': 'salesChannel', # noqa: E501
|
|
312
320
|
'sku_relations': 'skuRelations', # noqa: E501
|
|
313
321
|
'sold_by': 'soldBy', # noqa: E501
|
|
322
|
+
'targeted_keyword_types': 'targetedKeywordTypes', # noqa: E501
|
|
314
323
|
'timezone': 'timezone', # noqa: E501
|
|
315
324
|
'view_attribution_window': 'viewAttributionWindow', # noqa: E501
|
|
316
325
|
'view_match_level': 'viewMatchLevel', # noqa: E501
|
|
@@ -380,6 +389,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
380
389
|
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
|
|
381
390
|
sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
|
|
382
391
|
sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
|
|
392
|
+
targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
|
|
383
393
|
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
384
394
|
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
385
395
|
view_match_level (str): View Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
|
|
@@ -493,6 +503,7 @@ class AsyncRevenueReport(ModelNormal):
|
|
|
493
503
|
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
|
|
494
504
|
sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
|
|
495
505
|
sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
|
|
506
|
+
targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
|
|
496
507
|
timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
497
508
|
view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
|
|
498
509
|
view_match_level (str): View Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
|
|
@@ -103,12 +103,12 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
103
103
|
and the value is attribute type.
|
|
104
104
|
"""
|
|
105
105
|
return {
|
|
106
|
+
'lookback_days': (str,), # noqa: E501
|
|
107
|
+
'shopper_activity': (str,), # noqa: E501
|
|
106
108
|
'brand_ids': ([str],), # noqa: E501
|
|
107
109
|
'category_ids': ([str],), # noqa: E501
|
|
108
|
-
'lookback_days': (str,), # noqa: E501
|
|
109
110
|
'max_price': (float,), # noqa: E501
|
|
110
111
|
'min_price': (float,), # noqa: E501
|
|
111
|
-
'shopper_activity': (str,), # noqa: E501
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
@cached_property
|
|
@@ -117,12 +117,12 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
attribute_map = {
|
|
120
|
+
'lookback_days': 'lookbackDays', # noqa: E501
|
|
121
|
+
'shopper_activity': 'shopperActivity', # noqa: E501
|
|
120
122
|
'brand_ids': 'brandIds', # noqa: E501
|
|
121
123
|
'category_ids': 'categoryIds', # noqa: E501
|
|
122
|
-
'lookback_days': 'lookbackDays', # noqa: E501
|
|
123
124
|
'max_price': 'maxPrice', # noqa: E501
|
|
124
125
|
'min_price': 'minPrice', # noqa: E501
|
|
125
|
-
'shopper_activity': 'shopperActivity', # noqa: E501
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
read_only_vars = {
|
|
@@ -132,9 +132,13 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
132
132
|
|
|
133
133
|
@classmethod
|
|
134
134
|
@convert_js_args_to_python_args
|
|
135
|
-
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
135
|
+
def _from_openapi_data(cls, lookback_days, shopper_activity, *args, **kwargs): # noqa: E501
|
|
136
136
|
"""RmEventsCreateV1 - a model defined in OpenAPI
|
|
137
137
|
|
|
138
|
+
Args:
|
|
139
|
+
lookback_days (str): Number of days of the lookback windows
|
|
140
|
+
shopper_activity (str): Types of shopper activity.
|
|
141
|
+
|
|
138
142
|
Keyword Args:
|
|
139
143
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
140
144
|
will be type checked and a TypeError will be
|
|
@@ -168,10 +172,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
168
172
|
_visited_composed_classes = (Animal,)
|
|
169
173
|
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
170
174
|
category_ids ([str]): Choose the categories your segment might be interested in. [optional] # noqa: E501
|
|
171
|
-
lookback_days (str): Number of days of the lookback windows. [optional] # noqa: E501
|
|
172
175
|
max_price (float): Reach people who’ve shown interest in products with a maximum price. [optional] # noqa: E501
|
|
173
176
|
min_price (float): Reach people who’ve shown interest in products with a minimum price. [optional] # noqa: E501
|
|
174
|
-
shopper_activity (str): Types of shopper activity.. [optional] # noqa: E501
|
|
175
177
|
"""
|
|
176
178
|
|
|
177
179
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -203,6 +205,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
203
205
|
self._configuration = _configuration
|
|
204
206
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
205
207
|
|
|
208
|
+
self.lookback_days = lookback_days
|
|
209
|
+
self.shopper_activity = shopper_activity
|
|
206
210
|
for var_name, var_value in kwargs.items():
|
|
207
211
|
if var_name not in self.attribute_map and \
|
|
208
212
|
self._configuration is not None and \
|
|
@@ -223,9 +227,13 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
223
227
|
])
|
|
224
228
|
|
|
225
229
|
@convert_js_args_to_python_args
|
|
226
|
-
def __init__(self, *args, **kwargs): # noqa: E501
|
|
230
|
+
def __init__(self, lookback_days, shopper_activity, *args, **kwargs): # noqa: E501
|
|
227
231
|
"""RmEventsCreateV1 - a model defined in OpenAPI
|
|
228
232
|
|
|
233
|
+
Args:
|
|
234
|
+
lookback_days (str): Number of days of the lookback windows
|
|
235
|
+
shopper_activity (str): Types of shopper activity.
|
|
236
|
+
|
|
229
237
|
Keyword Args:
|
|
230
238
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
231
239
|
will be type checked and a TypeError will be
|
|
@@ -259,10 +267,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
259
267
|
_visited_composed_classes = (Animal,)
|
|
260
268
|
brand_ids ([str]): Choose the brands your segment might be interested in. [optional] # noqa: E501
|
|
261
269
|
category_ids ([str]): Choose the categories your segment might be interested in. [optional] # noqa: E501
|
|
262
|
-
lookback_days (str): Number of days of the lookback windows. [optional] # noqa: E501
|
|
263
270
|
max_price (float): Reach people who’ve shown interest in products with a maximum price. [optional] # noqa: E501
|
|
264
271
|
min_price (float): Reach people who’ve shown interest in products with a minimum price. [optional] # noqa: E501
|
|
265
|
-
shopper_activity (str): Types of shopper activity.. [optional] # noqa: E501
|
|
266
272
|
"""
|
|
267
273
|
|
|
268
274
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -292,6 +298,8 @@ class RmEventsCreateV1(ModelNormal):
|
|
|
292
298
|
self._configuration = _configuration
|
|
293
299
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
294
300
|
|
|
301
|
+
self.lookback_days = lookback_days
|
|
302
|
+
self.shopper_activity = shopper_activity
|
|
295
303
|
for var_name, var_value in kwargs.items():
|
|
296
304
|
if var_name not in self.attribute_map and \
|
|
297
305
|
self._configuration is not None and \
|
|
File without changes
|