criteo-api-marketingsolutions-sdk 2024.7.0.240731__py3-none-any.whl → 2024.7.0.240808__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-marketingsolutions-sdk might be problematic. Click here for more details.
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/RECORD +22 -23
- criteo_api_marketingsolutions_v2024_07/__init__.py +1 -1
- criteo_api_marketingsolutions_v2024_07/api/analytics_api.py +29 -28
- criteo_api_marketingsolutions_v2024_07/api_client.py +1 -1
- criteo_api_marketingsolutions_v2024_07/configuration.py +1 -1
- criteo_api_marketingsolutions_v2024_07/model/{placements_report_query_data_message.py → outcome.py} +18 -27
- criteo_api_marketingsolutions_v2024_07/model/placements_report_query_message.py +5 -11
- criteo_api_marketingsolutions_v2024_07/model/{problems_details.py → placements_report_query_message_list_request.py} +10 -20
- criteo_api_marketingsolutions_v2024_07/model/{placements_report_query_entity_message.py → placements_report_query_message_resource.py} +11 -26
- criteo_api_marketingsolutions_v2024_07/model/statistics_report_query_message.py +3 -17
- criteo_api_marketingsolutions_v2024_07/model/transactions_report_query_message.py +1 -7
- criteo_api_marketingsolutions_v2024_07/model/{transactions_report_query_data_message.py → transactions_report_query_message_list_request.py} +11 -26
- criteo_api_marketingsolutions_v2024_07/model/{transactions_report_query_entity_message.py → transactions_report_query_message_resource.py} +11 -26
- criteo_api_marketingsolutions_v2024_07/model/transparency_query_message.py +1 -7
- criteo_api_marketingsolutions_v2024_07/model/{transparency_report_attributes.py → transparency_report.py} +4 -13
- criteo_api_marketingsolutions_v2024_07/model/transparency_report_file.py +1 -7
- criteo_api_marketingsolutions_v2024_07/model/{transparency_report_entity_message.py → transparency_report_list_response.py} +24 -29
- criteo_api_marketingsolutions_v2024_07/model/{transparency_report_data_message.py → transparency_report_resource.py} +16 -27
- criteo_api_marketingsolutions_v2024_07/models/__init__.py +8 -9
- criteo_api_marketingsolutions_v2024_07/model/problem_details.py +0 -306
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/WHEEL +0 -0
- {criteo_api_marketingsolutions_sdk-2024.7.0.240731.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: criteo-api-marketingsolutions-sdk
|
|
3
|
-
Version: 2024.7.0.
|
|
3
|
+
Version: 2024.7.0.240808
|
|
4
4
|
Summary: Criteo API SDK
|
|
5
5
|
Home-page: https://github.com/criteo/criteo-api-python-sdk
|
|
6
6
|
Author: Criteo
|
|
@@ -26,9 +26,9 @@ IMPORTANT: This Python package links to Criteo production environment. Any test
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
pip install criteo-api-marketingsolutions-sdk==2024.07.0.
|
|
29
|
+
pip install criteo-api-marketingsolutions-sdk==2024.07.0.240808
|
|
30
30
|
```
|
|
31
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.07.0.
|
|
31
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==2024.07.0.240808`)
|
|
32
32
|
|
|
33
33
|
Then import the package:
|
|
34
34
|
```python
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
criteo_api_marketingsolutions_v2024_07/__init__.py,sha256=
|
|
2
|
-
criteo_api_marketingsolutions_v2024_07/api_client.py,sha256=
|
|
1
|
+
criteo_api_marketingsolutions_v2024_07/__init__.py,sha256=Ffiu6m8-z7yesSvr4_Pefd_dRIUzVcO7jdeRKDlODY8,1124
|
|
2
|
+
criteo_api_marketingsolutions_v2024_07/api_client.py,sha256=tW6xCsAF7q-11cL4PTWoCbZ388aHtZJTtAjkfgPs3pE,39256
|
|
3
3
|
criteo_api_marketingsolutions_v2024_07/api_client_builder.py,sha256=tfhICFGmBWl9YPZR3lSF7Dmk0ywJ7oIL7fQ6a24IZiU,1528
|
|
4
|
-
criteo_api_marketingsolutions_v2024_07/configuration.py,sha256=
|
|
4
|
+
criteo_api_marketingsolutions_v2024_07/configuration.py,sha256=vyUA_-ucE6Fy6Yyir7NT_1r-ijtSNAjnzhBavXzWLLY,16743
|
|
5
5
|
criteo_api_marketingsolutions_v2024_07/criteo_api_client.py,sha256=EsHTkmytAC1W5A_ORoR4cPJVIw5FpXZ9RLQoOc1C7rE,668
|
|
6
6
|
criteo_api_marketingsolutions_v2024_07/criteo_auth.py,sha256=SK7WRSAu9WgkV4dCXtgieYra6WMvGMNL45aH7j2-qYE,4717
|
|
7
7
|
criteo_api_marketingsolutions_v2024_07/criteo_rest.py,sha256=LJdrBWZW8DptH_muLmnQIOECEaHHgdKaus_gu9g1Oq8,3434
|
|
@@ -11,7 +11,7 @@ criteo_api_marketingsolutions_v2024_07/model_utils.py,sha256=3dxjdPNS0S-DwL5qGq5
|
|
|
11
11
|
criteo_api_marketingsolutions_v2024_07/rest.py,sha256=hPM2tIn2288GC08Pn5rrp6z6smYiVIWAniTwUSlSIE0,14256
|
|
12
12
|
criteo_api_marketingsolutions_v2024_07/api/__init__.py,sha256=0c6N_g32HvClw_TuTMPEMWnWvdjS33tdKEItUO00QKE,245
|
|
13
13
|
criteo_api_marketingsolutions_v2024_07/api/advertiser_api.py,sha256=cLI02icuhrMbfnll7lolXGcC0wZlRPa_VNVykwmLrRo,5709
|
|
14
|
-
criteo_api_marketingsolutions_v2024_07/api/analytics_api.py,sha256=
|
|
14
|
+
criteo_api_marketingsolutions_v2024_07/api/analytics_api.py,sha256=tfKlZBI7z31DKWsOm05N6sUhWJTQbzJDD1cZfPgBK6o,23957
|
|
15
15
|
criteo_api_marketingsolutions_v2024_07/api/audience_api.py,sha256=-HKrqlJ0OlYfyGsk1ObtZkXW9V9mPXcuIiJcEqqDcy0,103164
|
|
16
16
|
criteo_api_marketingsolutions_v2024_07/api/campaign_api.py,sha256=RSzI54Wiq42HBylbQqW6lNYbBLjO5oFHDFToSPDBKdQ,84234
|
|
17
17
|
criteo_api_marketingsolutions_v2024_07/api/creative_api.py,sha256=xlFMwT0Cmoo9oiMmq1CHChjwRJSp97gYaty0jtEO1iw,96298
|
|
@@ -200,6 +200,7 @@ criteo_api_marketingsolutions_v2024_07/model/nillable_decimal.py,sha256=bg9bU-ef
|
|
|
200
200
|
criteo_api_marketingsolutions_v2024_07/model/nillable_gender_v1.py,sha256=HfcZmR6xnhubIVHT1Hy4V-HNVfNluJJOKsYtzV_bcnU,11691
|
|
201
201
|
criteo_api_marketingsolutions_v2024_07/model/nillable_int32.py,sha256=fZzmBpO_EJDNokz8h_p_2V7Z2Nu31yNpWd3-rlttTxk,11563
|
|
202
202
|
criteo_api_marketingsolutions_v2024_07/model/nillable_string.py,sha256=OQjQ2TA7MSNoI_BCDbh4Fyku7RQJPyagf26v-Amkf1g,11602
|
|
203
|
+
criteo_api_marketingsolutions_v2024_07/model/outcome.py,sha256=5Q6IudusYu1cfso8hrw8Ww81IuN0nNyVwSuK03jJNS4,11863
|
|
203
204
|
criteo_api_marketingsolutions_v2024_07/model/patch_ad_set_bidding_v24_q1.py,sha256=FcvzBS91Akqqo0QdtfJxsapG8ZoViiM8mBd2X2l3MP8,11706
|
|
204
205
|
criteo_api_marketingsolutions_v2024_07/model/patch_ad_set_budget_v24_q1.py,sha256=kqo1FP0_psNL8rlBrwl__4emS7tDeIifg6NCR7zRxws,13858
|
|
205
206
|
criteo_api_marketingsolutions_v2024_07/model/patch_ad_set_category_bid.py,sha256=R6S4_7GU8LO1AiTHs9Nz4fubkYK81fTI1j1539otP3Y,11773
|
|
@@ -220,13 +221,11 @@ criteo_api_marketingsolutions_v2024_07/model/patch_campaign_spend_limit.py,sha25
|
|
|
220
221
|
criteo_api_marketingsolutions_v2024_07/model/patch_campaign_write_resource.py,sha256=MWqIwAIwjgR_M2nsdfgddnE26Ii043SPhKXuLO8Otpk,12223
|
|
221
222
|
criteo_api_marketingsolutions_v2024_07/model/patch_result_campaign_list_response.py,sha256=F8_pIWOzMtc7yxZlOcA_sw6w6B0AzHuHmgOZWNj3KEU,12615
|
|
222
223
|
criteo_api_marketingsolutions_v2024_07/model/patch_result_campaign_read_resource.py,sha256=hD4wOfGp1aqnCmY4Ba1aCiL7MJsmjFMb9j2Atg_ptKE,11787
|
|
223
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
224
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
225
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
224
|
+
criteo_api_marketingsolutions_v2024_07/model/placements_report_query_message.py,sha256=4QTPHwWEOIzL0uo5yXi3NGGt0VKO6UW4RC1f00mSkHw,16432
|
|
225
|
+
criteo_api_marketingsolutions_v2024_07/model/placements_report_query_message_list_request.py,sha256=H6hgYA2R3b17lEjfFZR-P5DIEdzYgz4e4ipKDk-KrG4,11620
|
|
226
|
+
criteo_api_marketingsolutions_v2024_07/model/placements_report_query_message_resource.py,sha256=6FXEl_IOXWTJkgAt8lPGez5ORekxOWYmMAcCV7NPxtk,11802
|
|
226
227
|
criteo_api_marketingsolutions_v2024_07/model/point_of_interest_v1.py,sha256=icb5CCPzx6s1qXZ3Y1knUrLgEKGApJAEQBt-q-QNYfg,12165
|
|
227
228
|
criteo_api_marketingsolutions_v2024_07/model/portfolio_message.py,sha256=J0PX6f8sHuyhRVtkeI5IMnZbCRgbNTPxgjfrBn0tdjs,11501
|
|
228
|
-
criteo_api_marketingsolutions_v2024_07/model/problem_details.py,sha256=SI_s6OYUuxrsvwqFKo_8J1A77S4ayG7cQVqpsZ5S5SE,14720
|
|
229
|
-
criteo_api_marketingsolutions_v2024_07/model/problems_details.py,sha256=1pnIKuMdWqq9oO3yIb_VYgurYo5sAOj0D-yKIAUZyRs,11764
|
|
230
229
|
criteo_api_marketingsolutions_v2024_07/model/prospecting_create_v1.py,sha256=k4p_DWtYtbq3v5aXcPsEkBg6uEuf1SxvkUiuJO-2AC0,12724
|
|
231
230
|
criteo_api_marketingsolutions_v2024_07/model/prospecting_update_v1.py,sha256=v7aVXRRrloVAi2B0GyRFMe1nC64bX5LF71889zI54jw,12516
|
|
232
231
|
criteo_api_marketingsolutions_v2024_07/model/prospecting_v1.py,sha256=jxVZdGkqSi01B1CilklT7T_d_lruVges_ThKGL40qyU,12723
|
|
@@ -247,24 +246,24 @@ criteo_api_marketingsolutions_v2024_07/model/retargeting_create_v1.py,sha256=aIE
|
|
|
247
246
|
criteo_api_marketingsolutions_v2024_07/model/retargeting_update_v1.py,sha256=im4DwZWvUpk30RJrTKS1MTFnmPuOqdmDOxz7vFulQyk,12539
|
|
248
247
|
criteo_api_marketingsolutions_v2024_07/model/retargeting_v1.py,sha256=Cf9naiDdLwI_aAVvLn8b7elGbv6Dj39VARMr5GIBYVg,12555
|
|
249
248
|
criteo_api_marketingsolutions_v2024_07/model/size.py,sha256=lSg8U0usDHNcpDXozte2Mgzh1WxWKoVUECb9xKpE7CM,11637
|
|
250
|
-
criteo_api_marketingsolutions_v2024_07/model/statistics_report_query_message.py,sha256=
|
|
249
|
+
criteo_api_marketingsolutions_v2024_07/model/statistics_report_query_message.py,sha256=sC7GaDMCxPO2XPjZ7mEipy2jArqSocoXySWEtdO-meI,16343
|
|
251
250
|
criteo_api_marketingsolutions_v2024_07/model/tag.py,sha256=Y9sMQVMHAuHb9C0GQLccTC_tEVkFwbIP-XZOaxSdU1M,11792
|
|
252
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
253
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
254
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
255
|
-
criteo_api_marketingsolutions_v2024_07/model/transparency_query_message.py,sha256=
|
|
256
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
257
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
258
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
259
|
-
criteo_api_marketingsolutions_v2024_07/model/
|
|
251
|
+
criteo_api_marketingsolutions_v2024_07/model/transactions_report_query_message.py,sha256=5SZpvLCki3NC8dVEep3_8Egx8WOA1K8D-MJQdzADNK0,13940
|
|
252
|
+
criteo_api_marketingsolutions_v2024_07/model/transactions_report_query_message_list_request.py,sha256=s0mh3Y_MIa1cnj4s0fNe2hIkb6-FYxlgpIxKwJ3agX4,11640
|
|
253
|
+
criteo_api_marketingsolutions_v2024_07/model/transactions_report_query_message_resource.py,sha256=PGnhiB6ibSpte8TR5XjHfkX_Hz9-lfhszJEHhL3Dg6A,11822
|
|
254
|
+
criteo_api_marketingsolutions_v2024_07/model/transparency_query_message.py,sha256=qdXJIVXKyFfVnQBbXCjahFb6-_doBwE37eWTCvFmBZw,12496
|
|
255
|
+
criteo_api_marketingsolutions_v2024_07/model/transparency_report.py,sha256=p0B7Q108a4DBzuP8YyC6P7jlWzqDEOn6nwwsJ4TwUtQ,12111
|
|
256
|
+
criteo_api_marketingsolutions_v2024_07/model/transparency_report_file.py,sha256=eIEVj8r0B5GufJWCptZhznllv-QXFVtQi-00rY4iWE8,11432
|
|
257
|
+
criteo_api_marketingsolutions_v2024_07/model/transparency_report_list_response.py,sha256=j4cP7RktDrP4x_qd44qjT5f9xm3Kd2fhfMRP0z6DH3Y,12408
|
|
258
|
+
criteo_api_marketingsolutions_v2024_07/model/transparency_report_resource.py,sha256=hKtvVyrp2wcKVX900N4TgJFePVp8m7zeBgbC7UQQEL8,11700
|
|
260
259
|
criteo_api_marketingsolutions_v2024_07/model/update_coupon.py,sha256=WtRPS8XpnErlXZvxa_GampllJPGdzaQiCgbkjiB1Ti0,12227
|
|
261
260
|
criteo_api_marketingsolutions_v2024_07/model/update_coupon_request.py,sha256=GVWQE89unbI-a-oxAuuaXh6IFGeiD-ggzWPd4qNBNKM,11704
|
|
262
261
|
criteo_api_marketingsolutions_v2024_07/model/update_coupon_resource.py,sha256=18UxrxwKQSKmnBHXfffmnsbPoPFRY7sTlS94yxQR9cc,12092
|
|
263
262
|
criteo_api_marketingsolutions_v2024_07/model/video_detail.py,sha256=Q7ulBqs13PFW4uHuPEHewUeNrv8-oEMEicy5Gjw33_Q,12438
|
|
264
263
|
criteo_api_marketingsolutions_v2024_07/model/write_model_ad_set_id.py,sha256=lnfaDQURj09WP91e7tyeWmSVZmTPruDtNkfQO6FAj24,11757
|
|
265
264
|
criteo_api_marketingsolutions_v2024_07/model/write_model_patch_ad_set_v24_q1.py,sha256=xr8MawWkJ-GnPL1zplCyaidaYp2hTeOg37DIS_qgltI,12237
|
|
266
|
-
criteo_api_marketingsolutions_v2024_07/models/__init__.py,sha256=
|
|
267
|
-
criteo_api_marketingsolutions_sdk-2024.7.0.
|
|
268
|
-
criteo_api_marketingsolutions_sdk-2024.7.0.
|
|
269
|
-
criteo_api_marketingsolutions_sdk-2024.7.0.
|
|
270
|
-
criteo_api_marketingsolutions_sdk-2024.7.0.
|
|
265
|
+
criteo_api_marketingsolutions_v2024_07/models/__init__.py,sha256=QXho8NcYYsuRlpAw47zXdE0glfcK5Myeo6E_qmhTFT8,27388
|
|
266
|
+
criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info/METADATA,sha256=gjqP1BHKemldwls6US1CypDNh3fJnfAFRExtFd-MHto,1702
|
|
267
|
+
criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
|
|
268
|
+
criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info/top_level.txt,sha256=lFzzT5mnki5jLxcWXIAhqQcW2Pz5xSuCuxKgcTAmklo,39
|
|
269
|
+
criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info/RECORD,,
|
|
@@ -21,12 +21,12 @@ from criteo_api_marketingsolutions_v2024_07.model_utils import ( # noqa: F401
|
|
|
21
21
|
none_type,
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
25
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
24
|
+
from criteo_api_marketingsolutions_v2024_07.model.outcome import Outcome
|
|
25
|
+
from criteo_api_marketingsolutions_v2024_07.model.placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest
|
|
26
26
|
from criteo_api_marketingsolutions_v2024_07.model.statistics_report_query_message import StatisticsReportQueryMessage
|
|
27
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
27
|
+
from criteo_api_marketingsolutions_v2024_07.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest
|
|
28
28
|
from criteo_api_marketingsolutions_v2024_07.model.transparency_query_message import TransparencyQueryMessage
|
|
29
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
29
|
+
from criteo_api_marketingsolutions_v2024_07.model.transparency_report_list_response import TransparencyReportListResponse
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class AnalyticsApi(object):
|
|
@@ -42,7 +42,7 @@ class AnalyticsApi(object):
|
|
|
42
42
|
self.api_client = api_client
|
|
43
43
|
self.get_adset_report_endpoint = _Endpoint(
|
|
44
44
|
settings={
|
|
45
|
-
'response_type': (
|
|
45
|
+
'response_type': (str,),
|
|
46
46
|
'auth': [
|
|
47
47
|
'oauth',
|
|
48
48
|
'oauth'
|
|
@@ -101,7 +101,7 @@ class AnalyticsApi(object):
|
|
|
101
101
|
)
|
|
102
102
|
self.get_placements_report_endpoint = _Endpoint(
|
|
103
103
|
settings={
|
|
104
|
-
'response_type': (
|
|
104
|
+
'response_type': (str,),
|
|
105
105
|
'auth': [
|
|
106
106
|
'oauth',
|
|
107
107
|
'oauth'
|
|
@@ -113,7 +113,7 @@ class AnalyticsApi(object):
|
|
|
113
113
|
},
|
|
114
114
|
params_map={
|
|
115
115
|
'all': [
|
|
116
|
-
'
|
|
116
|
+
'placements_report_query_message_list_request',
|
|
117
117
|
],
|
|
118
118
|
'required': [],
|
|
119
119
|
'nullable': [
|
|
@@ -129,13 +129,13 @@ class AnalyticsApi(object):
|
|
|
129
129
|
'allowed_values': {
|
|
130
130
|
},
|
|
131
131
|
'openapi_types': {
|
|
132
|
-
'
|
|
133
|
-
(
|
|
132
|
+
'placements_report_query_message_list_request':
|
|
133
|
+
(PlacementsReportQueryMessageListRequest,),
|
|
134
134
|
},
|
|
135
135
|
'attribute_map': {
|
|
136
136
|
},
|
|
137
137
|
'location_map': {
|
|
138
|
-
'
|
|
138
|
+
'placements_report_query_message_list_request': 'body',
|
|
139
139
|
},
|
|
140
140
|
'collection_format_map': {
|
|
141
141
|
}
|
|
@@ -145,9 +145,8 @@ class AnalyticsApi(object):
|
|
|
145
145
|
'text/plain',
|
|
146
146
|
'application/json',
|
|
147
147
|
'text/json',
|
|
148
|
-
'
|
|
149
|
-
'text/xml'
|
|
150
|
-
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
|
148
|
+
'application/xml',
|
|
149
|
+
'text/xml'
|
|
151
150
|
],
|
|
152
151
|
'content_type': [
|
|
153
152
|
'application/json-patch+json',
|
|
@@ -160,7 +159,7 @@ class AnalyticsApi(object):
|
|
|
160
159
|
)
|
|
161
160
|
self.get_transactions_report_endpoint = _Endpoint(
|
|
162
161
|
settings={
|
|
163
|
-
'response_type': (
|
|
162
|
+
'response_type': (str,),
|
|
164
163
|
'auth': [
|
|
165
164
|
'oauth',
|
|
166
165
|
'oauth'
|
|
@@ -172,7 +171,7 @@ class AnalyticsApi(object):
|
|
|
172
171
|
},
|
|
173
172
|
params_map={
|
|
174
173
|
'all': [
|
|
175
|
-
'
|
|
174
|
+
'transactions_report_query_message_list_request',
|
|
176
175
|
],
|
|
177
176
|
'required': [],
|
|
178
177
|
'nullable': [
|
|
@@ -188,13 +187,13 @@ class AnalyticsApi(object):
|
|
|
188
187
|
'allowed_values': {
|
|
189
188
|
},
|
|
190
189
|
'openapi_types': {
|
|
191
|
-
'
|
|
192
|
-
(
|
|
190
|
+
'transactions_report_query_message_list_request':
|
|
191
|
+
(TransactionsReportQueryMessageListRequest,),
|
|
193
192
|
},
|
|
194
193
|
'attribute_map': {
|
|
195
194
|
},
|
|
196
195
|
'location_map': {
|
|
197
|
-
'
|
|
196
|
+
'transactions_report_query_message_list_request': 'body',
|
|
198
197
|
},
|
|
199
198
|
'collection_format_map': {
|
|
200
199
|
}
|
|
@@ -219,7 +218,7 @@ class AnalyticsApi(object):
|
|
|
219
218
|
)
|
|
220
219
|
self.get_transparency_report_endpoint = _Endpoint(
|
|
221
220
|
settings={
|
|
222
|
-
'response_type': (
|
|
221
|
+
'response_type': (TransparencyReportListResponse,),
|
|
223
222
|
'auth': [
|
|
224
223
|
'oauth',
|
|
225
224
|
'oauth'
|
|
@@ -267,9 +266,11 @@ class AnalyticsApi(object):
|
|
|
267
266
|
},
|
|
268
267
|
headers_map={
|
|
269
268
|
'accept': [
|
|
270
|
-
'application/json',
|
|
271
269
|
'text/plain',
|
|
272
|
-
'
|
|
270
|
+
'application/json',
|
|
271
|
+
'text/json',
|
|
272
|
+
'application/xml',
|
|
273
|
+
'text/xml'
|
|
273
274
|
],
|
|
274
275
|
'content_type': [
|
|
275
276
|
'application/json-patch+json',
|
|
@@ -329,7 +330,7 @@ class AnalyticsApi(object):
|
|
|
329
330
|
async_req (bool): execute request asynchronously
|
|
330
331
|
|
|
331
332
|
Returns:
|
|
332
|
-
|
|
333
|
+
str
|
|
333
334
|
If the method is called asynchronously, returns the request
|
|
334
335
|
thread.
|
|
335
336
|
"""
|
|
@@ -375,7 +376,7 @@ class AnalyticsApi(object):
|
|
|
375
376
|
|
|
376
377
|
|
|
377
378
|
Keyword Args:
|
|
378
|
-
|
|
379
|
+
placements_report_query_message_list_request (PlacementsReportQueryMessageListRequest): [optional]
|
|
379
380
|
_return_http_data_only (bool): response data without head status
|
|
380
381
|
code and headers. Default is True.
|
|
381
382
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -408,7 +409,7 @@ class AnalyticsApi(object):
|
|
|
408
409
|
async_req (bool): execute request asynchronously
|
|
409
410
|
|
|
410
411
|
Returns:
|
|
411
|
-
|
|
412
|
+
str
|
|
412
413
|
If the method is called asynchronously, returns the request
|
|
413
414
|
thread.
|
|
414
415
|
"""
|
|
@@ -454,7 +455,7 @@ class AnalyticsApi(object):
|
|
|
454
455
|
|
|
455
456
|
|
|
456
457
|
Keyword Args:
|
|
457
|
-
|
|
458
|
+
transactions_report_query_message_list_request (TransactionsReportQueryMessageListRequest): [optional]
|
|
458
459
|
_return_http_data_only (bool): response data without head status
|
|
459
460
|
code and headers. Default is True.
|
|
460
461
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -487,7 +488,7 @@ class AnalyticsApi(object):
|
|
|
487
488
|
async_req (bool): execute request asynchronously
|
|
488
489
|
|
|
489
490
|
Returns:
|
|
490
|
-
|
|
491
|
+
str
|
|
491
492
|
If the method is called asynchronously, returns the request
|
|
492
493
|
thread.
|
|
493
494
|
"""
|
|
@@ -536,7 +537,7 @@ class AnalyticsApi(object):
|
|
|
536
537
|
advertiser_id (int): The advertiser id to fetch the transparency data.
|
|
537
538
|
|
|
538
539
|
Keyword Args:
|
|
539
|
-
transparency_query_message (TransparencyQueryMessage): [optional]
|
|
540
|
+
transparency_query_message (TransparencyQueryMessage): The query message.. [optional]
|
|
540
541
|
_return_http_data_only (bool): response data without head status
|
|
541
542
|
code and headers. Default is True.
|
|
542
543
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -569,7 +570,7 @@ class AnalyticsApi(object):
|
|
|
569
570
|
async_req (bool): execute request asynchronously
|
|
570
571
|
|
|
571
572
|
Returns:
|
|
572
|
-
|
|
573
|
+
TransparencyReportListResponse
|
|
573
574
|
If the method is called asynchronously, returns the request
|
|
574
575
|
thread.
|
|
575
576
|
"""
|
|
@@ -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/2024.07.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2024.07.0.240808/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: 2024-07\n"\
|
|
398
|
-
"SDK Package Version: 2024.07.0.
|
|
398
|
+
"SDK Package Version: 2024.07.0.240808".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
criteo_api_marketingsolutions_v2024_07/model/{placements_report_query_data_message.py → outcome.py}
RENAMED
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_07.model.common_problem import CommonProblem
|
|
34
|
+
globals()['CommonProblem'] = CommonProblem
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Outcome(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('data',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -89,7 +80,8 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
89
80
|
"""
|
|
90
81
|
lazy_import()
|
|
91
82
|
return {
|
|
92
|
-
'
|
|
83
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
84
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
93
85
|
}
|
|
94
86
|
|
|
95
87
|
@cached_property
|
|
@@ -98,21 +90,21 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
98
90
|
|
|
99
91
|
|
|
100
92
|
attribute_map = {
|
|
101
|
-
'
|
|
93
|
+
'warnings': 'warnings', # noqa: E501
|
|
94
|
+
'errors': 'errors', # noqa: E501
|
|
102
95
|
}
|
|
103
96
|
|
|
104
97
|
read_only_vars = {
|
|
98
|
+
'warnings', # noqa: E501
|
|
99
|
+
'errors', # noqa: E501
|
|
105
100
|
}
|
|
106
101
|
|
|
107
102
|
_composed_schemas = {}
|
|
108
103
|
|
|
109
104
|
@classmethod
|
|
110
105
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
112
|
-
"""
|
|
113
|
-
|
|
114
|
-
Args:
|
|
115
|
-
data ([PlacementsReportQueryEntityMessage]):
|
|
106
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
107
|
+
"""Outcome - a model defined in OpenAPI
|
|
116
108
|
|
|
117
109
|
Keyword Args:
|
|
118
110
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,6 +137,8 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
145
137
|
Animal class but this time we won't travel
|
|
146
138
|
through its discriminator because we passed in
|
|
147
139
|
_visited_composed_classes = (Animal,)
|
|
140
|
+
warnings ([CommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
141
|
+
errors ([CommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
148
142
|
"""
|
|
149
143
|
|
|
150
144
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -176,7 +170,6 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
176
170
|
self._configuration = _configuration
|
|
177
171
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
178
172
|
|
|
179
|
-
self.data = data
|
|
180
173
|
for var_name, var_value in kwargs.items():
|
|
181
174
|
if var_name not in self.attribute_map and \
|
|
182
175
|
self._configuration is not None and \
|
|
@@ -197,11 +190,8 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
197
190
|
])
|
|
198
191
|
|
|
199
192
|
@convert_js_args_to_python_args
|
|
200
|
-
def __init__(self,
|
|
201
|
-
"""
|
|
202
|
-
|
|
203
|
-
Args:
|
|
204
|
-
data ([PlacementsReportQueryEntityMessage]):
|
|
193
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
194
|
+
"""Outcome - a model defined in OpenAPI
|
|
205
195
|
|
|
206
196
|
Keyword Args:
|
|
207
197
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -234,6 +224,8 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
234
224
|
Animal class but this time we won't travel
|
|
235
225
|
through its discriminator because we passed in
|
|
236
226
|
_visited_composed_classes = (Animal,)
|
|
227
|
+
warnings ([CommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
228
|
+
errors ([CommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
237
229
|
"""
|
|
238
230
|
|
|
239
231
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -263,7 +255,6 @@ class PlacementsReportQueryDataMessage(ModelNormal):
|
|
|
263
255
|
self._configuration = _configuration
|
|
264
256
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
265
257
|
|
|
266
|
-
self.data = data
|
|
267
258
|
for var_name, var_value in kwargs.items():
|
|
268
259
|
if var_name not in self.attribute_map and \
|
|
269
260
|
self._configuration is not None and \
|
|
@@ -64,23 +64,17 @@ class PlacementsReportQueryMessage(ModelNormal):
|
|
|
64
64
|
'ADVERTISERNAME': "AdvertiserName",
|
|
65
65
|
'CAMPAIGNID': "CampaignId",
|
|
66
66
|
'CAMPAIGNNAME': "CampaignName",
|
|
67
|
+
'ADCHANNEL': "AdChannel",
|
|
68
|
+
'SOCIALPLATFORM': "SocialPlatform",
|
|
69
|
+
'CATEGORYID': "CategoryId",
|
|
70
|
+
'CATEGORYNAME': "CategoryName",
|
|
67
71
|
},
|
|
68
72
|
}
|
|
69
73
|
|
|
70
74
|
validations = {
|
|
71
|
-
('dimensions',): {
|
|
72
|
-
},
|
|
73
|
-
('metrics',): {
|
|
74
|
-
},
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
def additional_properties_type():
|
|
79
|
-
"""
|
|
80
|
-
This must be a method because a model may have properties that are
|
|
81
|
-
of type self, this must run after the class is loaded
|
|
82
|
-
"""
|
|
83
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
77
|
+
additional_properties_type = None
|
|
84
78
|
|
|
85
79
|
_nullable = False
|
|
86
80
|
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_v2024_07.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_v2024_07.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_v2024_07.model.placements_report_query_message_resource import PlacementsReportQueryMessageResource
|
|
34
|
+
globals()['PlacementsReportQueryMessageResource'] = PlacementsReportQueryMessageResource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class PlacementsReportQueryMessageListRequest(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -62,18 +62,9 @@ class ProblemsDetails(ModelNormal):
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
validations = {
|
|
65
|
-
('errors',): {
|
|
66
|
-
},
|
|
67
65
|
}
|
|
68
66
|
|
|
69
|
-
|
|
70
|
-
def additional_properties_type():
|
|
71
|
-
"""
|
|
72
|
-
This must be a method because a model may have properties that are
|
|
73
|
-
of type self, this must run after the class is loaded
|
|
74
|
-
"""
|
|
75
|
-
lazy_import()
|
|
76
|
-
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
67
|
+
additional_properties_type = None
|
|
77
68
|
|
|
78
69
|
_nullable = False
|
|
79
70
|
|
|
@@ -89,7 +80,7 @@ class ProblemsDetails(ModelNormal):
|
|
|
89
80
|
"""
|
|
90
81
|
lazy_import()
|
|
91
82
|
return {
|
|
92
|
-
'
|
|
83
|
+
'data': ([PlacementsReportQueryMessageResource], none_type,), # noqa: E501
|
|
93
84
|
}
|
|
94
85
|
|
|
95
86
|
@cached_property
|
|
@@ -98,11 +89,10 @@ class ProblemsDetails(ModelNormal):
|
|
|
98
89
|
|
|
99
90
|
|
|
100
91
|
attribute_map = {
|
|
101
|
-
'
|
|
92
|
+
'data': 'data', # noqa: E501
|
|
102
93
|
}
|
|
103
94
|
|
|
104
95
|
read_only_vars = {
|
|
105
|
-
'errors', # noqa: E501
|
|
106
96
|
}
|
|
107
97
|
|
|
108
98
|
_composed_schemas = {}
|
|
@@ -110,7 +100,7 @@ class ProblemsDetails(ModelNormal):
|
|
|
110
100
|
@classmethod
|
|
111
101
|
@convert_js_args_to_python_args
|
|
112
102
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
113
|
-
"""
|
|
103
|
+
"""PlacementsReportQueryMessageListRequest - a model defined in OpenAPI
|
|
114
104
|
|
|
115
105
|
Keyword Args:
|
|
116
106
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -143,7 +133,7 @@ class ProblemsDetails(ModelNormal):
|
|
|
143
133
|
Animal class but this time we won't travel
|
|
144
134
|
through its discriminator because we passed in
|
|
145
135
|
_visited_composed_classes = (Animal,)
|
|
146
|
-
|
|
136
|
+
data ([PlacementsReportQueryMessageResource], none_type): [optional] # noqa: E501
|
|
147
137
|
"""
|
|
148
138
|
|
|
149
139
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -196,7 +186,7 @@ class ProblemsDetails(ModelNormal):
|
|
|
196
186
|
|
|
197
187
|
@convert_js_args_to_python_args
|
|
198
188
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
189
|
+
"""PlacementsReportQueryMessageListRequest - a model defined in OpenAPI
|
|
200
190
|
|
|
201
191
|
Keyword Args:
|
|
202
192
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,7 +219,7 @@ class ProblemsDetails(ModelNormal):
|
|
|
229
219
|
Animal class but this time we won't travel
|
|
230
220
|
through its discriminator because we passed in
|
|
231
221
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
|
|
222
|
+
data ([PlacementsReportQueryMessageResource], none_type): [optional] # noqa: E501
|
|
233
223
|
"""
|
|
234
224
|
|
|
235
225
|
_check_type = kwargs.pop('_check_type', True)
|