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

Files changed (46) hide show
  1. {criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.250129.dist-info}/METADATA +14 -5
  2. {criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.250129.dist-info}/RECORD +44 -44
  3. {criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.250129.dist-info}/WHEEL +1 -1
  4. criteo_api_marketingsolutions_v2024_07/__init__.py +1 -1
  5. criteo_api_marketingsolutions_v2024_07/api/analytics_api.py +8 -6
  6. criteo_api_marketingsolutions_v2024_07/api/audience_api.py +554 -273
  7. criteo_api_marketingsolutions_v2024_07/api/creative_api.py +89 -89
  8. criteo_api_marketingsolutions_v2024_07/api_client.py +1 -1
  9. criteo_api_marketingsolutions_v2024_07/configuration.py +1 -1
  10. criteo_api_marketingsolutions_v2024_07/model/adaptive_attributes.py +0 -10
  11. criteo_api_marketingsolutions_v2024_07/model/adaptive_write_attributes.py +0 -4
  12. criteo_api_marketingsolutions_v2024_07/model/contactlist_amendment_attributes.py +2 -3
  13. criteo_api_marketingsolutions_v2024_07/model/coupon.py +0 -2
  14. criteo_api_marketingsolutions_v2024_07/model/coupon_supported_sizes.py +0 -4
  15. criteo_api_marketingsolutions_v2024_07/model/create_coupon.py +0 -2
  16. criteo_api_marketingsolutions_v2024_07/model/create_image_slide.py +0 -2
  17. criteo_api_marketingsolutions_v2024_07/model/dynamic_attributes.py +0 -4
  18. criteo_api_marketingsolutions_v2024_07/model/dynamic_write_attributes.py +6 -6
  19. criteo_api_marketingsolutions_v2024_07/model/html_tag_attributes.py +0 -2
  20. criteo_api_marketingsolutions_v2024_07/model/html_tag_write_attributes.py +0 -2
  21. criteo_api_marketingsolutions_v2024_07/model/image_attributes.py +0 -2
  22. criteo_api_marketingsolutions_v2024_07/model/image_set.py +0 -2
  23. criteo_api_marketingsolutions_v2024_07/model/image_slide.py +0 -2
  24. criteo_api_marketingsolutions_v2024_07/model/{creative_response.py → resource_collection_outcome_of_ad.py} +8 -12
  25. criteo_api_marketingsolutions_v2024_07/model/{ad_list_response.py → resource_collection_outcome_of_coupon.py} +8 -14
  26. criteo_api_marketingsolutions_v2024_07/model/resource_collection_outcome_of_creative.py +281 -0
  27. criteo_api_marketingsolutions_v2024_07/model/{ad_write_request.py → resource_input_of_ad_write.py} +8 -8
  28. criteo_api_marketingsolutions_v2024_07/model/{create_coupon_request.py → resource_input_of_create_coupon.py} +8 -8
  29. criteo_api_marketingsolutions_v2024_07/model/{creative_write_request.py → resource_input_of_creative_write.py} +8 -8
  30. criteo_api_marketingsolutions_v2024_07/model/{update_coupon_request.py → resource_input_of_update_coupon.py} +8 -8
  31. criteo_api_marketingsolutions_v2024_07/model/{ad_resource.py → resource_of_ad.py} +5 -5
  32. criteo_api_marketingsolutions_v2024_07/model/{ad_write_resource.py → resource_of_ad_write.py} +5 -5
  33. criteo_api_marketingsolutions_v2024_07/model/{coupon_resource.py → resource_of_coupon.py} +5 -5
  34. criteo_api_marketingsolutions_v2024_07/model/{coupon_supported_sizes_resource.py → resource_of_coupon_supported_sizes.py} +5 -5
  35. criteo_api_marketingsolutions_v2024_07/model/{create_coupon_resource.py → resource_of_create_coupon.py} +5 -5
  36. criteo_api_marketingsolutions_v2024_07/model/{creative_resource.py → resource_of_creative.py} +5 -5
  37. criteo_api_marketingsolutions_v2024_07/model/{creative_write_resource.py → resource_of_creative_write.py} +5 -5
  38. criteo_api_marketingsolutions_v2024_07/model/{update_coupon_resource.py → resource_of_update_coupon.py} +5 -5
  39. criteo_api_marketingsolutions_v2024_07/model/{ad_response.py → resource_outcome_of_ad.py} +8 -12
  40. criteo_api_marketingsolutions_v2024_07/model/{coupon_response.py → resource_outcome_of_coupon.py} +8 -12
  41. criteo_api_marketingsolutions_v2024_07/model/{coupon_list_response.py → resource_outcome_of_coupon_supported_sizes.py} +8 -14
  42. criteo_api_marketingsolutions_v2024_07/model/resource_outcome_of_creative.py +281 -0
  43. criteo_api_marketingsolutions_v2024_07/models/__init__.py +19 -19
  44. criteo_api_marketingsolutions_v2024_07/model/coupon_supported_sizes_response.py +0 -285
  45. criteo_api_marketingsolutions_v2024_07/model/creative_list_response.py +0 -287
  46. {criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.250129.dist-info}/top_level.txt +0 -0
@@ -411,24 +411,24 @@ class AudienceApi(object):
411
411
  },
412
412
  api_client=api_client
413
413
  )
414
- self.compute_audience_segments_sizes_endpoint = _Endpoint(
414
+ self.call_07_audiences_audience_segment_id_contactlist_delete_endpoint = _Endpoint(
415
415
  settings={
416
- 'response_type': (AudienceSegmentSizeEntityV1ListResponse,),
416
+ 'response_type': (DeleteAudienceContactListResponse,),
417
417
  'auth': [
418
418
  'oauth',
419
419
  'oauth'
420
420
  ],
421
- 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/compute-sizes',
422
- 'operation_id': 'compute_audience_segments_sizes',
423
- 'http_method': 'POST',
421
+ 'endpoint_path': '/2024-07/audiences/{audience-segment-id}/contactlist',
422
+ 'operation_id': 'call_07_audiences_audience_segment_id_contactlist_delete',
423
+ 'http_method': 'DELETE',
424
424
  'servers': None,
425
425
  },
426
426
  params_map={
427
427
  'all': [
428
- 'audience_segment_compute_sizes_input_v1',
428
+ 'audience_segment_id',
429
429
  ],
430
430
  'required': [
431
- 'audience_segment_compute_sizes_input_v1',
431
+ 'audience_segment_id',
432
432
  ],
433
433
  'nullable': [
434
434
  ],
@@ -443,50 +443,46 @@ class AudienceApi(object):
443
443
  'allowed_values': {
444
444
  },
445
445
  'openapi_types': {
446
- 'audience_segment_compute_sizes_input_v1':
447
- (AudienceSegmentComputeSizesInputV1,),
446
+ 'audience_segment_id':
447
+ (str,),
448
448
  },
449
449
  'attribute_map': {
450
+ 'audience_segment_id': 'audience-segment-id',
450
451
  },
451
452
  'location_map': {
452
- 'audience_segment_compute_sizes_input_v1': 'body',
453
+ 'audience_segment_id': 'path',
453
454
  },
454
455
  'collection_format_map': {
455
456
  }
456
457
  },
457
458
  headers_map={
458
459
  'accept': [
459
- 'text/plain',
460
- 'application/json',
461
- 'text/json'
460
+ 'application/json'
462
461
  ],
463
- 'content_type': [
464
- 'application/json-patch+json',
465
- 'application/json',
466
- 'text/json',
467
- 'application/*+json'
468
- ]
462
+ 'content_type': [],
469
463
  },
470
464
  api_client=api_client
471
465
  )
472
- self.compute_audiences_sizes_endpoint = _Endpoint(
466
+ self.call_07_audiences_audience_segment_id_contactlist_patch_endpoint = _Endpoint(
473
467
  settings={
474
- 'response_type': (AudienceSizeEntityV1ListResponse,),
468
+ 'response_type': (ModifyAudienceResponse,),
475
469
  'auth': [
476
470
  'oauth',
477
471
  'oauth'
478
472
  ],
479
- 'endpoint_path': '/2024-07/marketing-solutions/audiences/compute-sizes',
480
- 'operation_id': 'compute_audiences_sizes',
481
- 'http_method': 'POST',
473
+ 'endpoint_path': '/2024-07/audiences/{audience-segment-id}/contactlist',
474
+ 'operation_id': 'call_07_audiences_audience_segment_id_contactlist_patch',
475
+ 'http_method': 'PATCH',
482
476
  'servers': None,
483
477
  },
484
478
  params_map={
485
479
  'all': [
486
- 'audience_compute_sizes_input_v1',
480
+ 'audience_segment_id',
481
+ 'contactlist_amendment_request',
487
482
  ],
488
483
  'required': [
489
- 'audience_compute_sizes_input_v1',
484
+ 'audience_segment_id',
485
+ 'contactlist_amendment_request',
490
486
  ],
491
487
  'nullable': [
492
488
  ],
@@ -501,33 +497,32 @@ class AudienceApi(object):
501
497
  'allowed_values': {
502
498
  },
503
499
  'openapi_types': {
504
- 'audience_compute_sizes_input_v1':
505
- (AudienceComputeSizesInputV1,),
500
+ 'audience_segment_id':
501
+ (str,),
502
+ 'contactlist_amendment_request':
503
+ (ContactlistAmendmentRequest,),
506
504
  },
507
505
  'attribute_map': {
506
+ 'audience_segment_id': 'audience-segment-id',
508
507
  },
509
508
  'location_map': {
510
- 'audience_compute_sizes_input_v1': 'body',
509
+ 'audience_segment_id': 'path',
510
+ 'contactlist_amendment_request': 'body',
511
511
  },
512
512
  'collection_format_map': {
513
513
  }
514
514
  },
515
515
  headers_map={
516
516
  'accept': [
517
- 'text/plain',
518
- 'application/json',
519
- 'text/json'
517
+ 'application/json'
520
518
  ],
521
519
  'content_type': [
522
- 'application/json-patch+json',
523
- 'application/json',
524
- 'text/json',
525
- 'application/*+json'
520
+ 'application/json'
526
521
  ]
527
522
  },
528
523
  api_client=api_client
529
524
  )
530
- self.delete_contact_list_identifiers_endpoint = _Endpoint(
525
+ self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint = _Endpoint(
531
526
  settings={
532
527
  'response_type': (DeleteAudienceContactListResponse,),
533
528
  'auth': [
@@ -535,7 +530,7 @@ class AudienceApi(object):
535
530
  'oauth'
536
531
  ],
537
532
  'endpoint_path': '/2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list',
538
- 'operation_id': 'delete_contact_list_identifiers',
533
+ 'operation_id': 'call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete',
539
534
  'http_method': 'DELETE',
540
535
  'servers': None,
541
536
  },
@@ -579,6 +574,181 @@ class AudienceApi(object):
579
574
  },
580
575
  api_client=api_client
581
576
  )
577
+ self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint = _Endpoint(
578
+ settings={
579
+ 'response_type': (ModifyAudienceResponse,),
580
+ 'auth': [
581
+ 'oauth',
582
+ 'oauth'
583
+ ],
584
+ 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list',
585
+ 'operation_id': 'call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch',
586
+ 'http_method': 'PATCH',
587
+ 'servers': None,
588
+ },
589
+ params_map={
590
+ 'all': [
591
+ 'audience_segment_id',
592
+ 'contactlist_amendment_request',
593
+ ],
594
+ 'required': [
595
+ 'audience_segment_id',
596
+ 'contactlist_amendment_request',
597
+ ],
598
+ 'nullable': [
599
+ ],
600
+ 'enum': [
601
+ ],
602
+ 'validation': [
603
+ ]
604
+ },
605
+ root_map={
606
+ 'validations': {
607
+ },
608
+ 'allowed_values': {
609
+ },
610
+ 'openapi_types': {
611
+ 'audience_segment_id':
612
+ (str,),
613
+ 'contactlist_amendment_request':
614
+ (ContactlistAmendmentRequest,),
615
+ },
616
+ 'attribute_map': {
617
+ 'audience_segment_id': 'audience-segment-id',
618
+ },
619
+ 'location_map': {
620
+ 'audience_segment_id': 'path',
621
+ 'contactlist_amendment_request': 'body',
622
+ },
623
+ 'collection_format_map': {
624
+ }
625
+ },
626
+ headers_map={
627
+ 'accept': [
628
+ 'application/json'
629
+ ],
630
+ 'content_type': [
631
+ 'application/json'
632
+ ]
633
+ },
634
+ api_client=api_client
635
+ )
636
+ self.compute_audience_segments_sizes_endpoint = _Endpoint(
637
+ settings={
638
+ 'response_type': (AudienceSegmentSizeEntityV1ListResponse,),
639
+ 'auth': [
640
+ 'oauth',
641
+ 'oauth'
642
+ ],
643
+ 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/compute-sizes',
644
+ 'operation_id': 'compute_audience_segments_sizes',
645
+ 'http_method': 'POST',
646
+ 'servers': None,
647
+ },
648
+ params_map={
649
+ 'all': [
650
+ 'audience_segment_compute_sizes_input_v1',
651
+ ],
652
+ 'required': [
653
+ 'audience_segment_compute_sizes_input_v1',
654
+ ],
655
+ 'nullable': [
656
+ ],
657
+ 'enum': [
658
+ ],
659
+ 'validation': [
660
+ ]
661
+ },
662
+ root_map={
663
+ 'validations': {
664
+ },
665
+ 'allowed_values': {
666
+ },
667
+ 'openapi_types': {
668
+ 'audience_segment_compute_sizes_input_v1':
669
+ (AudienceSegmentComputeSizesInputV1,),
670
+ },
671
+ 'attribute_map': {
672
+ },
673
+ 'location_map': {
674
+ 'audience_segment_compute_sizes_input_v1': 'body',
675
+ },
676
+ 'collection_format_map': {
677
+ }
678
+ },
679
+ headers_map={
680
+ 'accept': [
681
+ 'text/plain',
682
+ 'application/json',
683
+ 'text/json'
684
+ ],
685
+ 'content_type': [
686
+ 'application/json-patch+json',
687
+ 'application/json',
688
+ 'text/json',
689
+ 'application/*+json'
690
+ ]
691
+ },
692
+ api_client=api_client
693
+ )
694
+ self.compute_audiences_sizes_endpoint = _Endpoint(
695
+ settings={
696
+ 'response_type': (AudienceSizeEntityV1ListResponse,),
697
+ 'auth': [
698
+ 'oauth',
699
+ 'oauth'
700
+ ],
701
+ 'endpoint_path': '/2024-07/marketing-solutions/audiences/compute-sizes',
702
+ 'operation_id': 'compute_audiences_sizes',
703
+ 'http_method': 'POST',
704
+ 'servers': None,
705
+ },
706
+ params_map={
707
+ 'all': [
708
+ 'audience_compute_sizes_input_v1',
709
+ ],
710
+ 'required': [
711
+ 'audience_compute_sizes_input_v1',
712
+ ],
713
+ 'nullable': [
714
+ ],
715
+ 'enum': [
716
+ ],
717
+ 'validation': [
718
+ ]
719
+ },
720
+ root_map={
721
+ 'validations': {
722
+ },
723
+ 'allowed_values': {
724
+ },
725
+ 'openapi_types': {
726
+ 'audience_compute_sizes_input_v1':
727
+ (AudienceComputeSizesInputV1,),
728
+ },
729
+ 'attribute_map': {
730
+ },
731
+ 'location_map': {
732
+ 'audience_compute_sizes_input_v1': 'body',
733
+ },
734
+ 'collection_format_map': {
735
+ }
736
+ },
737
+ headers_map={
738
+ 'accept': [
739
+ 'text/plain',
740
+ 'application/json',
741
+ 'text/json'
742
+ ],
743
+ 'content_type': [
744
+ 'application/json-patch+json',
745
+ 'application/json',
746
+ 'text/json',
747
+ 'application/*+json'
748
+ ]
749
+ },
750
+ api_client=api_client
751
+ )
582
752
  self.estimate_audience_segment_size_endpoint = _Endpoint(
583
753
  settings={
584
754
  'response_type': (AudienceSegmentSizeEstimationV1Response,),
@@ -1017,82 +1187,272 @@ class AudienceApi(object):
1017
1187
  },
1018
1188
  api_client=api_client
1019
1189
  )
1020
- self.update_contact_list_identifiers_endpoint = _Endpoint(
1021
- settings={
1022
- 'response_type': (ModifyAudienceResponse,),
1023
- 'auth': [
1024
- 'oauth',
1025
- 'oauth'
1026
- ],
1027
- 'endpoint_path': '/2024-07/marketing-solutions/audience-segments/{audience-segment-id}/contact-list',
1028
- 'operation_id': 'update_contact_list_identifiers',
1029
- 'http_method': 'PATCH',
1030
- 'servers': None,
1031
- },
1032
- params_map={
1033
- 'all': [
1034
- 'audience_segment_id',
1035
- 'contactlist_amendment_request',
1036
- ],
1037
- 'required': [
1038
- 'audience_segment_id',
1039
- 'contactlist_amendment_request',
1040
- ],
1041
- 'nullable': [
1042
- ],
1043
- 'enum': [
1044
- ],
1045
- 'validation': [
1046
- ]
1047
- },
1048
- root_map={
1049
- 'validations': {
1050
- },
1051
- 'allowed_values': {
1052
- },
1053
- 'openapi_types': {
1054
- 'audience_segment_id':
1055
- (str,),
1056
- 'contactlist_amendment_request':
1057
- (ContactlistAmendmentRequest,),
1058
- },
1059
- 'attribute_map': {
1060
- 'audience_segment_id': 'audience-segment-id',
1061
- },
1062
- 'location_map': {
1063
- 'audience_segment_id': 'path',
1064
- 'contactlist_amendment_request': 'body',
1065
- },
1066
- 'collection_format_map': {
1067
- }
1068
- },
1069
- headers_map={
1070
- 'accept': [
1071
- 'application/json'
1072
- ],
1073
- 'content_type': [
1074
- 'application/json'
1075
- ]
1076
- },
1077
- api_client=api_client
1190
+
1191
+ def bulk_create_audience_segments(
1192
+ self,
1193
+ audience_segment_bulk_create_input_v1,
1194
+ **kwargs
1195
+ ):
1196
+ """bulk_create_audience_segments # noqa: E501
1197
+
1198
+ 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
1199
+ This method makes a synchronous HTTP request by default. To make an
1200
+ asynchronous HTTP request, please pass async_req=True
1201
+
1202
+ >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True)
1203
+ >>> result = thread.get()
1204
+
1205
+ Args:
1206
+ audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter
1207
+
1208
+ Keyword Args:
1209
+ _return_http_data_only (bool): response data without head status
1210
+ code and headers. Default is True.
1211
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1212
+ will be returned without reading/decoding response data.
1213
+ Default is True.
1214
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1215
+ one number provided, it will be total request timeout. It can also
1216
+ be a pair (tuple) of (connection, read) timeouts.
1217
+ Default is None.
1218
+ _check_input_type (bool): specifies if type checking
1219
+ should be done one the data sent to the server.
1220
+ Default is True.
1221
+ _check_return_type (bool): specifies if type checking
1222
+ should be done one the data received from the server.
1223
+ Default is True.
1224
+ _spec_property_naming (bool): True if the variable names in the input data
1225
+ are serialized names, as specified in the OpenAPI document.
1226
+ False if the variable names in the input data
1227
+ are pythonic names, e.g. snake case (default)
1228
+ _content_type (str/None): force body content-type.
1229
+ Default is None and content-type will be predicted by allowed
1230
+ content-types and body.
1231
+ _host_index (int/None): specifies the index of the server
1232
+ that we want to use.
1233
+ Default is read from the configuration.
1234
+ _request_auths (list): set to override the auth_settings for an a single
1235
+ request; this effectively ignores the authentication
1236
+ in the spec for a single request.
1237
+ Default is None
1238
+ async_req (bool): execute request asynchronously
1239
+
1240
+ Returns:
1241
+ AudienceSegmentEntityV1ListResponse
1242
+ If the method is called asynchronously, returns the request
1243
+ thread.
1244
+ """
1245
+ kwargs['async_req'] = kwargs.get(
1246
+ 'async_req', False
1247
+ )
1248
+ kwargs['_return_http_data_only'] = kwargs.get(
1249
+ '_return_http_data_only', True
1250
+ )
1251
+ kwargs['_preload_content'] = kwargs.get(
1252
+ '_preload_content', True
1078
1253
  )
1254
+ kwargs['_request_timeout'] = kwargs.get(
1255
+ '_request_timeout', None
1256
+ )
1257
+ kwargs['_check_input_type'] = kwargs.get(
1258
+ '_check_input_type', True
1259
+ )
1260
+ kwargs['_check_return_type'] = kwargs.get(
1261
+ '_check_return_type', True
1262
+ )
1263
+ kwargs['_spec_property_naming'] = kwargs.get(
1264
+ '_spec_property_naming', False
1265
+ )
1266
+ kwargs['_content_type'] = kwargs.get(
1267
+ '_content_type')
1268
+ kwargs['_host_index'] = kwargs.get('_host_index')
1269
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1270
+ kwargs['audience_segment_bulk_create_input_v1'] = \
1271
+ audience_segment_bulk_create_input_v1
1272
+ return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs)
1273
+
1274
+ def bulk_create_audiences(
1275
+ self,
1276
+ audience_bulk_create_input_v1,
1277
+ **kwargs
1278
+ ):
1279
+ """bulk_create_audiences # noqa: E501
1280
+
1281
+ 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
1282
+ This method makes a synchronous HTTP request by default. To make an
1283
+ asynchronous HTTP request, please pass async_req=True
1284
+
1285
+ >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True)
1286
+ >>> result = thread.get()
1287
+
1288
+ Args:
1289
+ audience_bulk_create_input_v1 (AudienceBulkCreateInputV1):
1290
+
1291
+ Keyword Args:
1292
+ _return_http_data_only (bool): response data without head status
1293
+ code and headers. Default is True.
1294
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1295
+ will be returned without reading/decoding response data.
1296
+ Default is True.
1297
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1298
+ one number provided, it will be total request timeout. It can also
1299
+ be a pair (tuple) of (connection, read) timeouts.
1300
+ Default is None.
1301
+ _check_input_type (bool): specifies if type checking
1302
+ should be done one the data sent to the server.
1303
+ Default is True.
1304
+ _check_return_type (bool): specifies if type checking
1305
+ should be done one the data received from the server.
1306
+ Default is True.
1307
+ _spec_property_naming (bool): True if the variable names in the input data
1308
+ are serialized names, as specified in the OpenAPI document.
1309
+ False if the variable names in the input data
1310
+ are pythonic names, e.g. snake case (default)
1311
+ _content_type (str/None): force body content-type.
1312
+ Default is None and content-type will be predicted by allowed
1313
+ content-types and body.
1314
+ _host_index (int/None): specifies the index of the server
1315
+ that we want to use.
1316
+ Default is read from the configuration.
1317
+ _request_auths (list): set to override the auth_settings for an a single
1318
+ request; this effectively ignores the authentication
1319
+ in the spec for a single request.
1320
+ Default is None
1321
+ async_req (bool): execute request asynchronously
1322
+
1323
+ Returns:
1324
+ AudienceEntityV1ListResponse
1325
+ If the method is called asynchronously, returns the request
1326
+ thread.
1327
+ """
1328
+ kwargs['async_req'] = kwargs.get(
1329
+ 'async_req', False
1330
+ )
1331
+ kwargs['_return_http_data_only'] = kwargs.get(
1332
+ '_return_http_data_only', True
1333
+ )
1334
+ kwargs['_preload_content'] = kwargs.get(
1335
+ '_preload_content', True
1336
+ )
1337
+ kwargs['_request_timeout'] = kwargs.get(
1338
+ '_request_timeout', None
1339
+ )
1340
+ kwargs['_check_input_type'] = kwargs.get(
1341
+ '_check_input_type', True
1342
+ )
1343
+ kwargs['_check_return_type'] = kwargs.get(
1344
+ '_check_return_type', True
1345
+ )
1346
+ kwargs['_spec_property_naming'] = kwargs.get(
1347
+ '_spec_property_naming', False
1348
+ )
1349
+ kwargs['_content_type'] = kwargs.get(
1350
+ '_content_type')
1351
+ kwargs['_host_index'] = kwargs.get('_host_index')
1352
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1353
+ kwargs['audience_bulk_create_input_v1'] = \
1354
+ audience_bulk_create_input_v1
1355
+ return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs)
1356
+
1357
+ def bulk_delete_audience_segments(
1358
+ self,
1359
+ audience_segment_bulk_delete_input_v1,
1360
+ **kwargs
1361
+ ):
1362
+ """bulk_delete_audience_segments # noqa: E501
1363
+
1364
+ Delete the segments associated to the given audience IDs. # noqa: E501
1365
+ This method makes a synchronous HTTP request by default. To make an
1366
+ asynchronous HTTP request, please pass async_req=True
1367
+
1368
+ >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True)
1369
+ >>> result = thread.get()
1370
+
1371
+ Args:
1372
+ audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request.
1373
+
1374
+ Keyword Args:
1375
+ _return_http_data_only (bool): response data without head status
1376
+ code and headers. Default is True.
1377
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1378
+ will be returned without reading/decoding response data.
1379
+ Default is True.
1380
+ _request_timeout (int/float/tuple): timeout setting for this request. If
1381
+ one number provided, it will be total request timeout. It can also
1382
+ be a pair (tuple) of (connection, read) timeouts.
1383
+ Default is None.
1384
+ _check_input_type (bool): specifies if type checking
1385
+ should be done one the data sent to the server.
1386
+ Default is True.
1387
+ _check_return_type (bool): specifies if type checking
1388
+ should be done one the data received from the server.
1389
+ Default is True.
1390
+ _spec_property_naming (bool): True if the variable names in the input data
1391
+ are serialized names, as specified in the OpenAPI document.
1392
+ False if the variable names in the input data
1393
+ are pythonic names, e.g. snake case (default)
1394
+ _content_type (str/None): force body content-type.
1395
+ Default is None and content-type will be predicted by allowed
1396
+ content-types and body.
1397
+ _host_index (int/None): specifies the index of the server
1398
+ that we want to use.
1399
+ Default is read from the configuration.
1400
+ _request_auths (list): set to override the auth_settings for an a single
1401
+ request; this effectively ignores the authentication
1402
+ in the spec for a single request.
1403
+ Default is None
1404
+ async_req (bool): execute request asynchronously
1405
+
1406
+ Returns:
1407
+ AudienceSegmentIdEntityV1ListResponse
1408
+ If the method is called asynchronously, returns the request
1409
+ thread.
1410
+ """
1411
+ kwargs['async_req'] = kwargs.get(
1412
+ 'async_req', False
1413
+ )
1414
+ kwargs['_return_http_data_only'] = kwargs.get(
1415
+ '_return_http_data_only', True
1416
+ )
1417
+ kwargs['_preload_content'] = kwargs.get(
1418
+ '_preload_content', True
1419
+ )
1420
+ kwargs['_request_timeout'] = kwargs.get(
1421
+ '_request_timeout', None
1422
+ )
1423
+ kwargs['_check_input_type'] = kwargs.get(
1424
+ '_check_input_type', True
1425
+ )
1426
+ kwargs['_check_return_type'] = kwargs.get(
1427
+ '_check_return_type', True
1428
+ )
1429
+ kwargs['_spec_property_naming'] = kwargs.get(
1430
+ '_spec_property_naming', False
1431
+ )
1432
+ kwargs['_content_type'] = kwargs.get(
1433
+ '_content_type')
1434
+ kwargs['_host_index'] = kwargs.get('_host_index')
1435
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1436
+ kwargs['audience_segment_bulk_delete_input_v1'] = \
1437
+ audience_segment_bulk_delete_input_v1
1438
+ return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs)
1079
1439
 
1080
- def bulk_create_audience_segments(
1440
+ def bulk_delete_audiences(
1081
1441
  self,
1082
- audience_segment_bulk_create_input_v1,
1442
+ audience_bulk_delete_input_v1,
1083
1443
  **kwargs
1084
1444
  ):
1085
- """bulk_create_audience_segments # noqa: E501
1445
+ """bulk_delete_audiences # noqa: E501
1086
1446
 
1087
- 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
1447
+ Deletes the audiences associated to the given audience IDs. # noqa: E501
1088
1448
  This method makes a synchronous HTTP request by default. To make an
1089
1449
  asynchronous HTTP request, please pass async_req=True
1090
1450
 
1091
- >>> thread = api.bulk_create_audience_segments(audience_segment_bulk_create_input_v1, async_req=True)
1451
+ >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True)
1092
1452
  >>> result = thread.get()
1093
1453
 
1094
1454
  Args:
1095
- audience_segment_bulk_create_input_v1 (AudienceSegmentBulkCreateInputV1): Segment creation parameter
1455
+ audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1):
1096
1456
 
1097
1457
  Keyword Args:
1098
1458
  _return_http_data_only (bool): response data without head status
@@ -1127,7 +1487,7 @@ class AudienceApi(object):
1127
1487
  async_req (bool): execute request asynchronously
1128
1488
 
1129
1489
  Returns:
1130
- AudienceSegmentEntityV1ListResponse
1490
+ AudienceIdEntityV1ListResponse
1131
1491
  If the method is called asynchronously, returns the request
1132
1492
  thread.
1133
1493
  """
@@ -1156,26 +1516,26 @@ class AudienceApi(object):
1156
1516
  '_content_type')
1157
1517
  kwargs['_host_index'] = kwargs.get('_host_index')
1158
1518
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1159
- kwargs['audience_segment_bulk_create_input_v1'] = \
1160
- audience_segment_bulk_create_input_v1
1161
- return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs)
1519
+ kwargs['audience_bulk_delete_input_v1'] = \
1520
+ audience_bulk_delete_input_v1
1521
+ return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs)
1162
1522
 
1163
- def bulk_create_audiences(
1523
+ def bulk_update_audience_segments(
1164
1524
  self,
1165
- audience_bulk_create_input_v1,
1525
+ audience_segment_bulk_update_input_v1,
1166
1526
  **kwargs
1167
1527
  ):
1168
- """bulk_create_audiences # noqa: E501
1528
+ """bulk_update_audience_segments # noqa: E501
1169
1529
 
1170
- 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
1530
+ 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
1171
1531
  This method makes a synchronous HTTP request by default. To make an
1172
1532
  asynchronous HTTP request, please pass async_req=True
1173
1533
 
1174
- >>> thread = api.bulk_create_audiences(audience_bulk_create_input_v1, async_req=True)
1534
+ >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True)
1175
1535
  >>> result = thread.get()
1176
1536
 
1177
1537
  Args:
1178
- audience_bulk_create_input_v1 (AudienceBulkCreateInputV1):
1538
+ audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request
1179
1539
 
1180
1540
  Keyword Args:
1181
1541
  _return_http_data_only (bool): response data without head status
@@ -1210,7 +1570,7 @@ class AudienceApi(object):
1210
1570
  async_req (bool): execute request asynchronously
1211
1571
 
1212
1572
  Returns:
1213
- AudienceEntityV1ListResponse
1573
+ AudienceSegmentEntityV1ListResponse
1214
1574
  If the method is called asynchronously, returns the request
1215
1575
  thread.
1216
1576
  """
@@ -1239,26 +1599,26 @@ class AudienceApi(object):
1239
1599
  '_content_type')
1240
1600
  kwargs['_host_index'] = kwargs.get('_host_index')
1241
1601
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1242
- kwargs['audience_bulk_create_input_v1'] = \
1243
- audience_bulk_create_input_v1
1244
- return self.bulk_create_audiences_endpoint.call_with_http_info(**kwargs)
1602
+ kwargs['audience_segment_bulk_update_input_v1'] = \
1603
+ audience_segment_bulk_update_input_v1
1604
+ return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs)
1245
1605
 
1246
- def bulk_delete_audience_segments(
1606
+ def bulk_update_audiences(
1247
1607
  self,
1248
- audience_segment_bulk_delete_input_v1,
1608
+ audience_bulk_update_input_v1,
1249
1609
  **kwargs
1250
1610
  ):
1251
- """bulk_delete_audience_segments # noqa: E501
1611
+ """bulk_update_audiences # noqa: E501
1252
1612
 
1253
- Delete the segments associated to the given audience IDs. # noqa: E501
1613
+ 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
1254
1614
  This method makes a synchronous HTTP request by default. To make an
1255
1615
  asynchronous HTTP request, please pass async_req=True
1256
1616
 
1257
- >>> thread = api.bulk_delete_audience_segments(audience_segment_bulk_delete_input_v1, async_req=True)
1617
+ >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True)
1258
1618
  >>> result = thread.get()
1259
1619
 
1260
1620
  Args:
1261
- audience_segment_bulk_delete_input_v1 (AudienceSegmentBulkDeleteInputV1): Segment delete request.
1621
+ audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1):
1262
1622
 
1263
1623
  Keyword Args:
1264
1624
  _return_http_data_only (bool): response data without head status
@@ -1293,7 +1653,7 @@ class AudienceApi(object):
1293
1653
  async_req (bool): execute request asynchronously
1294
1654
 
1295
1655
  Returns:
1296
- AudienceSegmentIdEntityV1ListResponse
1656
+ AudienceEntityV1ListResponse
1297
1657
  If the method is called asynchronously, returns the request
1298
1658
  thread.
1299
1659
  """
@@ -1322,26 +1682,26 @@ class AudienceApi(object):
1322
1682
  '_content_type')
1323
1683
  kwargs['_host_index'] = kwargs.get('_host_index')
1324
1684
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1325
- kwargs['audience_segment_bulk_delete_input_v1'] = \
1326
- audience_segment_bulk_delete_input_v1
1327
- return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs)
1685
+ kwargs['audience_bulk_update_input_v1'] = \
1686
+ audience_bulk_update_input_v1
1687
+ return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs)
1328
1688
 
1329
- def bulk_delete_audiences(
1689
+ def call_07_audiences_audience_segment_id_contactlist_delete(
1330
1690
  self,
1331
- audience_bulk_delete_input_v1,
1691
+ audience_segment_id,
1332
1692
  **kwargs
1333
1693
  ):
1334
- """bulk_delete_audiences # noqa: E501
1694
+ """call_07_audiences_audience_segment_id_contactlist_delete # noqa: E501
1335
1695
 
1336
- Deletes the audiences associated to the given audience IDs. # noqa: E501
1696
+ Delete all identifiers from a contact list audience-segment. # noqa: E501
1337
1697
  This method makes a synchronous HTTP request by default. To make an
1338
1698
  asynchronous HTTP request, please pass async_req=True
1339
1699
 
1340
- >>> thread = api.bulk_delete_audiences(audience_bulk_delete_input_v1, async_req=True)
1700
+ >>> thread = api.call_07_audiences_audience_segment_id_contactlist_delete(audience_segment_id, async_req=True)
1341
1701
  >>> result = thread.get()
1342
1702
 
1343
1703
  Args:
1344
- audience_bulk_delete_input_v1 (AudienceBulkDeleteInputV1):
1704
+ audience_segment_id (str): The id of the contact list audience-segment to amend
1345
1705
 
1346
1706
  Keyword Args:
1347
1707
  _return_http_data_only (bool): response data without head status
@@ -1376,7 +1736,7 @@ class AudienceApi(object):
1376
1736
  async_req (bool): execute request asynchronously
1377
1737
 
1378
1738
  Returns:
1379
- AudienceIdEntityV1ListResponse
1739
+ DeleteAudienceContactListResponse
1380
1740
  If the method is called asynchronously, returns the request
1381
1741
  thread.
1382
1742
  """
@@ -1405,26 +1765,28 @@ class AudienceApi(object):
1405
1765
  '_content_type')
1406
1766
  kwargs['_host_index'] = kwargs.get('_host_index')
1407
1767
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1408
- kwargs['audience_bulk_delete_input_v1'] = \
1409
- audience_bulk_delete_input_v1
1410
- return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs)
1768
+ kwargs['audience_segment_id'] = \
1769
+ audience_segment_id
1770
+ return self.call_07_audiences_audience_segment_id_contactlist_delete_endpoint.call_with_http_info(**kwargs)
1411
1771
 
1412
- def bulk_update_audience_segments(
1772
+ def call_07_audiences_audience_segment_id_contactlist_patch(
1413
1773
  self,
1414
- audience_segment_bulk_update_input_v1,
1774
+ audience_segment_id,
1775
+ contactlist_amendment_request,
1415
1776
  **kwargs
1416
1777
  ):
1417
- """bulk_update_audience_segments # noqa: E501
1778
+ """call_07_audiences_audience_segment_id_contactlist_patch # noqa: E501
1418
1779
 
1419
- 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
1780
+ Add/remove identifiers to or from a contact list audience-segment. # noqa: E501
1420
1781
  This method makes a synchronous HTTP request by default. To make an
1421
1782
  asynchronous HTTP request, please pass async_req=True
1422
1783
 
1423
- >>> thread = api.bulk_update_audience_segments(audience_segment_bulk_update_input_v1, async_req=True)
1784
+ >>> thread = api.call_07_audiences_audience_segment_id_contactlist_patch(audience_segment_id, contactlist_amendment_request, async_req=True)
1424
1785
  >>> result = thread.get()
1425
1786
 
1426
1787
  Args:
1427
- audience_segment_bulk_update_input_v1 (AudienceSegmentBulkUpdateInputV1): Segment Update request
1788
+ audience_segment_id (str): The id of the contact list audience-segment to amend
1789
+ contactlist_amendment_request (ContactlistAmendmentRequest):
1428
1790
 
1429
1791
  Keyword Args:
1430
1792
  _return_http_data_only (bool): response data without head status
@@ -1459,7 +1821,7 @@ class AudienceApi(object):
1459
1821
  async_req (bool): execute request asynchronously
1460
1822
 
1461
1823
  Returns:
1462
- AudienceSegmentEntityV1ListResponse
1824
+ ModifyAudienceResponse
1463
1825
  If the method is called asynchronously, returns the request
1464
1826
  thread.
1465
1827
  """
@@ -1488,26 +1850,28 @@ class AudienceApi(object):
1488
1850
  '_content_type')
1489
1851
  kwargs['_host_index'] = kwargs.get('_host_index')
1490
1852
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1491
- kwargs['audience_segment_bulk_update_input_v1'] = \
1492
- audience_segment_bulk_update_input_v1
1493
- return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs)
1853
+ kwargs['audience_segment_id'] = \
1854
+ audience_segment_id
1855
+ kwargs['contactlist_amendment_request'] = \
1856
+ contactlist_amendment_request
1857
+ return self.call_07_audiences_audience_segment_id_contactlist_patch_endpoint.call_with_http_info(**kwargs)
1494
1858
 
1495
- def bulk_update_audiences(
1859
+ def call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(
1496
1860
  self,
1497
- audience_bulk_update_input_v1,
1861
+ audience_segment_id,
1498
1862
  **kwargs
1499
1863
  ):
1500
- """bulk_update_audiences # noqa: E501
1864
+ """call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete # noqa: E501
1501
1865
 
1502
- 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
1866
+ Delete all identifiers from a contact list audience-segment. # noqa: E501
1503
1867
  This method makes a synchronous HTTP request by default. To make an
1504
1868
  asynchronous HTTP request, please pass async_req=True
1505
1869
 
1506
- >>> thread = api.bulk_update_audiences(audience_bulk_update_input_v1, async_req=True)
1870
+ >>> thread = api.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(audience_segment_id, async_req=True)
1507
1871
  >>> result = thread.get()
1508
1872
 
1509
1873
  Args:
1510
- audience_bulk_update_input_v1 (AudienceBulkUpdateInputV1):
1874
+ audience_segment_id (str): The id of the contact list audience-segment to amend
1511
1875
 
1512
1876
  Keyword Args:
1513
1877
  _return_http_data_only (bool): response data without head status
@@ -1542,7 +1906,7 @@ class AudienceApi(object):
1542
1906
  async_req (bool): execute request asynchronously
1543
1907
 
1544
1908
  Returns:
1545
- AudienceEntityV1ListResponse
1909
+ DeleteAudienceContactListResponse
1546
1910
  If the method is called asynchronously, returns the request
1547
1911
  thread.
1548
1912
  """
@@ -1571,26 +1935,28 @@ class AudienceApi(object):
1571
1935
  '_content_type')
1572
1936
  kwargs['_host_index'] = kwargs.get('_host_index')
1573
1937
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1574
- kwargs['audience_bulk_update_input_v1'] = \
1575
- audience_bulk_update_input_v1
1576
- return self.bulk_update_audiences_endpoint.call_with_http_info(**kwargs)
1938
+ kwargs['audience_segment_id'] = \
1939
+ audience_segment_id
1940
+ return self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete_endpoint.call_with_http_info(**kwargs)
1577
1941
 
1578
- def compute_audience_segments_sizes(
1942
+ def call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(
1579
1943
  self,
1580
- audience_segment_compute_sizes_input_v1,
1944
+ audience_segment_id,
1945
+ contactlist_amendment_request,
1581
1946
  **kwargs
1582
1947
  ):
1583
- """compute_audience_segments_sizes # noqa: E501
1948
+ """call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch # noqa: E501
1584
1949
 
1585
- Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501
1950
+ Add/remove identifiers to or from a contact list audience-segment. # noqa: E501
1586
1951
  This method makes a synchronous HTTP request by default. To make an
1587
1952
  asynchronous HTTP request, please pass async_req=True
1588
1953
 
1589
- >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True)
1954
+ >>> thread = api.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch(audience_segment_id, contactlist_amendment_request, async_req=True)
1590
1955
  >>> result = thread.get()
1591
1956
 
1592
1957
  Args:
1593
- audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1):
1958
+ audience_segment_id (str): The id of the contact list audience-segment to amend
1959
+ contactlist_amendment_request (ContactlistAmendmentRequest):
1594
1960
 
1595
1961
  Keyword Args:
1596
1962
  _return_http_data_only (bool): response data without head status
@@ -1625,7 +1991,7 @@ class AudienceApi(object):
1625
1991
  async_req (bool): execute request asynchronously
1626
1992
 
1627
1993
  Returns:
1628
- AudienceSegmentSizeEntityV1ListResponse
1994
+ ModifyAudienceResponse
1629
1995
  If the method is called asynchronously, returns the request
1630
1996
  thread.
1631
1997
  """
@@ -1654,26 +2020,28 @@ class AudienceApi(object):
1654
2020
  '_content_type')
1655
2021
  kwargs['_host_index'] = kwargs.get('_host_index')
1656
2022
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1657
- kwargs['audience_segment_compute_sizes_input_v1'] = \
1658
- audience_segment_compute_sizes_input_v1
1659
- return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
2023
+ kwargs['audience_segment_id'] = \
2024
+ audience_segment_id
2025
+ kwargs['contactlist_amendment_request'] = \
2026
+ contactlist_amendment_request
2027
+ return self.call_07_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs)
1660
2028
 
1661
- def compute_audiences_sizes(
2029
+ def compute_audience_segments_sizes(
1662
2030
  self,
1663
- audience_compute_sizes_input_v1,
2031
+ audience_segment_compute_sizes_input_v1,
1664
2032
  **kwargs
1665
2033
  ):
1666
- """compute_audiences_sizes # noqa: E501
2034
+ """compute_audience_segments_sizes # noqa: E501
1667
2035
 
1668
- Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501
2036
+ Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501
1669
2037
  This method makes a synchronous HTTP request by default. To make an
1670
2038
  asynchronous HTTP request, please pass async_req=True
1671
2039
 
1672
- >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True)
2040
+ >>> thread = api.compute_audience_segments_sizes(audience_segment_compute_sizes_input_v1, async_req=True)
1673
2041
  >>> result = thread.get()
1674
2042
 
1675
2043
  Args:
1676
- audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1):
2044
+ audience_segment_compute_sizes_input_v1 (AudienceSegmentComputeSizesInputV1):
1677
2045
 
1678
2046
  Keyword Args:
1679
2047
  _return_http_data_only (bool): response data without head status
@@ -1708,7 +2076,7 @@ class AudienceApi(object):
1708
2076
  async_req (bool): execute request asynchronously
1709
2077
 
1710
2078
  Returns:
1711
- AudienceSizeEntityV1ListResponse
2079
+ AudienceSegmentSizeEntityV1ListResponse
1712
2080
  If the method is called asynchronously, returns the request
1713
2081
  thread.
1714
2082
  """
@@ -1737,26 +2105,26 @@ class AudienceApi(object):
1737
2105
  '_content_type')
1738
2106
  kwargs['_host_index'] = kwargs.get('_host_index')
1739
2107
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1740
- kwargs['audience_compute_sizes_input_v1'] = \
1741
- audience_compute_sizes_input_v1
1742
- return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
2108
+ kwargs['audience_segment_compute_sizes_input_v1'] = \
2109
+ audience_segment_compute_sizes_input_v1
2110
+ return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
1743
2111
 
1744
- def delete_contact_list_identifiers(
2112
+ def compute_audiences_sizes(
1745
2113
  self,
1746
- audience_segment_id,
2114
+ audience_compute_sizes_input_v1,
1747
2115
  **kwargs
1748
2116
  ):
1749
- """delete_contact_list_identifiers # noqa: E501
2117
+ """compute_audiences_sizes # noqa: E501
1750
2118
 
1751
- Delete all identifiers from a contact list audience-segment. # noqa: E501
2119
+ Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501
1752
2120
  This method makes a synchronous HTTP request by default. To make an
1753
2121
  asynchronous HTTP request, please pass async_req=True
1754
2122
 
1755
- >>> thread = api.delete_contact_list_identifiers(audience_segment_id, async_req=True)
2123
+ >>> thread = api.compute_audiences_sizes(audience_compute_sizes_input_v1, async_req=True)
1756
2124
  >>> result = thread.get()
1757
2125
 
1758
2126
  Args:
1759
- audience_segment_id (str): The id of the contact list audience-segment to amend
2127
+ audience_compute_sizes_input_v1 (AudienceComputeSizesInputV1):
1760
2128
 
1761
2129
  Keyword Args:
1762
2130
  _return_http_data_only (bool): response data without head status
@@ -1791,7 +2159,7 @@ class AudienceApi(object):
1791
2159
  async_req (bool): execute request asynchronously
1792
2160
 
1793
2161
  Returns:
1794
- DeleteAudienceContactListResponse
2162
+ AudienceSizeEntityV1ListResponse
1795
2163
  If the method is called asynchronously, returns the request
1796
2164
  thread.
1797
2165
  """
@@ -1820,9 +2188,9 @@ class AudienceApi(object):
1820
2188
  '_content_type')
1821
2189
  kwargs['_host_index'] = kwargs.get('_host_index')
1822
2190
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
1823
- kwargs['audience_segment_id'] = \
1824
- audience_segment_id
1825
- return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs)
2191
+ kwargs['audience_compute_sizes_input_v1'] = \
2192
+ audience_compute_sizes_input_v1
2193
+ return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
1826
2194
 
1827
2195
  def estimate_audience_segment_size(
1828
2196
  self,
@@ -2417,90 +2785,3 @@ class AudienceApi(object):
2417
2785
  audience_search_input_v1
2418
2786
  return self.search_audiences_endpoint.call_with_http_info(**kwargs)
2419
2787
 
2420
- def update_contact_list_identifiers(
2421
- self,
2422
- audience_segment_id,
2423
- contactlist_amendment_request,
2424
- **kwargs
2425
- ):
2426
- """update_contact_list_identifiers # noqa: E501
2427
-
2428
- Add/remove identifiers to or from a contact list audience-segment. # 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_contact_list_identifiers(audience_segment_id, contactlist_amendment_request, async_req=True)
2433
- >>> result = thread.get()
2434
-
2435
- Args:
2436
- audience_segment_id (str): The id of the contact list audience-segment to amend
2437
- contactlist_amendment_request (ContactlistAmendmentRequest):
2438
-
2439
- Keyword Args:
2440
- _return_http_data_only (bool): response data without head status
2441
- code and headers. Default is True.
2442
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2443
- will be returned without reading/decoding response data.
2444
- Default is True.
2445
- _request_timeout (int/float/tuple): timeout setting for this request. If
2446
- one number provided, it will be total request timeout. It can also
2447
- be a pair (tuple) of (connection, read) timeouts.
2448
- Default is None.
2449
- _check_input_type (bool): specifies if type checking
2450
- should be done one the data sent to the server.
2451
- Default is True.
2452
- _check_return_type (bool): specifies if type checking
2453
- should be done one the data received from the server.
2454
- Default is True.
2455
- _spec_property_naming (bool): True if the variable names in the input data
2456
- are serialized names, as specified in the OpenAPI document.
2457
- False if the variable names in the input data
2458
- are pythonic names, e.g. snake case (default)
2459
- _content_type (str/None): force body content-type.
2460
- Default is None and content-type will be predicted by allowed
2461
- content-types and body.
2462
- _host_index (int/None): specifies the index of the server
2463
- that we want to use.
2464
- Default is read from the configuration.
2465
- _request_auths (list): set to override the auth_settings for an a single
2466
- request; this effectively ignores the authentication
2467
- in the spec for a single request.
2468
- Default is None
2469
- async_req (bool): execute request asynchronously
2470
-
2471
- Returns:
2472
- ModifyAudienceResponse
2473
- If the method is called asynchronously, returns the request
2474
- thread.
2475
- """
2476
- kwargs['async_req'] = kwargs.get(
2477
- 'async_req', False
2478
- )
2479
- kwargs['_return_http_data_only'] = kwargs.get(
2480
- '_return_http_data_only', True
2481
- )
2482
- kwargs['_preload_content'] = kwargs.get(
2483
- '_preload_content', True
2484
- )
2485
- kwargs['_request_timeout'] = kwargs.get(
2486
- '_request_timeout', None
2487
- )
2488
- kwargs['_check_input_type'] = kwargs.get(
2489
- '_check_input_type', True
2490
- )
2491
- kwargs['_check_return_type'] = kwargs.get(
2492
- '_check_return_type', True
2493
- )
2494
- kwargs['_spec_property_naming'] = kwargs.get(
2495
- '_spec_property_naming', False
2496
- )
2497
- kwargs['_content_type'] = kwargs.get(
2498
- '_content_type')
2499
- kwargs['_host_index'] = kwargs.get('_host_index')
2500
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2501
- kwargs['audience_segment_id'] = \
2502
- audience_segment_id
2503
- kwargs['contactlist_amendment_request'] = \
2504
- contactlist_amendment_request
2505
- return self.update_contact_list_identifiers_endpoint.call_with_http_info(**kwargs)
2506
-