criteo-api-marketingsolutions-sdk 0.0.250915__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.
- criteo_api_marketingsolutions_preview/__init__.py +1 -1
- criteo_api_marketingsolutions_preview/api/advertiser_api.py +12 -12
- criteo_api_marketingsolutions_preview/api/campaign_api.py +200 -200
- criteo_api_marketingsolutions_preview/api/creative_api.py +3 -3
- criteo_api_marketingsolutions_preview/api/on_site_recommendation_api.py +6 -6
- criteo_api_marketingsolutions_preview/api_client.py +4 -4
- criteo_api_marketingsolutions_preview/configuration.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +12 -12
- criteo_api_marketingsolutions_preview/model/adaptive_colors.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_read_attributes.py +330 -0
- criteo_api_marketingsolutions_preview/model/creative_read.py +327 -0
- criteo_api_marketingsolutions_preview/model/{resource_collection_outcome_of_creative.py → resource_collection_outcome_of_creative_read.py} +8 -8
- criteo_api_marketingsolutions_preview/model/resource_of_creative_read.py +277 -0
- criteo_api_marketingsolutions_preview/models/__init__.py +4 -1
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/RECORD +18 -15
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/WHEEL +0 -0
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251009.dist-info}/top_level.txt +0 -0
|
@@ -67,7 +67,7 @@ class CampaignApi(object):
|
|
|
67
67
|
if api_client is None:
|
|
68
68
|
api_client = ApiClient()
|
|
69
69
|
self.api_client = api_client
|
|
70
|
-
self.
|
|
70
|
+
self.create_ad_set_endpoint = _Endpoint(
|
|
71
71
|
settings={
|
|
72
72
|
'response_type': (ResponseReadAdSetV24Q3,),
|
|
73
73
|
'auth': [
|
|
@@ -75,7 +75,7 @@ class CampaignApi(object):
|
|
|
75
75
|
'oauth'
|
|
76
76
|
],
|
|
77
77
|
'endpoint_path': '/preview/marketing-solutions/ad-sets',
|
|
78
|
-
'operation_id': '
|
|
78
|
+
'operation_id': 'create_ad_set',
|
|
79
79
|
'http_method': 'POST',
|
|
80
80
|
'servers': None,
|
|
81
81
|
},
|
|
@@ -509,15 +509,15 @@ class CampaignApi(object):
|
|
|
509
509
|
},
|
|
510
510
|
api_client=api_client
|
|
511
511
|
)
|
|
512
|
-
self.
|
|
512
|
+
self.get_ad_set_endpoint = _Endpoint(
|
|
513
513
|
settings={
|
|
514
|
-
'response_type': (
|
|
514
|
+
'response_type': (ResponseReadAdSetV24Q3,),
|
|
515
515
|
'auth': [
|
|
516
516
|
'oauth',
|
|
517
517
|
'oauth'
|
|
518
518
|
],
|
|
519
|
-
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}
|
|
520
|
-
'operation_id': '
|
|
519
|
+
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}',
|
|
520
|
+
'operation_id': 'get_ad_set',
|
|
521
521
|
'http_method': 'GET',
|
|
522
522
|
'servers': None,
|
|
523
523
|
},
|
|
@@ -561,15 +561,15 @@ class CampaignApi(object):
|
|
|
561
561
|
},
|
|
562
562
|
api_client=api_client
|
|
563
563
|
)
|
|
564
|
-
self.
|
|
564
|
+
self.get_ad_set_category_bids_endpoint = _Endpoint(
|
|
565
565
|
settings={
|
|
566
|
-
'response_type': (
|
|
566
|
+
'response_type': (AdSetCategoryBidListResponse,),
|
|
567
567
|
'auth': [
|
|
568
568
|
'oauth',
|
|
569
569
|
'oauth'
|
|
570
570
|
],
|
|
571
|
-
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/
|
|
572
|
-
'operation_id': '
|
|
571
|
+
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
|
|
572
|
+
'operation_id': 'get_ad_set_category_bids',
|
|
573
573
|
'http_method': 'GET',
|
|
574
574
|
'servers': None,
|
|
575
575
|
},
|
|
@@ -613,15 +613,15 @@ class CampaignApi(object):
|
|
|
613
613
|
},
|
|
614
614
|
api_client=api_client
|
|
615
615
|
)
|
|
616
|
-
self.
|
|
616
|
+
self.get_ad_set_targeting_deal_ids_endpoint = _Endpoint(
|
|
617
617
|
settings={
|
|
618
|
-
'response_type': (
|
|
618
|
+
'response_type': (AdSetTargetingDealIdsResponse,),
|
|
619
619
|
'auth': [
|
|
620
620
|
'oauth',
|
|
621
621
|
'oauth'
|
|
622
622
|
],
|
|
623
|
-
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}',
|
|
624
|
-
'operation_id': '
|
|
623
|
+
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/deal-ids',
|
|
624
|
+
'operation_id': 'get_ad_set_targeting_deal_ids',
|
|
625
625
|
'http_method': 'GET',
|
|
626
626
|
'servers': None,
|
|
627
627
|
},
|
|
@@ -665,24 +665,24 @@ class CampaignApi(object):
|
|
|
665
665
|
},
|
|
666
666
|
api_client=api_client
|
|
667
667
|
)
|
|
668
|
-
self.
|
|
668
|
+
self.get_ad_set_targeting_video_positioning_endpoint = _Endpoint(
|
|
669
669
|
settings={
|
|
670
|
-
'response_type': (
|
|
670
|
+
'response_type': (AdSetTargetingVideoPositioningResponse,),
|
|
671
671
|
'auth': [
|
|
672
672
|
'oauth',
|
|
673
673
|
'oauth'
|
|
674
674
|
],
|
|
675
|
-
'endpoint_path': '/preview/
|
|
676
|
-
'operation_id': '
|
|
675
|
+
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/targeting/video-positioning',
|
|
676
|
+
'operation_id': 'get_ad_set_targeting_video_positioning',
|
|
677
677
|
'http_method': 'GET',
|
|
678
678
|
'servers': None,
|
|
679
679
|
},
|
|
680
680
|
params_map={
|
|
681
681
|
'all': [
|
|
682
|
-
'
|
|
682
|
+
'ad_set_id',
|
|
683
683
|
],
|
|
684
684
|
'required': [
|
|
685
|
-
'
|
|
685
|
+
'ad_set_id',
|
|
686
686
|
],
|
|
687
687
|
'nullable': [
|
|
688
688
|
],
|
|
@@ -697,14 +697,14 @@ class CampaignApi(object):
|
|
|
697
697
|
'allowed_values': {
|
|
698
698
|
},
|
|
699
699
|
'openapi_types': {
|
|
700
|
-
'
|
|
701
|
-
(
|
|
700
|
+
'ad_set_id':
|
|
701
|
+
(str,),
|
|
702
702
|
},
|
|
703
703
|
'attribute_map': {
|
|
704
|
-
'
|
|
704
|
+
'ad_set_id': 'ad-set-id',
|
|
705
705
|
},
|
|
706
706
|
'location_map': {
|
|
707
|
-
'
|
|
707
|
+
'ad_set_id': 'path',
|
|
708
708
|
},
|
|
709
709
|
'collection_format_map': {
|
|
710
710
|
}
|
|
@@ -717,15 +717,15 @@ class CampaignApi(object):
|
|
|
717
717
|
},
|
|
718
718
|
api_client=api_client
|
|
719
719
|
)
|
|
720
|
-
self.
|
|
720
|
+
self.get_advertiser_bundle_rules_endpoint = _Endpoint(
|
|
721
721
|
settings={
|
|
722
722
|
'response_type': (ApiResponseOfTargetingEntity,),
|
|
723
723
|
'auth': [
|
|
724
724
|
'oauth',
|
|
725
725
|
'oauth'
|
|
726
726
|
],
|
|
727
|
-
'endpoint_path': '/preview/advertisers/{advertiserId}/targeting/
|
|
728
|
-
'operation_id': '
|
|
727
|
+
'endpoint_path': '/preview/advertisers/{advertiserId}/targeting/bundle-rules',
|
|
728
|
+
'operation_id': 'get_advertiser_bundle_rules',
|
|
729
729
|
'http_method': 'GET',
|
|
730
730
|
'servers': None,
|
|
731
731
|
},
|
|
@@ -769,24 +769,24 @@ class CampaignApi(object):
|
|
|
769
769
|
},
|
|
770
770
|
api_client=api_client
|
|
771
771
|
)
|
|
772
|
-
self.
|
|
772
|
+
self.get_advertiser_domain_rules_endpoint = _Endpoint(
|
|
773
773
|
settings={
|
|
774
774
|
'response_type': (ApiResponseOfTargetingEntity,),
|
|
775
775
|
'auth': [
|
|
776
776
|
'oauth',
|
|
777
777
|
'oauth'
|
|
778
778
|
],
|
|
779
|
-
'endpoint_path': '/preview/
|
|
780
|
-
'operation_id': '
|
|
779
|
+
'endpoint_path': '/preview/advertisers/{advertiserId}/targeting/domain-rules',
|
|
780
|
+
'operation_id': 'get_advertiser_domain_rules',
|
|
781
781
|
'http_method': 'GET',
|
|
782
782
|
'servers': None,
|
|
783
783
|
},
|
|
784
784
|
params_map={
|
|
785
785
|
'all': [
|
|
786
|
-
'
|
|
786
|
+
'advertiser_id',
|
|
787
787
|
],
|
|
788
788
|
'required': [
|
|
789
|
-
'
|
|
789
|
+
'advertiser_id',
|
|
790
790
|
],
|
|
791
791
|
'nullable': [
|
|
792
792
|
],
|
|
@@ -801,14 +801,14 @@ class CampaignApi(object):
|
|
|
801
801
|
'allowed_values': {
|
|
802
802
|
},
|
|
803
803
|
'openapi_types': {
|
|
804
|
-
'
|
|
804
|
+
'advertiser_id':
|
|
805
805
|
(int,),
|
|
806
806
|
},
|
|
807
807
|
'attribute_map': {
|
|
808
|
-
'
|
|
808
|
+
'advertiser_id': 'advertiserId',
|
|
809
809
|
},
|
|
810
810
|
'location_map': {
|
|
811
|
-
'
|
|
811
|
+
'advertiser_id': 'path',
|
|
812
812
|
},
|
|
813
813
|
'collection_format_map': {
|
|
814
814
|
}
|
|
@@ -821,15 +821,15 @@ class CampaignApi(object):
|
|
|
821
821
|
},
|
|
822
822
|
api_client=api_client
|
|
823
823
|
)
|
|
824
|
-
self.
|
|
824
|
+
self.get_campaign_endpoint = _Endpoint(
|
|
825
825
|
settings={
|
|
826
|
-
'response_type': (
|
|
826
|
+
'response_type': (CampaignV23Q1Response,),
|
|
827
827
|
'auth': [
|
|
828
828
|
'oauth',
|
|
829
829
|
'oauth'
|
|
830
830
|
],
|
|
831
|
-
'endpoint_path': '/preview/campaigns/{
|
|
832
|
-
'operation_id': '
|
|
831
|
+
'endpoint_path': '/preview/marketing-solutions/campaigns/{campaign-id}',
|
|
832
|
+
'operation_id': 'get_campaign',
|
|
833
833
|
'http_method': 'GET',
|
|
834
834
|
'servers': None,
|
|
835
835
|
},
|
|
@@ -854,10 +854,10 @@ class CampaignApi(object):
|
|
|
854
854
|
},
|
|
855
855
|
'openapi_types': {
|
|
856
856
|
'campaign_id':
|
|
857
|
-
(
|
|
857
|
+
(str,),
|
|
858
858
|
},
|
|
859
859
|
'attribute_map': {
|
|
860
|
-
'campaign_id': '
|
|
860
|
+
'campaign_id': 'campaign-id',
|
|
861
861
|
},
|
|
862
862
|
'location_map': {
|
|
863
863
|
'campaign_id': 'path',
|
|
@@ -873,15 +873,15 @@ class CampaignApi(object):
|
|
|
873
873
|
},
|
|
874
874
|
api_client=api_client
|
|
875
875
|
)
|
|
876
|
-
self.
|
|
876
|
+
self.get_campaign_bundle_rules_endpoint = _Endpoint(
|
|
877
877
|
settings={
|
|
878
|
-
'response_type': (
|
|
878
|
+
'response_type': (ApiResponseOfTargetingEntity,),
|
|
879
879
|
'auth': [
|
|
880
880
|
'oauth',
|
|
881
881
|
'oauth'
|
|
882
882
|
],
|
|
883
|
-
'endpoint_path': '/preview/
|
|
884
|
-
'operation_id': '
|
|
883
|
+
'endpoint_path': '/preview/campaigns/{campaignId}/targeting/bundle-rules',
|
|
884
|
+
'operation_id': 'get_campaign_bundle_rules',
|
|
885
885
|
'http_method': 'GET',
|
|
886
886
|
'servers': None,
|
|
887
887
|
},
|
|
@@ -906,10 +906,10 @@ class CampaignApi(object):
|
|
|
906
906
|
},
|
|
907
907
|
'openapi_types': {
|
|
908
908
|
'campaign_id':
|
|
909
|
-
(
|
|
909
|
+
(int,),
|
|
910
910
|
},
|
|
911
911
|
'attribute_map': {
|
|
912
|
-
'campaign_id': '
|
|
912
|
+
'campaign_id': 'campaignId',
|
|
913
913
|
},
|
|
914
914
|
'location_map': {
|
|
915
915
|
'campaign_id': 'path',
|
|
@@ -925,24 +925,24 @@ class CampaignApi(object):
|
|
|
925
925
|
},
|
|
926
926
|
api_client=api_client
|
|
927
927
|
)
|
|
928
|
-
self.
|
|
928
|
+
self.get_campaign_domain_rules_endpoint = _Endpoint(
|
|
929
929
|
settings={
|
|
930
|
-
'response_type': (
|
|
930
|
+
'response_type': (ApiResponseOfTargetingEntity,),
|
|
931
931
|
'auth': [
|
|
932
932
|
'oauth',
|
|
933
933
|
'oauth'
|
|
934
934
|
],
|
|
935
|
-
'endpoint_path': '/preview/
|
|
936
|
-
'operation_id': '
|
|
935
|
+
'endpoint_path': '/preview/campaigns/{campaignId}/targeting/domain-rules',
|
|
936
|
+
'operation_id': 'get_campaign_domain_rules',
|
|
937
937
|
'http_method': 'GET',
|
|
938
938
|
'servers': None,
|
|
939
939
|
},
|
|
940
940
|
params_map={
|
|
941
941
|
'all': [
|
|
942
|
-
'
|
|
942
|
+
'campaign_id',
|
|
943
943
|
],
|
|
944
944
|
'required': [
|
|
945
|
-
'
|
|
945
|
+
'campaign_id',
|
|
946
946
|
],
|
|
947
947
|
'nullable': [
|
|
948
948
|
],
|
|
@@ -957,14 +957,14 @@ class CampaignApi(object):
|
|
|
957
957
|
'allowed_values': {
|
|
958
958
|
},
|
|
959
959
|
'openapi_types': {
|
|
960
|
-
'
|
|
961
|
-
(
|
|
960
|
+
'campaign_id':
|
|
961
|
+
(int,),
|
|
962
962
|
},
|
|
963
963
|
'attribute_map': {
|
|
964
|
-
'
|
|
964
|
+
'campaign_id': 'campaignId',
|
|
965
965
|
},
|
|
966
966
|
'location_map': {
|
|
967
|
-
'
|
|
967
|
+
'campaign_id': 'path',
|
|
968
968
|
},
|
|
969
969
|
'collection_format_map': {
|
|
970
970
|
}
|
|
@@ -1074,23 +1074,26 @@ class CampaignApi(object):
|
|
|
1074
1074
|
},
|
|
1075
1075
|
api_client=api_client
|
|
1076
1076
|
)
|
|
1077
|
-
self.
|
|
1077
|
+
self.patch_ad_set_category_bids_endpoint = _Endpoint(
|
|
1078
1078
|
settings={
|
|
1079
|
-
'response_type': (
|
|
1079
|
+
'response_type': (PatchAdSetCategoryBidResultListResponse,),
|
|
1080
1080
|
'auth': [
|
|
1081
1081
|
'oauth',
|
|
1082
1082
|
'oauth'
|
|
1083
1083
|
],
|
|
1084
|
-
'endpoint_path': '/preview/marketing-solutions/ad-sets',
|
|
1085
|
-
'operation_id': '
|
|
1084
|
+
'endpoint_path': '/preview/marketing-solutions/ad-sets/{ad-set-id}/category-bids',
|
|
1085
|
+
'operation_id': 'patch_ad_set_category_bids',
|
|
1086
1086
|
'http_method': 'PATCH',
|
|
1087
1087
|
'servers': None,
|
|
1088
1088
|
},
|
|
1089
1089
|
params_map={
|
|
1090
1090
|
'all': [
|
|
1091
|
-
'
|
|
1091
|
+
'ad_set_id',
|
|
1092
|
+
'patch_ad_set_category_bid_list_request',
|
|
1093
|
+
],
|
|
1094
|
+
'required': [
|
|
1095
|
+
'ad_set_id',
|
|
1092
1096
|
],
|
|
1093
|
-
'required': [],
|
|
1094
1097
|
'nullable': [
|
|
1095
1098
|
],
|
|
1096
1099
|
'enum': [
|
|
@@ -1104,13 +1107,17 @@ class CampaignApi(object):
|
|
|
1104
1107
|
'allowed_values': {
|
|
1105
1108
|
},
|
|
1106
1109
|
'openapi_types': {
|
|
1107
|
-
'
|
|
1108
|
-
(
|
|
1110
|
+
'ad_set_id':
|
|
1111
|
+
(str,),
|
|
1112
|
+
'patch_ad_set_category_bid_list_request':
|
|
1113
|
+
(PatchAdSetCategoryBidListRequest,),
|
|
1109
1114
|
},
|
|
1110
1115
|
'attribute_map': {
|
|
1116
|
+
'ad_set_id': 'ad-set-id',
|
|
1111
1117
|
},
|
|
1112
1118
|
'location_map': {
|
|
1113
|
-
'
|
|
1119
|
+
'ad_set_id': 'path',
|
|
1120
|
+
'patch_ad_set_category_bid_list_request': 'body',
|
|
1114
1121
|
},
|
|
1115
1122
|
'collection_format_map': {
|
|
1116
1123
|
}
|
|
@@ -1125,21 +1132,21 @@ class CampaignApi(object):
|
|
|
1125
1132
|
},
|
|
1126
1133
|
api_client=api_client
|
|
1127
1134
|
)
|
|
1128
|
-
self.
|
|
1135
|
+
self.patch_ad_sets_endpoint = _Endpoint(
|
|
1129
1136
|
settings={
|
|
1130
|
-
'response_type': (
|
|
1137
|
+
'response_type': (ResponsesAdSetIdV24Q3,),
|
|
1131
1138
|
'auth': [
|
|
1132
1139
|
'oauth',
|
|
1133
1140
|
'oauth'
|
|
1134
1141
|
],
|
|
1135
|
-
'endpoint_path': '/preview/marketing-solutions/
|
|
1136
|
-
'operation_id': '
|
|
1142
|
+
'endpoint_path': '/preview/marketing-solutions/ad-sets',
|
|
1143
|
+
'operation_id': 'patch_ad_sets',
|
|
1137
1144
|
'http_method': 'PATCH',
|
|
1138
1145
|
'servers': None,
|
|
1139
1146
|
},
|
|
1140
1147
|
params_map={
|
|
1141
1148
|
'all': [
|
|
1142
|
-
'
|
|
1149
|
+
'requests_patch_ad_set_v24_q3',
|
|
1143
1150
|
],
|
|
1144
1151
|
'required': [],
|
|
1145
1152
|
'nullable': [
|
|
@@ -1155,13 +1162,13 @@ class CampaignApi(object):
|
|
|
1155
1162
|
'allowed_values': {
|
|
1156
1163
|
},
|
|
1157
1164
|
'openapi_types': {
|
|
1158
|
-
'
|
|
1159
|
-
(
|
|
1165
|
+
'requests_patch_ad_set_v24_q3':
|
|
1166
|
+
(RequestsPatchAdSetV24Q3,),
|
|
1160
1167
|
},
|
|
1161
1168
|
'attribute_map': {
|
|
1162
1169
|
},
|
|
1163
1170
|
'location_map': {
|
|
1164
|
-
'
|
|
1171
|
+
'requests_patch_ad_set_v24_q3': 'body',
|
|
1165
1172
|
},
|
|
1166
1173
|
'collection_format_map': {
|
|
1167
1174
|
}
|
|
@@ -1176,26 +1183,23 @@ class CampaignApi(object):
|
|
|
1176
1183
|
},
|
|
1177
1184
|
api_client=api_client
|
|
1178
1185
|
)
|
|
1179
|
-
self.
|
|
1186
|
+
self.patch_campaigns_endpoint = _Endpoint(
|
|
1180
1187
|
settings={
|
|
1181
|
-
'response_type': (
|
|
1188
|
+
'response_type': (PatchResultCampaignListResponse,),
|
|
1182
1189
|
'auth': [
|
|
1183
1190
|
'oauth',
|
|
1184
1191
|
'oauth'
|
|
1185
1192
|
],
|
|
1186
|
-
'endpoint_path': '/preview/marketing-solutions/
|
|
1187
|
-
'operation_id': '
|
|
1193
|
+
'endpoint_path': '/preview/marketing-solutions/campaigns',
|
|
1194
|
+
'operation_id': 'patch_campaigns',
|
|
1188
1195
|
'http_method': 'PATCH',
|
|
1189
1196
|
'servers': None,
|
|
1190
1197
|
},
|
|
1191
1198
|
params_map={
|
|
1192
1199
|
'all': [
|
|
1193
|
-
'
|
|
1194
|
-
'patch_ad_set_category_bid_list_request',
|
|
1195
|
-
],
|
|
1196
|
-
'required': [
|
|
1197
|
-
'ad_set_id',
|
|
1200
|
+
'patch_campaign_list_request',
|
|
1198
1201
|
],
|
|
1202
|
+
'required': [],
|
|
1199
1203
|
'nullable': [
|
|
1200
1204
|
],
|
|
1201
1205
|
'enum': [
|
|
@@ -1209,17 +1213,13 @@ class CampaignApi(object):
|
|
|
1209
1213
|
'allowed_values': {
|
|
1210
1214
|
},
|
|
1211
1215
|
'openapi_types': {
|
|
1212
|
-
'
|
|
1213
|
-
(
|
|
1214
|
-
'patch_ad_set_category_bid_list_request':
|
|
1215
|
-
(PatchAdSetCategoryBidListRequest,),
|
|
1216
|
+
'patch_campaign_list_request':
|
|
1217
|
+
(PatchCampaignListRequest,),
|
|
1216
1218
|
},
|
|
1217
1219
|
'attribute_map': {
|
|
1218
|
-
'ad_set_id': 'ad-set-id',
|
|
1219
1220
|
},
|
|
1220
1221
|
'location_map': {
|
|
1221
|
-
'
|
|
1222
|
-
'patch_ad_set_category_bid_list_request': 'body',
|
|
1222
|
+
'patch_campaign_list_request': 'body',
|
|
1223
1223
|
},
|
|
1224
1224
|
'collection_format_map': {
|
|
1225
1225
|
}
|
|
@@ -1756,7 +1756,7 @@ class CampaignApi(object):
|
|
|
1756
1756
|
},
|
|
1757
1757
|
api_client=api_client
|
|
1758
1758
|
)
|
|
1759
|
-
self.
|
|
1759
|
+
self.search_ad_sets_endpoint = _Endpoint(
|
|
1760
1760
|
settings={
|
|
1761
1761
|
'response_type': (ResponsesReadAdSetV24Q3,),
|
|
1762
1762
|
'auth': [
|
|
@@ -1764,7 +1764,7 @@ class CampaignApi(object):
|
|
|
1764
1764
|
'oauth'
|
|
1765
1765
|
],
|
|
1766
1766
|
'endpoint_path': '/preview/marketing-solutions/ad-sets/search',
|
|
1767
|
-
'operation_id': '
|
|
1767
|
+
'operation_id': 'search_ad_sets',
|
|
1768
1768
|
'http_method': 'POST',
|
|
1769
1769
|
'servers': None,
|
|
1770
1770
|
},
|
|
@@ -1807,7 +1807,7 @@ class CampaignApi(object):
|
|
|
1807
1807
|
},
|
|
1808
1808
|
api_client=api_client
|
|
1809
1809
|
)
|
|
1810
|
-
self.
|
|
1810
|
+
self.search_campaigns_endpoint = _Endpoint(
|
|
1811
1811
|
settings={
|
|
1812
1812
|
'response_type': (CampaignV23Q1ListResponse,),
|
|
1813
1813
|
'auth': [
|
|
@@ -1815,7 +1815,7 @@ class CampaignApi(object):
|
|
|
1815
1815
|
'oauth'
|
|
1816
1816
|
],
|
|
1817
1817
|
'endpoint_path': '/preview/marketing-solutions/campaigns/search',
|
|
1818
|
-
'operation_id': '
|
|
1818
|
+
'operation_id': 'search_campaigns',
|
|
1819
1819
|
'http_method': 'POST',
|
|
1820
1820
|
'servers': None,
|
|
1821
1821
|
},
|
|
@@ -2136,18 +2136,18 @@ class CampaignApi(object):
|
|
|
2136
2136
|
api_client=api_client
|
|
2137
2137
|
)
|
|
2138
2138
|
|
|
2139
|
-
def
|
|
2139
|
+
def create_ad_set(
|
|
2140
2140
|
self,
|
|
2141
2141
|
create_ad_set_v24_q3_request,
|
|
2142
2142
|
**kwargs
|
|
2143
2143
|
):
|
|
2144
|
-
"""
|
|
2144
|
+
"""create_ad_set # noqa: E501
|
|
2145
2145
|
|
|
2146
2146
|
Create the specified ad set # noqa: E501
|
|
2147
2147
|
This method makes a synchronous HTTP request by default. To make an
|
|
2148
2148
|
asynchronous HTTP request, please pass async_req=True
|
|
2149
2149
|
|
|
2150
|
-
>>> thread = api.
|
|
2150
|
+
>>> thread = api.create_ad_set(create_ad_set_v24_q3_request, async_req=True)
|
|
2151
2151
|
>>> result = thread.get()
|
|
2152
2152
|
|
|
2153
2153
|
Args:
|
|
@@ -2217,7 +2217,7 @@ class CampaignApi(object):
|
|
|
2217
2217
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2218
2218
|
kwargs['create_ad_set_v24_q3_request'] = \
|
|
2219
2219
|
create_ad_set_v24_q3_request
|
|
2220
|
-
return self.
|
|
2220
|
+
return self.create_ad_set_endpoint.call_with_http_info(**kwargs)
|
|
2221
2221
|
|
|
2222
2222
|
def create_campaign(
|
|
2223
2223
|
self,
|
|
@@ -2804,22 +2804,22 @@ class CampaignApi(object):
|
|
|
2804
2804
|
ad_set_id
|
|
2805
2805
|
return self.disable_ad_set_targeting_video_positioning_endpoint.call_with_http_info(**kwargs)
|
|
2806
2806
|
|
|
2807
|
-
def
|
|
2807
|
+
def get_ad_set(
|
|
2808
2808
|
self,
|
|
2809
2809
|
ad_set_id,
|
|
2810
2810
|
**kwargs
|
|
2811
2811
|
):
|
|
2812
|
-
"""
|
|
2812
|
+
"""get_ad_set # noqa: E501
|
|
2813
2813
|
|
|
2814
|
-
Get the
|
|
2814
|
+
Get the data for the specified ad set # noqa: E501
|
|
2815
2815
|
This method makes a synchronous HTTP request by default. To make an
|
|
2816
2816
|
asynchronous HTTP request, please pass async_req=True
|
|
2817
2817
|
|
|
2818
|
-
>>> thread = api.
|
|
2818
|
+
>>> thread = api.get_ad_set(ad_set_id, async_req=True)
|
|
2819
2819
|
>>> result = thread.get()
|
|
2820
2820
|
|
|
2821
2821
|
Args:
|
|
2822
|
-
ad_set_id (str): Id of the
|
|
2822
|
+
ad_set_id (str): Id of the ad set
|
|
2823
2823
|
|
|
2824
2824
|
Keyword Args:
|
|
2825
2825
|
_return_http_data_only (bool): response data without head status
|
|
@@ -2854,7 +2854,7 @@ class CampaignApi(object):
|
|
|
2854
2854
|
async_req (bool): execute request asynchronously
|
|
2855
2855
|
|
|
2856
2856
|
Returns:
|
|
2857
|
-
|
|
2857
|
+
ResponseReadAdSetV24Q3
|
|
2858
2858
|
If the method is called asynchronously, returns the request
|
|
2859
2859
|
thread.
|
|
2860
2860
|
"""
|
|
@@ -2885,20 +2885,20 @@ class CampaignApi(object):
|
|
|
2885
2885
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2886
2886
|
kwargs['ad_set_id'] = \
|
|
2887
2887
|
ad_set_id
|
|
2888
|
-
return self.
|
|
2888
|
+
return self.get_ad_set_endpoint.call_with_http_info(**kwargs)
|
|
2889
2889
|
|
|
2890
|
-
def
|
|
2890
|
+
def get_ad_set_category_bids(
|
|
2891
2891
|
self,
|
|
2892
2892
|
ad_set_id,
|
|
2893
2893
|
**kwargs
|
|
2894
2894
|
):
|
|
2895
|
-
"""
|
|
2895
|
+
"""get_ad_set_category_bids # noqa: E501
|
|
2896
2896
|
|
|
2897
|
-
Get the
|
|
2897
|
+
Get the Category Bids for all valid Categories associated to an Ad Set # noqa: E501
|
|
2898
2898
|
This method makes a synchronous HTTP request by default. To make an
|
|
2899
2899
|
asynchronous HTTP request, please pass async_req=True
|
|
2900
2900
|
|
|
2901
|
-
>>> thread = api.
|
|
2901
|
+
>>> thread = api.get_ad_set_category_bids(ad_set_id, async_req=True)
|
|
2902
2902
|
>>> result = thread.get()
|
|
2903
2903
|
|
|
2904
2904
|
Args:
|
|
@@ -2937,7 +2937,7 @@ class CampaignApi(object):
|
|
|
2937
2937
|
async_req (bool): execute request asynchronously
|
|
2938
2938
|
|
|
2939
2939
|
Returns:
|
|
2940
|
-
|
|
2940
|
+
AdSetCategoryBidListResponse
|
|
2941
2941
|
If the method is called asynchronously, returns the request
|
|
2942
2942
|
thread.
|
|
2943
2943
|
"""
|
|
@@ -2968,24 +2968,24 @@ class CampaignApi(object):
|
|
|
2968
2968
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
2969
2969
|
kwargs['ad_set_id'] = \
|
|
2970
2970
|
ad_set_id
|
|
2971
|
-
return self.
|
|
2971
|
+
return self.get_ad_set_category_bids_endpoint.call_with_http_info(**kwargs)
|
|
2972
2972
|
|
|
2973
|
-
def
|
|
2973
|
+
def get_ad_set_targeting_deal_ids(
|
|
2974
2974
|
self,
|
|
2975
2975
|
ad_set_id,
|
|
2976
2976
|
**kwargs
|
|
2977
2977
|
):
|
|
2978
|
-
"""
|
|
2978
|
+
"""get_ad_set_targeting_deal_ids # noqa: E501
|
|
2979
2979
|
|
|
2980
|
-
Get the
|
|
2980
|
+
Get the Deal Id Targeting configuration for the ad set whose id is specified # noqa: E501
|
|
2981
2981
|
This method makes a synchronous HTTP request by default. To make an
|
|
2982
2982
|
asynchronous HTTP request, please pass async_req=True
|
|
2983
2983
|
|
|
2984
|
-
>>> thread = api.
|
|
2984
|
+
>>> thread = api.get_ad_set_targeting_deal_ids(ad_set_id, async_req=True)
|
|
2985
2985
|
>>> result = thread.get()
|
|
2986
2986
|
|
|
2987
2987
|
Args:
|
|
2988
|
-
ad_set_id (str): Id of the
|
|
2988
|
+
ad_set_id (str): Id of the Ad Set
|
|
2989
2989
|
|
|
2990
2990
|
Keyword Args:
|
|
2991
2991
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3020,7 +3020,7 @@ class CampaignApi(object):
|
|
|
3020
3020
|
async_req (bool): execute request asynchronously
|
|
3021
3021
|
|
|
3022
3022
|
Returns:
|
|
3023
|
-
|
|
3023
|
+
AdSetTargetingDealIdsResponse
|
|
3024
3024
|
If the method is called asynchronously, returns the request
|
|
3025
3025
|
thread.
|
|
3026
3026
|
"""
|
|
@@ -3051,24 +3051,24 @@ class CampaignApi(object):
|
|
|
3051
3051
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3052
3052
|
kwargs['ad_set_id'] = \
|
|
3053
3053
|
ad_set_id
|
|
3054
|
-
return self.
|
|
3054
|
+
return self.get_ad_set_targeting_deal_ids_endpoint.call_with_http_info(**kwargs)
|
|
3055
3055
|
|
|
3056
|
-
def
|
|
3056
|
+
def get_ad_set_targeting_video_positioning(
|
|
3057
3057
|
self,
|
|
3058
|
-
|
|
3058
|
+
ad_set_id,
|
|
3059
3059
|
**kwargs
|
|
3060
3060
|
):
|
|
3061
|
-
"""
|
|
3061
|
+
"""get_ad_set_targeting_video_positioning # noqa: E501
|
|
3062
3062
|
|
|
3063
|
-
|
|
3063
|
+
Get the Video Positioning Targeting configuration for the ad set whose id is specified # noqa: E501
|
|
3064
3064
|
This method makes a synchronous HTTP request by default. To make an
|
|
3065
3065
|
asynchronous HTTP request, please pass async_req=True
|
|
3066
3066
|
|
|
3067
|
-
>>> thread = api.
|
|
3067
|
+
>>> thread = api.get_ad_set_targeting_video_positioning(ad_set_id, async_req=True)
|
|
3068
3068
|
>>> result = thread.get()
|
|
3069
3069
|
|
|
3070
3070
|
Args:
|
|
3071
|
-
|
|
3071
|
+
ad_set_id (str): Id of the Ad Set
|
|
3072
3072
|
|
|
3073
3073
|
Keyword Args:
|
|
3074
3074
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3103,7 +3103,7 @@ class CampaignApi(object):
|
|
|
3103
3103
|
async_req (bool): execute request asynchronously
|
|
3104
3104
|
|
|
3105
3105
|
Returns:
|
|
3106
|
-
|
|
3106
|
+
AdSetTargetingVideoPositioningResponse
|
|
3107
3107
|
If the method is called asynchronously, returns the request
|
|
3108
3108
|
thread.
|
|
3109
3109
|
"""
|
|
@@ -3132,22 +3132,22 @@ class CampaignApi(object):
|
|
|
3132
3132
|
'_content_type')
|
|
3133
3133
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3134
3134
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3135
|
-
kwargs['
|
|
3136
|
-
|
|
3137
|
-
return self.
|
|
3135
|
+
kwargs['ad_set_id'] = \
|
|
3136
|
+
ad_set_id
|
|
3137
|
+
return self.get_ad_set_targeting_video_positioning_endpoint.call_with_http_info(**kwargs)
|
|
3138
3138
|
|
|
3139
|
-
def
|
|
3139
|
+
def get_advertiser_bundle_rules(
|
|
3140
3140
|
self,
|
|
3141
3141
|
advertiser_id,
|
|
3142
3142
|
**kwargs
|
|
3143
3143
|
):
|
|
3144
|
-
"""
|
|
3144
|
+
"""get_advertiser_bundle_rules # noqa: E501
|
|
3145
3145
|
|
|
3146
|
-
Returns a list of all targeted
|
|
3146
|
+
Returns a list of all targeted bundles for an advertiser. # noqa: E501
|
|
3147
3147
|
This method makes a synchronous HTTP request by default. To make an
|
|
3148
3148
|
asynchronous HTTP request, please pass async_req=True
|
|
3149
3149
|
|
|
3150
|
-
>>> thread = api.
|
|
3150
|
+
>>> thread = api.get_advertiser_bundle_rules(advertiser_id, async_req=True)
|
|
3151
3151
|
>>> result = thread.get()
|
|
3152
3152
|
|
|
3153
3153
|
Args:
|
|
@@ -3217,24 +3217,24 @@ class CampaignApi(object):
|
|
|
3217
3217
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3218
3218
|
kwargs['advertiser_id'] = \
|
|
3219
3219
|
advertiser_id
|
|
3220
|
-
return self.
|
|
3220
|
+
return self.get_advertiser_bundle_rules_endpoint.call_with_http_info(**kwargs)
|
|
3221
3221
|
|
|
3222
|
-
def
|
|
3222
|
+
def get_advertiser_domain_rules(
|
|
3223
3223
|
self,
|
|
3224
|
-
|
|
3224
|
+
advertiser_id,
|
|
3225
3225
|
**kwargs
|
|
3226
3226
|
):
|
|
3227
|
-
"""
|
|
3227
|
+
"""get_advertiser_domain_rules # noqa: E501
|
|
3228
3228
|
|
|
3229
|
-
Returns a list of all targeted
|
|
3229
|
+
Returns a list of all targeted domains for an advertiser. # noqa: E501
|
|
3230
3230
|
This method makes a synchronous HTTP request by default. To make an
|
|
3231
3231
|
asynchronous HTTP request, please pass async_req=True
|
|
3232
3232
|
|
|
3233
|
-
>>> thread = api.
|
|
3233
|
+
>>> thread = api.get_advertiser_domain_rules(advertiser_id, async_req=True)
|
|
3234
3234
|
>>> result = thread.get()
|
|
3235
3235
|
|
|
3236
3236
|
Args:
|
|
3237
|
-
|
|
3237
|
+
advertiser_id (int): The advertiser id
|
|
3238
3238
|
|
|
3239
3239
|
Keyword Args:
|
|
3240
3240
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3298,26 +3298,26 @@ class CampaignApi(object):
|
|
|
3298
3298
|
'_content_type')
|
|
3299
3299
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3300
3300
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3301
|
-
kwargs['
|
|
3302
|
-
|
|
3303
|
-
return self.
|
|
3301
|
+
kwargs['advertiser_id'] = \
|
|
3302
|
+
advertiser_id
|
|
3303
|
+
return self.get_advertiser_domain_rules_endpoint.call_with_http_info(**kwargs)
|
|
3304
3304
|
|
|
3305
|
-
def
|
|
3305
|
+
def get_campaign(
|
|
3306
3306
|
self,
|
|
3307
3307
|
campaign_id,
|
|
3308
3308
|
**kwargs
|
|
3309
3309
|
):
|
|
3310
|
-
"""
|
|
3310
|
+
"""get_campaign # noqa: E501
|
|
3311
3311
|
|
|
3312
|
-
|
|
3312
|
+
Get the data for the specified campaign # noqa: E501
|
|
3313
3313
|
This method makes a synchronous HTTP request by default. To make an
|
|
3314
3314
|
asynchronous HTTP request, please pass async_req=True
|
|
3315
3315
|
|
|
3316
|
-
>>> thread = api.
|
|
3316
|
+
>>> thread = api.get_campaign(campaign_id, async_req=True)
|
|
3317
3317
|
>>> result = thread.get()
|
|
3318
3318
|
|
|
3319
3319
|
Args:
|
|
3320
|
-
campaign_id (
|
|
3320
|
+
campaign_id (str): Id of the campaign
|
|
3321
3321
|
|
|
3322
3322
|
Keyword Args:
|
|
3323
3323
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3352,7 +3352,7 @@ class CampaignApi(object):
|
|
|
3352
3352
|
async_req (bool): execute request asynchronously
|
|
3353
3353
|
|
|
3354
3354
|
Returns:
|
|
3355
|
-
|
|
3355
|
+
CampaignV23Q1Response
|
|
3356
3356
|
If the method is called asynchronously, returns the request
|
|
3357
3357
|
thread.
|
|
3358
3358
|
"""
|
|
@@ -3383,24 +3383,24 @@ class CampaignApi(object):
|
|
|
3383
3383
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3384
3384
|
kwargs['campaign_id'] = \
|
|
3385
3385
|
campaign_id
|
|
3386
|
-
return self.
|
|
3386
|
+
return self.get_campaign_endpoint.call_with_http_info(**kwargs)
|
|
3387
3387
|
|
|
3388
|
-
def
|
|
3388
|
+
def get_campaign_bundle_rules(
|
|
3389
3389
|
self,
|
|
3390
3390
|
campaign_id,
|
|
3391
3391
|
**kwargs
|
|
3392
3392
|
):
|
|
3393
|
-
"""
|
|
3393
|
+
"""get_campaign_bundle_rules # noqa: E501
|
|
3394
3394
|
|
|
3395
|
-
|
|
3395
|
+
Returns a list of all targeted bundles for a campaign. # noqa: E501
|
|
3396
3396
|
This method makes a synchronous HTTP request by default. To make an
|
|
3397
3397
|
asynchronous HTTP request, please pass async_req=True
|
|
3398
3398
|
|
|
3399
|
-
>>> thread = api.
|
|
3399
|
+
>>> thread = api.get_campaign_bundle_rules(campaign_id, async_req=True)
|
|
3400
3400
|
>>> result = thread.get()
|
|
3401
3401
|
|
|
3402
3402
|
Args:
|
|
3403
|
-
campaign_id (
|
|
3403
|
+
campaign_id (int): The campaign id
|
|
3404
3404
|
|
|
3405
3405
|
Keyword Args:
|
|
3406
3406
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3435,7 +3435,7 @@ class CampaignApi(object):
|
|
|
3435
3435
|
async_req (bool): execute request asynchronously
|
|
3436
3436
|
|
|
3437
3437
|
Returns:
|
|
3438
|
-
|
|
3438
|
+
ApiResponseOfTargetingEntity
|
|
3439
3439
|
If the method is called asynchronously, returns the request
|
|
3440
3440
|
thread.
|
|
3441
3441
|
"""
|
|
@@ -3466,24 +3466,24 @@ class CampaignApi(object):
|
|
|
3466
3466
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3467
3467
|
kwargs['campaign_id'] = \
|
|
3468
3468
|
campaign_id
|
|
3469
|
-
return self.
|
|
3469
|
+
return self.get_campaign_bundle_rules_endpoint.call_with_http_info(**kwargs)
|
|
3470
3470
|
|
|
3471
|
-
def
|
|
3471
|
+
def get_campaign_domain_rules(
|
|
3472
3472
|
self,
|
|
3473
|
-
|
|
3473
|
+
campaign_id,
|
|
3474
3474
|
**kwargs
|
|
3475
3475
|
):
|
|
3476
|
-
"""
|
|
3476
|
+
"""get_campaign_domain_rules # noqa: E501
|
|
3477
3477
|
|
|
3478
|
-
|
|
3478
|
+
Returns a list of all targeted domains for a campaign. # noqa: E501
|
|
3479
3479
|
This method makes a synchronous HTTP request by default. To make an
|
|
3480
3480
|
asynchronous HTTP request, please pass async_req=True
|
|
3481
3481
|
|
|
3482
|
-
>>> thread = api.
|
|
3482
|
+
>>> thread = api.get_campaign_domain_rules(campaign_id, async_req=True)
|
|
3483
3483
|
>>> result = thread.get()
|
|
3484
3484
|
|
|
3485
3485
|
Args:
|
|
3486
|
-
|
|
3486
|
+
campaign_id (int): The campaign id
|
|
3487
3487
|
|
|
3488
3488
|
Keyword Args:
|
|
3489
3489
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3518,7 +3518,7 @@ class CampaignApi(object):
|
|
|
3518
3518
|
async_req (bool): execute request asynchronously
|
|
3519
3519
|
|
|
3520
3520
|
Returns:
|
|
3521
|
-
|
|
3521
|
+
ApiResponseOfTargetingEntity
|
|
3522
3522
|
If the method is called asynchronously, returns the request
|
|
3523
3523
|
thread.
|
|
3524
3524
|
"""
|
|
@@ -3547,9 +3547,9 @@ class CampaignApi(object):
|
|
|
3547
3547
|
'_content_type')
|
|
3548
3548
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3549
3549
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3550
|
-
kwargs['
|
|
3551
|
-
|
|
3552
|
-
return self.
|
|
3550
|
+
kwargs['campaign_id'] = \
|
|
3551
|
+
campaign_id
|
|
3552
|
+
return self.get_campaign_domain_rules_endpoint.call_with_http_info(**kwargs)
|
|
3553
3553
|
|
|
3554
3554
|
def get_display_multipliers(
|
|
3555
3555
|
self,
|
|
@@ -3712,22 +3712,25 @@ class CampaignApi(object):
|
|
|
3712
3712
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3713
3713
|
return self.get_supply_vendor_list_endpoint.call_with_http_info(**kwargs)
|
|
3714
3714
|
|
|
3715
|
-
def
|
|
3715
|
+
def patch_ad_set_category_bids(
|
|
3716
3716
|
self,
|
|
3717
|
+
ad_set_id,
|
|
3717
3718
|
**kwargs
|
|
3718
3719
|
):
|
|
3719
|
-
"""
|
|
3720
|
+
"""patch_ad_set_category_bids # noqa: E501
|
|
3720
3721
|
|
|
3721
|
-
Patch a
|
|
3722
|
+
Patch Category Bids for one or more Categories in a single request. Partial success policy is followed. # noqa: E501
|
|
3722
3723
|
This method makes a synchronous HTTP request by default. To make an
|
|
3723
3724
|
asynchronous HTTP request, please pass async_req=True
|
|
3724
3725
|
|
|
3725
|
-
>>> thread = api.
|
|
3726
|
+
>>> thread = api.patch_ad_set_category_bids(ad_set_id, async_req=True)
|
|
3726
3727
|
>>> result = thread.get()
|
|
3727
3728
|
|
|
3729
|
+
Args:
|
|
3730
|
+
ad_set_id (str): Id of the Ad Set
|
|
3728
3731
|
|
|
3729
3732
|
Keyword Args:
|
|
3730
|
-
|
|
3733
|
+
patch_ad_set_category_bid_list_request (PatchAdSetCategoryBidListRequest): [optional]
|
|
3731
3734
|
_return_http_data_only (bool): response data without head status
|
|
3732
3735
|
code and headers. Default is True.
|
|
3733
3736
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3760,7 +3763,7 @@ class CampaignApi(object):
|
|
|
3760
3763
|
async_req (bool): execute request asynchronously
|
|
3761
3764
|
|
|
3762
3765
|
Returns:
|
|
3763
|
-
|
|
3766
|
+
PatchAdSetCategoryBidResultListResponse
|
|
3764
3767
|
If the method is called asynchronously, returns the request
|
|
3765
3768
|
thread.
|
|
3766
3769
|
"""
|
|
@@ -3789,24 +3792,26 @@ class CampaignApi(object):
|
|
|
3789
3792
|
'_content_type')
|
|
3790
3793
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3791
3794
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3792
|
-
|
|
3795
|
+
kwargs['ad_set_id'] = \
|
|
3796
|
+
ad_set_id
|
|
3797
|
+
return self.patch_ad_set_category_bids_endpoint.call_with_http_info(**kwargs)
|
|
3793
3798
|
|
|
3794
|
-
def
|
|
3799
|
+
def patch_ad_sets(
|
|
3795
3800
|
self,
|
|
3796
3801
|
**kwargs
|
|
3797
3802
|
):
|
|
3798
|
-
"""
|
|
3803
|
+
"""patch_ad_sets # noqa: E501
|
|
3799
3804
|
|
|
3800
|
-
Patch a list of
|
|
3805
|
+
Patch a list of AdSets. # noqa: E501
|
|
3801
3806
|
This method makes a synchronous HTTP request by default. To make an
|
|
3802
3807
|
asynchronous HTTP request, please pass async_req=True
|
|
3803
3808
|
|
|
3804
|
-
>>> thread = api.
|
|
3809
|
+
>>> thread = api.patch_ad_sets(async_req=True)
|
|
3805
3810
|
>>> result = thread.get()
|
|
3806
3811
|
|
|
3807
3812
|
|
|
3808
3813
|
Keyword Args:
|
|
3809
|
-
|
|
3814
|
+
requests_patch_ad_set_v24_q3 (RequestsPatchAdSetV24Q3): List of adsets to patch.. [optional]
|
|
3810
3815
|
_return_http_data_only (bool): response data without head status
|
|
3811
3816
|
code and headers. Default is True.
|
|
3812
3817
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3839,7 +3844,7 @@ class CampaignApi(object):
|
|
|
3839
3844
|
async_req (bool): execute request asynchronously
|
|
3840
3845
|
|
|
3841
3846
|
Returns:
|
|
3842
|
-
|
|
3847
|
+
ResponsesAdSetIdV24Q3
|
|
3843
3848
|
If the method is called asynchronously, returns the request
|
|
3844
3849
|
thread.
|
|
3845
3850
|
"""
|
|
@@ -3868,27 +3873,24 @@ class CampaignApi(object):
|
|
|
3868
3873
|
'_content_type')
|
|
3869
3874
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3870
3875
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3871
|
-
return self.
|
|
3876
|
+
return self.patch_ad_sets_endpoint.call_with_http_info(**kwargs)
|
|
3872
3877
|
|
|
3873
|
-
def
|
|
3878
|
+
def patch_campaigns(
|
|
3874
3879
|
self,
|
|
3875
|
-
ad_set_id,
|
|
3876
3880
|
**kwargs
|
|
3877
3881
|
):
|
|
3878
|
-
"""
|
|
3882
|
+
"""patch_campaigns # noqa: E501
|
|
3879
3883
|
|
|
3880
|
-
Patch
|
|
3884
|
+
Patch a list of Campaigns. # noqa: E501
|
|
3881
3885
|
This method makes a synchronous HTTP request by default. To make an
|
|
3882
3886
|
asynchronous HTTP request, please pass async_req=True
|
|
3883
3887
|
|
|
3884
|
-
>>> thread = api.
|
|
3888
|
+
>>> thread = api.patch_campaigns(async_req=True)
|
|
3885
3889
|
>>> result = thread.get()
|
|
3886
3890
|
|
|
3887
|
-
Args:
|
|
3888
|
-
ad_set_id (str): Id of the Ad Set
|
|
3889
3891
|
|
|
3890
3892
|
Keyword Args:
|
|
3891
|
-
|
|
3893
|
+
patch_campaign_list_request (PatchCampaignListRequest): List of campaigns to patch.. [optional]
|
|
3892
3894
|
_return_http_data_only (bool): response data without head status
|
|
3893
3895
|
code and headers. Default is True.
|
|
3894
3896
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3921,7 +3923,7 @@ class CampaignApi(object):
|
|
|
3921
3923
|
async_req (bool): execute request asynchronously
|
|
3922
3924
|
|
|
3923
3925
|
Returns:
|
|
3924
|
-
|
|
3926
|
+
PatchResultCampaignListResponse
|
|
3925
3927
|
If the method is called asynchronously, returns the request
|
|
3926
3928
|
thread.
|
|
3927
3929
|
"""
|
|
@@ -3950,9 +3952,7 @@ class CampaignApi(object):
|
|
|
3950
3952
|
'_content_type')
|
|
3951
3953
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3952
3954
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3953
|
-
kwargs
|
|
3954
|
-
ad_set_id
|
|
3955
|
-
return self.patch_category_bid_list_endpoint.call_with_http_info(**kwargs)
|
|
3955
|
+
return self.patch_campaigns_endpoint.call_with_http_info(**kwargs)
|
|
3956
3956
|
|
|
3957
3957
|
def patch_display_multipliers(
|
|
3958
3958
|
self,
|
|
@@ -4710,17 +4710,17 @@ class CampaignApi(object):
|
|
|
4710
4710
|
campaign_id
|
|
4711
4711
|
return self.put_campaign_domain_rules_endpoint.call_with_http_info(**kwargs)
|
|
4712
4712
|
|
|
4713
|
-
def
|
|
4713
|
+
def search_ad_sets(
|
|
4714
4714
|
self,
|
|
4715
4715
|
**kwargs
|
|
4716
4716
|
):
|
|
4717
|
-
"""
|
|
4717
|
+
"""search_ad_sets # noqa: E501
|
|
4718
4718
|
|
|
4719
4719
|
Search for ad sets # noqa: E501
|
|
4720
4720
|
This method makes a synchronous HTTP request by default. To make an
|
|
4721
4721
|
asynchronous HTTP request, please pass async_req=True
|
|
4722
4722
|
|
|
4723
|
-
>>> thread = api.
|
|
4723
|
+
>>> thread = api.search_ad_sets(async_req=True)
|
|
4724
4724
|
>>> result = thread.get()
|
|
4725
4725
|
|
|
4726
4726
|
|
|
@@ -4787,19 +4787,19 @@ class CampaignApi(object):
|
|
|
4787
4787
|
'_content_type')
|
|
4788
4788
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4789
4789
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4790
|
-
return self.
|
|
4790
|
+
return self.search_ad_sets_endpoint.call_with_http_info(**kwargs)
|
|
4791
4791
|
|
|
4792
|
-
def
|
|
4792
|
+
def search_campaigns(
|
|
4793
4793
|
self,
|
|
4794
4794
|
**kwargs
|
|
4795
4795
|
):
|
|
4796
|
-
"""
|
|
4796
|
+
"""search_campaigns # noqa: E501
|
|
4797
4797
|
|
|
4798
4798
|
Search for campaigns # noqa: E501
|
|
4799
4799
|
This method makes a synchronous HTTP request by default. To make an
|
|
4800
4800
|
asynchronous HTTP request, please pass async_req=True
|
|
4801
4801
|
|
|
4802
|
-
>>> thread = api.
|
|
4802
|
+
>>> thread = api.search_campaigns(async_req=True)
|
|
4803
4803
|
>>> result = thread.get()
|
|
4804
4804
|
|
|
4805
4805
|
|
|
@@ -4866,7 +4866,7 @@ class CampaignApi(object):
|
|
|
4866
4866
|
'_content_type')
|
|
4867
4867
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4868
4868
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4869
|
-
return self.
|
|
4869
|
+
return self.search_campaigns_endpoint.call_with_http_info(**kwargs)
|
|
4870
4870
|
|
|
4871
4871
|
def set_ad_set_targeting_deal_ids(
|
|
4872
4872
|
self,
|