21
21
none_type ,
22
22
validate_and_convert_types
23
23
)
24
- from criteo_api_marketingsolutions_v2023_07 .model .placements_report_query_data_message import PlacementsReportQueryDataMessage
25
- from criteo_api_marketingsolutions_v2023_07 .model .problems_details import ProblemsDetails
24
+ from criteo_api_marketingsolutions_v2023_07 .model .outcome import Outcome
25
+ from criteo_api_marketingsolutions_v2023_07 .model .placements_report_query_message_list_request import PlacementsReportQueryMessageListRequest
26
26
from criteo_api_marketingsolutions_v2023_07 .model .statistics_report_query_message import StatisticsReportQueryMessage
27
- from criteo_api_marketingsolutions_v2023_07 .model .transactions_report_query_data_message import TransactionsReportQueryDataMessage
27
+ from criteo_api_marketingsolutions_v2023_07 .model .transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest
28
28
from criteo_api_marketingsolutions_v2023_07 .model .transparency_query_message import TransparencyQueryMessage
29
- from criteo_api_marketingsolutions_v2023_07 .model .transparency_report_data_message import TransparencyReportDataMessage
29
+ from criteo_api_marketingsolutions_v2023_07 .model .transparency_report_list_response import TransparencyReportListResponse
30
30
31
31
32
32
class AnalyticsApi (object ):
@@ -42,7 +42,7 @@ def __init__(self, api_client=None):
42
42
self .api_client = api_client
43
43
self .get_adset_report_endpoint = _Endpoint (
44
44
settings = {
45
- 'response_type' : (file_type ,),
45
+ 'response_type' : (str ,),
46
46
'auth' : [
47
47
'oauth' ,
48
48
'oauth'
@@ -101,7 +101,7 @@ def __init__(self, api_client=None):
101
101
)
102
102
self .get_placements_report_endpoint = _Endpoint (
103
103
settings = {
104
- 'response_type' : (file_type ,),
104
+ 'response_type' : (str ,),
105
105
'auth' : [
106
106
'oauth' ,
107
107
'oauth'
@@ -113,7 +113,7 @@ def __init__(self, api_client=None):
113
113
},
114
114
params_map = {
115
115
'all' : [
116
- 'placements_report_query_data_message ' ,
116
+ 'placements_report_query_message_list_request ' ,
117
117
],
118
118
'required' : [],
119
119
'nullable' : [
@@ -129,13 +129,13 @@ def __init__(self, api_client=None):
129
129
'allowed_values' : {
130
130
},
131
131
'openapi_types' : {
132
- 'placements_report_query_data_message ' :
133
- (PlacementsReportQueryDataMessage ,),
132
+ 'placements_report_query_message_list_request ' :
133
+ (PlacementsReportQueryMessageListRequest ,),
134
134
},
135
135
'attribute_map' : {
136
136
},
137
137
'location_map' : {
138
- 'placements_report_query_data_message ' : 'body' ,
138
+ 'placements_report_query_message_list_request ' : 'body' ,
139
139
},
140
140
'collection_format_map' : {
141
141
}
@@ -145,9 +145,8 @@ def __init__(self, api_client=None):
145
145
'text/plain' ,
146
146
'application/json' ,
147
147
'text/json' ,
148
- 'text/csv' ,
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 @@ def __init__(self, api_client=None):
160
159
)
161
160
self .get_transactions_report_endpoint = _Endpoint (
162
161
settings = {
163
- 'response_type' : (file_type ,),
162
+ 'response_type' : (str ,),
164
163
'auth' : [
165
164
'oauth' ,
166
165
'oauth'
@@ -172,7 +171,7 @@ def __init__(self, api_client=None):
172
171
},
173
172
params_map = {
174
173
'all' : [
175
- 'transactions_report_query_data_message ' ,
174
+ 'transactions_report_query_message_list_request ' ,
176
175
],
177
176
'required' : [],
178
177
'nullable' : [
@@ -188,13 +187,13 @@ def __init__(self, api_client=None):
188
187
'allowed_values' : {
189
188
},
190
189
'openapi_types' : {
191
- 'transactions_report_query_data_message ' :
192
- (TransactionsReportQueryDataMessage ,),
190
+ 'transactions_report_query_message_list_request ' :
191
+ (TransactionsReportQueryMessageListRequest ,),
193
192
},
194
193
'attribute_map' : {
195
194
},
196
195
'location_map' : {
197
- 'transactions_report_query_data_message ' : 'body' ,
196
+ 'transactions_report_query_message_list_request ' : 'body' ,
198
197
},
199
198
'collection_format_map' : {
200
199
}
@@ -219,7 +218,7 @@ def __init__(self, api_client=None):
219
218
)
220
219
self .get_transparency_report_endpoint = _Endpoint (
221
220
settings = {
222
- 'response_type' : (TransparencyReportDataMessage ,),
221
+ 'response_type' : (TransparencyReportListResponse ,),
223
222
'auth' : [
224
223
'oauth' ,
225
224
'oauth'
@@ -267,9 +266,11 @@ def __init__(self, api_client=None):
267
266
},
268
267
headers_map = {
269
268
'accept' : [
270
- 'application/json' ,
271
269
'text/plain' ,
272
- 'text/json'
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 @@ def get_adset_report(
329
330
async_req (bool): execute request asynchronously
330
331
331
332
Returns:
332
- file_type
333
+ str
333
334
If the method is called asynchronously, returns the request
334
335
thread.
335
336
"""
@@ -375,7 +376,7 @@ def get_placements_report(
375
376
376
377
377
378
Keyword Args:
378
- placements_report_query_data_message (PlacementsReportQueryDataMessage ): [optional]
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 @@ def get_placements_report(
408
409
async_req (bool): execute request asynchronously
409
410
410
411
Returns:
411
- file_type
412
+ str
412
413
If the method is called asynchronously, returns the request
413
414
thread.
414
415
"""
@@ -454,7 +455,7 @@ def get_transactions_report(
454
455
455
456
456
457
Keyword Args:
457
- transactions_report_query_data_message (TransactionsReportQueryDataMessage ): [optional]
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 @@ def get_transactions_report(
487
488
async_req (bool): execute request asynchronously
488
489
489
490
Returns:
490
- file_type
491
+ str
491
492
If the method is called asynchronously, returns the request
492
493
thread.
493
494
"""
@@ -536,7 +537,7 @@ def get_transparency_report(
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 @@ def get_transparency_report(
569
570
async_req (bool): execute request asynchronously
570
571
571
572
Returns:
572
- TransparencyReportDataMessage
573
+ TransparencyReportListResponse
573
574
If the method is called asynchronously, returns the request
574
575
thread.
575
576
"""
0 commit comments