criteo-api-marketingsolutions-sdk 2025.7.0.251021__py3-none-any.whl → 2025.7.0.251029__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-2025.7.0.251021.dist-info → criteo_api_marketingsolutions_sdk-2025.7.0.251029.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-2025.7.0.251021.dist-info → criteo_api_marketingsolutions_sdk-2025.7.0.251029.dist-info}/RECORD +9 -9
- criteo_api_marketingsolutions_v2025_07/__init__.py +1 -1
- criteo_api_marketingsolutions_v2025_07/api/audience_api.py +526 -526
- criteo_api_marketingsolutions_v2025_07/api/campaign_api.py +697 -697
- criteo_api_marketingsolutions_v2025_07/api_client.py +1 -1
- criteo_api_marketingsolutions_v2025_07/configuration.py +1 -1
- {criteo_api_marketingsolutions_sdk-2025.7.0.251021.dist-info → criteo_api_marketingsolutions_sdk-2025.7.0.251029.dist-info}/WHEEL +0 -0
- {criteo_api_marketingsolutions_sdk-2025.7.0.251021.dist-info → criteo_api_marketingsolutions_sdk-2025.7.0.251029.dist-info}/top_level.txt +0 -0
|
@@ -62,24 +62,24 @@ class AudienceApi(object):
|
|
|
62
62
|
if api_client is None:
|
|
63
63
|
api_client = ApiClient()
|
|
64
64
|
self.api_client = api_client
|
|
65
|
-
self.
|
|
65
|
+
self.call_07_audiences_audience_segment_id_contactlist_delete_endpoint = _Endpoint(
|
|
66
66
|
settings={
|
|
67
|
-
'response_type': (
|
|
67
|
+
'response_type': (DeleteAudienceContactListResponse,),
|
|
68
68
|
'auth': [
|
|
69
69
|
'oauth',
|
|
70
70
|
'oauth'
|
|
71
71
|
],
|
|
72
|
-
'endpoint_path': '/2025-07/
|
|
73
|
-
'operation_id': '
|
|
74
|
-
'http_method': '
|
|
72
|
+
'endpoint_path': '/2025-07/audiences/{audience-segment-id}/contactlist',
|
|
73
|
+
'operation_id': 'call_07_audiences_audience_segment_id_contactlist_delete',
|
|
74
|
+
'http_method': 'DELETE',
|
|
75
75
|
'servers': None,
|
|
76
76
|
},
|
|
77
77
|
params_map={
|
|
78
78
|
'all': [
|
|
79
|
-
'
|
|
79
|
+
'audience_segment_id',
|
|
80
80
|
],
|
|
81
81
|
'required': [
|
|
82
|
-
'
|
|
82
|
+
'audience_segment_id',
|
|
83
83
|
],
|
|
84
84
|
'nullable': [
|
|
85
85
|
],
|
|
@@ -94,13 +94,14 @@ class AudienceApi(object):
|
|
|
94
94
|
'allowed_values': {
|
|
95
95
|
},
|
|
96
96
|
'openapi_types': {
|
|
97
|
-
'
|
|
98
|
-
(
|
|
97
|
+
'audience_segment_id':
|
|
98
|
+
(str,),
|
|
99
99
|
},
|
|
100
100
|
'attribute_map': {
|
|
101
|
+
'audience_segment_id': 'audience-segment-id',
|
|
101
102
|
},
|
|
102
103
|
'location_map': {
|
|
103
|
-
'
|
|
104
|
+
'audience_segment_id': 'path',
|
|
104
105
|
},
|
|
105
106
|
'collection_format_map': {
|
|
106
107
|
}
|
|
@@ -109,30 +110,30 @@ class AudienceApi(object):
|
|
|
109
110
|
'accept': [
|
|
110
111
|
'application/json'
|
|
111
112
|
],
|
|
112
|
-
'content_type': [
|
|
113
|
-
'application/json'
|
|
114
|
-
]
|
|
113
|
+
'content_type': [],
|
|
115
114
|
},
|
|
116
115
|
api_client=api_client
|
|
117
116
|
)
|
|
118
|
-
self.
|
|
117
|
+
self.call_07_audiences_audience_segment_id_contactlist_patch_endpoint = _Endpoint(
|
|
119
118
|
settings={
|
|
120
|
-
'response_type': (
|
|
119
|
+
'response_type': (ModifyAudienceResponse,),
|
|
121
120
|
'auth': [
|
|
122
121
|
'oauth',
|
|
123
122
|
'oauth'
|
|
124
123
|
],
|
|
125
|
-
'endpoint_path': '/2025-07/
|
|
126
|
-
'operation_id': '
|
|
127
|
-
'http_method': '
|
|
124
|
+
'endpoint_path': '/2025-07/audiences/{audience-segment-id}/contactlist',
|
|
125
|
+
'operation_id': 'call_07_audiences_audience_segment_id_contactlist_patch',
|
|
126
|
+
'http_method': 'PATCH',
|
|
128
127
|
'servers': None,
|
|
129
128
|
},
|
|
130
129
|
params_map={
|
|
131
130
|
'all': [
|
|
132
|
-
'
|
|
131
|
+
'audience_segment_id',
|
|
132
|
+
'contactlist_amendment_request',
|
|
133
133
|
],
|
|
134
134
|
'required': [
|
|
135
|
-
'
|
|
135
|
+
'audience_segment_id',
|
|
136
|
+
'contactlist_amendment_request',
|
|
136
137
|
],
|
|
137
138
|
'nullable': [
|
|
138
139
|
],
|
|
@@ -147,13 +148,17 @@ class AudienceApi(object):
|
|
|
147
148
|
'allowed_values': {
|
|
148
149
|
},
|
|
149
150
|
'openapi_types': {
|
|
150
|
-
'
|
|
151
|
-
(
|
|
151
|
+
'audience_segment_id':
|
|
152
|
+
(str,),
|
|
153
|
+
'contactlist_amendment_request':
|
|
154
|
+
(ContactlistAmendmentRequest,),
|
|
152
155
|
},
|
|
153
156
|
'attribute_map': {
|
|
157
|
+
'audience_segment_id': 'audience-segment-id',
|
|
154
158
|
},
|
|
155
159
|
'location_map': {
|
|
156
|
-
'
|
|
160
|
+
'audience_segment_id': 'path',
|
|
161
|
+
'contactlist_amendment_request': 'body',
|
|
157
162
|
},
|
|
158
163
|
'collection_format_map': {
|
|
159
164
|
}
|
|
@@ -168,24 +173,24 @@ class AudienceApi(object):
|
|
|
168
173
|
},
|
|
169
174
|
api_client=api_client
|
|
170
175
|
)
|
|
171
|
-
self.
|
|
176
|
+
self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint(
|
|
172
177
|
settings={
|
|
173
|
-
'response_type': (
|
|
178
|
+
'response_type': (DeleteAudienceContactListResponse,),
|
|
174
179
|
'auth': [
|
|
175
180
|
'oauth',
|
|
176
181
|
'oauth'
|
|
177
182
|
],
|
|
178
|
-
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/
|
|
179
|
-
'operation_id': '
|
|
180
|
-
'http_method': '
|
|
183
|
+
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list',
|
|
184
|
+
'operation_id': 'call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete',
|
|
185
|
+
'http_method': 'DELETE',
|
|
181
186
|
'servers': None,
|
|
182
187
|
},
|
|
183
188
|
params_map={
|
|
184
189
|
'all': [
|
|
185
|
-
'
|
|
190
|
+
'audience_segment_id',
|
|
186
191
|
],
|
|
187
192
|
'required': [
|
|
188
|
-
'
|
|
193
|
+
'audience_segment_id',
|
|
189
194
|
],
|
|
190
195
|
'nullable': [
|
|
191
196
|
],
|
|
@@ -200,13 +205,14 @@ class AudienceApi(object):
|
|
|
200
205
|
'allowed_values': {
|
|
201
206
|
},
|
|
202
207
|
'openapi_types': {
|
|
203
|
-
'
|
|
204
|
-
(
|
|
208
|
+
'audience_segment_id':
|
|
209
|
+
(str,),
|
|
205
210
|
},
|
|
206
211
|
'attribute_map': {
|
|
212
|
+
'audience_segment_id': 'audience-segment-id',
|
|
207
213
|
},
|
|
208
214
|
'location_map': {
|
|
209
|
-
'
|
|
215
|
+
'audience_segment_id': 'path',
|
|
210
216
|
},
|
|
211
217
|
'collection_format_map': {
|
|
212
218
|
}
|
|
@@ -215,30 +221,30 @@ class AudienceApi(object):
|
|
|
215
221
|
'accept': [
|
|
216
222
|
'application/json'
|
|
217
223
|
],
|
|
218
|
-
'content_type': [
|
|
219
|
-
'application/json'
|
|
220
|
-
]
|
|
224
|
+
'content_type': [],
|
|
221
225
|
},
|
|
222
226
|
api_client=api_client
|
|
223
227
|
)
|
|
224
|
-
self.
|
|
228
|
+
self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint(
|
|
225
229
|
settings={
|
|
226
|
-
'response_type': (
|
|
230
|
+
'response_type': (ModifyAudienceResponse,),
|
|
227
231
|
'auth': [
|
|
228
232
|
'oauth',
|
|
229
233
|
'oauth'
|
|
230
234
|
],
|
|
231
|
-
'endpoint_path': '/2025-07/marketing-solutions/
|
|
232
|
-
'operation_id': '
|
|
233
|
-
'http_method': '
|
|
235
|
+
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list',
|
|
236
|
+
'operation_id': 'call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch',
|
|
237
|
+
'http_method': 'PATCH',
|
|
234
238
|
'servers': None,
|
|
235
239
|
},
|
|
236
240
|
params_map={
|
|
237
241
|
'all': [
|
|
238
|
-
'
|
|
242
|
+
'audience_segment_id',
|
|
243
|
+
'contactlist_amendment_request',
|
|
239
244
|
],
|
|
240
245
|
'required': [
|
|
241
|
-
'
|
|
246
|
+
'audience_segment_id',
|
|
247
|
+
'contactlist_amendment_request',
|
|
242
248
|
],
|
|
243
249
|
'nullable': [
|
|
244
250
|
],
|
|
@@ -253,13 +259,17 @@ class AudienceApi(object):
|
|
|
253
259
|
'allowed_values': {
|
|
254
260
|
},
|
|
255
261
|
'openapi_types': {
|
|
256
|
-
'
|
|
257
|
-
(
|
|
262
|
+
'audience_segment_id':
|
|
263
|
+
(str,),
|
|
264
|
+
'contactlist_amendment_request':
|
|
265
|
+
(ContactlistAmendmentRequest,),
|
|
258
266
|
},
|
|
259
267
|
'attribute_map': {
|
|
268
|
+
'audience_segment_id': 'audience-segment-id',
|
|
260
269
|
},
|
|
261
270
|
'location_map': {
|
|
262
|
-
'
|
|
271
|
+
'audience_segment_id': 'path',
|
|
272
|
+
'contactlist_amendment_request': 'body',
|
|
263
273
|
},
|
|
264
274
|
'collection_format_map': {
|
|
265
275
|
}
|
|
@@ -274,24 +284,24 @@ class AudienceApi(object):
|
|
|
274
284
|
},
|
|
275
285
|
api_client=api_client
|
|
276
286
|
)
|
|
277
|
-
self.
|
|
287
|
+
self.compute_audience_segments_sizes_endpoint = _Endpoint(
|
|
278
288
|
settings={
|
|
279
|
-
'response_type': (
|
|
289
|
+
'response_type': (AudienceSegmentSizeEntityV1ListResponse,),
|
|
280
290
|
'auth': [
|
|
281
291
|
'oauth',
|
|
282
292
|
'oauth'
|
|
283
293
|
],
|
|
284
|
-
'endpoint_path': '/2025-07/marketing-solutions/audience-segments',
|
|
285
|
-
'operation_id': '
|
|
286
|
-
'http_method': '
|
|
294
|
+
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/compute-sizes',
|
|
295
|
+
'operation_id': 'compute_audience_segments_sizes',
|
|
296
|
+
'http_method': 'POST',
|
|
287
297
|
'servers': None,
|
|
288
298
|
},
|
|
289
299
|
params_map={
|
|
290
300
|
'all': [
|
|
291
|
-
'
|
|
301
|
+
'audience_segment_compute_sizes_input_v1',
|
|
292
302
|
],
|
|
293
303
|
'required': [
|
|
294
|
-
'
|
|
304
|
+
'audience_segment_compute_sizes_input_v1',
|
|
295
305
|
],
|
|
296
306
|
'nullable': [
|
|
297
307
|
],
|
|
@@ -306,13 +316,13 @@ class AudienceApi(object):
|
|
|
306
316
|
'allowed_values': {
|
|
307
317
|
},
|
|
308
318
|
'openapi_types': {
|
|
309
|
-
'
|
|
310
|
-
(
|
|
319
|
+
'audience_segment_compute_sizes_input_v1':
|
|
320
|
+
(AudienceSegmentComputeSizesInputV1,),
|
|
311
321
|
},
|
|
312
322
|
'attribute_map': {
|
|
313
323
|
},
|
|
314
324
|
'location_map': {
|
|
315
|
-
'
|
|
325
|
+
'audience_segment_compute_sizes_input_v1': 'body',
|
|
316
326
|
},
|
|
317
327
|
'collection_format_map': {
|
|
318
328
|
}
|
|
@@ -327,24 +337,24 @@ class AudienceApi(object):
|
|
|
327
337
|
},
|
|
328
338
|
api_client=api_client
|
|
329
339
|
)
|
|
330
|
-
self.
|
|
340
|
+
self.compute_audiences_sizes_endpoint = _Endpoint(
|
|
331
341
|
settings={
|
|
332
|
-
'response_type': (
|
|
342
|
+
'response_type': (AudienceSizeEntityV1ListResponse,),
|
|
333
343
|
'auth': [
|
|
334
344
|
'oauth',
|
|
335
345
|
'oauth'
|
|
336
346
|
],
|
|
337
|
-
'endpoint_path': '/2025-07/marketing-solutions/audiences',
|
|
338
|
-
'operation_id': '
|
|
339
|
-
'http_method': '
|
|
347
|
+
'endpoint_path': '/2025-07/marketing-solutions/audiences/compute-sizes',
|
|
348
|
+
'operation_id': 'compute_audiences_sizes',
|
|
349
|
+
'http_method': 'POST',
|
|
340
350
|
'servers': None,
|
|
341
351
|
},
|
|
342
352
|
params_map={
|
|
343
353
|
'all': [
|
|
344
|
-
'
|
|
354
|
+
'audience_compute_sizes_input_v1',
|
|
345
355
|
],
|
|
346
356
|
'required': [
|
|
347
|
-
'
|
|
357
|
+
'audience_compute_sizes_input_v1',
|
|
348
358
|
],
|
|
349
359
|
'nullable': [
|
|
350
360
|
],
|
|
@@ -359,13 +369,13 @@ class AudienceApi(object):
|
|
|
359
369
|
'allowed_values': {
|
|
360
370
|
},
|
|
361
371
|
'openapi_types': {
|
|
362
|
-
'
|
|
363
|
-
(
|
|
372
|
+
'audience_compute_sizes_input_v1':
|
|
373
|
+
(AudienceComputeSizesInputV1,),
|
|
364
374
|
},
|
|
365
375
|
'attribute_map': {
|
|
366
376
|
},
|
|
367
377
|
'location_map': {
|
|
368
|
-
'
|
|
378
|
+
'audience_compute_sizes_input_v1': 'body',
|
|
369
379
|
},
|
|
370
380
|
'collection_format_map': {
|
|
371
381
|
}
|
|
@@ -380,24 +390,24 @@ class AudienceApi(object):
|
|
|
380
390
|
},
|
|
381
391
|
api_client=api_client
|
|
382
392
|
)
|
|
383
|
-
self.
|
|
393
|
+
self.create_audience_segments_endpoint = _Endpoint(
|
|
384
394
|
settings={
|
|
385
|
-
'response_type': (
|
|
395
|
+
'response_type': (AudienceSegmentEntityV1ListResponse,),
|
|
386
396
|
'auth': [
|
|
387
397
|
'oauth',
|
|
388
398
|
'oauth'
|
|
389
399
|
],
|
|
390
|
-
'endpoint_path': '/2025-07/
|
|
391
|
-
'operation_id': '
|
|
392
|
-
'http_method': '
|
|
400
|
+
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/create',
|
|
401
|
+
'operation_id': 'create_audience_segments',
|
|
402
|
+
'http_method': 'POST',
|
|
393
403
|
'servers': None,
|
|
394
404
|
},
|
|
395
405
|
params_map={
|
|
396
406
|
'all': [
|
|
397
|
-
'
|
|
407
|
+
'audience_segment_bulk_create_input_v1',
|
|
398
408
|
],
|
|
399
409
|
'required': [
|
|
400
|
-
'
|
|
410
|
+
'audience_segment_bulk_create_input_v1',
|
|
401
411
|
],
|
|
402
412
|
'nullable': [
|
|
403
413
|
],
|
|
@@ -412,14 +422,13 @@ class AudienceApi(object):
|
|
|
412
422
|
'allowed_values': {
|
|
413
423
|
},
|
|
414
424
|
'openapi_types': {
|
|
415
|
-
'
|
|
416
|
-
(
|
|
425
|
+
'audience_segment_bulk_create_input_v1':
|
|
426
|
+
(AudienceSegmentBulkCreateInputV1,),
|
|
417
427
|
},
|
|
418
428
|
'attribute_map': {
|
|
419
|
-
'audience_segment_id': 'audience-segment-id',
|
|
420
429
|
},
|
|
421
430
|
'location_map': {
|
|
422
|
-
'
|
|
431
|
+
'audience_segment_bulk_create_input_v1': 'body',
|
|
423
432
|
},
|
|
424
433
|
'collection_format_map': {
|
|
425
434
|
}
|
|
@@ -428,30 +437,30 @@ class AudienceApi(object):
|
|
|
428
437
|
'accept': [
|
|
429
438
|
'application/json'
|
|
430
439
|
],
|
|
431
|
-
'content_type': [
|
|
440
|
+
'content_type': [
|
|
441
|
+
'application/json'
|
|
442
|
+
]
|
|
432
443
|
},
|
|
433
444
|
api_client=api_client
|
|
434
445
|
)
|
|
435
|
-
self.
|
|
446
|
+
self.create_audiences_endpoint = _Endpoint(
|
|
436
447
|
settings={
|
|
437
|
-
'response_type': (
|
|
448
|
+
'response_type': (AudienceEntityV1ListResponse,),
|
|
438
449
|
'auth': [
|
|
439
450
|
'oauth',
|
|
440
451
|
'oauth'
|
|
441
452
|
],
|
|
442
|
-
'endpoint_path': '/2025-07/audiences/
|
|
443
|
-
'operation_id': '
|
|
444
|
-
'http_method': '
|
|
453
|
+
'endpoint_path': '/2025-07/marketing-solutions/audiences/create',
|
|
454
|
+
'operation_id': 'create_audiences',
|
|
455
|
+
'http_method': 'POST',
|
|
445
456
|
'servers': None,
|
|
446
457
|
},
|
|
447
458
|
params_map={
|
|
448
459
|
'all': [
|
|
449
|
-
'
|
|
450
|
-
'contactlist_amendment_request',
|
|
460
|
+
'audience_bulk_create_input_v1',
|
|
451
461
|
],
|
|
452
462
|
'required': [
|
|
453
|
-
'
|
|
454
|
-
'contactlist_amendment_request',
|
|
463
|
+
'audience_bulk_create_input_v1',
|
|
455
464
|
],
|
|
456
465
|
'nullable': [
|
|
457
466
|
],
|
|
@@ -466,17 +475,13 @@ class AudienceApi(object):
|
|
|
466
475
|
'allowed_values': {
|
|
467
476
|
},
|
|
468
477
|
'openapi_types': {
|
|
469
|
-
'
|
|
470
|
-
(
|
|
471
|
-
'contactlist_amendment_request':
|
|
472
|
-
(ContactlistAmendmentRequest,),
|
|
478
|
+
'audience_bulk_create_input_v1':
|
|
479
|
+
(AudienceBulkCreateInputV1,),
|
|
473
480
|
},
|
|
474
481
|
'attribute_map': {
|
|
475
|
-
'audience_segment_id': 'audience-segment-id',
|
|
476
482
|
},
|
|
477
483
|
'location_map': {
|
|
478
|
-
'
|
|
479
|
-
'contactlist_amendment_request': 'body',
|
|
484
|
+
'audience_bulk_create_input_v1': 'body',
|
|
480
485
|
},
|
|
481
486
|
'collection_format_map': {
|
|
482
487
|
}
|
|
@@ -491,24 +496,24 @@ class AudienceApi(object):
|
|
|
491
496
|
},
|
|
492
497
|
api_client=api_client
|
|
493
498
|
)
|
|
494
|
-
self.
|
|
499
|
+
self.delete_audience_segments_endpoint = _Endpoint(
|
|
495
500
|
settings={
|
|
496
|
-
'response_type': (
|
|
501
|
+
'response_type': (AudienceSegmentIdEntityV1ListResponse,),
|
|
497
502
|
'auth': [
|
|
498
503
|
'oauth',
|
|
499
504
|
'oauth'
|
|
500
505
|
],
|
|
501
|
-
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/
|
|
502
|
-
'operation_id': '
|
|
503
|
-
'http_method': '
|
|
506
|
+
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/delete',
|
|
507
|
+
'operation_id': 'delete_audience_segments',
|
|
508
|
+
'http_method': 'POST',
|
|
504
509
|
'servers': None,
|
|
505
510
|
},
|
|
506
511
|
params_map={
|
|
507
512
|
'all': [
|
|
508
|
-
'
|
|
513
|
+
'audience_segment_bulk_delete_input_v1',
|
|
509
514
|
],
|
|
510
515
|
'required': [
|
|
511
|
-
'
|
|
516
|
+
'audience_segment_bulk_delete_input_v1',
|
|
512
517
|
],
|
|
513
518
|
'nullable': [
|
|
514
519
|
],
|
|
@@ -523,14 +528,13 @@ class AudienceApi(object):
|
|
|
523
528
|
'allowed_values': {
|
|
524
529
|
},
|
|
525
530
|
'openapi_types': {
|
|
526
|
-
'
|
|
527
|
-
(
|
|
531
|
+
'audience_segment_bulk_delete_input_v1':
|
|
532
|
+
(AudienceSegmentBulkDeleteInputV1,),
|
|
528
533
|
},
|
|
529
534
|
'attribute_map': {
|
|
530
|
-
'audience_segment_id': 'audience-segment-id',
|
|
531
535
|
},
|
|
532
536
|
'location_map': {
|
|
533
|
-
'
|
|
537
|
+
'audience_segment_bulk_delete_input_v1': 'body',
|
|
534
538
|
},
|
|
535
539
|
'collection_format_map': {
|
|
536
540
|
}
|
|
@@ -539,30 +543,30 @@ class AudienceApi(object):
|
|
|
539
543
|
'accept': [
|
|
540
544
|
'application/json'
|
|
541
545
|
],
|
|
542
|
-
'content_type': [
|
|
546
|
+
'content_type': [
|
|
547
|
+
'application/json'
|
|
548
|
+
]
|
|
543
549
|
},
|
|
544
550
|
api_client=api_client
|
|
545
551
|
)
|
|
546
|
-
self.
|
|
552
|
+
self.delete_audiences_endpoint = _Endpoint(
|
|
547
553
|
settings={
|
|
548
|
-
'response_type': (
|
|
554
|
+
'response_type': (AudienceIdEntityV1ListResponse,),
|
|
549
555
|
'auth': [
|
|
550
556
|
'oauth',
|
|
551
557
|
'oauth'
|
|
552
558
|
],
|
|
553
|
-
'endpoint_path': '/2025-07/marketing-solutions/
|
|
554
|
-
'operation_id': '
|
|
555
|
-
'http_method': '
|
|
559
|
+
'endpoint_path': '/2025-07/marketing-solutions/audiences/delete',
|
|
560
|
+
'operation_id': 'delete_audiences',
|
|
561
|
+
'http_method': 'POST',
|
|
556
562
|
'servers': None,
|
|
557
563
|
},
|
|
558
564
|
params_map={
|
|
559
565
|
'all': [
|
|
560
|
-
'
|
|
561
|
-
'contactlist_amendment_request',
|
|
566
|
+
'audience_bulk_delete_input_v1',
|
|
562
567
|
],
|
|
563
568
|
'required': [
|
|
564
|
-
'
|
|
565
|
-
'contactlist_amendment_request',
|
|
569
|
+
'audience_bulk_delete_input_v1',
|
|
566
570
|
],
|
|
567
571
|
'nullable': [
|
|
568
572
|
],
|
|
@@ -577,17 +581,13 @@ class AudienceApi(object):
|
|
|
577
581
|
'allowed_values': {
|
|
578
582
|
},
|
|
579
583
|
'openapi_types': {
|
|
580
|
-
'
|
|
581
|
-
(
|
|
582
|
-
'contactlist_amendment_request':
|
|
583
|
-
(ContactlistAmendmentRequest,),
|
|
584
|
+
'audience_bulk_delete_input_v1':
|
|
585
|
+
(AudienceBulkDeleteInputV1,),
|
|
584
586
|
},
|
|
585
587
|
'attribute_map': {
|
|
586
|
-
'audience_segment_id': 'audience-segment-id',
|
|
587
588
|
},
|
|
588
589
|
'location_map': {
|
|
589
|
-
'
|
|
590
|
-
'contactlist_amendment_request': 'body',
|
|
590
|
+
'audience_bulk_delete_input_v1': 'body',
|
|
591
591
|
},
|
|
592
592
|
'collection_format_map': {
|
|
593
593
|
}
|
|
@@ -602,24 +602,24 @@ class AudienceApi(object):
|
|
|
602
602
|
},
|
|
603
603
|
api_client=api_client
|
|
604
604
|
)
|
|
605
|
-
self.
|
|
605
|
+
self.estimate_audience_segments_sizes_endpoint = _Endpoint(
|
|
606
606
|
settings={
|
|
607
|
-
'response_type': (
|
|
607
|
+
'response_type': (AudienceSegmentSizeEstimationV1Response,),
|
|
608
608
|
'auth': [
|
|
609
609
|
'oauth',
|
|
610
610
|
'oauth'
|
|
611
611
|
],
|
|
612
|
-
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/
|
|
613
|
-
'operation_id': '
|
|
612
|
+
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/estimate-size',
|
|
613
|
+
'operation_id': 'estimate_audience_segments_sizes',
|
|
614
614
|
'http_method': 'POST',
|
|
615
615
|
'servers': None,
|
|
616
616
|
},
|
|
617
617
|
params_map={
|
|
618
618
|
'all': [
|
|
619
|
-
'
|
|
619
|
+
'audience_segment_estimate_size_input_v1',
|
|
620
620
|
],
|
|
621
621
|
'required': [
|
|
622
|
-
'
|
|
622
|
+
'audience_segment_estimate_size_input_v1',
|
|
623
623
|
],
|
|
624
624
|
'nullable': [
|
|
625
625
|
],
|
|
@@ -634,13 +634,13 @@ class AudienceApi(object):
|
|
|
634
634
|
'allowed_values': {
|
|
635
635
|
},
|
|
636
636
|
'openapi_types': {
|
|
637
|
-
'
|
|
638
|
-
(
|
|
637
|
+
'audience_segment_estimate_size_input_v1':
|
|
638
|
+
(AudienceSegmentEstimateSizeInputV1,),
|
|
639
639
|
},
|
|
640
640
|
'attribute_map': {
|
|
641
641
|
},
|
|
642
642
|
'location_map': {
|
|
643
|
-
'
|
|
643
|
+
'audience_segment_estimate_size_input_v1': 'body',
|
|
644
644
|
},
|
|
645
645
|
'collection_format_map': {
|
|
646
646
|
}
|
|
@@ -655,24 +655,24 @@ class AudienceApi(object):
|
|
|
655
655
|
},
|
|
656
656
|
api_client=api_client
|
|
657
657
|
)
|
|
658
|
-
self.
|
|
658
|
+
self.estimate_audiences_sizes_endpoint = _Endpoint(
|
|
659
659
|
settings={
|
|
660
|
-
'response_type': (
|
|
660
|
+
'response_type': (AudienceSizeEstimationV1Response,),
|
|
661
661
|
'auth': [
|
|
662
662
|
'oauth',
|
|
663
663
|
'oauth'
|
|
664
664
|
],
|
|
665
|
-
'endpoint_path': '/2025-07/marketing-solutions/audiences/
|
|
666
|
-
'operation_id': '
|
|
665
|
+
'endpoint_path': '/2025-07/marketing-solutions/audiences/estimate-size',
|
|
666
|
+
'operation_id': 'estimate_audiences_sizes',
|
|
667
667
|
'http_method': 'POST',
|
|
668
668
|
'servers': None,
|
|
669
669
|
},
|
|
670
670
|
params_map={
|
|
671
671
|
'all': [
|
|
672
|
-
'
|
|
672
|
+
'audience_estimate_size_input_v1',
|
|
673
673
|
],
|
|
674
674
|
'required': [
|
|
675
|
-
'
|
|
675
|
+
'audience_estimate_size_input_v1',
|
|
676
676
|
],
|
|
677
677
|
'nullable': [
|
|
678
678
|
],
|
|
@@ -687,119 +687,13 @@ class AudienceApi(object):
|
|
|
687
687
|
'allowed_values': {
|
|
688
688
|
},
|
|
689
689
|
'openapi_types': {
|
|
690
|
-
'
|
|
691
|
-
(
|
|
690
|
+
'audience_estimate_size_input_v1':
|
|
691
|
+
(AudienceEstimateSizeInputV1,),
|
|
692
692
|
},
|
|
693
693
|
'attribute_map': {
|
|
694
694
|
},
|
|
695
695
|
'location_map': {
|
|
696
|
-
'
|
|
697
|
-
},
|
|
698
|
-
'collection_format_map': {
|
|
699
|
-
}
|
|
700
|
-
},
|
|
701
|
-
headers_map={
|
|
702
|
-
'accept': [
|
|
703
|
-
'application/json'
|
|
704
|
-
],
|
|
705
|
-
'content_type': [
|
|
706
|
-
'application/json'
|
|
707
|
-
]
|
|
708
|
-
},
|
|
709
|
-
api_client=api_client
|
|
710
|
-
)
|
|
711
|
-
self.estimate_audience_segment_size_endpoint = _Endpoint(
|
|
712
|
-
settings={
|
|
713
|
-
'response_type': (AudienceSegmentSizeEstimationV1Response,),
|
|
714
|
-
'auth': [
|
|
715
|
-
'oauth',
|
|
716
|
-
'oauth'
|
|
717
|
-
],
|
|
718
|
-
'endpoint_path': '/2025-07/marketing-solutions/audience-segments/estimate-size',
|
|
719
|
-
'operation_id': 'estimate_audience_segment_size',
|
|
720
|
-
'http_method': 'POST',
|
|
721
|
-
'servers': None,
|
|
722
|
-
},
|
|
723
|
-
params_map={
|
|
724
|
-
'all': [
|
|
725
|
-
'audience_segment_estimate_size_input_v1',
|
|
726
|
-
],
|
|
727
|
-
'required': [
|
|
728
|
-
'audience_segment_estimate_size_input_v1',
|
|
729
|
-
],
|
|
730
|
-
'nullable': [
|
|
731
|
-
],
|
|
732
|
-
'enum': [
|
|
733
|
-
],
|
|
734
|
-
'validation': [
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
|
-
root_map={
|
|
738
|
-
'validations': {
|
|
739
|
-
},
|
|
740
|
-
'allowed_values': {
|
|
741
|
-
},
|
|
742
|
-
'openapi_types': {
|
|
743
|
-
'audience_segment_estimate_size_input_v1':
|
|
744
|
-
(AudienceSegmentEstimateSizeInputV1,),
|
|
745
|
-
},
|
|
746
|
-
'attribute_map': {
|
|
747
|
-
},
|
|
748
|
-
'location_map': {
|
|
749
|
-
'audience_segment_estimate_size_input_v1': 'body',
|
|
750
|
-
},
|
|
751
|
-
'collection_format_map': {
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
headers_map={
|
|
755
|
-
'accept': [
|
|
756
|
-
'application/json'
|
|
757
|
-
],
|
|
758
|
-
'content_type': [
|
|
759
|
-
'application/json'
|
|
760
|
-
]
|
|
761
|
-
},
|
|
762
|
-
api_client=api_client
|
|
763
|
-
)
|
|
764
|
-
self.estimate_audience_size_endpoint = _Endpoint(
|
|
765
|
-
settings={
|
|
766
|
-
'response_type': (AudienceSizeEstimationV1Response,),
|
|
767
|
-
'auth': [
|
|
768
|
-
'oauth',
|
|
769
|
-
'oauth'
|
|
770
|
-
],
|
|
771
|
-
'endpoint_path': '/2025-07/marketing-solutions/audiences/estimate-size',
|
|
772
|
-
'operation_id': 'estimate_audience_size',
|
|
773
|
-
'http_method': 'POST',
|
|
774
|
-
'servers': None,
|
|
775
|
-
},
|
|
776
|
-
params_map={
|
|
777
|
-
'all': [
|
|
778
|
-
'audience_estimate_size_input_v1',
|
|
779
|
-
],
|
|
780
|
-
'required': [
|
|
781
|
-
'audience_estimate_size_input_v1',
|
|
782
|
-
],
|
|
783
|
-
'nullable': [
|
|
784
|
-
],
|
|
785
|
-
'enum': [
|
|
786
|
-
],
|
|
787
|
-
'validation': [
|
|
788
|
-
]
|
|
789
|
-
},
|
|
790
|
-
root_map={
|
|
791
|
-
'validations': {
|
|
792
|
-
},
|
|
793
|
-
'allowed_values': {
|
|
794
|
-
},
|
|
795
|
-
'openapi_types': {
|
|
796
|
-
'audience_estimate_size_input_v1':
|
|
797
|
-
(AudienceEstimateSizeInputV1,),
|
|
798
|
-
},
|
|
799
|
-
'attribute_map': {
|
|
800
|
-
},
|
|
801
|
-
'location_map': {
|
|
802
|
-
'audience_estimate_size_input_v1': 'body',
|
|
696
|
+
'audience_estimate_size_input_v1': 'body',
|
|
803
697
|
},
|
|
804
698
|
'collection_format_map': {
|
|
805
699
|
}
|
|
@@ -1120,189 +1014,129 @@ class AudienceApi(object):
|
|
|
1120
1014
|
},
|
|
1121
1015
|
api_client=api_client
|
|
1122
1016
|
)
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
If the method is called asynchronously, returns the request
|
|
1176
|
-
thread.
|
|
1177
|
-
"""
|
|
1178
|
-
kwargs['async_req'] = kwargs.get(
|
|
1179
|
-
'async_req', False
|
|
1180
|
-
)
|
|
1181
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1182
|
-
'_return_http_data_only', True
|
|
1183
|
-
)
|
|
1184
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
1185
|
-
'_preload_content', True
|
|
1186
|
-
)
|
|
1187
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
1188
|
-
'_request_timeout', None
|
|
1189
|
-
)
|
|
1190
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
1191
|
-
'_check_input_type', True
|
|
1192
|
-
)
|
|
1193
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
1194
|
-
'_check_return_type', True
|
|
1195
|
-
)
|
|
1196
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1197
|
-
'_spec_property_naming', False
|
|
1198
|
-
)
|
|
1199
|
-
kwargs['_content_type'] = kwargs.get(
|
|
1200
|
-
'_content_type')
|
|
1201
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1202
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1203
|
-
kwargs['audience_segment_bulk_create_input_v1'] = \
|
|
1204
|
-
audience_segment_bulk_create_input_v1
|
|
1205
|
-
return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs)
|
|
1206
|
-
|
|
1207
|
-
def bulk_create_audiences(
|
|
1208
|
-
self,
|
|
1209
|
-
audience_bulk_create_input_v1,
|
|
1210
|
-
**kwargs
|
|
1211
|
-
):
|
|
1212
|
-
"""bulk_create_audiences # noqa: E501
|
|
1213
|
-
|
|
1214
|
-
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
|
|
1215
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1216
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1217
|
-
|
|
1218
|
-
>>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True)
|
|
1219
|
-
>>> result = thread.get()
|
|
1220
|
-
|
|
1221
|
-
Args:
|
|
1222
|
-
audience_bulk_create_input_v1 (AudienceBulkCreateInputV1):
|
|
1223
|
-
|
|
1224
|
-
Keyword Args:
|
|
1225
|
-
_return_http_data_only (bool): response data without head status
|
|
1226
|
-
code and headers. Default is True.
|
|
1227
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1228
|
-
will be returned without reading/decoding response data.
|
|
1229
|
-
Default is True.
|
|
1230
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1231
|
-
one number provided, it will be total request timeout. It can also
|
|
1232
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
1233
|
-
Default is None.
|
|
1234
|
-
_check_input_type (bool): specifies if type checking
|
|
1235
|
-
should be done one the data sent to the server.
|
|
1236
|
-
Default is True.
|
|
1237
|
-
_check_return_type (bool): specifies if type checking
|
|
1238
|
-
should be done one the data received from the server.
|
|
1239
|
-
Default is True.
|
|
1240
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
1241
|
-
are serialized names, as specified in the OpenAPI document.
|
|
1242
|
-
False if the variable names in the input data
|
|
1243
|
-
are pythonic names, e.g. snake case (default)
|
|
1244
|
-
_content_type (str/None): force body content-type.
|
|
1245
|
-
Default is None and content-type will be predicted by allowed
|
|
1246
|
-
content-types and body.
|
|
1247
|
-
_host_index (int/None): specifies the index of the server
|
|
1248
|
-
that we want to use.
|
|
1249
|
-
Default is read from the configuration.
|
|
1250
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
1251
|
-
request; this effectively ignores the authentication
|
|
1252
|
-
in the spec for a single request.
|
|
1253
|
-
Default is None
|
|
1254
|
-
async_req (bool): execute request asynchronously
|
|
1255
|
-
|
|
1256
|
-
Returns:
|
|
1257
|
-
AudienceEntityV1ListResponse
|
|
1258
|
-
If the method is called asynchronously, returns the request
|
|
1259
|
-
thread.
|
|
1260
|
-
"""
|
|
1261
|
-
kwargs['async_req'] = kwargs.get(
|
|
1262
|
-
'async_req', False
|
|
1263
|
-
)
|
|
1264
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1265
|
-
'_return_http_data_only', True
|
|
1266
|
-
)
|
|
1267
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
1268
|
-
'_preload_content', True
|
|
1269
|
-
)
|
|
1270
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
1271
|
-
'_request_timeout', None
|
|
1272
|
-
)
|
|
1273
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
1274
|
-
'_check_input_type', True
|
|
1275
|
-
)
|
|
1276
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
1277
|
-
'_check_return_type', True
|
|
1017
|
+
self.update_audience_segments_endpoint = _Endpoint(
|
|
1018
|
+
settings={
|
|
1019
|
+
'response_type': (AudienceSegmentEntityV1ListResponse,),
|
|
1020
|
+
'auth': [
|
|
1021
|
+
'oauth',
|
|
1022
|
+
'oauth'
|
|
1023
|
+
],
|
|
1024
|
+
'endpoint_path': '/2025-07/marketing-solutions/audience-segments',
|
|
1025
|
+
'operation_id': 'update_audience_segments',
|
|
1026
|
+
'http_method': 'PATCH',
|
|
1027
|
+
'servers': None,
|
|
1028
|
+
},
|
|
1029
|
+
params_map={
|
|
1030
|
+
'all': [
|
|
1031
|
+
'audience_segment_bulk_update_input_v1',
|
|
1032
|
+
],
|
|
1033
|
+
'required': [
|
|
1034
|
+
'audience_segment_bulk_update_input_v1',
|
|
1035
|
+
],
|
|
1036
|
+
'nullable': [
|
|
1037
|
+
],
|
|
1038
|
+
'enum': [
|
|
1039
|
+
],
|
|
1040
|
+
'validation': [
|
|
1041
|
+
]
|
|
1042
|
+
},
|
|
1043
|
+
root_map={
|
|
1044
|
+
'validations': {
|
|
1045
|
+
},
|
|
1046
|
+
'allowed_values': {
|
|
1047
|
+
},
|
|
1048
|
+
'openapi_types': {
|
|
1049
|
+
'audience_segment_bulk_update_input_v1':
|
|
1050
|
+
(AudienceSegmentBulkUpdateInputV1,),
|
|
1051
|
+
},
|
|
1052
|
+
'attribute_map': {
|
|
1053
|
+
},
|
|
1054
|
+
'location_map': {
|
|
1055
|
+
'audience_segment_bulk_update_input_v1': 'body',
|
|
1056
|
+
},
|
|
1057
|
+
'collection_format_map': {
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1060
|
+
headers_map={
|
|
1061
|
+
'accept': [
|
|
1062
|
+
'application/json'
|
|
1063
|
+
],
|
|
1064
|
+
'content_type': [
|
|
1065
|
+
'application/json'
|
|
1066
|
+
]
|
|
1067
|
+
},
|
|
1068
|
+
api_client=api_client
|
|
1278
1069
|
)
|
|
1279
|
-
|
|
1280
|
-
|
|
1070
|
+
self.update_audiences_endpoint = _Endpoint(
|
|
1071
|
+
settings={
|
|
1072
|
+
'response_type': (AudienceEntityV1ListResponse,),
|
|
1073
|
+
'auth': [
|
|
1074
|
+
'oauth',
|
|
1075
|
+
'oauth'
|
|
1076
|
+
],
|
|
1077
|
+
'endpoint_path': '/2025-07/marketing-solutions/audiences',
|
|
1078
|
+
'operation_id': 'update_audiences',
|
|
1079
|
+
'http_method': 'PATCH',
|
|
1080
|
+
'servers': None,
|
|
1081
|
+
},
|
|
1082
|
+
params_map={
|
|
1083
|
+
'all': [
|
|
1084
|
+
'audience_bulk_update_input_v1',
|
|
1085
|
+
],
|
|
1086
|
+
'required': [
|
|
1087
|
+
'audience_bulk_update_input_v1',
|
|
1088
|
+
],
|
|
1089
|
+
'nullable': [
|
|
1090
|
+
],
|
|
1091
|
+
'enum': [
|
|
1092
|
+
],
|
|
1093
|
+
'validation': [
|
|
1094
|
+
]
|
|
1095
|
+
},
|
|
1096
|
+
root_map={
|
|
1097
|
+
'validations': {
|
|
1098
|
+
},
|
|
1099
|
+
'allowed_values': {
|
|
1100
|
+
},
|
|
1101
|
+
'openapi_types': {
|
|
1102
|
+
'audience_bulk_update_input_v1':
|
|
1103
|
+
(AudienceBulkUpdateInputV1,),
|
|
1104
|
+
},
|
|
1105
|
+
'attribute_map': {
|
|
1106
|
+
},
|
|
1107
|
+
'location_map': {
|
|
1108
|
+
'audience_bulk_update_input_v1': 'body',
|
|
1109
|
+
},
|
|
1110
|
+
'collection_format_map': {
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
headers_map={
|
|
1114
|
+
'accept': [
|
|
1115
|
+
'application/json'
|
|
1116
|
+
],
|
|
1117
|
+
'content_type': [
|
|
1118
|
+
'application/json'
|
|
1119
|
+
]
|
|
1120
|
+
},
|
|
1121
|
+
api_client=api_client
|
|
1281
1122
|
)
|
|
1282
|
-
kwargs['_content_type'] = kwargs.get(
|
|
1283
|
-
'_content_type')
|
|
1284
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1285
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1286
|
-
kwargs['audience_bulk_create_input_v1'] = \
|
|
1287
|
-
audience_bulk_create_input_v1
|
|
1288
|
-
return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs)
|
|
1289
1123
|
|
|
1290
|
-
def
|
|
1124
|
+
def call_07_audiences_audience_segment_id_contactlist_delete(
|
|
1291
1125
|
self,
|
|
1292
|
-
|
|
1126
|
+
audience_segment_id,
|
|
1293
1127
|
**kwargs
|
|
1294
1128
|
):
|
|
1295
|
-
"""
|
|
1129
|
+
"""call_07_audiences_audience_segment_id_contactlist_delete # noqa: E501
|
|
1296
1130
|
|
|
1297
|
-
Delete
|
|
1131
|
+
Delete all identifiers from a contact list audience-segment. # noqa: E501
|
|
1298
1132
|
This method makes a synchronous HTTP request by default. To make an
|
|
1299
1133
|
asynchronous HTTP request, please pass async_req=True
|
|
1300
1134
|
|
|
1301
|
-
>>> thread = api.
|
|
1135
|
+
>>> thread = api.call_07_audiences_audience_segment_id_contactlist_delete(audience_segment_id, async_req=True)
|
|
1302
1136
|
>>> result = thread.get()
|
|
1303
1137
|
|
|
1304
1138
|
Args:
|
|
1305
|
-
|
|
1139
|
+
audience_segment_id (str): The id of the contact list audience-segment to amend
|
|
1306
1140
|
|
|
1307
1141
|
Keyword Args:
|
|
1308
1142
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1337,7 +1171,7 @@ class AudienceApi(object):
|
|
|
1337
1171
|
async_req (bool): execute request asynchronously
|
|
1338
1172
|
|
|
1339
1173
|
Returns:
|
|
1340
|
-
|
|
1174
|
+
DeleteAudienceContactListResponse
|
|
1341
1175
|
If the method is called asynchronously, returns the request
|
|
1342
1176
|
thread.
|
|
1343
1177
|
"""
|
|
@@ -1366,26 +1200,28 @@ class AudienceApi(object):
|
|
|
1366
1200
|
'_content_type')
|
|
1367
1201
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1368
1202
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1369
|
-
kwargs['
|
|
1370
|
-
|
|
1371
|
-
return self.
|
|
1203
|
+
kwargs['audience_segment_id'] = \
|
|
1204
|
+
audience_segment_id
|
|
1205
|
+
return self.call_07_audiences_audience_segment_id_contactlist_delete_endpoint.call_with_http_info(**kwargs)
|
|
1372
1206
|
|
|
1373
|
-
def
|
|
1207
|
+
def call_07_audiences_audience_segment_id_contactlist_patch(
|
|
1374
1208
|
self,
|
|
1375
|
-
|
|
1209
|
+
audience_segment_id,
|
|
1210
|
+
contactlist_amendment_request,
|
|
1376
1211
|
**kwargs
|
|
1377
1212
|
):
|
|
1378
|
-
"""
|
|
1213
|
+
"""call_07_audiences_audience_segment_id_contactlist_patch # noqa: E501
|
|
1379
1214
|
|
|
1380
|
-
|
|
1215
|
+
Add/remove identifiers to or from a contact list audience-segment. # noqa: E501
|
|
1381
1216
|
This method makes a synchronous HTTP request by default. To make an
|
|
1382
1217
|
asynchronous HTTP request, please pass async_req=True
|
|
1383
1218
|
|
|
1384
|
-
>>> thread = api.
|
|
1219
|
+
>>> thread = api.call_07_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request, async_req=True)
|
|
1385
1220
|
>>> result = thread.get()
|
|
1386
1221
|
|
|
1387
1222
|
Args:
|
|
1388
|
-
|
|
1223
|
+
audience_segment_id (str): The id of the contact list audience-segment to amend
|
|
1224
|
+
contactlist_amendment_request (ContactlistAmendmentRequest):
|
|
1389
1225
|
|
|
1390
1226
|
Keyword Args:
|
|
1391
1227
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1420,7 +1256,7 @@ class AudienceApi(object):
|
|
|
1420
1256
|
async_req (bool): execute request asynchronously
|
|
1421
1257
|
|
|
1422
1258
|
Returns:
|
|
1423
|
-
|
|
1259
|
+
ModifyAudienceResponse
|
|
1424
1260
|
If the method is called asynchronously, returns the request
|
|
1425
1261
|
thread.
|
|
1426
1262
|
"""
|
|
@@ -1449,26 +1285,28 @@ class AudienceApi(object):
|
|
|
1449
1285
|
'_content_type')
|
|
1450
1286
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1451
1287
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1452
|
-
kwargs['
|
|
1453
|
-
|
|
1454
|
-
|
|
1288
|
+
kwargs['audience_segment_id'] = \
|
|
1289
|
+
audience_segment_id
|
|
1290
|
+
kwargs['contactlist_amendment_request'] = \
|
|
1291
|
+
contactlist_amendment_request
|
|
1292
|
+
return self.call_07_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs)
|
|
1455
1293
|
|
|
1456
|
-
def
|
|
1294
|
+
def call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(
|
|
1457
1295
|
self,
|
|
1458
|
-
|
|
1296
|
+
audience_segment_id,
|
|
1459
1297
|
**kwargs
|
|
1460
1298
|
):
|
|
1461
|
-
"""
|
|
1299
|
+
"""call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501
|
|
1462
1300
|
|
|
1463
|
-
|
|
1301
|
+
Delete all identifiers from a contact list audience-segment. # noqa: E501
|
|
1464
1302
|
This method makes a synchronous HTTP request by default. To make an
|
|
1465
1303
|
asynchronous HTTP request, please pass async_req=True
|
|
1466
1304
|
|
|
1467
|
-
>>> thread = api.
|
|
1305
|
+
>>> thread = api.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True)
|
|
1468
1306
|
>>> result = thread.get()
|
|
1469
1307
|
|
|
1470
1308
|
Args:
|
|
1471
|
-
|
|
1309
|
+
audience_segment_id (str): The id of the contact list audience-segment to amend
|
|
1472
1310
|
|
|
1473
1311
|
Keyword Args:
|
|
1474
1312
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1503,7 +1341,7 @@ class AudienceApi(object):
|
|
|
1503
1341
|
async_req (bool): execute request asynchronously
|
|
1504
1342
|
|
|
1505
1343
|
Returns:
|
|
1506
|
-
|
|
1344
|
+
DeleteAudienceContactListResponse
|
|
1507
1345
|
If the method is called asynchronously, returns the request
|
|
1508
1346
|
thread.
|
|
1509
1347
|
"""
|
|
@@ -1532,26 +1370,28 @@ class AudienceApi(object):
|
|
|
1532
1370
|
'_content_type')
|
|
1533
1371
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1534
1372
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1535
|
-
kwargs['
|
|
1536
|
-
|
|
1537
|
-
return self.
|
|
1373
|
+
kwargs['audience_segment_id'] = \
|
|
1374
|
+
audience_segment_id
|
|
1375
|
+
return self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs)
|
|
1538
1376
|
|
|
1539
|
-
def
|
|
1377
|
+
def call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(
|
|
1540
1378
|
self,
|
|
1541
|
-
|
|
1379
|
+
audience_segment_id,
|
|
1380
|
+
contactlist_amendment_request,
|
|
1542
1381
|
**kwargs
|
|
1543
1382
|
):
|
|
1544
|
-
"""
|
|
1383
|
+
"""call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501
|
|
1545
1384
|
|
|
1546
|
-
|
|
1385
|
+
Add/remove identifiers to or from a contact list audience-segment. # noqa: E501
|
|
1547
1386
|
This method makes a synchronous HTTP request by default. To make an
|
|
1548
1387
|
asynchronous HTTP request, please pass async_req=True
|
|
1549
1388
|
|
|
1550
|
-
>>> thread = api.
|
|
1389
|
+
>>> thread = api.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True)
|
|
1551
1390
|
>>> result = thread.get()
|
|
1552
1391
|
|
|
1553
1392
|
Args:
|
|
1554
|
-
|
|
1393
|
+
audience_segment_id (str): The id of the contact list audience-segment to amend
|
|
1394
|
+
contactlist_amendment_request (ContactlistAmendmentRequest):
|
|
1555
1395
|
|
|
1556
1396
|
Keyword Args:
|
|
1557
1397
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1586,7 +1426,7 @@ class AudienceApi(object):
|
|
|
1586
1426
|
async_req (bool): execute request asynchronously
|
|
1587
1427
|
|
|
1588
1428
|
Returns:
|
|
1589
|
-
|
|
1429
|
+
ModifyAudienceResponse
|
|
1590
1430
|
If the method is called asynchronously, returns the request
|
|
1591
1431
|
thread.
|
|
1592
1432
|
"""
|
|
@@ -1615,26 +1455,28 @@ class AudienceApi(object):
|
|
|
1615
1455
|
'_content_type')
|
|
1616
1456
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1617
1457
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1618
|
-
kwargs['
|
|
1619
|
-
|
|
1620
|
-
|
|
1458
|
+
kwargs['audience_segment_id'] = \
|
|
1459
|
+
audience_segment_id
|
|
1460
|
+
kwargs['contactlist_amendment_request'] = \
|
|
1461
|
+
contactlist_amendment_request
|
|
1462
|
+
return self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs)
|
|
1621
1463
|
|
|
1622
|
-
def
|
|
1464
|
+
def compute_audience_segments_sizes(
|
|
1623
1465
|
self,
|
|
1624
|
-
|
|
1466
|
+
audience_segment_compute_sizes_input_v1,
|
|
1625
1467
|
**kwargs
|
|
1626
1468
|
):
|
|
1627
|
-
"""
|
|
1469
|
+
"""compute_audience_segments_sizes # noqa: E501
|
|
1628
1470
|
|
|
1629
|
-
|
|
1471
|
+
Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501
|
|
1630
1472
|
This method makes a synchronous HTTP request by default. To make an
|
|
1631
1473
|
asynchronous HTTP request, please pass async_req=True
|
|
1632
1474
|
|
|
1633
|
-
>>> thread = api.
|
|
1475
|
+
>>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True)
|
|
1634
1476
|
>>> result = thread.get()
|
|
1635
1477
|
|
|
1636
1478
|
Args:
|
|
1637
|
-
|
|
1479
|
+
audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1):
|
|
1638
1480
|
|
|
1639
1481
|
Keyword Args:
|
|
1640
1482
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1669,7 +1511,7 @@ class AudienceApi(object):
|
|
|
1669
1511
|
async_req (bool): execute request asynchronously
|
|
1670
1512
|
|
|
1671
1513
|
Returns:
|
|
1672
|
-
|
|
1514
|
+
AudienceSegmentSizeEntityV1ListResponse
|
|
1673
1515
|
If the method is called asynchronously, returns the request
|
|
1674
1516
|
thread.
|
|
1675
1517
|
"""
|
|
@@ -1698,28 +1540,26 @@ class AudienceApi(object):
|
|
|
1698
1540
|
'_content_type')
|
|
1699
1541
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1700
1542
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1701
|
-
kwargs['
|
|
1702
|
-
|
|
1703
|
-
return self.
|
|
1543
|
+
kwargs['audience_segment_compute_sizes_input_v1'] = \
|
|
1544
|
+
audience_segment_compute_sizes_input_v1
|
|
1545
|
+
return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
|
|
1704
1546
|
|
|
1705
|
-
def
|
|
1547
|
+
def compute_audiences_sizes(
|
|
1706
1548
|
self,
|
|
1707
|
-
|
|
1708
|
-
contactlist_amendment_request,
|
|
1549
|
+
audience_compute_sizes_input_v1,
|
|
1709
1550
|
**kwargs
|
|
1710
1551
|
):
|
|
1711
|
-
"""
|
|
1552
|
+
"""compute_audiences_sizes # noqa: E501
|
|
1712
1553
|
|
|
1713
|
-
|
|
1554
|
+
Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501
|
|
1714
1555
|
This method makes a synchronous HTTP request by default. To make an
|
|
1715
1556
|
asynchronous HTTP request, please pass async_req=True
|
|
1716
1557
|
|
|
1717
|
-
>>> thread = api.
|
|
1558
|
+
>>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True)
|
|
1718
1559
|
>>> result = thread.get()
|
|
1719
1560
|
|
|
1720
1561
|
Args:
|
|
1721
|
-
|
|
1722
|
-
contactlist_amendment_request (ContactlistAmendmentRequest):
|
|
1562
|
+
audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1):
|
|
1723
1563
|
|
|
1724
1564
|
Keyword Args:
|
|
1725
1565
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1754,7 +1594,7 @@ class AudienceApi(object):
|
|
|
1754
1594
|
async_req (bool): execute request asynchronously
|
|
1755
1595
|
|
|
1756
1596
|
Returns:
|
|
1757
|
-
|
|
1597
|
+
AudienceSizeEntityV1ListResponse
|
|
1758
1598
|
If the method is called asynchronously, returns the request
|
|
1759
1599
|
thread.
|
|
1760
1600
|
"""
|
|
@@ -1783,28 +1623,26 @@ class AudienceApi(object):
|
|
|
1783
1623
|
'_content_type')
|
|
1784
1624
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1785
1625
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1786
|
-
kwargs['
|
|
1787
|
-
|
|
1788
|
-
kwargs
|
|
1789
|
-
contactlist_amendment_request
|
|
1790
|
-
return self.call_07_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs)
|
|
1626
|
+
kwargs['audience_compute_sizes_input_v1'] = \
|
|
1627
|
+
audience_compute_sizes_input_v1
|
|
1628
|
+
return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
|
|
1791
1629
|
|
|
1792
|
-
def
|
|
1630
|
+
def create_audience_segments(
|
|
1793
1631
|
self,
|
|
1794
|
-
|
|
1632
|
+
audience_segment_bulk_create_input_v1,
|
|
1795
1633
|
**kwargs
|
|
1796
1634
|
):
|
|
1797
|
-
"""
|
|
1635
|
+
"""create_audience_segments # noqa: E501
|
|
1798
1636
|
|
|
1799
|
-
|
|
1637
|
+
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
|
|
1800
1638
|
This method makes a synchronous HTTP request by default. To make an
|
|
1801
1639
|
asynchronous HTTP request, please pass async_req=True
|
|
1802
1640
|
|
|
1803
|
-
>>> thread = api.
|
|
1641
|
+
>>> thread = api.create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True)
|
|
1804
1642
|
>>> result = thread.get()
|
|
1805
1643
|
|
|
1806
1644
|
Args:
|
|
1807
|
-
|
|
1645
|
+
audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter
|
|
1808
1646
|
|
|
1809
1647
|
Keyword Args:
|
|
1810
1648
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1839,7 +1677,7 @@ class AudienceApi(object):
|
|
|
1839
1677
|
async_req (bool): execute request asynchronously
|
|
1840
1678
|
|
|
1841
1679
|
Returns:
|
|
1842
|
-
|
|
1680
|
+
AudienceSegmentEntityV1ListResponse
|
|
1843
1681
|
If the method is called asynchronously, returns the request
|
|
1844
1682
|
thread.
|
|
1845
1683
|
"""
|
|
@@ -1868,28 +1706,26 @@ class AudienceApi(object):
|
|
|
1868
1706
|
'_content_type')
|
|
1869
1707
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1870
1708
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1871
|
-
kwargs['
|
|
1872
|
-
|
|
1873
|
-
return self.
|
|
1709
|
+
kwargs['audience_segment_bulk_create_input_v1'] = \
|
|
1710
|
+
audience_segment_bulk_create_input_v1
|
|
1711
|
+
return self.create_audience_segments_endpoint.call_with_http_info(**kwargs)
|
|
1874
1712
|
|
|
1875
|
-
def
|
|
1713
|
+
def create_audiences(
|
|
1876
1714
|
self,
|
|
1877
|
-
|
|
1878
|
-
contactlist_amendment_request,
|
|
1715
|
+
audience_bulk_create_input_v1,
|
|
1879
1716
|
**kwargs
|
|
1880
1717
|
):
|
|
1881
|
-
"""
|
|
1718
|
+
"""create_audiences # noqa: E501
|
|
1882
1719
|
|
|
1883
|
-
|
|
1720
|
+
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
|
|
1884
1721
|
This method makes a synchronous HTTP request by default. To make an
|
|
1885
1722
|
asynchronous HTTP request, please pass async_req=True
|
|
1886
1723
|
|
|
1887
|
-
>>> thread = api.
|
|
1724
|
+
>>> thread = api.create_audiences(audience_bulk_create_input_v1, async_req=True)
|
|
1888
1725
|
>>> result = thread.get()
|
|
1889
1726
|
|
|
1890
1727
|
Args:
|
|
1891
|
-
|
|
1892
|
-
contactlist_amendment_request (ContactlistAmendmentRequest):
|
|
1728
|
+
audience_bulk_create_input_v1 (AudienceBulkCreateInputV1):
|
|
1893
1729
|
|
|
1894
1730
|
Keyword Args:
|
|
1895
1731
|
_return_http_data_only (bool): response data without head status
|
|
@@ -1924,7 +1760,7 @@ class AudienceApi(object):
|
|
|
1924
1760
|
async_req (bool): execute request asynchronously
|
|
1925
1761
|
|
|
1926
1762
|
Returns:
|
|
1927
|
-
|
|
1763
|
+
AudienceEntityV1ListResponse
|
|
1928
1764
|
If the method is called asynchronously, returns the request
|
|
1929
1765
|
thread.
|
|
1930
1766
|
"""
|
|
@@ -1953,28 +1789,26 @@ class AudienceApi(object):
|
|
|
1953
1789
|
'_content_type')
|
|
1954
1790
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1955
1791
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1956
|
-
kwargs['
|
|
1957
|
-
|
|
1958
|
-
kwargs
|
|
1959
|
-
contactlist_amendment_request
|
|
1960
|
-
return self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs)
|
|
1792
|
+
kwargs['audience_bulk_create_input_v1'] = \
|
|
1793
|
+
audience_bulk_create_input_v1
|
|
1794
|
+
return self.create_audiences_endpoint.call_with_http_info(**kwargs)
|
|
1961
1795
|
|
|
1962
|
-
def
|
|
1796
|
+
def delete_audience_segments(
|
|
1963
1797
|
self,
|
|
1964
|
-
|
|
1798
|
+
audience_segment_bulk_delete_input_v1,
|
|
1965
1799
|
**kwargs
|
|
1966
1800
|
):
|
|
1967
|
-
"""
|
|
1801
|
+
"""delete_audience_segments # noqa: E501
|
|
1968
1802
|
|
|
1969
|
-
|
|
1803
|
+
Delete the segments associated to the given audience IDs. # noqa: E501
|
|
1970
1804
|
This method makes a synchronous HTTP request by default. To make an
|
|
1971
1805
|
asynchronous HTTP request, please pass async_req=True
|
|
1972
1806
|
|
|
1973
|
-
>>> thread = api.
|
|
1807
|
+
>>> thread = api.delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True)
|
|
1974
1808
|
>>> result = thread.get()
|
|
1975
1809
|
|
|
1976
1810
|
Args:
|
|
1977
|
-
|
|
1811
|
+
audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request.
|
|
1978
1812
|
|
|
1979
1813
|
Keyword Args:
|
|
1980
1814
|
_return_http_data_only (bool): response data without head status
|
|
@@ -2009,7 +1843,7 @@ class AudienceApi(object):
|
|
|
2009
1843
|
async_req (bool): execute request asynchronously
|
|
2010
1844
|
|
|
2011
1845
|
Returns:
|
|
2012
|
-
|
|
1846
|
+
AudienceSegmentIdEntityV1ListResponse
|
|
2013
1847
|
If the method is called asynchronously, returns the request
|
|
2014
1848
|
thread.
|
|
2015
1849
|
"""
|
|
@@ -2038,26 +1872,26 @@ class AudienceApi(object):
|
|
|
2038
1872
|
'_content_type')
|
|
2039
1873
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2040
1874
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2041
|
-
kwargs['
|
|
2042
|
-
|
|
2043
|
-
return self.
|
|
1875
|
+
kwargs['audience_segment_bulk_delete_input_v1'] = \
|
|
1876
|
+
audience_segment_bulk_delete_input_v1
|
|
1877
|
+
return self.delete_audience_segments_endpoint.call_with_http_info(**kwargs)
|
|
2044
1878
|
|
|
2045
|
-
def
|
|
1879
|
+
def delete_audiences(
|
|
2046
1880
|
self,
|
|
2047
|
-
|
|
1881
|
+
audience_bulk_delete_input_v1,
|
|
2048
1882
|
**kwargs
|
|
2049
1883
|
):
|
|
2050
|
-
"""
|
|
1884
|
+
"""delete_audiences # noqa: E501
|
|
2051
1885
|
|
|
2052
|
-
|
|
1886
|
+
Deletes the audiences associated to the given audience IDs. # noqa: E501
|
|
2053
1887
|
This method makes a synchronous HTTP request by default. To make an
|
|
2054
1888
|
asynchronous HTTP request, please pass async_req=True
|
|
2055
1889
|
|
|
2056
|
-
>>> thread = api.
|
|
1890
|
+
>>> thread = api.delete_audiences(audience_bulk_delete_input_v1, async_req=True)
|
|
2057
1891
|
>>> result = thread.get()
|
|
2058
1892
|
|
|
2059
1893
|
Args:
|
|
2060
|
-
|
|
1894
|
+
audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1):
|
|
2061
1895
|
|
|
2062
1896
|
Keyword Args:
|
|
2063
1897
|
_return_http_data_only (bool): response data without head status
|
|
@@ -2092,7 +1926,7 @@ class AudienceApi(object):
|
|
|
2092
1926
|
async_req (bool): execute request asynchronously
|
|
2093
1927
|
|
|
2094
1928
|
Returns:
|
|
2095
|
-
|
|
1929
|
+
AudienceIdEntityV1ListResponse
|
|
2096
1930
|
If the method is called asynchronously, returns the request
|
|
2097
1931
|
thread.
|
|
2098
1932
|
"""
|
|
@@ -2121,22 +1955,22 @@ class AudienceApi(object):
|
|
|
2121
1955
|
'_content_type')
|
|
2122
1956
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2123
1957
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2124
|
-
kwargs['
|
|
2125
|
-
|
|
2126
|
-
return self.
|
|
1958
|
+
kwargs['audience_bulk_delete_input_v1'] = \
|
|
1959
|
+
audience_bulk_delete_input_v1
|
|
1960
|
+
return self.delete_audiences_endpoint.call_with_http_info(**kwargs)
|
|
2127
1961
|
|
|
2128
|
-
def
|
|
1962
|
+
def estimate_audience_segments_sizes(
|
|
2129
1963
|
self,
|
|
2130
1964
|
audience_segment_estimate_size_input_v1,
|
|
2131
1965
|
**kwargs
|
|
2132
1966
|
):
|
|
2133
|
-
"""
|
|
1967
|
+
"""estimate_audience_segments_sizes # noqa: E501
|
|
2134
1968
|
|
|
2135
1969
|
Gets the size estimation of a non existent segment. An error is returned when size calculation is not supported. # noqa: E501
|
|
2136
1970
|
This method makes a synchronous HTTP request by default. To make an
|
|
2137
1971
|
asynchronous HTTP request, please pass async_req=True
|
|
2138
1972
|
|
|
2139
|
-
>>> thread = api.
|
|
1973
|
+
>>> thread = api.estimate_audience_segments_sizes(audience_segment_estimate_size_input_v1, async_req=True)
|
|
2140
1974
|
>>> result = thread.get()
|
|
2141
1975
|
|
|
2142
1976
|
Args:
|
|
@@ -2206,20 +2040,20 @@ class AudienceApi(object):
|
|
|
2206
2040
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2207
2041
|
kwargs['audience_segment_estimate_size_input_v1'] = \
|
|
2208
2042
|
audience_segment_estimate_size_input_v1
|
|
2209
|
-
return self.
|
|
2043
|
+
return self.estimate_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
|
|
2210
2044
|
|
|
2211
|
-
def
|
|
2045
|
+
def estimate_audiences_sizes(
|
|
2212
2046
|
self,
|
|
2213
2047
|
audience_estimate_size_input_v1,
|
|
2214
2048
|
**kwargs
|
|
2215
2049
|
):
|
|
2216
|
-
"""
|
|
2050
|
+
"""estimate_audiences_sizes # noqa: E501
|
|
2217
2051
|
|
|
2218
2052
|
Gets the size estimation of a non existent audience. An error is returned when size calculation is not supported. # noqa: E501
|
|
2219
2053
|
This method makes a synchronous HTTP request by default. To make an
|
|
2220
2054
|
asynchronous HTTP request, please pass async_req=True
|
|
2221
2055
|
|
|
2222
|
-
>>> thread = api.
|
|
2056
|
+
>>> thread = api.estimate_audiences_sizes(audience_estimate_size_input_v1, async_req=True)
|
|
2223
2057
|
>>> result = thread.get()
|
|
2224
2058
|
|
|
2225
2059
|
Args:
|
|
@@ -2289,7 +2123,7 @@ class AudienceApi(object):
|
|
|
2289
2123
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2290
2124
|
kwargs['audience_estimate_size_input_v1'] = \
|
|
2291
2125
|
audience_estimate_size_input_v1
|
|
2292
|
-
return self.
|
|
2126
|
+
return self.estimate_audiences_sizes_endpoint.call_with_http_info(**kwargs)
|
|
2293
2127
|
|
|
2294
2128
|
def get_audience_segment_contact_list_statistics(
|
|
2295
2129
|
self,
|
|
@@ -2718,3 +2552,169 @@ class AudienceApi(object):
|
|
|
2718
2552
|
audience_search_input_v1
|
|
2719
2553
|
return self.search_audiences_endpoint.call_with_http_info(**kwargs)
|
|
2720
2554
|
|
|
2555
|
+
def update_audience_segments(
|
|
2556
|
+
self,
|
|
2557
|
+
audience_segment_bulk_update_input_v1,
|
|
2558
|
+
**kwargs
|
|
2559
|
+
):
|
|
2560
|
+
"""update_audience_segments # noqa: E501
|
|
2561
|
+
|
|
2562
|
+
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
|
|
2563
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2564
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2565
|
+
|
|
2566
|
+
>>> thread = api.update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True)
|
|
2567
|
+
>>> result = thread.get()
|
|
2568
|
+
|
|
2569
|
+
Args:
|
|
2570
|
+
audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request
|
|
2571
|
+
|
|
2572
|
+
Keyword Args:
|
|
2573
|
+
_return_http_data_only (bool): response data without head status
|
|
2574
|
+
code and headers. Default is True.
|
|
2575
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
2576
|
+
will be returned without reading/decoding response data.
|
|
2577
|
+
Default is True.
|
|
2578
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
2579
|
+
one number provided, it will be total request timeout. It can also
|
|
2580
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
2581
|
+
Default is None.
|
|
2582
|
+
_check_input_type (bool): specifies if type checking
|
|
2583
|
+
should be done one the data sent to the server.
|
|
2584
|
+
Default is True.
|
|
2585
|
+
_check_return_type (bool): specifies if type checking
|
|
2586
|
+
should be done one the data received from the server.
|
|
2587
|
+
Default is True.
|
|
2588
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
2589
|
+
are serialized names, as specified in the OpenAPI document.
|
|
2590
|
+
False if the variable names in the input data
|
|
2591
|
+
are pythonic names, e.g. snake case (default)
|
|
2592
|
+
_content_type (str/None): force body content-type.
|
|
2593
|
+
Default is None and content-type will be predicted by allowed
|
|
2594
|
+
content-types and body.
|
|
2595
|
+
_host_index (int/None): specifies the index of the server
|
|
2596
|
+
that we want to use.
|
|
2597
|
+
Default is read from the configuration.
|
|
2598
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
2599
|
+
request; this effectively ignores the authentication
|
|
2600
|
+
in the spec for a single request.
|
|
2601
|
+
Default is None
|
|
2602
|
+
async_req (bool): execute request asynchronously
|
|
2603
|
+
|
|
2604
|
+
Returns:
|
|
2605
|
+
AudienceSegmentEntityV1ListResponse
|
|
2606
|
+
If the method is called asynchronously, returns the request
|
|
2607
|
+
thread.
|
|
2608
|
+
"""
|
|
2609
|
+
kwargs['async_req'] = kwargs.get(
|
|
2610
|
+
'async_req', False
|
|
2611
|
+
)
|
|
2612
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
2613
|
+
'_return_http_data_only', True
|
|
2614
|
+
)
|
|
2615
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
2616
|
+
'_preload_content', True
|
|
2617
|
+
)
|
|
2618
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
2619
|
+
'_request_timeout', None
|
|
2620
|
+
)
|
|
2621
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
2622
|
+
'_check_input_type', True
|
|
2623
|
+
)
|
|
2624
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
2625
|
+
'_check_return_type', True
|
|
2626
|
+
)
|
|
2627
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
2628
|
+
'_spec_property_naming', False
|
|
2629
|
+
)
|
|
2630
|
+
kwargs['_content_type'] = kwargs.get(
|
|
2631
|
+
'_content_type')
|
|
2632
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2633
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2634
|
+
kwargs['audience_segment_bulk_update_input_v1'] = \
|
|
2635
|
+
audience_segment_bulk_update_input_v1
|
|
2636
|
+
return self.update_audience_segments_endpoint.call_with_http_info(**kwargs)
|
|
2637
|
+
|
|
2638
|
+
def update_audiences(
|
|
2639
|
+
self,
|
|
2640
|
+
audience_bulk_update_input_v1,
|
|
2641
|
+
**kwargs
|
|
2642
|
+
):
|
|
2643
|
+
"""update_audiences # noqa: E501
|
|
2644
|
+
|
|
2645
|
+
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
|
|
2646
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2647
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2648
|
+
|
|
2649
|
+
>>> thread = api.update_audiences(audience_bulk_update_input_v1, async_req=True)
|
|
2650
|
+
>>> result = thread.get()
|
|
2651
|
+
|
|
2652
|
+
Args:
|
|
2653
|
+
audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1):
|
|
2654
|
+
|
|
2655
|
+
Keyword Args:
|
|
2656
|
+
_return_http_data_only (bool): response data without head status
|
|
2657
|
+
code and headers. Default is True.
|
|
2658
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
2659
|
+
will be returned without reading/decoding response data.
|
|
2660
|
+
Default is True.
|
|
2661
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
2662
|
+
one number provided, it will be total request timeout. It can also
|
|
2663
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
2664
|
+
Default is None.
|
|
2665
|
+
_check_input_type (bool): specifies if type checking
|
|
2666
|
+
should be done one the data sent to the server.
|
|
2667
|
+
Default is True.
|
|
2668
|
+
_check_return_type (bool): specifies if type checking
|
|
2669
|
+
should be done one the data received from the server.
|
|
2670
|
+
Default is True.
|
|
2671
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
2672
|
+
are serialized names, as specified in the OpenAPI document.
|
|
2673
|
+
False if the variable names in the input data
|
|
2674
|
+
are pythonic names, e.g. snake case (default)
|
|
2675
|
+
_content_type (str/None): force body content-type.
|
|
2676
|
+
Default is None and content-type will be predicted by allowed
|
|
2677
|
+
content-types and body.
|
|
2678
|
+
_host_index (int/None): specifies the index of the server
|
|
2679
|
+
that we want to use.
|
|
2680
|
+
Default is read from the configuration.
|
|
2681
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
2682
|
+
request; this effectively ignores the authentication
|
|
2683
|
+
in the spec for a single request.
|
|
2684
|
+
Default is None
|
|
2685
|
+
async_req (bool): execute request asynchronously
|
|
2686
|
+
|
|
2687
|
+
Returns:
|
|
2688
|
+
AudienceEntityV1ListResponse
|
|
2689
|
+
If the method is called asynchronously, returns the request
|
|
2690
|
+
thread.
|
|
2691
|
+
"""
|
|
2692
|
+
kwargs['async_req'] = kwargs.get(
|
|
2693
|
+
'async_req', False
|
|
2694
|
+
)
|
|
2695
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
2696
|
+
'_return_http_data_only', True
|
|
2697
|
+
)
|
|
2698
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
2699
|
+
'_preload_content', True
|
|
2700
|
+
)
|
|
2701
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
2702
|
+
'_request_timeout', None
|
|
2703
|
+
)
|
|
2704
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
2705
|
+
'_check_input_type', True
|
|
2706
|
+
)
|
|
2707
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
2708
|
+
'_check_return_type', True
|
|
2709
|
+
)
|
|
2710
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
2711
|
+
'_spec_property_naming', False
|
|
2712
|
+
)
|
|
2713
|
+
kwargs['_content_type'] = kwargs.get(
|
|
2714
|
+
'_content_type')
|
|
2715
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
2716
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2717
|
+
kwargs['audience_bulk_update_input_v1'] = \
|
|
2718
|
+
audience_bulk_update_input_v1
|
|
2719
|
+
return self.update_audiences_endpoint.call_with_http_info(**kwargs)
|
|
2720
|
+
|