criteo-api-marketingsolutions-sdk 0.0.251009__py3-none-any.whl → 0.0.251014__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.

@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.251009"
11
+ __version__ = "0.0.251014"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_marketingsolutions_preview.api_client import ApiClient
@@ -63,130 +63,24 @@ class AudienceApi(object):
63
63
  if api_client is None:
64
64
  api_client = ApiClient()
65
65
  self.api_client = api_client
66
- self.bulk_create_audience_segments_endpoint = _Endpoint(
67
- settings={
68
- 'response_type': (AudienceSegmentEntityV1ListResponse,),
69
- 'auth': [
70
- 'oauth',
71
- 'oauth'
72
- ],
73
- 'endpoint_path': '/preview/marketing-solutions/audience-segments/create',
74
- 'operation_id': 'bulk_create_audience_segments',
75
- 'http_method': 'POST',
76
- 'servers': None,
77
- },
78
- params_map={
79
- 'all': [
80
- 'audience_segment_bulk_create_input_v1',
81
- ],
82
- 'required': [
83
- 'audience_segment_bulk_create_input_v1',
84
- ],
85
- 'nullable': [
86
- ],
87
- 'enum': [
88
- ],
89
- 'validation': [
90
- ]
91
- },
92
- root_map={
93
- 'validations': {
94
- },
95
- 'allowed_values': {
96
- },
97
- 'openapi_types': {
98
- 'audience_segment_bulk_create_input_v1':
99
- (AudienceSegmentBulkCreateInputV1,),
100
- },
101
- 'attribute_map': {
102
- },
103
- 'location_map': {
104
- 'audience_segment_bulk_create_input_v1': 'body',
105
- },
106
- 'collection_format_map': {
107
- }
108
- },
109
- headers_map={
110
- 'accept': [
111
- 'application/json'
112
- ],
113
- 'content_type': [
114
- 'application/json'
115
- ]
116
- },
117
- api_client=api_client
118
- )
119
- self.bulk_create_audiences_endpoint = _Endpoint(
120
- settings={
121
- 'response_type': (AudienceEntityV1ListResponse,),
122
- 'auth': [
123
- 'oauth',
124
- 'oauth'
125
- ],
126
- 'endpoint_path': '/preview/marketing-solutions/audiences/create',
127
- 'operation_id': 'bulk_create_audiences',
128
- 'http_method': 'POST',
129
- 'servers': None,
130
- },
131
- params_map={
132
- 'all': [
133
- 'audience_bulk_create_input_v1',
134
- ],
135
- 'required': [
136
- 'audience_bulk_create_input_v1',
137
- ],
138
- 'nullable': [
139
- ],
140
- 'enum': [
141
- ],
142
- 'validation': [
143
- ]
144
- },
145
- root_map={
146
- 'validations': {
147
- },
148
- 'allowed_values': {
149
- },
150
- 'openapi_types': {
151
- 'audience_bulk_create_input_v1':
152
- (AudienceBulkCreateInputV1,),
153
- },
154
- 'attribute_map': {
155
- },
156
- 'location_map': {
157
- 'audience_bulk_create_input_v1': 'body',
158
- },
159
- 'collection_format_map': {
160
- }
161
- },
162
- headers_map={
163
- 'accept': [
164
- 'application/json'
165
- ],
166
- 'content_type': [
167
- 'application/json'
168
- ]
169
- },
170
- api_client=api_client
171
- )
172
- self.bulk_delete_audience_segments_endpoint = _Endpoint(
66
+ self.compute_audience_segments_sizes_endpoint = _Endpoint(
173
67
  settings={
174
- 'response_type': (AudienceSegmentIdEntityV1ListResponse,),
68
+ 'response_type': (AudienceSegmentSizeEntityV1ListResponse,),
175
69
  'auth': [
176
70
  'oauth',
177
71
  'oauth'
178
72
  ],
179
- 'endpoint_path': '/preview/marketing-solutions/audience-segments/delete',
180
- 'operation_id': 'bulk_delete_audience_segments',
73
+ 'endpoint_path': '/preview/marketing-solutions/audience-segments/compute-sizes',
74
+ 'operation_id': 'compute_audience_segments_sizes',
181
75
  'http_method': 'POST',
182
76
  'servers': None,
183
77
  },
184
78
  params_map={
185
79
  'all': [
186
- 'audience_segment_bulk_delete_input_v1',
80
+ 'audience_segment_compute_sizes_input_v1',
187
81
  ],
188
82
  'required': [
189
- 'audience_segment_bulk_delete_input_v1',
83
+ 'audience_segment_compute_sizes_input_v1',
190
84
  ],
191
85
  'nullable': [
192
86
  ],
@@ -201,13 +95,13 @@ class AudienceApi(object):
201
95
  'allowed_values': {
202
96
  },
203
97
  'openapi_types': {
204
- 'audience_segment_bulk_delete_input_v1':
205
- (AudienceSegmentBulkDeleteInputV1,),
98
+ 'audience_segment_compute_sizes_input_v1':
99
+ (AudienceSegmentComputeSizesInputV1,),
206
100
  },
207
101
  'attribute_map': {
208
102
  },
209
103
  'location_map': {
210
- 'audience_segment_bulk_delete_input_v1': 'body',
104
+ 'audience_segment_compute_sizes_input_v1': 'body',
211
105
  },
212
106
  'collection_format_map': {
213
107
  }
@@ -222,24 +116,24 @@ class AudienceApi(object):
222
116
  },
223
117
  api_client=api_client
224
118
  )
225
- self.bulk_delete_audiences_endpoint = _Endpoint(
119
+ self.compute_audiences_sizes_endpoint = _Endpoint(
226
120
  settings={
227
- 'response_type': (AudienceIdEntityV1ListResponse,),
121
+ 'response_type': (AudienceSizeEntityV1ListResponse,),
228
122
  'auth': [
229
123
  'oauth',
230
124
  'oauth'
231
125
  ],
232
- 'endpoint_path': '/preview/marketing-solutions/audiences/delete',
233
- 'operation_id': 'bulk_delete_audiences',
126
+ 'endpoint_path': '/preview/marketing-solutions/audiences/compute-sizes',
127
+ 'operation_id': 'compute_audiences_sizes',
234
128
  'http_method': 'POST',
235
129
  'servers': None,
236
130
  },
237
131
  params_map={
238
132
  'all': [
239
- 'audience_bulk_delete_input_v1',
133
+ 'audience_compute_sizes_input_v1',
240
134
  ],
241
135
  'required': [
242
- 'audience_bulk_delete_input_v1',
136
+ 'audience_compute_sizes_input_v1',
243
137
  ],
244
138
  'nullable': [
245
139
  ],
@@ -254,13 +148,13 @@ class AudienceApi(object):
254
148
  'allowed_values': {
255
149
  },
256
150
  'openapi_types': {
257
- 'audience_bulk_delete_input_v1':
258
- (AudienceBulkDeleteInputV1,),
151
+ 'audience_compute_sizes_input_v1':
152
+ (AudienceComputeSizesInputV1,),
259
153
  },
260
154
  'attribute_map': {
261
155
  },
262
156
  'location_map': {
263
- 'audience_bulk_delete_input_v1': 'body',
157
+ 'audience_compute_sizes_input_v1': 'body',
264
158
  },
265
159
  'collection_format_map': {
266
160
  }
@@ -275,24 +169,24 @@ class AudienceApi(object):
275
169
  },
276
170
  api_client=api_client
277
171
  )
278
- self.bulk_update_audience_segments_endpoint = _Endpoint(
172
+ self.create_audience_segments_endpoint = _Endpoint(
279
173
  settings={
280
174
  'response_type': (AudienceSegmentEntityV1ListResponse,),
281
175
  'auth': [
282
176
  'oauth',
283
177
  'oauth'
284
178
  ],
285
- 'endpoint_path': '/preview/marketing-solutions/audience-segments',
286
- 'operation_id': 'bulk_update_audience_segments',
287
- 'http_method': 'PATCH',
179
+ 'endpoint_path': '/preview/marketing-solutions/audience-segments/create',
180
+ 'operation_id': 'create_audience_segments',
181
+ 'http_method': 'POST',
288
182
  'servers': None,
289
183
  },
290
184
  params_map={
291
185
  'all': [
292
- 'audience_segment_bulk_update_input_v1',
186
+ 'audience_segment_bulk_create_input_v1',
293
187
  ],
294
188
  'required': [
295
- 'audience_segment_bulk_update_input_v1',
189
+ 'audience_segment_bulk_create_input_v1',
296
190
  ],
297
191
  'nullable': [
298
192
  ],
@@ -307,13 +201,13 @@ class AudienceApi(object):
307
201
  'allowed_values': {
308
202
  },
309
203
  'openapi_types': {
310
- 'audience_segment_bulk_update_input_v1':
311
- (AudienceSegmentBulkUpdateInputV1,),
204
+ 'audience_segment_bulk_create_input_v1':
205
+ (AudienceSegmentBulkCreateInputV1,),
312
206
  },
313
207
  'attribute_map': {
314
208
  },
315
209
  'location_map': {
316
- 'audience_segment_bulk_update_input_v1': 'body',
210
+ 'audience_segment_bulk_create_input_v1': 'body',
317
211
  },
318
212
  'collection_format_map': {
319
213
  }
@@ -328,24 +222,24 @@ class AudienceApi(object):
328
222
  },
329
223
  api_client=api_client
330
224
  )
331
- self.bulk_update_audiences_endpoint = _Endpoint(
225
+ self.create_audiences_endpoint = _Endpoint(
332
226
  settings={
333
227
  'response_type': (AudienceEntityV1ListResponse,),
334
228
  'auth': [
335
229
  'oauth',
336
230
  'oauth'
337
231
  ],
338
- 'endpoint_path': '/preview/marketing-solutions/audiences',
339
- 'operation_id': 'bulk_update_audiences',
340
- 'http_method': 'PATCH',
232
+ 'endpoint_path': '/preview/marketing-solutions/audiences/create',
233
+ 'operation_id': 'create_audiences',
234
+ 'http_method': 'POST',
341
235
  'servers': None,
342
236
  },
343
237
  params_map={
344
238
  'all': [
345
- 'audience_bulk_update_input_v1',
239
+ 'audience_bulk_create_input_v1',
346
240
  ],
347
241
  'required': [
348
- 'audience_bulk_update_input_v1',
242
+ 'audience_bulk_create_input_v1',
349
243
  ],
350
244
  'nullable': [
351
245
  ],
@@ -360,13 +254,13 @@ class AudienceApi(object):
360
254
  'allowed_values': {
361
255
  },
362
256
  'openapi_types': {
363
- 'audience_bulk_update_input_v1':
364
- (AudienceBulkUpdateInputV1,),
257
+ 'audience_bulk_create_input_v1':
258
+ (AudienceBulkCreateInputV1,),
365
259
  },
366
260
  'attribute_map': {
367
261
  },
368
262
  'location_map': {
369
- 'audience_bulk_update_input_v1': 'body',
263
+ 'audience_bulk_create_input_v1': 'body',
370
264
  },
371
265
  'collection_format_map': {
372
266
  }
@@ -381,24 +275,24 @@ class AudienceApi(object):
381
275
  },
382
276
  api_client=api_client
383
277
  )
384
- self.compute_audience_segments_sizes_endpoint = _Endpoint(
278
+ self.delete_audience_segments_endpoint = _Endpoint(
385
279
  settings={
386
- 'response_type': (AudienceSegmentSizeEntityV1ListResponse,),
280
+ 'response_type': (AudienceSegmentIdEntityV1ListResponse,),
387
281
  'auth': [
388
282
  'oauth',
389
283
  'oauth'
390
284
  ],
391
- 'endpoint_path': '/preview/marketing-solutions/audience-segments/compute-sizes',
392
- 'operation_id': 'compute_audience_segments_sizes',
285
+ 'endpoint_path': '/preview/marketing-solutions/audience-segments/delete',
286
+ 'operation_id': 'delete_audience_segments',
393
287
  'http_method': 'POST',
394
288
  'servers': None,
395
289
  },
396
290
  params_map={
397
291
  'all': [
398
- 'audience_segment_compute_sizes_input_v1',
292
+ 'audience_segment_bulk_delete_input_v1',
399
293
  ],
400
294
  'required': [
401
- 'audience_segment_compute_sizes_input_v1',
295
+ 'audience_segment_bulk_delete_input_v1',
402
296
  ],
403
297
  'nullable': [
404
298
  ],
@@ -413,13 +307,13 @@ class AudienceApi(object):
413
307
  'allowed_values': {
414
308
  },
415
309
  'openapi_types': {
416
- 'audience_segment_compute_sizes_input_v1':
417
- (AudienceSegmentComputeSizesInputV1,),
310
+ 'audience_segment_bulk_delete_input_v1':
311
+ (AudienceSegmentBulkDeleteInputV1,),
418
312
  },
419
313
  'attribute_map': {
420
314
  },
421
315
  'location_map': {
422
- 'audience_segment_compute_sizes_input_v1': 'body',
316
+ 'audience_segment_bulk_delete_input_v1': 'body',
423
317
  },
424
318
  'collection_format_map': {
425
319
  }
@@ -434,24 +328,24 @@ class AudienceApi(object):
434
328
  },
435
329
  api_client=api_client
436
330
  )
437
- self.compute_audiences_sizes_endpoint = _Endpoint(
331
+ self.delete_audiences_endpoint = _Endpoint(
438
332
  settings={
439
- 'response_type': (AudienceSizeEntityV1ListResponse,),
333
+ 'response_type': (AudienceIdEntityV1ListResponse,),
440
334
  'auth': [
441
335
  'oauth',
442
336
  'oauth'
443
337
  ],
444
- 'endpoint_path': '/preview/marketing-solutions/audiences/compute-sizes',
445
- 'operation_id': 'compute_audiences_sizes',
338
+ 'endpoint_path': '/preview/marketing-solutions/audiences/delete',
339
+ 'operation_id': 'delete_audiences',
446
340
  'http_method': 'POST',
447
341
  'servers': None,
448
342
  },
449
343
  params_map={
450
344
  'all': [
451
- 'audience_compute_sizes_input_v1',
345
+ 'audience_bulk_delete_input_v1',
452
346
  ],
453
347
  'required': [
454
- 'audience_compute_sizes_input_v1',
348
+ 'audience_bulk_delete_input_v1',
455
349
  ],
456
350
  'nullable': [
457
351
  ],
@@ -466,13 +360,13 @@ class AudienceApi(object):
466
360
  'allowed_values': {
467
361
  },
468
362
  'openapi_types': {
469
- 'audience_compute_sizes_input_v1':
470
- (AudienceComputeSizesInputV1,),
363
+ 'audience_bulk_delete_input_v1':
364
+ (AudienceBulkDeleteInputV1,),
471
365
  },
472
366
  'attribute_map': {
473
367
  },
474
368
  'location_map': {
475
- 'audience_compute_sizes_input_v1': 'body',
369
+ 'audience_bulk_delete_input_v1': 'body',
476
370
  },
477
371
  'collection_format_map': {
478
372
  }
@@ -487,7 +381,7 @@ class AudienceApi(object):
487
381
  },
488
382
  api_client=api_client
489
383
  )
490
- self.estimate_audience_segment_size_endpoint = _Endpoint(
384
+ self.estimate_audience_segments_sizes_endpoint = _Endpoint(
491
385
  settings={
492
386
  'response_type': (AudienceSegmentSizeEstimationV1Response,),
493
387
  'auth': [
@@ -495,7 +389,7 @@ class AudienceApi(object):
495
389
  'oauth'
496
390
  ],
497
391
  'endpoint_path': '/preview/marketing-solutions/audience-segments/estimate-size',
498
- 'operation_id': 'estimate_audience_segment_size',
392
+ 'operation_id': 'estimate_audience_segments_sizes',
499
393
  'http_method': 'POST',
500
394
  'servers': None,
501
395
  },
@@ -540,7 +434,7 @@ class AudienceApi(object):
540
434
  },
541
435
  api_client=api_client
542
436
  )
543
- self.estimate_audience_size_endpoint = _Endpoint(
437
+ self.estimate_audiences_sizes_endpoint = _Endpoint(
544
438
  settings={
545
439
  'response_type': (AudienceSizeEstimationV1Response,),
546
440
  'auth': [
@@ -548,7 +442,7 @@ class AudienceApi(object):
548
442
  'oauth'
549
443
  ],
550
444
  'endpoint_path': '/preview/marketing-solutions/audiences/estimate-size',
551
- 'operation_id': 'estimate_audience_size',
445
+ 'operation_id': 'estimate_audiences_sizes',
552
446
  'http_method': 'POST',
553
447
  'servers': None,
554
448
  },
@@ -1069,189 +963,129 @@ class AudienceApi(object):
1069
963
  },
1070
964
  api_client=api_client
1071
965
  )
1072
-
1073
- def bulk_create_audience_segments(
1074
- self,
1075
- audience_segment_bulk_create_input_v1,
1076
- **kwargs
1077
- ):
1078
- """bulk_create_audience_segments # noqa: E501
1079
-
1080
- Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501
1081
- This method makes a synchronous HTTP request by default. To make an
1082
- asynchronous HTTP request, please pass async_req=True
1083
-
1084
- >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True)
1085
- >>> result = thread.get()
1086
-
1087
- Args:
1088
- audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter
1089
-
1090
- Keyword Args:
1091
- _return_http_data_only (bool): response data without head status
1092
- code and headers. Default is True.
1093
- _preload_content (bool): if False, the urllib3.HTTPResponse object
1094
- will be returned without reading/decoding response data.
1095
- Default is True.
1096
- _request_timeout (int/float/tuple): timeout setting for this request. If
1097
- one number provided, it will be total request timeout. It can also
1098
- be a pair (tuple) of (connection, read) timeouts.
1099
- Default is None.
1100
- _check_input_type (bool): specifies if type checking
1101
- should be done one the data sent to the server.
1102
- Default is True.
1103
- _check_return_type (bool): specifies if type checking
1104
- should be done one the data received from the server.
1105
- Default is True.
1106
- _spec_property_naming (bool): True if the variable names in the input data
1107
- are serialized names, as specified in the OpenAPI document.
1108
- False if the variable names in the input data
1109
- are pythonic names, e.g. snake case (default)
1110
- _content_type (str/None): force body content-type.
1111
- Default is None and content-type will be predicted by allowed
1112
- content-types and body.
1113
- _host_index (int/None): specifies the index of the server
1114
- that we want to use.
1115
- Default is read from the configuration.
1116
- _request_auths (list): set to override the auth_settings for an a single
1117
- request; this effectively ignores the authentication
1118
- in the spec for a single request.
1119
- Default is None
1120
- async_req (bool): execute request asynchronously
1121
-
1122
- Returns:
1123
- AudienceSegmentEntityV1ListResponse
1124
- If the method is called asynchronously, returns the request
1125
- thread.
1126
- """
1127
- kwargs['async_req'] = kwargs.get(
1128
- 'async_req', False
1129
- )
1130
- kwargs['_return_http_data_only'] = kwargs.get(
1131
- '_return_http_data_only', True
1132
- )
1133
- kwargs['_preload_content'] = kwargs.get(
1134
- '_preload_content', True
1135
- )
1136
- kwargs['_request_timeout'] = kwargs.get(
1137
- '_request_timeout', None
1138
- )
1139
- kwargs['_check_input_type'] = kwargs.get(
1140
- '_check_input_type', True
1141
- )
1142
- kwargs['_check_return_type'] = kwargs.get(
1143
- '_check_return_type', True
1144
- )
1145
- kwargs['_spec_property_naming'] = kwargs.get(
1146
- '_spec_property_naming', False
1147
- )
1148
- kwargs['_content_type'] = kwargs.get(
1149
- '_content_type')
1150
- kwargs['_host_index'] = kwargs.get('_host_index')
1151
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1152
- kwargs['audience_segment_bulk_create_input_v1'] = \
1153
- audience_segment_bulk_create_input_v1
1154
- return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs)
1155
-
1156
- def bulk_create_audiences(
1157
- self,
1158
- audience_bulk_create_input_v1,
1159
- **kwargs
1160
- ):
1161
- """bulk_create_audiences # noqa: E501
1162
-
1163
- Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501
1164
- This method makes a synchronous HTTP request by default. To make an
1165
- asynchronous HTTP request, please pass async_req=True
1166
-
1167
- >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True)
1168
- >>> result = thread.get()
1169
-
1170
- Args:
1171
- audience_bulk_create_input_v1 (AudienceBulkCreateInputV1):
1172
-
1173
- Keyword Args:
1174
- _return_http_data_only (bool): response data without head status
1175
- code and headers. Default is True.
1176
- _preload_content (bool): if False, the urllib3.HTTPResponse object
1177
- will be returned without reading/decoding response data.
1178
- Default is True.
1179
- _request_timeout (int/float/tuple): timeout setting for this request. If
1180
- one number provided, it will be total request timeout. It can also
1181
- be a pair (tuple) of (connection, read) timeouts.
1182
- Default is None.
1183
- _check_input_type (bool): specifies if type checking
1184
- should be done one the data sent to the server.
1185
- Default is True.
1186
- _check_return_type (bool): specifies if type checking
1187
- should be done one the data received from the server.
1188
- Default is True.
1189
- _spec_property_naming (bool): True if the variable names in the input data
1190
- are serialized names, as specified in the OpenAPI document.
1191
- False if the variable names in the input data
1192
- are pythonic names, e.g. snake case (default)
1193
- _content_type (str/None): force body content-type.
1194
- Default is None and content-type will be predicted by allowed
1195
- content-types and body.
1196
- _host_index (int/None): specifies the index of the server
1197
- that we want to use.
1198
- Default is read from the configuration.
1199
- _request_auths (list): set to override the auth_settings for an a single
1200
- request; this effectively ignores the authentication
1201
- in the spec for a single request.
1202
- Default is None
1203
- async_req (bool): execute request asynchronously
1204
-
1205
- Returns:
1206
- AudienceEntityV1ListResponse
1207
- If the method is called asynchronously, returns the request
1208
- thread.
1209
- """
1210
- kwargs['async_req'] = kwargs.get(
1211
- 'async_req', False
1212
- )
1213
- kwargs['_return_http_data_only'] = kwargs.get(
1214
- '_return_http_data_only', True
1215
- )
1216
- kwargs['_preload_content'] = kwargs.get(
1217
- '_preload_content', True
1218
- )
1219
- kwargs['_request_timeout'] = kwargs.get(
1220
- '_request_timeout', None
1221
- )
1222
- kwargs['_check_input_type'] = kwargs.get(
1223
- '_check_input_type', True
1224
- )
1225
- kwargs['_check_return_type'] = kwargs.get(
1226
- '_check_return_type', True
966
+ self.update_audience_segments_endpoint = _Endpoint(
967
+ settings={
968
+ 'response_type': (AudienceSegmentEntityV1ListResponse,),
969
+ 'auth': [
970
+ 'oauth',
971
+ 'oauth'
972
+ ],
973
+ 'endpoint_path': '/preview/marketing-solutions/audience-segments',
974
+ 'operation_id': 'update_audience_segments',
975
+ 'http_method': 'PATCH',
976
+ 'servers': None,
977
+ },
978
+ params_map={
979
+ 'all': [
980
+ 'audience_segment_bulk_update_input_v1',
981
+ ],
982
+ 'required': [
983
+ 'audience_segment_bulk_update_input_v1',
984
+ ],
985
+ 'nullable': [
986
+ ],
987
+ 'enum': [
988
+ ],
989
+ 'validation': [
990
+ ]
991
+ },
992
+ root_map={
993
+ 'validations': {
994
+ },
995
+ 'allowed_values': {
996
+ },
997
+ 'openapi_types': {
998
+ 'audience_segment_bulk_update_input_v1':
999
+ (AudienceSegmentBulkUpdateInputV1,),
1000
+ },
1001
+ 'attribute_map': {
1002
+ },
1003
+ 'location_map': {
1004
+ 'audience_segment_bulk_update_input_v1': 'body',
1005
+ },
1006
+ 'collection_format_map': {
1007
+ }
1008
+ },
1009
+ headers_map={
1010
+ 'accept': [
1011
+ 'application/json'
1012
+ ],
1013
+ 'content_type': [
1014
+ 'application/json'
1015
+ ]
1016
+ },
1017
+ api_client=api_client
1227
1018
  )
1228
- kwargs['_spec_property_naming'] = kwargs.get(
1229
- '_spec_property_naming', False
1019
+ self.update_audiences_endpoint = _Endpoint(
1020
+ settings={
1021
+ 'response_type': (AudienceEntityV1ListResponse,),
1022
+ 'auth': [
1023
+ 'oauth',
1024
+ 'oauth'
1025
+ ],
1026
+ 'endpoint_path': '/preview/marketing-solutions/audiences',
1027
+ 'operation_id': 'update_audiences',
1028
+ 'http_method': 'PATCH',
1029
+ 'servers': None,
1030
+ },
1031
+ params_map={
1032
+ 'all': [
1033
+ 'audience_bulk_update_input_v1',
1034
+ ],
1035
+ 'required': [
1036
+ 'audience_bulk_update_input_v1',
1037
+ ],
1038
+ 'nullable': [
1039
+ ],
1040
+ 'enum': [
1041
+ ],
1042
+ 'validation': [
1043
+ ]
1044
+ },
1045
+ root_map={
1046
+ 'validations': {
1047
+ },
1048
+ 'allowed_values': {
1049
+ },
1050
+ 'openapi_types': {
1051
+ 'audience_bulk_update_input_v1':
1052
+ (AudienceBulkUpdateInputV1,),
1053
+ },
1054
+ 'attribute_map': {
1055
+ },
1056
+ 'location_map': {
1057
+ 'audience_bulk_update_input_v1': 'body',
1058
+ },
1059
+ 'collection_format_map': {
1060
+ }
1061
+ },
1062
+ headers_map={
1063
+ 'accept': [
1064
+ 'application/json'
1065
+ ],
1066
+ 'content_type': [
1067
+ 'application/json'
1068
+ ]
1069
+ },
1070
+ api_client=api_client
1230
1071
  )
1231
- kwargs['_content_type'] = kwargs.get(
1232
- '_content_type')
1233
- kwargs['_host_index'] = kwargs.get('_host_index')
1234
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1235
- kwargs['audience_bulk_create_input_v1'] = \
1236
- audience_bulk_create_input_v1
1237
- return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs)
1238
1072
 
1239
- def bulk_delete_audience_segments(
1073
+ def compute_audience_segments_sizes(
1240
1074
  self,
1241
- audience_segment_bulk_delete_input_v1,
1075
+ audience_segment_compute_sizes_input_v1,
1242
1076
  **kwargs
1243
1077
  ):
1244
- """bulk_delete_audience_segments # noqa: E501
1078
+ """compute_audience_segments_sizes # noqa: E501
1245
1079
 
1246
- Delete the segments associated to the given audience IDs. # noqa: E501
1080
+ Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501
1247
1081
  This method makes a synchronous HTTP request by default. To make an
1248
1082
  asynchronous HTTP request, please pass async_req=True
1249
1083
 
1250
- >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True)
1084
+ >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True)
1251
1085
  >>> result = thread.get()
1252
1086
 
1253
1087
  Args:
1254
- audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request.
1088
+ audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1):
1255
1089
 
1256
1090
  Keyword Args:
1257
1091
  _return_http_data_only (bool): response data without head status
@@ -1286,7 +1120,7 @@ class AudienceApi(object):
1286
1120
  async_req (bool): execute request asynchronously
1287
1121
 
1288
1122
  Returns:
1289
- AudienceSegmentIdEntityV1ListResponse
1123
+ AudienceSegmentSizeEntityV1ListResponse
1290
1124
  If the method is called asynchronously, returns the request
1291
1125
  thread.
1292
1126
  """
@@ -1315,26 +1149,26 @@ class AudienceApi(object):
1315
1149
  '_content_type')
1316
1150
  kwargs['_host_index'] = kwargs.get('_host_index')
1317
1151
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1318
- kwargs['audience_segment_bulk_delete_input_v1'] = \
1319
- audience_segment_bulk_delete_input_v1
1320
- return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs)
1152
+ kwargs['audience_segment_compute_sizes_input_v1'] = \
1153
+ audience_segment_compute_sizes_input_v1
1154
+ return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
1321
1155
 
1322
- def bulk_delete_audiences(
1156
+ def compute_audiences_sizes(
1323
1157
  self,
1324
- audience_bulk_delete_input_v1,
1158
+ audience_compute_sizes_input_v1,
1325
1159
  **kwargs
1326
1160
  ):
1327
- """bulk_delete_audiences # noqa: E501
1161
+ """compute_audiences_sizes # noqa: E501
1328
1162
 
1329
- Deletes the audiences associated to the given audience IDs. # noqa: E501
1163
+ Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501
1330
1164
  This method makes a synchronous HTTP request by default. To make an
1331
1165
  asynchronous HTTP request, please pass async_req=True
1332
1166
 
1333
- >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True)
1167
+ >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True)
1334
1168
  >>> result = thread.get()
1335
1169
 
1336
1170
  Args:
1337
- audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1):
1171
+ audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1):
1338
1172
 
1339
1173
  Keyword Args:
1340
1174
  _return_http_data_only (bool): response data without head status
@@ -1369,7 +1203,7 @@ class AudienceApi(object):
1369
1203
  async_req (bool): execute request asynchronously
1370
1204
 
1371
1205
  Returns:
1372
- AudienceIdEntityV1ListResponse
1206
+ AudienceSizeEntityV1ListResponse
1373
1207
  If the method is called asynchronously, returns the request
1374
1208
  thread.
1375
1209
  """
@@ -1398,26 +1232,26 @@ class AudienceApi(object):
1398
1232
  '_content_type')
1399
1233
  kwargs['_host_index'] = kwargs.get('_host_index')
1400
1234
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1401
- kwargs['audience_bulk_delete_input_v1'] = \
1402
- audience_bulk_delete_input_v1
1403
- return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs)
1235
+ kwargs['audience_compute_sizes_input_v1'] = \
1236
+ audience_compute_sizes_input_v1
1237
+ return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
1404
1238
 
1405
- def bulk_update_audience_segments(
1239
+ def create_audience_segments(
1406
1240
  self,
1407
- audience_segment_bulk_update_input_v1,
1241
+ audience_segment_bulk_create_input_v1,
1408
1242
  **kwargs
1409
1243
  ):
1410
- """bulk_update_audience_segments # noqa: E501
1244
+ """create_audience_segments # noqa: E501
1411
1245
 
1412
- Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501
1246
+ Creates all segments with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501
1413
1247
  This method makes a synchronous HTTP request by default. To make an
1414
1248
  asynchronous HTTP request, please pass async_req=True
1415
1249
 
1416
- >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True)
1250
+ >>> thread = api.create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True)
1417
1251
  >>> result = thread.get()
1418
1252
 
1419
1253
  Args:
1420
- audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request
1254
+ audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter
1421
1255
 
1422
1256
  Keyword Args:
1423
1257
  _return_http_data_only (bool): response data without head status
@@ -1481,26 +1315,26 @@ class AudienceApi(object):
1481
1315
  '_content_type')
1482
1316
  kwargs['_host_index'] = kwargs.get('_host_index')
1483
1317
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1484
- kwargs['audience_segment_bulk_update_input_v1'] = \
1485
- audience_segment_bulk_update_input_v1
1486
- return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs)
1318
+ kwargs['audience_segment_bulk_create_input_v1'] = \
1319
+ audience_segment_bulk_create_input_v1
1320
+ return self.create_audience_segments_endpoint.call_with_http_info(**kwargs)
1487
1321
 
1488
- def bulk_update_audiences(
1322
+ def create_audiences(
1489
1323
  self,
1490
- audience_bulk_update_input_v1,
1324
+ audience_bulk_create_input_v1,
1491
1325
  **kwargs
1492
1326
  ):
1493
- """bulk_update_audiences # noqa: E501
1327
+ """create_audiences # noqa: E501
1494
1328
 
1495
- Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501
1329
+ Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501
1496
1330
  This method makes a synchronous HTTP request by default. To make an
1497
1331
  asynchronous HTTP request, please pass async_req=True
1498
1332
 
1499
- >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True)
1333
+ >>> thread = api.create_audiences(audience_bulk_create_input_v1, async_req=True)
1500
1334
  >>> result = thread.get()
1501
1335
 
1502
1336
  Args:
1503
- audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1):
1337
+ audience_bulk_create_input_v1 (AudienceBulkCreateInputV1):
1504
1338
 
1505
1339
  Keyword Args:
1506
1340
  _return_http_data_only (bool): response data without head status
@@ -1564,26 +1398,26 @@ class AudienceApi(object):
1564
1398
  '_content_type')
1565
1399
  kwargs['_host_index'] = kwargs.get('_host_index')
1566
1400
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1567
- kwargs['audience_bulk_update_input_v1'] = \
1568
- audience_bulk_update_input_v1
1569
- return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs)
1401
+ kwargs['audience_bulk_create_input_v1'] = \
1402
+ audience_bulk_create_input_v1
1403
+ return self.create_audiences_endpoint.call_with_http_info(**kwargs)
1570
1404
 
1571
- def compute_audience_segments_sizes(
1405
+ def delete_audience_segments(
1572
1406
  self,
1573
- audience_segment_compute_sizes_input_v1,
1407
+ audience_segment_bulk_delete_input_v1,
1574
1408
  **kwargs
1575
1409
  ):
1576
- """compute_audience_segments_sizes # noqa: E501
1410
+ """delete_audience_segments # noqa: E501
1577
1411
 
1578
- Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501
1412
+ Delete the segments associated to the given audience IDs. # noqa: E501
1579
1413
  This method makes a synchronous HTTP request by default. To make an
1580
1414
  asynchronous HTTP request, please pass async_req=True
1581
1415
 
1582
- >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True)
1416
+ >>> thread = api.delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True)
1583
1417
  >>> result = thread.get()
1584
1418
 
1585
1419
  Args:
1586
- audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1):
1420
+ audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request.
1587
1421
 
1588
1422
  Keyword Args:
1589
1423
  _return_http_data_only (bool): response data without head status
@@ -1618,7 +1452,7 @@ class AudienceApi(object):
1618
1452
  async_req (bool): execute request asynchronously
1619
1453
 
1620
1454
  Returns:
1621
- AudienceSegmentSizeEntityV1ListResponse
1455
+ AudienceSegmentIdEntityV1ListResponse
1622
1456
  If the method is called asynchronously, returns the request
1623
1457
  thread.
1624
1458
  """
@@ -1647,26 +1481,26 @@ class AudienceApi(object):
1647
1481
  '_content_type')
1648
1482
  kwargs['_host_index'] = kwargs.get('_host_index')
1649
1483
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1650
- kwargs['audience_segment_compute_sizes_input_v1'] = \
1651
- audience_segment_compute_sizes_input_v1
1652
- return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
1484
+ kwargs['audience_segment_bulk_delete_input_v1'] = \
1485
+ audience_segment_bulk_delete_input_v1
1486
+ return self.delete_audience_segments_endpoint.call_with_http_info(**kwargs)
1653
1487
 
1654
- def compute_audiences_sizes(
1488
+ def delete_audiences(
1655
1489
  self,
1656
- audience_compute_sizes_input_v1,
1490
+ audience_bulk_delete_input_v1,
1657
1491
  **kwargs
1658
1492
  ):
1659
- """compute_audiences_sizes # noqa: E501
1493
+ """delete_audiences # noqa: E501
1660
1494
 
1661
- Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501
1495
+ Deletes the audiences associated to the given audience IDs. # noqa: E501
1662
1496
  This method makes a synchronous HTTP request by default. To make an
1663
1497
  asynchronous HTTP request, please pass async_req=True
1664
1498
 
1665
- >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True)
1499
+ >>> thread = api.delete_audiences(audience_bulk_delete_input_v1, async_req=True)
1666
1500
  >>> result = thread.get()
1667
1501
 
1668
1502
  Args:
1669
- audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1):
1503
+ audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1):
1670
1504
 
1671
1505
  Keyword Args:
1672
1506
  _return_http_data_only (bool): response data without head status
@@ -1701,7 +1535,7 @@ class AudienceApi(object):
1701
1535
  async_req (bool): execute request asynchronously
1702
1536
 
1703
1537
  Returns:
1704
- AudienceSizeEntityV1ListResponse
1538
+ AudienceIdEntityV1ListResponse
1705
1539
  If the method is called asynchronously, returns the request
1706
1540
  thread.
1707
1541
  """
@@ -1730,22 +1564,22 @@ class AudienceApi(object):
1730
1564
  '_content_type')
1731
1565
  kwargs['_host_index'] = kwargs.get('_host_index')
1732
1566
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1733
- kwargs['audience_compute_sizes_input_v1'] = \
1734
- audience_compute_sizes_input_v1
1735
- return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
1567
+ kwargs['audience_bulk_delete_input_v1'] = \
1568
+ audience_bulk_delete_input_v1
1569
+ return self.delete_audiences_endpoint.call_with_http_info(**kwargs)
1736
1570
 
1737
- def estimate_audience_segment_size(
1571
+ def estimate_audience_segments_sizes(
1738
1572
  self,
1739
1573
  audience_segment_estimate_size_input_v1,
1740
1574
  **kwargs
1741
1575
  ):
1742
- """estimate_audience_segment_size # noqa: E501
1576
+ """estimate_audience_segments_sizes # noqa: E501
1743
1577
 
1744
1578
  Gets the size estimation of a non existent segment. An error is returned when size calculation is not supported. # noqa: E501
1745
1579
  This method makes a synchronous HTTP request by default. To make an
1746
1580
  asynchronous HTTP request, please pass async_req=True
1747
1581
 
1748
- >>> thread = api.estimate_audience_segment_size(audience_segment_estimate_size_input_v1, async_req=True)
1582
+ >>> thread = api.estimate_audience_segments_sizes(audience_segment_estimate_size_input_v1, async_req=True)
1749
1583
  >>> result = thread.get()
1750
1584
 
1751
1585
  Args:
@@ -1815,20 +1649,20 @@ class AudienceApi(object):
1815
1649
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1816
1650
  kwargs['audience_segment_estimate_size_input_v1'] = \
1817
1651
  audience_segment_estimate_size_input_v1
1818
- return self.estimate_audience_segment_size_endpoint.call_with_http_info(**kwargs)
1652
+ return self.estimate_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
1819
1653
 
1820
- def estimate_audience_size(
1654
+ def estimate_audiences_sizes(
1821
1655
  self,
1822
1656
  audience_estimate_size_input_v1,
1823
1657
  **kwargs
1824
1658
  ):
1825
- """estimate_audience_size # noqa: E501
1659
+ """estimate_audiences_sizes # noqa: E501
1826
1660
 
1827
1661
  Gets the size estimation of a non existent audience. An error is returned when size calculation is not supported. # noqa: E501
1828
1662
  This method makes a synchronous HTTP request by default. To make an
1829
1663
  asynchronous HTTP request, please pass async_req=True
1830
1664
 
1831
- >>> thread = api.estimate_audience_size(audience_estimate_size_input_v1, async_req=True)
1665
+ >>> thread = api.estimate_audiences_sizes(audience_estimate_size_input_v1, async_req=True)
1832
1666
  >>> result = thread.get()
1833
1667
 
1834
1668
  Args:
@@ -1898,7 +1732,7 @@ class AudienceApi(object):
1898
1732
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1899
1733
  kwargs['audience_estimate_size_input_v1'] = \
1900
1734
  audience_estimate_size_input_v1
1901
- return self.estimate_audience_size_endpoint.call_with_http_info(**kwargs)
1735
+ return self.estimate_audiences_sizes_endpoint.call_with_http_info(**kwargs)
1902
1736
 
1903
1737
  def get_audience_segment_contact_list_statistics(
1904
1738
  self,
@@ -2584,3 +2418,169 @@ class AudienceApi(object):
2584
2418
  audience_search_input_v1
2585
2419
  return self.search_audiences_endpoint.call_with_http_info(**kwargs)
2586
2420
 
2421
+ def update_audience_segments(
2422
+ self,
2423
+ audience_segment_bulk_update_input_v1,
2424
+ **kwargs
2425
+ ):
2426
+ """update_audience_segments # noqa: E501
2427
+
2428
+ Updates the properties of all segments with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501
2429
+ This method makes a synchronous HTTP request by default. To make an
2430
+ asynchronous HTTP request, please pass async_req=True
2431
+
2432
+ >>> thread = api.update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True)
2433
+ >>> result = thread.get()
2434
+
2435
+ Args:
2436
+ audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request
2437
+
2438
+ Keyword Args:
2439
+ _return_http_data_only (bool): response data without head status
2440
+ code and headers. Default is True.
2441
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
2442
+ will be returned without reading/decoding response data.
2443
+ Default is True.
2444
+ _request_timeout (int/float/tuple): timeout setting for this request. If
2445
+ one number provided, it will be total request timeout. It can also
2446
+ be a pair (tuple) of (connection, read) timeouts.
2447
+ Default is None.
2448
+ _check_input_type (bool): specifies if type checking
2449
+ should be done one the data sent to the server.
2450
+ Default is True.
2451
+ _check_return_type (bool): specifies if type checking
2452
+ should be done one the data received from the server.
2453
+ Default is True.
2454
+ _spec_property_naming (bool): True if the variable names in the input data
2455
+ are serialized names, as specified in the OpenAPI document.
2456
+ False if the variable names in the input data
2457
+ are pythonic names, e.g. snake case (default)
2458
+ _content_type (str/None): force body content-type.
2459
+ Default is None and content-type will be predicted by allowed
2460
+ content-types and body.
2461
+ _host_index (int/None): specifies the index of the server
2462
+ that we want to use.
2463
+ Default is read from the configuration.
2464
+ _request_auths (list): set to override the auth_settings for an a single
2465
+ request; this effectively ignores the authentication
2466
+ in the spec for a single request.
2467
+ Default is None
2468
+ async_req (bool): execute request asynchronously
2469
+
2470
+ Returns:
2471
+ AudienceSegmentEntityV1ListResponse
2472
+ If the method is called asynchronously, returns the request
2473
+ thread.
2474
+ """
2475
+ kwargs['async_req'] = kwargs.get(
2476
+ 'async_req', False
2477
+ )
2478
+ kwargs['_return_http_data_only'] = kwargs.get(
2479
+ '_return_http_data_only', True
2480
+ )
2481
+ kwargs['_preload_content'] = kwargs.get(
2482
+ '_preload_content', True
2483
+ )
2484
+ kwargs['_request_timeout'] = kwargs.get(
2485
+ '_request_timeout', None
2486
+ )
2487
+ kwargs['_check_input_type'] = kwargs.get(
2488
+ '_check_input_type', True
2489
+ )
2490
+ kwargs['_check_return_type'] = kwargs.get(
2491
+ '_check_return_type', True
2492
+ )
2493
+ kwargs['_spec_property_naming'] = kwargs.get(
2494
+ '_spec_property_naming', False
2495
+ )
2496
+ kwargs['_content_type'] = kwargs.get(
2497
+ '_content_type')
2498
+ kwargs['_host_index'] = kwargs.get('_host_index')
2499
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2500
+ kwargs['audience_segment_bulk_update_input_v1'] = \
2501
+ audience_segment_bulk_update_input_v1
2502
+ return self.update_audience_segments_endpoint.call_with_http_info(**kwargs)
2503
+
2504
+ def update_audiences(
2505
+ self,
2506
+ audience_bulk_update_input_v1,
2507
+ **kwargs
2508
+ ):
2509
+ """update_audiences # noqa: E501
2510
+
2511
+ Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501
2512
+ This method makes a synchronous HTTP request by default. To make an
2513
+ asynchronous HTTP request, please pass async_req=True
2514
+
2515
+ >>> thread = api.update_audiences(audience_bulk_update_input_v1, async_req=True)
2516
+ >>> result = thread.get()
2517
+
2518
+ Args:
2519
+ audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1):
2520
+
2521
+ Keyword Args:
2522
+ _return_http_data_only (bool): response data without head status
2523
+ code and headers. Default is True.
2524
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
2525
+ will be returned without reading/decoding response data.
2526
+ Default is True.
2527
+ _request_timeout (int/float/tuple): timeout setting for this request. If
2528
+ one number provided, it will be total request timeout. It can also
2529
+ be a pair (tuple) of (connection, read) timeouts.
2530
+ Default is None.
2531
+ _check_input_type (bool): specifies if type checking
2532
+ should be done one the data sent to the server.
2533
+ Default is True.
2534
+ _check_return_type (bool): specifies if type checking
2535
+ should be done one the data received from the server.
2536
+ Default is True.
2537
+ _spec_property_naming (bool): True if the variable names in the input data
2538
+ are serialized names, as specified in the OpenAPI document.
2539
+ False if the variable names in the input data
2540
+ are pythonic names, e.g. snake case (default)
2541
+ _content_type (str/None): force body content-type.
2542
+ Default is None and content-type will be predicted by allowed
2543
+ content-types and body.
2544
+ _host_index (int/None): specifies the index of the server
2545
+ that we want to use.
2546
+ Default is read from the configuration.
2547
+ _request_auths (list): set to override the auth_settings for an a single
2548
+ request; this effectively ignores the authentication
2549
+ in the spec for a single request.
2550
+ Default is None
2551
+ async_req (bool): execute request asynchronously
2552
+
2553
+ Returns:
2554
+ AudienceEntityV1ListResponse
2555
+ If the method is called asynchronously, returns the request
2556
+ thread.
2557
+ """
2558
+ kwargs['async_req'] = kwargs.get(
2559
+ 'async_req', False
2560
+ )
2561
+ kwargs['_return_http_data_only'] = kwargs.get(
2562
+ '_return_http_data_only', True
2563
+ )
2564
+ kwargs['_preload_content'] = kwargs.get(
2565
+ '_preload_content', True
2566
+ )
2567
+ kwargs['_request_timeout'] = kwargs.get(
2568
+ '_request_timeout', None
2569
+ )
2570
+ kwargs['_check_input_type'] = kwargs.get(
2571
+ '_check_input_type', True
2572
+ )
2573
+ kwargs['_check_return_type'] = kwargs.get(
2574
+ '_check_return_type', True
2575
+ )
2576
+ kwargs['_spec_property_naming'] = kwargs.get(
2577
+ '_spec_property_naming', False
2578
+ )
2579
+ kwargs['_content_type'] = kwargs.get(
2580
+ '_content_type')
2581
+ kwargs['_host_index'] = kwargs.get('_host_index')
2582
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2583
+ kwargs['audience_bulk_update_input_v1'] = \
2584
+ audience_bulk_update_input_v1
2585
+ return self.update_audiences_endpoint.call_with_http_info(**kwargs)
2586
+
@@ -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/0.0.251009/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.251014/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: Preview\n"\
398
- "SDK Package Version: 0.0.251009".\
398
+ "SDK Package Version: 0.0.251014".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: criteo-api-marketingsolutions-sdk
3
- Version: 0.0.251009
3
+ Version: 0.0.251014
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-marketingsolutions-sdk==0.0.251009
38
+ pip install criteo-api-marketingsolutions-sdk==0.0.251014
39
39
  ```
40
- (you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.251009`)
40
+ (you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.251014`)
41
41
 
42
42
  Then import the package:
43
43
  ```python
@@ -1,7 +1,7 @@
1
- criteo_api_marketingsolutions_preview/__init__.py,sha256=4csuG9edmrs61MghP98mWaYdDra42J-JIp9Lwaa47Js,1107
2
- criteo_api_marketingsolutions_preview/api_client.py,sha256=C7BpQa4G3soSMOtfZjMqEs9vLS7yHqtmdwOb4osdEMY,39242
1
+ criteo_api_marketingsolutions_preview/__init__.py,sha256=WSFZazssZAM0nhLwYW5v9aUC26ROaUWZNEh00GwqeSM,1107
2
+ criteo_api_marketingsolutions_preview/api_client.py,sha256=5M7tcQd63XYVw_LG2Qe38Z68y1yB75jUJyBcjEWvtXU,39242
3
3
  criteo_api_marketingsolutions_preview/api_client_builder.py,sha256=2W-j9f5re32PZooV4BngIi3AvmOOpKl7SAEQc6FXVWg,1525
4
- criteo_api_marketingsolutions_preview/configuration.py,sha256=yN2dxogxNGoiixm7DUwNgfrLiaNTEAMaQdIna6QZa0o,16735
4
+ criteo_api_marketingsolutions_preview/configuration.py,sha256=Tcfq074fvOF6Yg9Kk3zsrypnlMCqX10nMEN72khQBNk,16735
5
5
  criteo_api_marketingsolutions_preview/criteo_api_client.py,sha256=4uNu3e__oYicTD-lcpFerUCXl3c3_7LEugoMFqfRTM8,666
6
6
  criteo_api_marketingsolutions_preview/criteo_auth.py,sha256=RXBNjv9iz2JSqB25me0iMWN7jfeKRYe0EF6y37hw__A,4714
7
7
  criteo_api_marketingsolutions_preview/criteo_rest.py,sha256=oIDGHdVI2kWe1st1X7IHl8OAa1zJn7g1uQUSKYWwFDc,3431
@@ -12,7 +12,7 @@ criteo_api_marketingsolutions_preview/rest.py,sha256=gXk-QrNdnVj2c-M_oZYB3_KqFfb
12
12
  criteo_api_marketingsolutions_preview/api/__init__.py,sha256=pyzFTbyUcV2DhfsX0qU5ScOa78505IDsd_KbkUsVXm0,244
13
13
  criteo_api_marketingsolutions_preview/api/advertiser_api.py,sha256=E15ZILhJ9eq-H8l02ZdNvYXhNZY_vCCfuCoTsKz_kzs,15910
14
14
  criteo_api_marketingsolutions_preview/api/analytics_api.py,sha256=6r5IyKAIta4VX-TabHnNfC8w-aTfgIusTOYD8WMFSzA,67936
15
- criteo_api_marketingsolutions_preview/api/audience_api.py,sha256=uTtCvXDXaU4jFx5ZDp7Y28_UMf_3gQvRppDwd_p7ihE,107309
15
+ criteo_api_marketingsolutions_preview/api/audience_api.py,sha256=X_OWo3S2n6aJPineEZMP8kNPRv7s5rBoK-h71w57Z9Y,107153
16
16
  criteo_api_marketingsolutions_preview/api/campaign_api.py,sha256=QUN9PJ2kjKtnhlLD1kEnhVybXUBfCqyM4CyrlJDT9NE,210274
17
17
  criteo_api_marketingsolutions_preview/api/catalog_api.py,sha256=cE7sPtFWVRJ9FVW6bNg6SHe1vGsXpLialexflLswn3U,17802
18
18
  criteo_api_marketingsolutions_preview/api/creative_api.py,sha256=tba29l8_BFPoq3A_rhb4LiKjn3idTG7zssvfwy_cSyw,95798
@@ -387,7 +387,7 @@ criteo_api_marketingsolutions_preview/model/video_detail.py,sha256=i-qvnBOBpuijR
387
387
  criteo_api_marketingsolutions_preview/model/write_model_ad_set_id.py,sha256=AEk9Ss4tXVTbSfDxJjpDW643MJwbV5iMs_Y3BG4839I,11755
388
388
  criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py,sha256=-GkiNut1VMiXMlpO4-wlbjtTXaDfvDptvzZejfkRZpg,12234
389
389
  criteo_api_marketingsolutions_preview/models/__init__.py,sha256=qCHNR9h1Oo3ryRXLRG71C2LBNGMx6fdkEEbmqpJneeA,41827
390
- criteo_api_marketingsolutions_sdk-0.0.251009.dist-info/METADATA,sha256=eG8BPrRmmql9PCzq_TyAyaM7S-Y7YYQH94U2Dm8bcTY,1876
391
- criteo_api_marketingsolutions_sdk-0.0.251009.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
392
- criteo_api_marketingsolutions_sdk-0.0.251009.dist-info/top_level.txt,sha256=4xVpjptYrJ_AiVXZAhkhYuSp6rJRgq_VrBDhg-Eyi5Y,38
393
- criteo_api_marketingsolutions_sdk-0.0.251009.dist-info/RECORD,,
390
+ criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/METADATA,sha256=0hv1Nt1TIEm0rnzwixCBRCGlvRtT8kExshaPIgr0Xs4,1876
391
+ criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
392
+ criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/top_level.txt,sha256=4xVpjptYrJ_AiVXZAhkhYuSp6rJRgq_VrBDhg-Eyi5Y,38
393
+ criteo_api_marketingsolutions_sdk-0.0.251014.dist-info/RECORD,,