criteo-api-marketingsolutions-sdk 0.0.250911__py3-none-any.whl → 0.0.251009__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 (29) hide show
  1. criteo_api_marketingsolutions_preview/__init__.py +1 -1
  2. criteo_api_marketingsolutions_preview/api/advertiser_api.py +15 -21
  3. criteo_api_marketingsolutions_preview/api/analytics_api.py +16 -62
  4. criteo_api_marketingsolutions_preview/api/audience_api.py +27 -94
  5. criteo_api_marketingsolutions_preview/api/campaign_api.py +263 -415
  6. criteo_api_marketingsolutions_preview/api/catalog_api.py +0 -1
  7. criteo_api_marketingsolutions_preview/api/creative_api.py +22 -63
  8. criteo_api_marketingsolutions_preview/api/on_site_recommendation_api.py +7 -10
  9. criteo_api_marketingsolutions_preview/api/reco_api.py +10 -32
  10. criteo_api_marketingsolutions_preview/api_client.py +4 -4
  11. criteo_api_marketingsolutions_preview/configuration.py +1 -1
  12. criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +12 -12
  13. criteo_api_marketingsolutions_preview/model/adaptive_colors.py +1 -1
  14. criteo_api_marketingsolutions_preview/model/{error_description.py → adaptive_read_attributes.py} +76 -25
  15. criteo_api_marketingsolutions_preview/model/{error_code_response.py → creative_read.py} +66 -20
  16. criteo_api_marketingsolutions_preview/model/generate_categories_report_request_attributes.py +12 -8
  17. criteo_api_marketingsolutions_preview/model/json_report_rows.py +3 -3
  18. criteo_api_marketingsolutions_preview/model/outcome.py +16 -5
  19. criteo_api_marketingsolutions_preview/model/placements_report_query_message.py +12 -8
  20. criteo_api_marketingsolutions_preview/model/{resource_collection_outcome_of_creative.py → resource_collection_outcome_of_creative_read.py} +8 -8
  21. criteo_api_marketingsolutions_preview/model/{api_error_response.py → resource_of_creative_read.py} +17 -11
  22. criteo_api_marketingsolutions_preview/model/statistics_report_query_message.py +248 -8
  23. criteo_api_marketingsolutions_preview/model/transactions_report_query_message.py +12 -8
  24. criteo_api_marketingsolutions_preview/models/__init__.py +4 -5
  25. {criteo_api_marketingsolutions_sdk-0.0.250911.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/METADATA +3 -3
  26. {criteo_api_marketingsolutions_sdk-0.0.250911.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/RECORD +28 -29
  27. criteo_api_marketingsolutions_preview/model/fail_response.py +0 -283
  28. {criteo_api_marketingsolutions_sdk-0.0.250911.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/WHEEL +0 -0
  29. {criteo_api_marketingsolutions_sdk-0.0.250911.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/top_level.txt +0 -0
@@ -32,7 +32,6 @@ from criteo_api_marketingsolutions_preview.model.ad_set_targeting_deal_ids_set_r
32
32
  from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning_disable_result_response import AdSetTargetingVideoPositioningDisableResultResponse
33
33
  from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning_response import AdSetTargetingVideoPositioningResponse
34
34
  from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning_set_result_response import AdSetTargetingVideoPositioningSetResultResponse
35
- from criteo_api_marketingsolutions_preview.model.api_error_response import ApiErrorResponse
36
35
  from criteo_api_marketingsolutions_preview.model.api_request_of_targeting_entity import ApiRequestOfTargetingEntity
37
36
  from criteo_api_marketingsolutions_preview.model.api_response_of_targeting_entity import ApiResponseOfTargetingEntity
38
37
  from criteo_api_marketingsolutions_preview.model.campaign_search_request_v23_q1 import CampaignSearchRequestV23Q1
@@ -68,7 +67,7 @@ class CampaignApi(object):
68
67
  if api_client is None:
69
68
  api_client = ApiClient()
70
69
  self.api_client = api_client
71
- self.create_ad_set_v24_q3_endpoint = _Endpoint(
70
+ self.create_ad_set_endpoint = _Endpoint(
72
71
  settings={
73
72
  'response_type': (ResponseReadAdSetV24Q3,),
74
73
  'auth': [
@@ -76,7 +75,7 @@ class CampaignApi(object):
76
75
  'oauth'
77
76
  ],
78
77
  'endpoint_path': '/preview/marketing-solutions/ad-sets',
79
- 'operation_id': 'create_ad_set_v24_q3',
78
+ 'operation_id': 'create_ad_set',
80
79
  'http_method': 'POST',
81
80
  'servers': None,
82
81
  },
@@ -113,15 +112,10 @@ class CampaignApi(object):
113
112
  },
114
113
  headers_map={
115
114
  'accept': [
116
- 'text/plain',
117
- 'application/json',
118
- 'text/json'
115
+ 'application/json'
119
116
  ],
120
117
  'content_type': [
121
- 'application/json-patch+json',
122
- 'application/json',
123
- 'text/json',
124
- 'application/*+json'
118
+ 'application/json'
125
119
  ]
126
120
  },
127
121
  api_client=api_client
@@ -171,15 +165,10 @@ class CampaignApi(object):
171
165
  },
172
166
  headers_map={
173
167
  'accept': [
174
- 'text/plain',
175
- 'application/json',
176
- 'text/json'
168
+ 'application/json'
177
169
  ],
178
170
  'content_type': [
179
- 'application/json-patch+json',
180
- 'application/json',
181
- 'text/json',
182
- 'application/*+json'
171
+ 'application/json'
183
172
  ]
184
173
  },
185
174
  api_client=api_client
@@ -234,15 +223,10 @@ class CampaignApi(object):
234
223
  },
235
224
  headers_map={
236
225
  'accept': [
237
- 'text/plain',
238
- 'application/json',
239
- 'text/json'
226
+ 'application/json'
240
227
  ],
241
228
  'content_type': [
242
- 'application/json-patch+json',
243
- 'application/json',
244
- 'text/json',
245
- 'application/*+json'
229
+ 'application/json'
246
230
  ]
247
231
  },
248
232
  api_client=api_client
@@ -297,15 +281,10 @@ class CampaignApi(object):
297
281
  },
298
282
  headers_map={
299
283
  'accept': [
300
- 'text/plain',
301
- 'application/json',
302
- 'text/json'
284
+ 'application/json'
303
285
  ],
304
286
  'content_type': [
305
- 'application/json-patch+json',
306
- 'application/json',
307
- 'text/json',
308
- 'application/*+json'
287
+ 'application/json'
309
288
  ]
310
289
  },
311
290
  api_client=api_client
@@ -360,15 +339,10 @@ class CampaignApi(object):
360
339
  },
361
340
  headers_map={
362
341
  'accept': [
363
- 'text/plain',
364
- 'application/json',
365
- 'text/json'
342
+ 'application/json'
366
343
  ],
367
344
  'content_type': [
368
- 'application/json-patch+json',
369
- 'application/json',
370
- 'text/json',
371
- 'application/*+json'
345
+ 'application/json'
372
346
  ]
373
347
  },
374
348
  api_client=api_client
@@ -423,15 +397,10 @@ class CampaignApi(object):
423
397
  },
424
398
  headers_map={
425
399
  'accept': [
426
- 'text/plain',
427
- 'application/json',
428
- 'text/json'
400
+ 'application/json'
429
401
  ],
430
402
  'content_type': [
431
- 'application/json-patch+json',
432
- 'application/json',
433
- 'text/json',
434
- 'application/*+json'
403
+ 'application/json'
435
404
  ]
436
405
  },
437
406
  api_client=api_client
@@ -482,9 +451,7 @@ class CampaignApi(object):
482
451
  },
483
452
  headers_map={
484
453
  'accept': [
485
- 'text/plain',
486
- 'application/json',
487
- 'text/json'
454
+ 'application/json'
488
455
  ],
489
456
  'content_type': [],
490
457
  },
@@ -536,23 +503,21 @@ class CampaignApi(object):
536
503
  },
537
504
  headers_map={
538
505
  'accept': [
539
- 'text/plain',
540
- 'application/json',
541
- 'text/json'
506
+ 'application/json'
542
507
  ],
543
508
  'content_type': [],
544
509
  },
545
510
  api_client=api_client
546
511
  )
547
- self.get_ad_set_targeting_deal_ids_endpoint = _Endpoint(
512
+ self.get_ad_set_endpoint = _Endpoint(
548
513
  settings={
549
- 'response_type': (AdSetTargetingDealIdsResponse,),
514
+ 'response_type': (ResponseReadAdSetV24Q3,),
550
515
  'auth': [
551
516
  'oauth',
552
517
  'oauth'
553
518
  ],
554
- 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/deal-ids',
555
- 'operation_id': 'get_ad_set_targeting_deal_ids',
519
+ 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}',
520
+ 'operation_id': 'get_ad_set',
556
521
  'http_method': 'GET',
557
522
  'servers': None,
558
523
  },
@@ -590,23 +555,21 @@ class CampaignApi(object):
590
555
  },
591
556
  headers_map={
592
557
  'accept': [
593
- 'text/plain',
594
- 'application/json',
595
- 'text/json'
558
+ 'application/json'
596
559
  ],
597
560
  'content_type': [],
598
561
  },
599
562
  api_client=api_client
600
563
  )
601
- self.get_ad_set_targeting_video_positioning_endpoint = _Endpoint(
564
+ self.get_ad_set_category_bids_endpoint = _Endpoint(
602
565
  settings={
603
- 'response_type': (AdSetTargetingVideoPositioningResponse,),
566
+ 'response_type': (AdSetCategoryBidListResponse,),
604
567
  'auth': [
605
568
  'oauth',
606
569
  'oauth'
607
570
  ],
608
- 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/video-positioning',
609
- 'operation_id': 'get_ad_set_targeting_video_positioning',
571
+ 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
572
+ 'operation_id': 'get_ad_set_category_bids',
610
573
  'http_method': 'GET',
611
574
  'servers': None,
612
575
  },
@@ -644,23 +607,21 @@ class CampaignApi(object):
644
607
  },
645
608
  headers_map={
646
609
  'accept': [
647
- 'text/plain',
648
- 'application/json',
649
- 'text/json'
610
+ 'application/json'
650
611
  ],
651
612
  'content_type': [],
652
613
  },
653
614
  api_client=api_client
654
615
  )
655
- self.get_ad_set_v24_q3_endpoint = _Endpoint(
616
+ self.get_ad_set_targeting_deal_ids_endpoint = _Endpoint(
656
617
  settings={
657
- 'response_type': (ResponseReadAdSetV24Q3,),
618
+ 'response_type': (AdSetTargetingDealIdsResponse,),
658
619
  'auth': [
659
620
  'oauth',
660
621
  'oauth'
661
622
  ],
662
- 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}',
663
- 'operation_id': 'get_ad_set_v24_q3',
623
+ 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/deal-ids',
624
+ 'operation_id': 'get_ad_set_targeting_deal_ids',
664
625
  'http_method': 'GET',
665
626
  'servers': None,
666
627
  },
@@ -698,32 +659,30 @@ class CampaignApi(object):
698
659
  },
699
660
  headers_map={
700
661
  'accept': [
701
- 'text/plain',
702
- 'application/json',
703
- 'text/json'
662
+ 'application/json'
704
663
  ],
705
664
  'content_type': [],
706
665
  },
707
666
  api_client=api_client
708
667
  )
709
- self.get_advertiser_bundle_rules_endpoint = _Endpoint(
668
+ self.get_ad_set_targeting_video_positioning_endpoint = _Endpoint(
710
669
  settings={
711
- 'response_type': (ApiResponseOfTargetingEntity,),
670
+ 'response_type': (AdSetTargetingVideoPositioningResponse,),
712
671
  'auth': [
713
672
  'oauth',
714
673
  'oauth'
715
674
  ],
716
- 'endpoint_path': '/preview/advertisers/{advertiserId}/targeting/bundle-rules',
717
- 'operation_id': 'get_advertiser_bundle_rules',
675
+ 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/video-positioning',
676
+ 'operation_id': 'get_ad_set_targeting_video_positioning',
718
677
  'http_method': 'GET',
719
678
  'servers': None,
720
679
  },
721
680
  params_map={
722
681
  'all': [
723
- 'advertiser_id',
682
+ 'ad_set_id',
724
683
  ],
725
684
  'required': [
726
- 'advertiser_id',
685
+ 'ad_set_id',
727
686
  ],
728
687
  'nullable': [
729
688
  ],
@@ -738,37 +697,35 @@ class CampaignApi(object):
738
697
  'allowed_values': {
739
698
  },
740
699
  'openapi_types': {
741
- 'advertiser_id':
742
- (int,),
700
+ 'ad_set_id':
701
+ (str,),
743
702
  },
744
703
  'attribute_map': {
745
- 'advertiser_id': 'advertiserId',
704
+ 'ad_set_id': 'ad-set-id',
746
705
  },
747
706
  'location_map': {
748
- 'advertiser_id': 'path',
707
+ 'ad_set_id': 'path',
749
708
  },
750
709
  'collection_format_map': {
751
710
  }
752
711
  },
753
712
  headers_map={
754
713
  'accept': [
755
- 'text/plain',
756
- 'application/json',
757
- 'text/json'
714
+ 'application/json'
758
715
  ],
759
716
  'content_type': [],
760
717
  },
761
718
  api_client=api_client
762
719
  )
763
- self.get_advertiser_domain_rules_endpoint = _Endpoint(
720
+ self.get_advertiser_bundle_rules_endpoint = _Endpoint(
764
721
  settings={
765
722
  'response_type': (ApiResponseOfTargetingEntity,),
766
723
  'auth': [
767
724
  'oauth',
768
725
  'oauth'
769
726
  ],
770
- 'endpoint_path': '/preview/advertisers/{advertiserId}/targeting/domain-rules',
771
- 'operation_id': 'get_advertiser_domain_rules',
727
+ 'endpoint_path': '/preview/advertisers/{advertiserId}/targeting/bundle-rules',
728
+ 'operation_id': 'get_advertiser_bundle_rules',
772
729
  'http_method': 'GET',
773
730
  'servers': None,
774
731
  },
@@ -806,32 +763,30 @@ class CampaignApi(object):
806
763
  },
807
764
  headers_map={
808
765
  'accept': [
809
- 'text/plain',
810
- 'application/json',
811
- 'text/json'
766
+ 'application/json'
812
767
  ],
813
768
  'content_type': [],
814
769
  },
815
770
  api_client=api_client
816
771
  )
817
- self.get_campaign_bundle_rules_endpoint = _Endpoint(
772
+ self.get_advertiser_domain_rules_endpoint = _Endpoint(
818
773
  settings={
819
774
  'response_type': (ApiResponseOfTargetingEntity,),
820
775
  'auth': [
821
776
  'oauth',
822
777
  'oauth'
823
778
  ],
824
- 'endpoint_path': '/preview/campaigns/{campaignId}/targeting/bundle-rules',
825
- 'operation_id': 'get_campaign_bundle_rules',
779
+ 'endpoint_path': '/preview/advertisers/{advertiserId}/targeting/domain-rules',
780
+ 'operation_id': 'get_advertiser_domain_rules',
826
781
  'http_method': 'GET',
827
782
  'servers': None,
828
783
  },
829
784
  params_map={
830
785
  'all': [
831
- 'campaign_id',
786
+ 'advertiser_id',
832
787
  ],
833
788
  'required': [
834
- 'campaign_id',
789
+ 'advertiser_id',
835
790
  ],
836
791
  'nullable': [
837
792
  ],
@@ -846,37 +801,35 @@ class CampaignApi(object):
846
801
  'allowed_values': {
847
802
  },
848
803
  'openapi_types': {
849
- 'campaign_id':
804
+ 'advertiser_id':
850
805
  (int,),
851
806
  },
852
807
  'attribute_map': {
853
- 'campaign_id': 'campaignId',
808
+ 'advertiser_id': 'advertiserId',
854
809
  },
855
810
  'location_map': {
856
- 'campaign_id': 'path',
811
+ 'advertiser_id': 'path',
857
812
  },
858
813
  'collection_format_map': {
859
814
  }
860
815
  },
861
816
  headers_map={
862
817
  'accept': [
863
- 'text/plain',
864
- 'application/json',
865
- 'text/json'
818
+ 'application/json'
866
819
  ],
867
820
  'content_type': [],
868
821
  },
869
822
  api_client=api_client
870
823
  )
871
- self.get_campaign_domain_rules_endpoint = _Endpoint(
824
+ self.get_campaign_endpoint = _Endpoint(
872
825
  settings={
873
- 'response_type': (ApiResponseOfTargetingEntity,),
826
+ 'response_type': (CampaignV23Q1Response,),
874
827
  'auth': [
875
828
  'oauth',
876
829
  'oauth'
877
830
  ],
878
- 'endpoint_path': '/preview/campaigns/{campaignId}/targeting/domain-rules',
879
- 'operation_id': 'get_campaign_domain_rules',
831
+ 'endpoint_path': '/preview/marketing-solutions/campaigns/{campaign-id}',
832
+ 'operation_id': 'get_campaign',
880
833
  'http_method': 'GET',
881
834
  'servers': None,
882
835
  },
@@ -901,10 +854,10 @@ class CampaignApi(object):
901
854
  },
902
855
  'openapi_types': {
903
856
  'campaign_id':
904
- (int,),
857
+ (str,),
905
858
  },
906
859
  'attribute_map': {
907
- 'campaign_id': 'campaignId',
860
+ 'campaign_id': 'campaign-id',
908
861
  },
909
862
  'location_map': {
910
863
  'campaign_id': 'path',
@@ -914,23 +867,21 @@ class CampaignApi(object):
914
867
  },
915
868
  headers_map={
916
869
  'accept': [
917
- 'text/plain',
918
- 'application/json',
919
- 'text/json'
870
+ 'application/json'
920
871
  ],
921
872
  'content_type': [],
922
873
  },
923
874
  api_client=api_client
924
875
  )
925
- self.get_campaign_v23_q1_endpoint = _Endpoint(
876
+ self.get_campaign_bundle_rules_endpoint = _Endpoint(
926
877
  settings={
927
- 'response_type': (CampaignV23Q1Response,),
878
+ 'response_type': (ApiResponseOfTargetingEntity,),
928
879
  'auth': [
929
880
  'oauth',
930
881
  'oauth'
931
882
  ],
932
- 'endpoint_path': '/preview/marketing-solutions/campaigns/{campaign-id}',
933
- 'operation_id': 'get_campaign_v23_q1',
883
+ 'endpoint_path': '/preview/campaigns/{campaignId}/targeting/bundle-rules',
884
+ 'operation_id': 'get_campaign_bundle_rules',
934
885
  'http_method': 'GET',
935
886
  'servers': None,
936
887
  },
@@ -955,10 +906,10 @@ class CampaignApi(object):
955
906
  },
956
907
  'openapi_types': {
957
908
  'campaign_id':
958
- (str,),
909
+ (int,),
959
910
  },
960
911
  'attribute_map': {
961
- 'campaign_id': 'campaign-id',
912
+ 'campaign_id': 'campaignId',
962
913
  },
963
914
  'location_map': {
964
915
  'campaign_id': 'path',
@@ -968,32 +919,30 @@ class CampaignApi(object):
968
919
  },
969
920
  headers_map={
970
921
  'accept': [
971
- 'text/plain',
972
- 'application/json',
973
- 'text/json'
922
+ 'application/json'
974
923
  ],
975
924
  'content_type': [],
976
925
  },
977
926
  api_client=api_client
978
927
  )
979
- self.get_category_bid_list_endpoint = _Endpoint(
928
+ self.get_campaign_domain_rules_endpoint = _Endpoint(
980
929
  settings={
981
- 'response_type': (AdSetCategoryBidListResponse,),
930
+ 'response_type': (ApiResponseOfTargetingEntity,),
982
931
  'auth': [
983
932
  'oauth',
984
933
  'oauth'
985
934
  ],
986
- 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
987
- 'operation_id': 'get_category_bid_list',
935
+ 'endpoint_path': '/preview/campaigns/{campaignId}/targeting/domain-rules',
936
+ 'operation_id': 'get_campaign_domain_rules',
988
937
  'http_method': 'GET',
989
938
  'servers': None,
990
939
  },
991
940
  params_map={
992
941
  'all': [
993
- 'ad_set_id',
942
+ 'campaign_id',
994
943
  ],
995
944
  'required': [
996
- 'ad_set_id',
945
+ 'campaign_id',
997
946
  ],
998
947
  'nullable': [
999
948
  ],
@@ -1008,23 +957,21 @@ class CampaignApi(object):
1008
957
  'allowed_values': {
1009
958
  },
1010
959
  'openapi_types': {
1011
- 'ad_set_id':
1012
- (str,),
960
+ 'campaign_id':
961
+ (int,),
1013
962
  },
1014
963
  'attribute_map': {
1015
- 'ad_set_id': 'ad-set-id',
964
+ 'campaign_id': 'campaignId',
1016
965
  },
1017
966
  'location_map': {
1018
- 'ad_set_id': 'path',
967
+ 'campaign_id': 'path',
1019
968
  },
1020
969
  'collection_format_map': {
1021
970
  }
1022
971
  },
1023
972
  headers_map={
1024
973
  'accept': [
1025
- 'text/plain',
1026
- 'application/json',
1027
- 'text/json'
974
+ 'application/json'
1028
975
  ],
1029
976
  'content_type': [],
1030
977
  },
@@ -1076,9 +1023,7 @@ class CampaignApi(object):
1076
1023
  },
1077
1024
  headers_map={
1078
1025
  'accept': [
1079
- 'text/plain',
1080
- 'application/json',
1081
- 'text/json'
1026
+ 'application/json'
1082
1027
  ],
1083
1028
  'content_type': [],
1084
1029
  },
@@ -1123,31 +1068,32 @@ class CampaignApi(object):
1123
1068
  },
1124
1069
  headers_map={
1125
1070
  'accept': [
1126
- 'text/plain',
1127
- 'application/json',
1128
- 'text/json'
1071
+ 'application/json'
1129
1072
  ],
1130
1073
  'content_type': [],
1131
1074
  },
1132
1075
  api_client=api_client
1133
1076
  )
1134
- self.patch_ad_sets_v24_q3_endpoint = _Endpoint(
1077
+ self.patch_ad_set_category_bids_endpoint = _Endpoint(
1135
1078
  settings={
1136
- 'response_type': (ResponsesAdSetIdV24Q3,),
1079
+ 'response_type': (PatchAdSetCategoryBidResultListResponse,),
1137
1080
  'auth': [
1138
1081
  'oauth',
1139
1082
  'oauth'
1140
1083
  ],
1141
- 'endpoint_path': '/preview/marketing-solutions/ad-sets',
1142
- 'operation_id': 'patch_ad_sets_v24_q3',
1084
+ 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
1085
+ 'operation_id': 'patch_ad_set_category_bids',
1143
1086
  'http_method': 'PATCH',
1144
1087
  'servers': None,
1145
1088
  },
1146
1089
  params_map={
1147
1090
  'all': [
1148
- 'requests_patch_ad_set_v24_q3',
1091
+ 'ad_set_id',
1092
+ 'patch_ad_set_category_bid_list_request',
1093
+ ],
1094
+ 'required': [
1095
+ 'ad_set_id',
1149
1096
  ],
1150
- 'required': [],
1151
1097
  'nullable': [
1152
1098
  ],
1153
1099
  'enum': [
@@ -1161,47 +1107,46 @@ class CampaignApi(object):
1161
1107
  'allowed_values': {
1162
1108
  },
1163
1109
  'openapi_types': {
1164
- 'requests_patch_ad_set_v24_q3':
1165
- (RequestsPatchAdSetV24Q3,),
1110
+ 'ad_set_id':
1111
+ (str,),
1112
+ 'patch_ad_set_category_bid_list_request':
1113
+ (PatchAdSetCategoryBidListRequest,),
1166
1114
  },
1167
1115
  'attribute_map': {
1116
+ 'ad_set_id': 'ad-set-id',
1168
1117
  },
1169
1118
  'location_map': {
1170
- 'requests_patch_ad_set_v24_q3': 'body',
1119
+ 'ad_set_id': 'path',
1120
+ 'patch_ad_set_category_bid_list_request': 'body',
1171
1121
  },
1172
1122
  'collection_format_map': {
1173
1123
  }
1174
1124
  },
1175
1125
  headers_map={
1176
1126
  'accept': [
1177
- 'text/plain',
1178
- 'application/json',
1179
- 'text/json'
1127
+ 'application/json'
1180
1128
  ],
1181
1129
  'content_type': [
1182
- 'application/json-patch+json',
1183
- 'application/json',
1184
- 'text/json',
1185
- 'application/*+json'
1130
+ 'application/json'
1186
1131
  ]
1187
1132
  },
1188
1133
  api_client=api_client
1189
1134
  )
1190
- self.patch_campaigns_endpoint = _Endpoint(
1135
+ self.patch_ad_sets_endpoint = _Endpoint(
1191
1136
  settings={
1192
- 'response_type': (PatchResultCampaignListResponse,),
1137
+ 'response_type': (ResponsesAdSetIdV24Q3,),
1193
1138
  'auth': [
1194
1139
  'oauth',
1195
1140
  'oauth'
1196
1141
  ],
1197
- 'endpoint_path': '/preview/marketing-solutions/campaigns',
1198
- 'operation_id': 'patch_campaigns',
1142
+ 'endpoint_path': '/preview/marketing-solutions/ad-sets',
1143
+ 'operation_id': 'patch_ad_sets',
1199
1144
  'http_method': 'PATCH',
1200
1145
  'servers': None,
1201
1146
  },
1202
1147
  params_map={
1203
1148
  'all': [
1204
- 'patch_campaign_list_request',
1149
+ 'requests_patch_ad_set_v24_q3',
1205
1150
  ],
1206
1151
  'required': [],
1207
1152
  'nullable': [
@@ -1217,52 +1162,44 @@ class CampaignApi(object):
1217
1162
  'allowed_values': {
1218
1163
  },
1219
1164
  'openapi_types': {
1220
- 'patch_campaign_list_request':
1221
- (PatchCampaignListRequest,),
1165
+ 'requests_patch_ad_set_v24_q3':
1166
+ (RequestsPatchAdSetV24Q3,),
1222
1167
  },
1223
1168
  'attribute_map': {
1224
1169
  },
1225
1170
  'location_map': {
1226
- 'patch_campaign_list_request': 'body',
1171
+ 'requests_patch_ad_set_v24_q3': 'body',
1227
1172
  },
1228
1173
  'collection_format_map': {
1229
1174
  }
1230
1175
  },
1231
1176
  headers_map={
1232
1177
  'accept': [
1233
- 'text/plain',
1234
- 'application/json',
1235
- 'text/json'
1178
+ 'application/json'
1236
1179
  ],
1237
1180
  'content_type': [
1238
- 'application/json-patch+json',
1239
- 'application/json',
1240
- 'text/json',
1241
- 'application/*+json'
1181
+ 'application/json'
1242
1182
  ]
1243
1183
  },
1244
1184
  api_client=api_client
1245
1185
  )
1246
- self.patch_category_bid_list_endpoint = _Endpoint(
1186
+ self.patch_campaigns_endpoint = _Endpoint(
1247
1187
  settings={
1248
- 'response_type': (PatchAdSetCategoryBidResultListResponse,),
1188
+ 'response_type': (PatchResultCampaignListResponse,),
1249
1189
  'auth': [
1250
1190
  'oauth',
1251
1191
  'oauth'
1252
1192
  ],
1253
- 'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
1254
- 'operation_id': 'patch_category_bid_list',
1193
+ 'endpoint_path': '/preview/marketing-solutions/campaigns',
1194
+ 'operation_id': 'patch_campaigns',
1255
1195
  'http_method': 'PATCH',
1256
1196
  'servers': None,
1257
1197
  },
1258
1198
  params_map={
1259
1199
  'all': [
1260
- 'ad_set_id',
1261
- 'patch_ad_set_category_bid_list_request',
1262
- ],
1263
- 'required': [
1264
- 'ad_set_id',
1200
+ 'patch_campaign_list_request',
1265
1201
  ],
1202
+ 'required': [],
1266
1203
  'nullable': [
1267
1204
  ],
1268
1205
  'enum': [
@@ -1276,32 +1213,23 @@ class CampaignApi(object):
1276
1213
  'allowed_values': {
1277
1214
  },
1278
1215
  'openapi_types': {
1279
- 'ad_set_id':
1280
- (str,),
1281
- 'patch_ad_set_category_bid_list_request':
1282
- (PatchAdSetCategoryBidListRequest,),
1216
+ 'patch_campaign_list_request':
1217
+ (PatchCampaignListRequest,),
1283
1218
  },
1284
1219
  'attribute_map': {
1285
- 'ad_set_id': 'ad-set-id',
1286
1220
  },
1287
1221
  'location_map': {
1288
- 'ad_set_id': 'path',
1289
- 'patch_ad_set_category_bid_list_request': 'body',
1222
+ 'patch_campaign_list_request': 'body',
1290
1223
  },
1291
1224
  'collection_format_map': {
1292
1225
  }
1293
1226
  },
1294
1227
  headers_map={
1295
1228
  'accept': [
1296
- 'text/plain',
1297
- 'application/json',
1298
- 'text/json'
1229
+ 'application/json'
1299
1230
  ],
1300
1231
  'content_type': [
1301
- 'application/json-patch+json',
1302
- 'application/json',
1303
- 'text/json',
1304
- 'application/*+json'
1232
+ 'application/json'
1305
1233
  ]
1306
1234
  },
1307
1235
  api_client=api_client
@@ -1356,15 +1284,10 @@ class CampaignApi(object):
1356
1284
  },
1357
1285
  headers_map={
1358
1286
  'accept': [
1359
- 'text/plain',
1360
- 'application/json',
1361
- 'text/json'
1287
+ 'application/json'
1362
1288
  ],
1363
1289
  'content_type': [
1364
- 'application/json-patch+json',
1365
- 'application/json',
1366
- 'text/json',
1367
- 'application/*+json'
1290
+ 'application/json'
1368
1291
  ]
1369
1292
  },
1370
1293
  api_client=api_client
@@ -1419,15 +1342,10 @@ class CampaignApi(object):
1419
1342
  },
1420
1343
  headers_map={
1421
1344
  'accept': [
1422
- 'text/plain',
1423
- 'application/json',
1424
- 'text/json'
1345
+ 'application/json'
1425
1346
  ],
1426
1347
  'content_type': [
1427
- 'application/json-patch+json',
1428
- 'application/json',
1429
- 'text/json',
1430
- 'application/*+json'
1348
+ 'application/json'
1431
1349
  ]
1432
1350
  },
1433
1351
  api_client=api_client
@@ -1482,15 +1400,10 @@ class CampaignApi(object):
1482
1400
  },
1483
1401
  headers_map={
1484
1402
  'accept': [
1485
- 'text/plain',
1486
- 'application/json',
1487
- 'text/json'
1403
+ 'application/json'
1488
1404
  ],
1489
1405
  'content_type': [
1490
- 'application/json-patch+json',
1491
- 'application/json',
1492
- 'text/json',
1493
- 'application/*+json'
1406
+ 'application/json'
1494
1407
  ]
1495
1408
  },
1496
1409
  api_client=api_client
@@ -1545,15 +1458,10 @@ class CampaignApi(object):
1545
1458
  },
1546
1459
  headers_map={
1547
1460
  'accept': [
1548
- 'text/plain',
1549
- 'application/json',
1550
- 'text/json'
1461
+ 'application/json'
1551
1462
  ],
1552
1463
  'content_type': [
1553
- 'application/json-patch+json',
1554
- 'application/json',
1555
- 'text/json',
1556
- 'application/*+json'
1464
+ 'application/json'
1557
1465
  ]
1558
1466
  },
1559
1467
  api_client=api_client
@@ -1608,15 +1516,10 @@ class CampaignApi(object):
1608
1516
  },
1609
1517
  headers_map={
1610
1518
  'accept': [
1611
- 'text/plain',
1612
- 'application/json',
1613
- 'text/json'
1519
+ 'application/json'
1614
1520
  ],
1615
1521
  'content_type': [
1616
- 'application/json-patch+json',
1617
- 'application/json',
1618
- 'text/json',
1619
- 'application/*+json'
1522
+ 'application/json'
1620
1523
  ]
1621
1524
  },
1622
1525
  api_client=api_client
@@ -1671,15 +1574,10 @@ class CampaignApi(object):
1671
1574
  },
1672
1575
  headers_map={
1673
1576
  'accept': [
1674
- 'text/plain',
1675
- 'application/json',
1676
- 'text/json'
1577
+ 'application/json'
1677
1578
  ],
1678
1579
  'content_type': [
1679
- 'application/json-patch+json',
1680
- 'application/json',
1681
- 'text/json',
1682
- 'application/*+json'
1580
+ 'application/json'
1683
1581
  ]
1684
1582
  },
1685
1583
  api_client=api_client
@@ -1734,15 +1632,10 @@ class CampaignApi(object):
1734
1632
  },
1735
1633
  headers_map={
1736
1634
  'accept': [
1737
- 'text/plain',
1738
- 'application/json',
1739
- 'text/json'
1635
+ 'application/json'
1740
1636
  ],
1741
1637
  'content_type': [
1742
- 'application/json-patch+json',
1743
- 'application/json',
1744
- 'text/json',
1745
- 'application/*+json'
1638
+ 'application/json'
1746
1639
  ]
1747
1640
  },
1748
1641
  api_client=api_client
@@ -1797,15 +1690,10 @@ class CampaignApi(object):
1797
1690
  },
1798
1691
  headers_map={
1799
1692
  'accept': [
1800
- 'text/plain',
1801
- 'application/json',
1802
- 'text/json'
1693
+ 'application/json'
1803
1694
  ],
1804
1695
  'content_type': [
1805
- 'application/json-patch+json',
1806
- 'application/json',
1807
- 'text/json',
1808
- 'application/*+json'
1696
+ 'application/json'
1809
1697
  ]
1810
1698
  },
1811
1699
  api_client=api_client
@@ -1860,20 +1748,15 @@ class CampaignApi(object):
1860
1748
  },
1861
1749
  headers_map={
1862
1750
  'accept': [
1863
- 'text/plain',
1864
- 'application/json',
1865
- 'text/json'
1751
+ 'application/json'
1866
1752
  ],
1867
1753
  'content_type': [
1868
- 'application/json-patch+json',
1869
- 'application/json',
1870
- 'text/json',
1871
- 'application/*+json'
1754
+ 'application/json'
1872
1755
  ]
1873
1756
  },
1874
1757
  api_client=api_client
1875
1758
  )
1876
- self.search_ad_sets_v24_q3_endpoint = _Endpoint(
1759
+ self.search_ad_sets_endpoint = _Endpoint(
1877
1760
  settings={
1878
1761
  'response_type': (ResponsesReadAdSetV24Q3,),
1879
1762
  'auth': [
@@ -1881,7 +1764,7 @@ class CampaignApi(object):
1881
1764
  'oauth'
1882
1765
  ],
1883
1766
  'endpoint_path': '/preview/marketing-solutions/ad-sets/search',
1884
- 'operation_id': 'search_ad_sets_v24_q3',
1767
+ 'operation_id': 'search_ad_sets',
1885
1768
  'http_method': 'POST',
1886
1769
  'servers': None,
1887
1770
  },
@@ -1916,20 +1799,15 @@ class CampaignApi(object):
1916
1799
  },
1917
1800
  headers_map={
1918
1801
  'accept': [
1919
- 'text/plain',
1920
- 'application/json',
1921
- 'text/json'
1802
+ 'application/json'
1922
1803
  ],
1923
1804
  'content_type': [
1924
- 'application/json-patch+json',
1925
- 'application/json',
1926
- 'text/json',
1927
- 'application/*+json'
1805
+ 'application/json'
1928
1806
  ]
1929
1807
  },
1930
1808
  api_client=api_client
1931
1809
  )
1932
- self.search_campaigns_v23_q1_endpoint = _Endpoint(
1810
+ self.search_campaigns_endpoint = _Endpoint(
1933
1811
  settings={
1934
1812
  'response_type': (CampaignV23Q1ListResponse,),
1935
1813
  'auth': [
@@ -1937,7 +1815,7 @@ class CampaignApi(object):
1937
1815
  'oauth'
1938
1816
  ],
1939
1817
  'endpoint_path': '/preview/marketing-solutions/campaigns/search',
1940
- 'operation_id': 'search_campaigns_v23_q1',
1818
+ 'operation_id': 'search_campaigns',
1941
1819
  'http_method': 'POST',
1942
1820
  'servers': None,
1943
1821
  },
@@ -1972,15 +1850,10 @@ class CampaignApi(object):
1972
1850
  },
1973
1851
  headers_map={
1974
1852
  'accept': [
1975
- 'text/plain',
1976
- 'application/json',
1977
- 'text/json'
1853
+ 'application/json'
1978
1854
  ],
1979
1855
  'content_type': [
1980
- 'application/json-patch+json',
1981
- 'application/json',
1982
- 'text/json',
1983
- 'application/*+json'
1856
+ 'application/json'
1984
1857
  ]
1985
1858
  },
1986
1859
  api_client=api_client
@@ -2035,15 +1908,10 @@ class CampaignApi(object):
2035
1908
  },
2036
1909
  headers_map={
2037
1910
  'accept': [
2038
- 'text/plain',
2039
- 'application/json',
2040
- 'text/json'
1911
+ 'application/json'
2041
1912
  ],
2042
1913
  'content_type': [
2043
- 'application/json-patch+json',
2044
- 'application/json',
2045
- 'text/json',
2046
- 'application/*+json'
1914
+ 'application/json'
2047
1915
  ]
2048
1916
  },
2049
1917
  api_client=api_client
@@ -2098,15 +1966,10 @@ class CampaignApi(object):
2098
1966
  },
2099
1967
  headers_map={
2100
1968
  'accept': [
2101
- 'text/plain',
2102
- 'application/json',
2103
- 'text/json'
1969
+ 'application/json'
2104
1970
  ],
2105
1971
  'content_type': [
2106
- 'application/json-patch+json',
2107
- 'application/json',
2108
- 'text/json',
2109
- 'application/*+json'
1972
+ 'application/json'
2110
1973
  ]
2111
1974
  },
2112
1975
  api_client=api_client
@@ -2154,15 +2017,10 @@ class CampaignApi(object):
2154
2017
  },
2155
2018
  headers_map={
2156
2019
  'accept': [
2157
- 'text/plain',
2158
- 'application/json',
2159
- 'text/json'
2020
+ 'application/json'
2160
2021
  ],
2161
2022
  'content_type': [
2162
- 'application/json-patch+json',
2163
- 'application/json',
2164
- 'text/json',
2165
- 'application/*+json'
2023
+ 'application/json'
2166
2024
  ]
2167
2025
  },
2168
2026
  api_client=api_client
@@ -2210,15 +2068,10 @@ class CampaignApi(object):
2210
2068
  },
2211
2069
  headers_map={
2212
2070
  'accept': [
2213
- 'text/plain',
2214
- 'application/json',
2215
- 'text/json'
2071
+ 'application/json'
2216
2072
  ],
2217
2073
  'content_type': [
2218
- 'application/json-patch+json',
2219
- 'application/json',
2220
- 'text/json',
2221
- 'application/*+json'
2074
+ 'application/json'
2222
2075
  ]
2223
2076
  },
2224
2077
  api_client=api_client
@@ -2274,32 +2127,27 @@ class CampaignApi(object):
2274
2127
  },
2275
2128
  headers_map={
2276
2129
  'accept': [
2277
- 'text/plain',
2278
- 'application/json',
2279
- 'text/json'
2130
+ 'application/json'
2280
2131
  ],
2281
2132
  'content_type': [
2282
- 'application/json-patch+json',
2283
- 'application/json',
2284
- 'text/json',
2285
- 'application/*+json'
2133
+ 'application/json'
2286
2134
  ]
2287
2135
  },
2288
2136
  api_client=api_client
2289
2137
  )
2290
2138
 
2291
- def create_ad_set_v24_q3(
2139
+ def create_ad_set(
2292
2140
  self,
2293
2141
  create_ad_set_v24_q3_request,
2294
2142
  **kwargs
2295
2143
  ):
2296
- """create_ad_set_v24_q3 # noqa: E501
2144
+ """create_ad_set # noqa: E501
2297
2145
 
2298
2146
  Create the specified ad set # noqa: E501
2299
2147
  This method makes a synchronous HTTP request by default. To make an
2300
2148
  asynchronous HTTP request, please pass async_req=True
2301
2149
 
2302
- >>> thread = api.create_ad_set_v24_q3(create_ad_set_v24_q3_request, async_req=True)
2150
+ >>> thread = api.create_ad_set(create_ad_set_v24_q3_request, async_req=True)
2303
2151
  >>> result = thread.get()
2304
2152
 
2305
2153
  Args:
@@ -2369,7 +2217,7 @@ class CampaignApi(object):
2369
2217
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2370
2218
  kwargs['create_ad_set_v24_q3_request'] = \
2371
2219
  create_ad_set_v24_q3_request
2372
- return self.create_ad_set_v24_q3_endpoint.call_with_http_info(**kwargs)
2220
+ return self.create_ad_set_endpoint.call_with_http_info(**kwargs)
2373
2221
 
2374
2222
  def create_campaign(
2375
2223
  self,
@@ -2956,22 +2804,22 @@ class CampaignApi(object):
2956
2804
  ad_set_id
2957
2805
  return self.disable_ad_set_targeting_video_positioning_endpoint.call_with_http_info(**kwargs)
2958
2806
 
2959
- def get_ad_set_targeting_deal_ids(
2807
+ def get_ad_set(
2960
2808
  self,
2961
2809
  ad_set_id,
2962
2810
  **kwargs
2963
2811
  ):
2964
- """get_ad_set_targeting_deal_ids # noqa: E501
2812
+ """get_ad_set # noqa: E501
2965
2813
 
2966
- Get the Deal Id Targeting configuration for the ad set whose id is specified # noqa: E501
2814
+ Get the data for the specified ad set # noqa: E501
2967
2815
  This method makes a synchronous HTTP request by default. To make an
2968
2816
  asynchronous HTTP request, please pass async_req=True
2969
2817
 
2970
- >>> thread = api.get_ad_set_targeting_deal_ids(ad_set_id, async_req=True)
2818
+ >>> thread = api.get_ad_set(ad_set_id, async_req=True)
2971
2819
  >>> result = thread.get()
2972
2820
 
2973
2821
  Args:
2974
- ad_set_id (str): Id of the Ad Set
2822
+ ad_set_id (str): Id of the ad set
2975
2823
 
2976
2824
  Keyword Args:
2977
2825
  _return_http_data_only (bool): response data without head status
@@ -3006,7 +2854,7 @@ class CampaignApi(object):
3006
2854
  async_req (bool): execute request asynchronously
3007
2855
 
3008
2856
  Returns:
3009
- AdSetTargetingDealIdsResponse
2857
+ ResponseReadAdSetV24Q3
3010
2858
  If the method is called asynchronously, returns the request
3011
2859
  thread.
3012
2860
  """
@@ -3037,20 +2885,20 @@ class CampaignApi(object):
3037
2885
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3038
2886
  kwargs['ad_set_id'] = \
3039
2887
  ad_set_id
3040
- return self.get_ad_set_targeting_deal_ids_endpoint.call_with_http_info(**kwargs)
2888
+ return self.get_ad_set_endpoint.call_with_http_info(**kwargs)
3041
2889
 
3042
- def get_ad_set_targeting_video_positioning(
2890
+ def get_ad_set_category_bids(
3043
2891
  self,
3044
2892
  ad_set_id,
3045
2893
  **kwargs
3046
2894
  ):
3047
- """get_ad_set_targeting_video_positioning # noqa: E501
2895
+ """get_ad_set_category_bids # noqa: E501
3048
2896
 
3049
- Get the Video Positioning Targeting configuration for the ad set whose id is specified # noqa: E501
2897
+ Get the Category Bids for all valid Categories associated to an Ad Set # noqa: E501
3050
2898
  This method makes a synchronous HTTP request by default. To make an
3051
2899
  asynchronous HTTP request, please pass async_req=True
3052
2900
 
3053
- >>> thread = api.get_ad_set_targeting_video_positioning(ad_set_id, async_req=True)
2901
+ >>> thread = api.get_ad_set_category_bids(ad_set_id, async_req=True)
3054
2902
  >>> result = thread.get()
3055
2903
 
3056
2904
  Args:
@@ -3089,7 +2937,7 @@ class CampaignApi(object):
3089
2937
  async_req (bool): execute request asynchronously
3090
2938
 
3091
2939
  Returns:
3092
- AdSetTargetingVideoPositioningResponse
2940
+ AdSetCategoryBidListResponse
3093
2941
  If the method is called asynchronously, returns the request
3094
2942
  thread.
3095
2943
  """
@@ -3120,24 +2968,24 @@ class CampaignApi(object):
3120
2968
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3121
2969
  kwargs['ad_set_id'] = \
3122
2970
  ad_set_id
3123
- return self.get_ad_set_targeting_video_positioning_endpoint.call_with_http_info(**kwargs)
2971
+ return self.get_ad_set_category_bids_endpoint.call_with_http_info(**kwargs)
3124
2972
 
3125
- def get_ad_set_v24_q3(
2973
+ def get_ad_set_targeting_deal_ids(
3126
2974
  self,
3127
2975
  ad_set_id,
3128
2976
  **kwargs
3129
2977
  ):
3130
- """get_ad_set_v24_q3 # noqa: E501
2978
+ """get_ad_set_targeting_deal_ids # noqa: E501
3131
2979
 
3132
- Get the data for the specified ad set # noqa: E501
2980
+ Get the Deal Id Targeting configuration for the ad set whose id is specified # noqa: E501
3133
2981
  This method makes a synchronous HTTP request by default. To make an
3134
2982
  asynchronous HTTP request, please pass async_req=True
3135
2983
 
3136
- >>> thread = api.get_ad_set_v24_q3(ad_set_id, async_req=True)
2984
+ >>> thread = api.get_ad_set_targeting_deal_ids(ad_set_id, async_req=True)
3137
2985
  >>> result = thread.get()
3138
2986
 
3139
2987
  Args:
3140
- ad_set_id (str): Id of the ad set
2988
+ ad_set_id (str): Id of the Ad Set
3141
2989
 
3142
2990
  Keyword Args:
3143
2991
  _return_http_data_only (bool): response data without head status
@@ -3172,7 +3020,7 @@ class CampaignApi(object):
3172
3020
  async_req (bool): execute request asynchronously
3173
3021
 
3174
3022
  Returns:
3175
- ResponseReadAdSetV24Q3
3023
+ AdSetTargetingDealIdsResponse
3176
3024
  If the method is called asynchronously, returns the request
3177
3025
  thread.
3178
3026
  """
@@ -3203,24 +3051,24 @@ class CampaignApi(object):
3203
3051
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3204
3052
  kwargs['ad_set_id'] = \
3205
3053
  ad_set_id
3206
- return self.get_ad_set_v24_q3_endpoint.call_with_http_info(**kwargs)
3054
+ return self.get_ad_set_targeting_deal_ids_endpoint.call_with_http_info(**kwargs)
3207
3055
 
3208
- def get_advertiser_bundle_rules(
3056
+ def get_ad_set_targeting_video_positioning(
3209
3057
  self,
3210
- advertiser_id,
3058
+ ad_set_id,
3211
3059
  **kwargs
3212
3060
  ):
3213
- """get_advertiser_bundle_rules # noqa: E501
3061
+ """get_ad_set_targeting_video_positioning # noqa: E501
3214
3062
 
3215
- Returns a list of all targeted bundles for an advertiser. # noqa: E501
3063
+ Get the Video Positioning Targeting configuration for the ad set whose id is specified # noqa: E501
3216
3064
  This method makes a synchronous HTTP request by default. To make an
3217
3065
  asynchronous HTTP request, please pass async_req=True
3218
3066
 
3219
- >>> thread = api.get_advertiser_bundle_rules(advertiser_id, async_req=True)
3067
+ >>> thread = api.get_ad_set_targeting_video_positioning(ad_set_id, async_req=True)
3220
3068
  >>> result = thread.get()
3221
3069
 
3222
3070
  Args:
3223
- advertiser_id (int): The advertiser id
3071
+ ad_set_id (str): Id of the Ad Set
3224
3072
 
3225
3073
  Keyword Args:
3226
3074
  _return_http_data_only (bool): response data without head status
@@ -3255,7 +3103,7 @@ class CampaignApi(object):
3255
3103
  async_req (bool): execute request asynchronously
3256
3104
 
3257
3105
  Returns:
3258
- ApiResponseOfTargetingEntity
3106
+ AdSetTargetingVideoPositioningResponse
3259
3107
  If the method is called asynchronously, returns the request
3260
3108
  thread.
3261
3109
  """
@@ -3284,22 +3132,22 @@ class CampaignApi(object):
3284
3132
  '_content_type')
3285
3133
  kwargs['_host_index'] = kwargs.get('_host_index')
3286
3134
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3287
- kwargs['advertiser_id'] = \
3288
- advertiser_id
3289
- return self.get_advertiser_bundle_rules_endpoint.call_with_http_info(**kwargs)
3135
+ kwargs['ad_set_id'] = \
3136
+ ad_set_id
3137
+ return self.get_ad_set_targeting_video_positioning_endpoint.call_with_http_info(**kwargs)
3290
3138
 
3291
- def get_advertiser_domain_rules(
3139
+ def get_advertiser_bundle_rules(
3292
3140
  self,
3293
3141
  advertiser_id,
3294
3142
  **kwargs
3295
3143
  ):
3296
- """get_advertiser_domain_rules # noqa: E501
3144
+ """get_advertiser_bundle_rules # noqa: E501
3297
3145
 
3298
- Returns a list of all targeted domains for an advertiser. # noqa: E501
3146
+ Returns a list of all targeted bundles for an advertiser. # noqa: E501
3299
3147
  This method makes a synchronous HTTP request by default. To make an
3300
3148
  asynchronous HTTP request, please pass async_req=True
3301
3149
 
3302
- >>> thread = api.get_advertiser_domain_rules(advertiser_id, async_req=True)
3150
+ >>> thread = api.get_advertiser_bundle_rules(advertiser_id, async_req=True)
3303
3151
  >>> result = thread.get()
3304
3152
 
3305
3153
  Args:
@@ -3369,24 +3217,24 @@ class CampaignApi(object):
3369
3217
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3370
3218
  kwargs['advertiser_id'] = \
3371
3219
  advertiser_id
3372
- return self.get_advertiser_domain_rules_endpoint.call_with_http_info(**kwargs)
3220
+ return self.get_advertiser_bundle_rules_endpoint.call_with_http_info(**kwargs)
3373
3221
 
3374
- def get_campaign_bundle_rules(
3222
+ def get_advertiser_domain_rules(
3375
3223
  self,
3376
- campaign_id,
3224
+ advertiser_id,
3377
3225
  **kwargs
3378
3226
  ):
3379
- """get_campaign_bundle_rules # noqa: E501
3227
+ """get_advertiser_domain_rules # noqa: E501
3380
3228
 
3381
- Returns a list of all targeted bundles for a campaign. # noqa: E501
3229
+ Returns a list of all targeted domains for an advertiser. # noqa: E501
3382
3230
  This method makes a synchronous HTTP request by default. To make an
3383
3231
  asynchronous HTTP request, please pass async_req=True
3384
3232
 
3385
- >>> thread = api.get_campaign_bundle_rules(campaign_id, async_req=True)
3233
+ >>> thread = api.get_advertiser_domain_rules(advertiser_id, async_req=True)
3386
3234
  >>> result = thread.get()
3387
3235
 
3388
3236
  Args:
3389
- campaign_id (int): The campaign id
3237
+ advertiser_id (int): The advertiser id
3390
3238
 
3391
3239
  Keyword Args:
3392
3240
  _return_http_data_only (bool): response data without head status
@@ -3450,26 +3298,26 @@ class CampaignApi(object):
3450
3298
  '_content_type')
3451
3299
  kwargs['_host_index'] = kwargs.get('_host_index')
3452
3300
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3453
- kwargs['campaign_id'] = \
3454
- campaign_id
3455
- return self.get_campaign_bundle_rules_endpoint.call_with_http_info(**kwargs)
3301
+ kwargs['advertiser_id'] = \
3302
+ advertiser_id
3303
+ return self.get_advertiser_domain_rules_endpoint.call_with_http_info(**kwargs)
3456
3304
 
3457
- def get_campaign_domain_rules(
3305
+ def get_campaign(
3458
3306
  self,
3459
3307
  campaign_id,
3460
3308
  **kwargs
3461
3309
  ):
3462
- """get_campaign_domain_rules # noqa: E501
3310
+ """get_campaign # noqa: E501
3463
3311
 
3464
- Returns a list of all targeted domains for a campaign. # noqa: E501
3312
+ Get the data for the specified campaign # noqa: E501
3465
3313
  This method makes a synchronous HTTP request by default. To make an
3466
3314
  asynchronous HTTP request, please pass async_req=True
3467
3315
 
3468
- >>> thread = api.get_campaign_domain_rules(campaign_id, async_req=True)
3316
+ >>> thread = api.get_campaign(campaign_id, async_req=True)
3469
3317
  >>> result = thread.get()
3470
3318
 
3471
3319
  Args:
3472
- campaign_id (int): The campaign id
3320
+ campaign_id (str): Id of the campaign
3473
3321
 
3474
3322
  Keyword Args:
3475
3323
  _return_http_data_only (bool): response data without head status
@@ -3504,7 +3352,7 @@ class CampaignApi(object):
3504
3352
  async_req (bool): execute request asynchronously
3505
3353
 
3506
3354
  Returns:
3507
- ApiResponseOfTargetingEntity
3355
+ CampaignV23Q1Response
3508
3356
  If the method is called asynchronously, returns the request
3509
3357
  thread.
3510
3358
  """
@@ -3535,24 +3383,24 @@ class CampaignApi(object):
3535
3383
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3536
3384
  kwargs['campaign_id'] = \
3537
3385
  campaign_id
3538
- return self.get_campaign_domain_rules_endpoint.call_with_http_info(**kwargs)
3386
+ return self.get_campaign_endpoint.call_with_http_info(**kwargs)
3539
3387
 
3540
- def get_campaign_v23_q1(
3388
+ def get_campaign_bundle_rules(
3541
3389
  self,
3542
3390
  campaign_id,
3543
3391
  **kwargs
3544
3392
  ):
3545
- """get_campaign_v23_q1 # noqa: E501
3393
+ """get_campaign_bundle_rules # noqa: E501
3546
3394
 
3547
- Get the data for the specified campaign # noqa: E501
3395
+ Returns a list of all targeted bundles for a campaign. # noqa: E501
3548
3396
  This method makes a synchronous HTTP request by default. To make an
3549
3397
  asynchronous HTTP request, please pass async_req=True
3550
3398
 
3551
- >>> thread = api.get_campaign_v23_q1(campaign_id, async_req=True)
3399
+ >>> thread = api.get_campaign_bundle_rules(campaign_id, async_req=True)
3552
3400
  >>> result = thread.get()
3553
3401
 
3554
3402
  Args:
3555
- campaign_id (str): Id of the campaign
3403
+ campaign_id (int): The campaign id
3556
3404
 
3557
3405
  Keyword Args:
3558
3406
  _return_http_data_only (bool): response data without head status
@@ -3587,7 +3435,7 @@ class CampaignApi(object):
3587
3435
  async_req (bool): execute request asynchronously
3588
3436
 
3589
3437
  Returns:
3590
- CampaignV23Q1Response
3438
+ ApiResponseOfTargetingEntity
3591
3439
  If the method is called asynchronously, returns the request
3592
3440
  thread.
3593
3441
  """
@@ -3618,24 +3466,24 @@ class CampaignApi(object):
3618
3466
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3619
3467
  kwargs['campaign_id'] = \
3620
3468
  campaign_id
3621
- return self.get_campaign_v23_q1_endpoint.call_with_http_info(**kwargs)
3469
+ return self.get_campaign_bundle_rules_endpoint.call_with_http_info(**kwargs)
3622
3470
 
3623
- def get_category_bid_list(
3471
+ def get_campaign_domain_rules(
3624
3472
  self,
3625
- ad_set_id,
3473
+ campaign_id,
3626
3474
  **kwargs
3627
3475
  ):
3628
- """get_category_bid_list # noqa: E501
3476
+ """get_campaign_domain_rules # noqa: E501
3629
3477
 
3630
- Get the Category Bids for all valid Categories associated to an Ad Set # noqa: E501
3478
+ Returns a list of all targeted domains for a campaign. # noqa: E501
3631
3479
  This method makes a synchronous HTTP request by default. To make an
3632
3480
  asynchronous HTTP request, please pass async_req=True
3633
3481
 
3634
- >>> thread = api.get_category_bid_list(ad_set_id, async_req=True)
3482
+ >>> thread = api.get_campaign_domain_rules(campaign_id, async_req=True)
3635
3483
  >>> result = thread.get()
3636
3484
 
3637
3485
  Args:
3638
- ad_set_id (str): Id of the Ad Set
3486
+ campaign_id (int): The campaign id
3639
3487
 
3640
3488
  Keyword Args:
3641
3489
  _return_http_data_only (bool): response data without head status
@@ -3670,7 +3518,7 @@ class CampaignApi(object):
3670
3518
  async_req (bool): execute request asynchronously
3671
3519
 
3672
3520
  Returns:
3673
- AdSetCategoryBidListResponse
3521
+ ApiResponseOfTargetingEntity
3674
3522
  If the method is called asynchronously, returns the request
3675
3523
  thread.
3676
3524
  """
@@ -3699,9 +3547,9 @@ class CampaignApi(object):
3699
3547
  '_content_type')
3700
3548
  kwargs['_host_index'] = kwargs.get('_host_index')
3701
3549
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3702
- kwargs['ad_set_id'] = \
3703
- ad_set_id
3704
- return self.get_category_bid_list_endpoint.call_with_http_info(**kwargs)
3550
+ kwargs['campaign_id'] = \
3551
+ campaign_id
3552
+ return self.get_campaign_domain_rules_endpoint.call_with_http_info(**kwargs)
3705
3553
 
3706
3554
  def get_display_multipliers(
3707
3555
  self,
@@ -3864,22 +3712,25 @@ class CampaignApi(object):
3864
3712
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3865
3713
  return self.get_supply_vendor_list_endpoint.call_with_http_info(**kwargs)
3866
3714
 
3867
- def patch_ad_sets_v24_q3(
3715
+ def patch_ad_set_category_bids(
3868
3716
  self,
3717
+ ad_set_id,
3869
3718
  **kwargs
3870
3719
  ):
3871
- """patch_ad_sets_v24_q3 # noqa: E501
3720
+ """patch_ad_set_category_bids # noqa: E501
3872
3721
 
3873
- Patch a list of AdSets. # noqa: E501
3722
+ Patch Category Bids for one or more Categories in a single request. Partial success policy is followed. # noqa: E501
3874
3723
  This method makes a synchronous HTTP request by default. To make an
3875
3724
  asynchronous HTTP request, please pass async_req=True
3876
3725
 
3877
- >>> thread = api.patch_ad_sets_v24_q3(async_req=True)
3726
+ >>> thread = api.patch_ad_set_category_bids(ad_set_id, async_req=True)
3878
3727
  >>> result = thread.get()
3879
3728
 
3729
+ Args:
3730
+ ad_set_id (str): Id of the Ad Set
3880
3731
 
3881
3732
  Keyword Args:
3882
- requests_patch_ad_set_v24_q3 (RequestsPatchAdSetV24Q3): List of adsets to patch.. [optional]
3733
+ patch_ad_set_category_bid_list_request (PatchAdSetCategoryBidListRequest): [optional]
3883
3734
  _return_http_data_only (bool): response data without head status
3884
3735
  code and headers. Default is True.
3885
3736
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3912,7 +3763,7 @@ class CampaignApi(object):
3912
3763
  async_req (bool): execute request asynchronously
3913
3764
 
3914
3765
  Returns:
3915
- ResponsesAdSetIdV24Q3
3766
+ PatchAdSetCategoryBidResultListResponse
3916
3767
  If the method is called asynchronously, returns the request
3917
3768
  thread.
3918
3769
  """
@@ -3941,24 +3792,26 @@ class CampaignApi(object):
3941
3792
  '_content_type')
3942
3793
  kwargs['_host_index'] = kwargs.get('_host_index')
3943
3794
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3944
- return self.patch_ad_sets_v24_q3_endpoint.call_with_http_info(**kwargs)
3795
+ kwargs['ad_set_id'] = \
3796
+ ad_set_id
3797
+ return self.patch_ad_set_category_bids_endpoint.call_with_http_info(**kwargs)
3945
3798
 
3946
- def patch_campaigns(
3799
+ def patch_ad_sets(
3947
3800
  self,
3948
3801
  **kwargs
3949
3802
  ):
3950
- """patch_campaigns # noqa: E501
3803
+ """patch_ad_sets # noqa: E501
3951
3804
 
3952
- Patch a list of Campaigns. # noqa: E501
3805
+ Patch a list of AdSets. # noqa: E501
3953
3806
  This method makes a synchronous HTTP request by default. To make an
3954
3807
  asynchronous HTTP request, please pass async_req=True
3955
3808
 
3956
- >>> thread = api.patch_campaigns(async_req=True)
3809
+ >>> thread = api.patch_ad_sets(async_req=True)
3957
3810
  >>> result = thread.get()
3958
3811
 
3959
3812
 
3960
3813
  Keyword Args:
3961
- patch_campaign_list_request (PatchCampaignListRequest): List of campaigns to patch.. [optional]
3814
+ requests_patch_ad_set_v24_q3 (RequestsPatchAdSetV24Q3): List of adsets to patch.. [optional]
3962
3815
  _return_http_data_only (bool): response data without head status
3963
3816
  code and headers. Default is True.
3964
3817
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3991,7 +3844,7 @@ class CampaignApi(object):
3991
3844
  async_req (bool): execute request asynchronously
3992
3845
 
3993
3846
  Returns:
3994
- PatchResultCampaignListResponse
3847
+ ResponsesAdSetIdV24Q3
3995
3848
  If the method is called asynchronously, returns the request
3996
3849
  thread.
3997
3850
  """
@@ -4020,27 +3873,24 @@ class CampaignApi(object):
4020
3873
  '_content_type')
4021
3874
  kwargs['_host_index'] = kwargs.get('_host_index')
4022
3875
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4023
- return self.patch_campaigns_endpoint.call_with_http_info(**kwargs)
3876
+ return self.patch_ad_sets_endpoint.call_with_http_info(**kwargs)
4024
3877
 
4025
- def patch_category_bid_list(
3878
+ def patch_campaigns(
4026
3879
  self,
4027
- ad_set_id,
4028
3880
  **kwargs
4029
3881
  ):
4030
- """patch_category_bid_list # noqa: E501
3882
+ """patch_campaigns # noqa: E501
4031
3883
 
4032
- Patch Category Bids for one or more Categories in a single request. Partial success policy is followed. # noqa: E501
3884
+ Patch a list of Campaigns. # noqa: E501
4033
3885
  This method makes a synchronous HTTP request by default. To make an
4034
3886
  asynchronous HTTP request, please pass async_req=True
4035
3887
 
4036
- >>> thread = api.patch_category_bid_list(ad_set_id, async_req=True)
3888
+ >>> thread = api.patch_campaigns(async_req=True)
4037
3889
  >>> result = thread.get()
4038
3890
 
4039
- Args:
4040
- ad_set_id (str): Id of the Ad Set
4041
3891
 
4042
3892
  Keyword Args:
4043
- patch_ad_set_category_bid_list_request (PatchAdSetCategoryBidListRequest): [optional]
3893
+ patch_campaign_list_request (PatchCampaignListRequest): List of campaigns to patch.. [optional]
4044
3894
  _return_http_data_only (bool): response data without head status
4045
3895
  code and headers. Default is True.
4046
3896
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4073,7 +3923,7 @@ class CampaignApi(object):
4073
3923
  async_req (bool): execute request asynchronously
4074
3924
 
4075
3925
  Returns:
4076
- PatchAdSetCategoryBidResultListResponse
3926
+ PatchResultCampaignListResponse
4077
3927
  If the method is called asynchronously, returns the request
4078
3928
  thread.
4079
3929
  """
@@ -4102,9 +3952,7 @@ class CampaignApi(object):
4102
3952
  '_content_type')
4103
3953
  kwargs['_host_index'] = kwargs.get('_host_index')
4104
3954
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4105
- kwargs['ad_set_id'] = \
4106
- ad_set_id
4107
- return self.patch_category_bid_list_endpoint.call_with_http_info(**kwargs)
3955
+ return self.patch_campaigns_endpoint.call_with_http_info(**kwargs)
4108
3956
 
4109
3957
  def patch_display_multipliers(
4110
3958
  self,
@@ -4862,17 +4710,17 @@ class CampaignApi(object):
4862
4710
  campaign_id
4863
4711
  return self.put_campaign_domain_rules_endpoint.call_with_http_info(**kwargs)
4864
4712
 
4865
- def search_ad_sets_v24_q3(
4713
+ def search_ad_sets(
4866
4714
  self,
4867
4715
  **kwargs
4868
4716
  ):
4869
- """search_ad_sets_v24_q3 # noqa: E501
4717
+ """search_ad_sets # noqa: E501
4870
4718
 
4871
4719
  Search for ad sets # noqa: E501
4872
4720
  This method makes a synchronous HTTP request by default. To make an
4873
4721
  asynchronous HTTP request, please pass async_req=True
4874
4722
 
4875
- >>> thread = api.search_ad_sets_v24_q3(async_req=True)
4723
+ >>> thread = api.search_ad_sets(async_req=True)
4876
4724
  >>> result = thread.get()
4877
4725
 
4878
4726
 
@@ -4939,19 +4787,19 @@ class CampaignApi(object):
4939
4787
  '_content_type')
4940
4788
  kwargs['_host_index'] = kwargs.get('_host_index')
4941
4789
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4942
- return self.search_ad_sets_v24_q3_endpoint.call_with_http_info(**kwargs)
4790
+ return self.search_ad_sets_endpoint.call_with_http_info(**kwargs)
4943
4791
 
4944
- def search_campaigns_v23_q1(
4792
+ def search_campaigns(
4945
4793
  self,
4946
4794
  **kwargs
4947
4795
  ):
4948
- """search_campaigns_v23_q1 # noqa: E501
4796
+ """search_campaigns # noqa: E501
4949
4797
 
4950
4798
  Search for campaigns # noqa: E501
4951
4799
  This method makes a synchronous HTTP request by default. To make an
4952
4800
  asynchronous HTTP request, please pass async_req=True
4953
4801
 
4954
- >>> thread = api.search_campaigns_v23_q1(async_req=True)
4802
+ >>> thread = api.search_campaigns(async_req=True)
4955
4803
  >>> result = thread.get()
4956
4804
 
4957
4805
 
@@ -5018,7 +4866,7 @@ class CampaignApi(object):
5018
4866
  '_content_type')
5019
4867
  kwargs['_host_index'] = kwargs.get('_host_index')
5020
4868
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5021
- return self.search_campaigns_v23_q1_endpoint.call_with_http_info(**kwargs)
4869
+ return self.search_campaigns_endpoint.call_with_http_info(**kwargs)
5022
4870
 
5023
4871
  def set_ad_set_targeting_deal_ids(
5024
4872
  self,