criteo-api-marketingsolutions-sdk 2024.4.0.250409__py3-none-any.whl → 2024.4.0.250606__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-marketingsolutions-sdk might be problematic. Click here for more details.
- {criteo_api_marketingsolutions_sdk-2024.4.0.250409.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250606.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-2024.4.0.250409.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250606.dist-info}/RECORD +13 -58
- {criteo_api_marketingsolutions_sdk-2024.4.0.250409.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250606.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_v2024_04/__init__.py +1 -1
- criteo_api_marketingsolutions_v2024_04/api/campaign_api.py +0 -554
- criteo_api_marketingsolutions_v2024_04/api_client.py +1 -1
- criteo_api_marketingsolutions_v2024_04/configuration.py +1 -1
- criteo_api_marketingsolutions_v2024_04/model/automated_budget_configuration_v23_q1.py +0 -7
- criteo_api_marketingsolutions_v2024_04/model/budget_automation.py +6 -6
- criteo_api_marketingsolutions_v2024_04/model/budget_automation_configuration.py +1 -8
- criteo_api_marketingsolutions_v2024_04/model/patch_marketing_campaign_budget_automation.py +4 -4
- criteo_api_marketingsolutions_v2024_04/models/__init__.py +0 -45
- criteo_api_marketingsolutions_v2024_04/model/ad_set_delivery_limitations.py +0 -289
- criteo_api_marketingsolutions_v2024_04/model/ad_set_delivery_limitations_v23_q1.py +0 -289
- criteo_api_marketingsolutions_v2024_04/model/ad_set_frequency_capping.py +0 -274
- criteo_api_marketingsolutions_v2024_04/model/ad_set_frequency_capping_v23_q1.py +0 -283
- criteo_api_marketingsolutions_v2024_04/model/ad_set_geo_location.py +0 -277
- criteo_api_marketingsolutions_v2024_04/model/ad_set_geo_location_v23_q1.py +0 -277
- criteo_api_marketingsolutions_v2024_04/model/ad_set_search_filter_v23_q1.py +0 -271
- criteo_api_marketingsolutions_v2024_04/model/ad_set_search_request_v23_q1.py +0 -269
- criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting.py +0 -281
- criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting_rule.py +0 -272
- criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting_rule_v23_q1.py +0 -272
- criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting_v23_q1.py +0 -281
- criteo_api_marketingsolutions_v2024_04/model/automated_budget_configuration.py +0 -276
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set.py +0 -350
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set_bidding.py +0 -283
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set_budget.py +0 -309
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set_geo_location.py +0 -277
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set_request.py +0 -269
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set_resource.py +0 -273
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set_schedule.py +0 -273
- criteo_api_marketingsolutions_v2024_04/model/create_ad_set_targeting.py +0 -287
- criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule.py +0 -269
- criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule_v23_q1.py +0 -269
- criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule_v23_q1_value.py +0 -328
- criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule_value.py +0 -328
- criteo_api_marketingsolutions_v2024_04/model/nillable_date_time.py +0 -263
- criteo_api_marketingsolutions_v2024_04/model/patch_ad_set.py +0 -291
- criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_bidding.py +0 -269
- criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_budget.py +0 -313
- criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_scheduling.py +0 -273
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set.py +0 -322
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set_bidding.py +0 -302
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set_bidding_v23_q1.py +0 -285
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set_budget.py +0 -313
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set_budget_v23_q1.py +0 -313
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set_schedule.py +0 -299
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set_schedule_v23_q1.py +0 -299
- criteo_api_marketingsolutions_v2024_04/model/read_ad_set_v23_q1.py +0 -349
- criteo_api_marketingsolutions_v2024_04/model/read_model_read_ad_set.py +0 -279
- criteo_api_marketingsolutions_v2024_04/model/read_model_read_ad_set_v23_q1.py +0 -279
- criteo_api_marketingsolutions_v2024_04/model/requests_patch_ad_set.py +0 -269
- criteo_api_marketingsolutions_v2024_04/model/response_read_ad_set.py +0 -281
- criteo_api_marketingsolutions_v2024_04/model/response_read_ad_set_v23_q1.py +0 -281
- criteo_api_marketingsolutions_v2024_04/model/responses_read_ad_set_v23_q1.py +0 -282
- criteo_api_marketingsolutions_v2024_04/model/write_model_patch_ad_set.py +0 -277
- {criteo_api_marketingsolutions_sdk-2024.4.0.250409.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250606.dist-info}/top_level.txt +0 -0
|
@@ -25,11 +25,9 @@ from criteo_api_marketingsolutions_v2024_04.model.ad_set_audience_link_entity_v1
|
|
|
25
25
|
from criteo_api_marketingsolutions_v2024_04.model.ad_set_audience_link_input_entity_v1 import AdSetAudienceLinkInputEntityV1
|
|
26
26
|
from criteo_api_marketingsolutions_v2024_04.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse
|
|
27
27
|
from criteo_api_marketingsolutions_v2024_04.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse
|
|
28
|
-
from criteo_api_marketingsolutions_v2024_04.model.ad_set_search_request_v23_q1 import AdSetSearchRequestV23Q1
|
|
29
28
|
from criteo_api_marketingsolutions_v2024_04.model.campaign_search_request_v23_q1 import CampaignSearchRequestV23Q1
|
|
30
29
|
from criteo_api_marketingsolutions_v2024_04.model.campaign_v23_q1_list_response import CampaignV23Q1ListResponse
|
|
31
30
|
from criteo_api_marketingsolutions_v2024_04.model.campaign_v23_q1_response import CampaignV23Q1Response
|
|
32
|
-
from criteo_api_marketingsolutions_v2024_04.model.create_ad_set_request import CreateAdSetRequest
|
|
33
31
|
from criteo_api_marketingsolutions_v2024_04.model.create_campaign_request import CreateCampaignRequest
|
|
34
32
|
from criteo_api_marketingsolutions_v2024_04.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest
|
|
35
33
|
from criteo_api_marketingsolutions_v2024_04.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse
|
|
@@ -38,11 +36,7 @@ from criteo_api_marketingsolutions_v2024_04.model.patch_ad_set_display_multiplie
|
|
|
38
36
|
from criteo_api_marketingsolutions_v2024_04.model.patch_campaign_list_request import PatchCampaignListRequest
|
|
39
37
|
from criteo_api_marketingsolutions_v2024_04.model.patch_result_campaign_list_response import PatchResultCampaignListResponse
|
|
40
38
|
from criteo_api_marketingsolutions_v2024_04.model.requests_ad_set_id import RequestsAdSetId
|
|
41
|
-
from criteo_api_marketingsolutions_v2024_04.model.requests_patch_ad_set import RequestsPatchAdSet
|
|
42
|
-
from criteo_api_marketingsolutions_v2024_04.model.response_read_ad_set import ResponseReadAdSet
|
|
43
|
-
from criteo_api_marketingsolutions_v2024_04.model.response_read_ad_set_v23_q1 import ResponseReadAdSetV23Q1
|
|
44
39
|
from criteo_api_marketingsolutions_v2024_04.model.responses_ad_set_id import ResponsesAdSetId
|
|
45
|
-
from criteo_api_marketingsolutions_v2024_04.model.responses_read_ad_set_v23_q1 import ResponsesReadAdSetV23Q1
|
|
46
40
|
|
|
47
41
|
|
|
48
42
|
class CampaignApi(object):
|
|
@@ -56,64 +50,6 @@ class CampaignApi(object):
|
|
|
56
50
|
if api_client is None:
|
|
57
51
|
api_client = ApiClient()
|
|
58
52
|
self.api_client = api_client
|
|
59
|
-
self.create_ad_set_endpoint = _Endpoint(
|
|
60
|
-
settings={
|
|
61
|
-
'response_type': (ResponseReadAdSet,),
|
|
62
|
-
'auth': [
|
|
63
|
-
'oauth',
|
|
64
|
-
'oauth'
|
|
65
|
-
],
|
|
66
|
-
'endpoint_path': '/2024-04/marketing-solutions/ad-sets',
|
|
67
|
-
'operation_id': 'create_ad_set',
|
|
68
|
-
'http_method': 'POST',
|
|
69
|
-
'servers': None,
|
|
70
|
-
},
|
|
71
|
-
params_map={
|
|
72
|
-
'all': [
|
|
73
|
-
'create_ad_set_request',
|
|
74
|
-
],
|
|
75
|
-
'required': [
|
|
76
|
-
'create_ad_set_request',
|
|
77
|
-
],
|
|
78
|
-
'nullable': [
|
|
79
|
-
],
|
|
80
|
-
'enum': [
|
|
81
|
-
],
|
|
82
|
-
'validation': [
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
root_map={
|
|
86
|
-
'validations': {
|
|
87
|
-
},
|
|
88
|
-
'allowed_values': {
|
|
89
|
-
},
|
|
90
|
-
'openapi_types': {
|
|
91
|
-
'create_ad_set_request':
|
|
92
|
-
(CreateAdSetRequest,),
|
|
93
|
-
},
|
|
94
|
-
'attribute_map': {
|
|
95
|
-
},
|
|
96
|
-
'location_map': {
|
|
97
|
-
'create_ad_set_request': 'body',
|
|
98
|
-
},
|
|
99
|
-
'collection_format_map': {
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
headers_map={
|
|
103
|
-
'accept': [
|
|
104
|
-
'text/plain',
|
|
105
|
-
'application/json',
|
|
106
|
-
'text/json'
|
|
107
|
-
],
|
|
108
|
-
'content_type': [
|
|
109
|
-
'application/json-patch+json',
|
|
110
|
-
'application/json',
|
|
111
|
-
'text/json',
|
|
112
|
-
'application/*+json'
|
|
113
|
-
]
|
|
114
|
-
},
|
|
115
|
-
api_client=api_client
|
|
116
|
-
)
|
|
117
53
|
self.create_campaign_endpoint = _Endpoint(
|
|
118
54
|
settings={
|
|
119
55
|
'response_type': (CampaignV23Q1Response,),
|
|
@@ -172,60 +108,6 @@ class CampaignApi(object):
|
|
|
172
108
|
},
|
|
173
109
|
api_client=api_client
|
|
174
110
|
)
|
|
175
|
-
self.get_ad_set_v23_q1_endpoint = _Endpoint(
|
|
176
|
-
settings={
|
|
177
|
-
'response_type': (ResponseReadAdSetV23Q1,),
|
|
178
|
-
'auth': [
|
|
179
|
-
'oauth',
|
|
180
|
-
'oauth'
|
|
181
|
-
],
|
|
182
|
-
'endpoint_path': '/2024-04/marketing-solutions/ad-sets/{ad-set-id}',
|
|
183
|
-
'operation_id': 'get_ad_set_v23_q1',
|
|
184
|
-
'http_method': 'GET',
|
|
185
|
-
'servers': None,
|
|
186
|
-
},
|
|
187
|
-
params_map={
|
|
188
|
-
'all': [
|
|
189
|
-
'ad_set_id',
|
|
190
|
-
],
|
|
191
|
-
'required': [
|
|
192
|
-
'ad_set_id',
|
|
193
|
-
],
|
|
194
|
-
'nullable': [
|
|
195
|
-
],
|
|
196
|
-
'enum': [
|
|
197
|
-
],
|
|
198
|
-
'validation': [
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
root_map={
|
|
202
|
-
'validations': {
|
|
203
|
-
},
|
|
204
|
-
'allowed_values': {
|
|
205
|
-
},
|
|
206
|
-
'openapi_types': {
|
|
207
|
-
'ad_set_id':
|
|
208
|
-
(str,),
|
|
209
|
-
},
|
|
210
|
-
'attribute_map': {
|
|
211
|
-
'ad_set_id': 'ad-set-id',
|
|
212
|
-
},
|
|
213
|
-
'location_map': {
|
|
214
|
-
'ad_set_id': 'path',
|
|
215
|
-
},
|
|
216
|
-
'collection_format_map': {
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
headers_map={
|
|
220
|
-
'accept': [
|
|
221
|
-
'text/plain',
|
|
222
|
-
'application/json',
|
|
223
|
-
'text/json'
|
|
224
|
-
],
|
|
225
|
-
'content_type': [],
|
|
226
|
-
},
|
|
227
|
-
api_client=api_client
|
|
228
|
-
)
|
|
229
111
|
self.get_campaign_v23_q1_endpoint = _Endpoint(
|
|
230
112
|
settings={
|
|
231
113
|
'response_type': (CampaignV23Q1Response,),
|
|
@@ -388,62 +270,6 @@ class CampaignApi(object):
|
|
|
388
270
|
},
|
|
389
271
|
api_client=api_client
|
|
390
272
|
)
|
|
391
|
-
self.patch_ad_sets_endpoint = _Endpoint(
|
|
392
|
-
settings={
|
|
393
|
-
'response_type': (ResponsesAdSetId,),
|
|
394
|
-
'auth': [
|
|
395
|
-
'oauth',
|
|
396
|
-
'oauth'
|
|
397
|
-
],
|
|
398
|
-
'endpoint_path': '/2024-04/marketing-solutions/ad-sets',
|
|
399
|
-
'operation_id': 'patch_ad_sets',
|
|
400
|
-
'http_method': 'PATCH',
|
|
401
|
-
'servers': None,
|
|
402
|
-
},
|
|
403
|
-
params_map={
|
|
404
|
-
'all': [
|
|
405
|
-
'requests_patch_ad_set',
|
|
406
|
-
],
|
|
407
|
-
'required': [],
|
|
408
|
-
'nullable': [
|
|
409
|
-
],
|
|
410
|
-
'enum': [
|
|
411
|
-
],
|
|
412
|
-
'validation': [
|
|
413
|
-
]
|
|
414
|
-
},
|
|
415
|
-
root_map={
|
|
416
|
-
'validations': {
|
|
417
|
-
},
|
|
418
|
-
'allowed_values': {
|
|
419
|
-
},
|
|
420
|
-
'openapi_types': {
|
|
421
|
-
'requests_patch_ad_set':
|
|
422
|
-
(RequestsPatchAdSet,),
|
|
423
|
-
},
|
|
424
|
-
'attribute_map': {
|
|
425
|
-
},
|
|
426
|
-
'location_map': {
|
|
427
|
-
'requests_patch_ad_set': 'body',
|
|
428
|
-
},
|
|
429
|
-
'collection_format_map': {
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
headers_map={
|
|
433
|
-
'accept': [
|
|
434
|
-
'text/plain',
|
|
435
|
-
'application/json',
|
|
436
|
-
'text/json'
|
|
437
|
-
],
|
|
438
|
-
'content_type': [
|
|
439
|
-
'application/json-patch+json',
|
|
440
|
-
'application/json',
|
|
441
|
-
'text/json',
|
|
442
|
-
'application/*+json'
|
|
443
|
-
]
|
|
444
|
-
},
|
|
445
|
-
api_client=api_client
|
|
446
|
-
)
|
|
447
273
|
self.patch_campaigns_endpoint = _Endpoint(
|
|
448
274
|
settings={
|
|
449
275
|
'response_type': (PatchResultCampaignListResponse,),
|
|
@@ -626,62 +452,6 @@ class CampaignApi(object):
|
|
|
626
452
|
},
|
|
627
453
|
api_client=api_client
|
|
628
454
|
)
|
|
629
|
-
self.search_ad_sets_v23_q1_endpoint = _Endpoint(
|
|
630
|
-
settings={
|
|
631
|
-
'response_type': (ResponsesReadAdSetV23Q1,),
|
|
632
|
-
'auth': [
|
|
633
|
-
'oauth',
|
|
634
|
-
'oauth'
|
|
635
|
-
],
|
|
636
|
-
'endpoint_path': '/2024-04/marketing-solutions/ad-sets/search',
|
|
637
|
-
'operation_id': 'search_ad_sets_v23_q1',
|
|
638
|
-
'http_method': 'POST',
|
|
639
|
-
'servers': None,
|
|
640
|
-
},
|
|
641
|
-
params_map={
|
|
642
|
-
'all': [
|
|
643
|
-
'ad_set_search_request_v23_q1',
|
|
644
|
-
],
|
|
645
|
-
'required': [],
|
|
646
|
-
'nullable': [
|
|
647
|
-
],
|
|
648
|
-
'enum': [
|
|
649
|
-
],
|
|
650
|
-
'validation': [
|
|
651
|
-
]
|
|
652
|
-
},
|
|
653
|
-
root_map={
|
|
654
|
-
'validations': {
|
|
655
|
-
},
|
|
656
|
-
'allowed_values': {
|
|
657
|
-
},
|
|
658
|
-
'openapi_types': {
|
|
659
|
-
'ad_set_search_request_v23_q1':
|
|
660
|
-
(AdSetSearchRequestV23Q1,),
|
|
661
|
-
},
|
|
662
|
-
'attribute_map': {
|
|
663
|
-
},
|
|
664
|
-
'location_map': {
|
|
665
|
-
'ad_set_search_request_v23_q1': 'body',
|
|
666
|
-
},
|
|
667
|
-
'collection_format_map': {
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
headers_map={
|
|
671
|
-
'accept': [
|
|
672
|
-
'text/plain',
|
|
673
|
-
'application/json',
|
|
674
|
-
'text/json'
|
|
675
|
-
],
|
|
676
|
-
'content_type': [
|
|
677
|
-
'application/json-patch+json',
|
|
678
|
-
'application/json',
|
|
679
|
-
'text/json',
|
|
680
|
-
'application/*+json'
|
|
681
|
-
]
|
|
682
|
-
},
|
|
683
|
-
api_client=api_client
|
|
684
|
-
)
|
|
685
455
|
self.search_campaigns_v23_q1_endpoint = _Endpoint(
|
|
686
456
|
settings={
|
|
687
457
|
'response_type': (CampaignV23Q1ListResponse,),
|
|
@@ -915,89 +685,6 @@ class CampaignApi(object):
|
|
|
915
685
|
api_client=api_client
|
|
916
686
|
)
|
|
917
687
|
|
|
918
|
-
def create_ad_set(
|
|
919
|
-
self,
|
|
920
|
-
create_ad_set_request,
|
|
921
|
-
**kwargs
|
|
922
|
-
):
|
|
923
|
-
"""create_ad_set # noqa: E501
|
|
924
|
-
|
|
925
|
-
Create the specified ad set # noqa: E501
|
|
926
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
927
|
-
asynchronous HTTP request, please pass async_req=True
|
|
928
|
-
|
|
929
|
-
>>> thread = api.create_ad_set(create_ad_set_request, async_req=True)
|
|
930
|
-
>>> result = thread.get()
|
|
931
|
-
|
|
932
|
-
Args:
|
|
933
|
-
create_ad_set_request (CreateAdSetRequest): the ad sets to create
|
|
934
|
-
|
|
935
|
-
Keyword Args:
|
|
936
|
-
_return_http_data_only (bool): response data without head status
|
|
937
|
-
code and headers. Default is True.
|
|
938
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
939
|
-
will be returned without reading/decoding response data.
|
|
940
|
-
Default is True.
|
|
941
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
942
|
-
one number provided, it will be total request timeout. It can also
|
|
943
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
944
|
-
Default is None.
|
|
945
|
-
_check_input_type (bool): specifies if type checking
|
|
946
|
-
should be done one the data sent to the server.
|
|
947
|
-
Default is True.
|
|
948
|
-
_check_return_type (bool): specifies if type checking
|
|
949
|
-
should be done one the data received from the server.
|
|
950
|
-
Default is True.
|
|
951
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
952
|
-
are serialized names, as specified in the OpenAPI document.
|
|
953
|
-
False if the variable names in the input data
|
|
954
|
-
are pythonic names, e.g. snake case (default)
|
|
955
|
-
_content_type (str/None): force body content-type.
|
|
956
|
-
Default is None and content-type will be predicted by allowed
|
|
957
|
-
content-types and body.
|
|
958
|
-
_host_index (int/None): specifies the index of the server
|
|
959
|
-
that we want to use.
|
|
960
|
-
Default is read from the configuration.
|
|
961
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
962
|
-
request; this effectively ignores the authentication
|
|
963
|
-
in the spec for a single request.
|
|
964
|
-
Default is None
|
|
965
|
-
async_req (bool): execute request asynchronously
|
|
966
|
-
|
|
967
|
-
Returns:
|
|
968
|
-
ResponseReadAdSet
|
|
969
|
-
If the method is called asynchronously, returns the request
|
|
970
|
-
thread.
|
|
971
|
-
"""
|
|
972
|
-
kwargs['async_req'] = kwargs.get(
|
|
973
|
-
'async_req', False
|
|
974
|
-
)
|
|
975
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
976
|
-
'_return_http_data_only', True
|
|
977
|
-
)
|
|
978
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
979
|
-
'_preload_content', True
|
|
980
|
-
)
|
|
981
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
982
|
-
'_request_timeout', None
|
|
983
|
-
)
|
|
984
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
985
|
-
'_check_input_type', True
|
|
986
|
-
)
|
|
987
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
988
|
-
'_check_return_type', True
|
|
989
|
-
)
|
|
990
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
991
|
-
'_spec_property_naming', False
|
|
992
|
-
)
|
|
993
|
-
kwargs['_content_type'] = kwargs.get(
|
|
994
|
-
'_content_type')
|
|
995
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
996
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
997
|
-
kwargs['create_ad_set_request'] = \
|
|
998
|
-
create_ad_set_request
|
|
999
|
-
return self.create_ad_set_endpoint.call_with_http_info(**kwargs)
|
|
1000
|
-
|
|
1001
688
|
def create_campaign(
|
|
1002
689
|
self,
|
|
1003
690
|
create_campaign_request,
|
|
@@ -1081,89 +768,6 @@ class CampaignApi(object):
|
|
|
1081
768
|
create_campaign_request
|
|
1082
769
|
return self.create_campaign_endpoint.call_with_http_info(**kwargs)
|
|
1083
770
|
|
|
1084
|
-
def get_ad_set_v23_q1(
|
|
1085
|
-
self,
|
|
1086
|
-
ad_set_id,
|
|
1087
|
-
**kwargs
|
|
1088
|
-
):
|
|
1089
|
-
"""get_ad_set_v23_q1 # noqa: E501
|
|
1090
|
-
|
|
1091
|
-
Get the data for the specified ad set # noqa: E501
|
|
1092
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1093
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1094
|
-
|
|
1095
|
-
>>> thread = api.get_ad_set_v23_q1(ad_set_id, async_req=True)
|
|
1096
|
-
>>> result = thread.get()
|
|
1097
|
-
|
|
1098
|
-
Args:
|
|
1099
|
-
ad_set_id (str): Id of the ad set
|
|
1100
|
-
|
|
1101
|
-
Keyword Args:
|
|
1102
|
-
_return_http_data_only (bool): response data without head status
|
|
1103
|
-
code and headers. Default is True.
|
|
1104
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1105
|
-
will be returned without reading/decoding response data.
|
|
1106
|
-
Default is True.
|
|
1107
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1108
|
-
one number provided, it will be total request timeout. It can also
|
|
1109
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
1110
|
-
Default is None.
|
|
1111
|
-
_check_input_type (bool): specifies if type checking
|
|
1112
|
-
should be done one the data sent to the server.
|
|
1113
|
-
Default is True.
|
|
1114
|
-
_check_return_type (bool): specifies if type checking
|
|
1115
|
-
should be done one the data received from the server.
|
|
1116
|
-
Default is True.
|
|
1117
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
1118
|
-
are serialized names, as specified in the OpenAPI document.
|
|
1119
|
-
False if the variable names in the input data
|
|
1120
|
-
are pythonic names, e.g. snake case (default)
|
|
1121
|
-
_content_type (str/None): force body content-type.
|
|
1122
|
-
Default is None and content-type will be predicted by allowed
|
|
1123
|
-
content-types and body.
|
|
1124
|
-
_host_index (int/None): specifies the index of the server
|
|
1125
|
-
that we want to use.
|
|
1126
|
-
Default is read from the configuration.
|
|
1127
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
1128
|
-
request; this effectively ignores the authentication
|
|
1129
|
-
in the spec for a single request.
|
|
1130
|
-
Default is None
|
|
1131
|
-
async_req (bool): execute request asynchronously
|
|
1132
|
-
|
|
1133
|
-
Returns:
|
|
1134
|
-
ResponseReadAdSetV23Q1
|
|
1135
|
-
If the method is called asynchronously, returns the request
|
|
1136
|
-
thread.
|
|
1137
|
-
"""
|
|
1138
|
-
kwargs['async_req'] = kwargs.get(
|
|
1139
|
-
'async_req', False
|
|
1140
|
-
)
|
|
1141
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1142
|
-
'_return_http_data_only', True
|
|
1143
|
-
)
|
|
1144
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
1145
|
-
'_preload_content', True
|
|
1146
|
-
)
|
|
1147
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
1148
|
-
'_request_timeout', None
|
|
1149
|
-
)
|
|
1150
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
1151
|
-
'_check_input_type', True
|
|
1152
|
-
)
|
|
1153
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
1154
|
-
'_check_return_type', True
|
|
1155
|
-
)
|
|
1156
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1157
|
-
'_spec_property_naming', False
|
|
1158
|
-
)
|
|
1159
|
-
kwargs['_content_type'] = kwargs.get(
|
|
1160
|
-
'_content_type')
|
|
1161
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1162
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1163
|
-
kwargs['ad_set_id'] = \
|
|
1164
|
-
ad_set_id
|
|
1165
|
-
return self.get_ad_set_v23_q1_endpoint.call_with_http_info(**kwargs)
|
|
1166
|
-
|
|
1167
771
|
def get_campaign_v23_q1(
|
|
1168
772
|
self,
|
|
1169
773
|
campaign_id,
|
|
@@ -1413,85 +1017,6 @@ class CampaignApi(object):
|
|
|
1413
1017
|
ad_set_id
|
|
1414
1018
|
return self.get_display_multipliers_endpoint.call_with_http_info(**kwargs)
|
|
1415
1019
|
|
|
1416
|
-
def patch_ad_sets(
|
|
1417
|
-
self,
|
|
1418
|
-
**kwargs
|
|
1419
|
-
):
|
|
1420
|
-
"""patch_ad_sets # noqa: E501
|
|
1421
|
-
|
|
1422
|
-
Patch a list of AdSets. # noqa: E501
|
|
1423
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1424
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1425
|
-
|
|
1426
|
-
>>> thread = api.patch_ad_sets(async_req=True)
|
|
1427
|
-
>>> result = thread.get()
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
Keyword Args:
|
|
1431
|
-
requests_patch_ad_set (RequestsPatchAdSet): List of adsets to patch.. [optional]
|
|
1432
|
-
_return_http_data_only (bool): response data without head status
|
|
1433
|
-
code and headers. Default is True.
|
|
1434
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1435
|
-
will be returned without reading/decoding response data.
|
|
1436
|
-
Default is True.
|
|
1437
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1438
|
-
one number provided, it will be total request timeout. It can also
|
|
1439
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
1440
|
-
Default is None.
|
|
1441
|
-
_check_input_type (bool): specifies if type checking
|
|
1442
|
-
should be done one the data sent to the server.
|
|
1443
|
-
Default is True.
|
|
1444
|
-
_check_return_type (bool): specifies if type checking
|
|
1445
|
-
should be done one the data received from the server.
|
|
1446
|
-
Default is True.
|
|
1447
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
1448
|
-
are serialized names, as specified in the OpenAPI document.
|
|
1449
|
-
False if the variable names in the input data
|
|
1450
|
-
are pythonic names, e.g. snake case (default)
|
|
1451
|
-
_content_type (str/None): force body content-type.
|
|
1452
|
-
Default is None and content-type will be predicted by allowed
|
|
1453
|
-
content-types and body.
|
|
1454
|
-
_host_index (int/None): specifies the index of the server
|
|
1455
|
-
that we want to use.
|
|
1456
|
-
Default is read from the configuration.
|
|
1457
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
1458
|
-
request; this effectively ignores the authentication
|
|
1459
|
-
in the spec for a single request.
|
|
1460
|
-
Default is None
|
|
1461
|
-
async_req (bool): execute request asynchronously
|
|
1462
|
-
|
|
1463
|
-
Returns:
|
|
1464
|
-
ResponsesAdSetId
|
|
1465
|
-
If the method is called asynchronously, returns the request
|
|
1466
|
-
thread.
|
|
1467
|
-
"""
|
|
1468
|
-
kwargs['async_req'] = kwargs.get(
|
|
1469
|
-
'async_req', False
|
|
1470
|
-
)
|
|
1471
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1472
|
-
'_return_http_data_only', True
|
|
1473
|
-
)
|
|
1474
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
1475
|
-
'_preload_content', True
|
|
1476
|
-
)
|
|
1477
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
1478
|
-
'_request_timeout', None
|
|
1479
|
-
)
|
|
1480
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
1481
|
-
'_check_input_type', True
|
|
1482
|
-
)
|
|
1483
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
1484
|
-
'_check_return_type', True
|
|
1485
|
-
)
|
|
1486
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1487
|
-
'_spec_property_naming', False
|
|
1488
|
-
)
|
|
1489
|
-
kwargs['_content_type'] = kwargs.get(
|
|
1490
|
-
'_content_type')
|
|
1491
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1492
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1493
|
-
return self.patch_ad_sets_endpoint.call_with_http_info(**kwargs)
|
|
1494
|
-
|
|
1495
1020
|
def patch_campaigns(
|
|
1496
1021
|
self,
|
|
1497
1022
|
**kwargs
|
|
@@ -1739,85 +1264,6 @@ class CampaignApi(object):
|
|
|
1739
1264
|
ad_set_id
|
|
1740
1265
|
return self.patch_display_multipliers_endpoint.call_with_http_info(**kwargs)
|
|
1741
1266
|
|
|
1742
|
-
def search_ad_sets_v23_q1(
|
|
1743
|
-
self,
|
|
1744
|
-
**kwargs
|
|
1745
|
-
):
|
|
1746
|
-
"""search_ad_sets_v23_q1 # noqa: E501
|
|
1747
|
-
|
|
1748
|
-
Search for ad sets # noqa: E501
|
|
1749
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
1750
|
-
asynchronous HTTP request, please pass async_req=True
|
|
1751
|
-
|
|
1752
|
-
>>> thread = api.search_ad_sets_v23_q1(async_req=True)
|
|
1753
|
-
>>> result = thread.get()
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
Keyword Args:
|
|
1757
|
-
ad_set_search_request_v23_q1 (AdSetSearchRequestV23Q1): [optional]
|
|
1758
|
-
_return_http_data_only (bool): response data without head status
|
|
1759
|
-
code and headers. Default is True.
|
|
1760
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1761
|
-
will be returned without reading/decoding response data.
|
|
1762
|
-
Default is True.
|
|
1763
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1764
|
-
one number provided, it will be total request timeout. It can also
|
|
1765
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
1766
|
-
Default is None.
|
|
1767
|
-
_check_input_type (bool): specifies if type checking
|
|
1768
|
-
should be done one the data sent to the server.
|
|
1769
|
-
Default is True.
|
|
1770
|
-
_check_return_type (bool): specifies if type checking
|
|
1771
|
-
should be done one the data received from the server.
|
|
1772
|
-
Default is True.
|
|
1773
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
1774
|
-
are serialized names, as specified in the OpenAPI document.
|
|
1775
|
-
False if the variable names in the input data
|
|
1776
|
-
are pythonic names, e.g. snake case (default)
|
|
1777
|
-
_content_type (str/None): force body content-type.
|
|
1778
|
-
Default is None and content-type will be predicted by allowed
|
|
1779
|
-
content-types and body.
|
|
1780
|
-
_host_index (int/None): specifies the index of the server
|
|
1781
|
-
that we want to use.
|
|
1782
|
-
Default is read from the configuration.
|
|
1783
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
1784
|
-
request; this effectively ignores the authentication
|
|
1785
|
-
in the spec for a single request.
|
|
1786
|
-
Default is None
|
|
1787
|
-
async_req (bool): execute request asynchronously
|
|
1788
|
-
|
|
1789
|
-
Returns:
|
|
1790
|
-
ResponsesReadAdSetV23Q1
|
|
1791
|
-
If the method is called asynchronously, returns the request
|
|
1792
|
-
thread.
|
|
1793
|
-
"""
|
|
1794
|
-
kwargs['async_req'] = kwargs.get(
|
|
1795
|
-
'async_req', False
|
|
1796
|
-
)
|
|
1797
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1798
|
-
'_return_http_data_only', True
|
|
1799
|
-
)
|
|
1800
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
1801
|
-
'_preload_content', True
|
|
1802
|
-
)
|
|
1803
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
1804
|
-
'_request_timeout', None
|
|
1805
|
-
)
|
|
1806
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
1807
|
-
'_check_input_type', True
|
|
1808
|
-
)
|
|
1809
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
1810
|
-
'_check_return_type', True
|
|
1811
|
-
)
|
|
1812
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1813
|
-
'_spec_property_naming', False
|
|
1814
|
-
)
|
|
1815
|
-
kwargs['_content_type'] = kwargs.get(
|
|
1816
|
-
'_content_type')
|
|
1817
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1818
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1819
|
-
return self.search_ad_sets_v23_q1_endpoint.call_with_http_info(**kwargs)
|
|
1820
|
-
|
|
1821
1267
|
def search_campaigns_v23_q1(
|
|
1822
1268
|
self,
|
|
1823
1269
|
**kwargs
|
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/2024.04.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2024.04.0.250606/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: 2024-04\n"\
|
|
398
|
-
"SDK Package Version: 2024.04.0.
|
|
398
|
+
"SDK Package Version: 2024.04.0.250606".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -57,15 +57,8 @@ class AutomatedBudgetConfigurationV23Q1(ModelNormal):
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('ad_set_optimization_objective',): {
|
|
59
59
|
'None': None,
|
|
60
|
-
'CUSTOMACTION': "customAction",
|
|
61
|
-
'CLICKS': "clicks",
|
|
62
60
|
'CONVERSIONS': "conversions",
|
|
63
|
-
'DISPLAYS': "displays",
|
|
64
|
-
'APPPROMOTION': "appPromotion",
|
|
65
61
|
'REVENUE': "revenue",
|
|
66
|
-
'STORECONVERSIONS': "storeConversions",
|
|
67
|
-
'VALUE': "value",
|
|
68
|
-
'REACH': "reach",
|
|
69
62
|
'VISITS': "visits",
|
|
70
63
|
'VIDEOVIEWS': "videoViews",
|
|
71
64
|
},
|