criteo-api-marketingsolutions-sdk 0.0.241029__py3-none-any.whl → 0.0.250129__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-marketingsolutions-sdk might be problematic. Click here for more details.
- criteo_api_marketingsolutions_preview/__init__.py +1 -1
- criteo_api_marketingsolutions_preview/api/campaign_api.py +0 -877
- criteo_api_marketingsolutions_preview/api/creative_api.py +89 -89
- criteo_api_marketingsolutions_preview/api_client.py +1 -1
- criteo_api_marketingsolutions_preview/configuration.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +0 -10
- criteo_api_marketingsolutions_preview/model/adaptive_write_attributes.py +0 -4
- criteo_api_marketingsolutions_preview/model/coupon.py +0 -2
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes.py +0 -4
- criteo_api_marketingsolutions_preview/model/create_ad_set_attribution_configuration_v24_q3.py +284 -0
- criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py +6 -0
- criteo_api_marketingsolutions_preview/model/create_coupon.py +0 -2
- criteo_api_marketingsolutions_preview/model/create_image_slide.py +0 -2
- criteo_api_marketingsolutions_preview/model/dynamic_attributes.py +0 -4
- criteo_api_marketingsolutions_preview/model/dynamic_write_attributes.py +6 -6
- criteo_api_marketingsolutions_preview/model/html_tag_attributes.py +0 -2
- criteo_api_marketingsolutions_preview/model/html_tag_write_attributes.py +0 -2
- criteo_api_marketingsolutions_preview/model/image_attributes.py +0 -2
- criteo_api_marketingsolutions_preview/model/image_set.py +0 -2
- criteo_api_marketingsolutions_preview/model/image_slide.py +0 -2
- criteo_api_marketingsolutions_preview/model/json_report_rows.py +3 -3
- criteo_api_marketingsolutions_preview/model/nillable_lookback_window_v24_q3.py +271 -0
- criteo_api_marketingsolutions_preview/model/patch_ad_set_attribution_configuration_v24_q3.py +282 -0
- criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py +6 -0
- criteo_api_marketingsolutions_preview/model/read_ad_set_attribution_configuration_v24_q3.py +284 -0
- criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py +6 -0
- criteo_api_marketingsolutions_preview/model/report_ok_response.py +18 -18
- criteo_api_marketingsolutions_preview/model/{creative_response.py → resource_collection_outcome_of_ad.py} +8 -12
- criteo_api_marketingsolutions_preview/model/{ad_list_response.py → resource_collection_outcome_of_coupon.py} +8 -14
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_creative.py +281 -0
- criteo_api_marketingsolutions_preview/model/{ad_write_request.py → resource_input_of_ad_write.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{create_coupon_request.py → resource_input_of_create_coupon.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{creative_write_request.py → resource_input_of_creative_write.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{update_coupon_request.py → resource_input_of_update_coupon.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{ad_resource.py → resource_of_ad.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{ad_write_resource.py → resource_of_ad_write.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{coupon_resource.py → resource_of_coupon.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{coupon_supported_sizes_resource.py → resource_of_coupon_supported_sizes.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{create_coupon_resource.py → resource_of_create_coupon.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{creative_resource.py → resource_of_creative.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{creative_write_resource.py → resource_of_creative_write.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{update_coupon_resource.py → resource_of_update_coupon.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{ad_response.py → resource_outcome_of_ad.py} +8 -12
- criteo_api_marketingsolutions_preview/model/{coupon_response.py → resource_outcome_of_coupon.py} +8 -12
- criteo_api_marketingsolutions_preview/model/{coupon_list_response.py → resource_outcome_of_coupon_supported_sizes.py} +8 -14
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_creative.py +281 -0
- criteo_api_marketingsolutions_preview/models/__init__.py +23 -31
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/RECORD +51 -59
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes_response.py +0 -285
- criteo_api_marketingsolutions_preview/model/creative_list_response.py +0 -287
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_response.py +0 -279
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_response_data.py +0 -287
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_rule.py +0 -275
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_segment.py +0 -320
- criteo_api_marketingsolutions_preview/model/oci_targeting_node.py +0 -277
- criteo_api_marketingsolutions_preview/model/oci_targeting_response.py +0 -279
- criteo_api_marketingsolutions_preview/model/oci_targeting_response_data.py +0 -287
- criteo_api_marketingsolutions_preview/model/oci_targeting_rule.py +0 -275
- criteo_api_marketingsolutions_preview/model/target.py +0 -274
- criteo_api_marketingsolutions_preview/model/target_type.py +0 -290
- criteo_api_marketingsolutions_preview/model/targeting_error_model.py +0 -299
- criteo_api_marketingsolutions_preview/model/targeting_operator.py +0 -292
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -40,10 +40,6 @@ from criteo_api_marketingsolutions_preview.model.campaign_v23_q1_list_response i
|
|
|
40
40
|
from criteo_api_marketingsolutions_preview.model.campaign_v23_q1_response import CampaignV23Q1Response
|
|
41
41
|
from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3_request import CreateAdSetV24Q3Request
|
|
42
42
|
from criteo_api_marketingsolutions_preview.model.create_campaign_request import CreateCampaignRequest
|
|
43
|
-
from criteo_api_marketingsolutions_preview.model.oci_brand_safety_response import OciBrandSafetyResponse
|
|
44
|
-
from criteo_api_marketingsolutions_preview.model.oci_brand_safety_rule import OciBrandSafetyRule
|
|
45
|
-
from criteo_api_marketingsolutions_preview.model.oci_targeting_response import OciTargetingResponse
|
|
46
|
-
from criteo_api_marketingsolutions_preview.model.oci_targeting_rule import OciTargetingRule
|
|
47
43
|
from criteo_api_marketingsolutions_preview.model.patch_ad_set_category_bid_list_request import PatchAdSetCategoryBidListRequest
|
|
48
44
|
from criteo_api_marketingsolutions_preview.model.patch_ad_set_category_bid_result_list_response import PatchAdSetCategoryBidResultListResponse
|
|
49
45
|
from criteo_api_marketingsolutions_preview.model.patch_ad_set_display_multiplier_list_request import PatchAdSetDisplayMultiplierListRequest
|
|
@@ -59,7 +55,6 @@ from criteo_api_marketingsolutions_preview.model.responses_read_ad_set_v24_q3 im
|
|
|
59
55
|
from criteo_api_marketingsolutions_preview.model.set_ad_set_targeting_deal_ids_request import SetAdSetTargetingDealIdsRequest
|
|
60
56
|
from criteo_api_marketingsolutions_preview.model.set_ad_set_targeting_video_positioning_request import SetAdSetTargetingVideoPositioningRequest
|
|
61
57
|
from criteo_api_marketingsolutions_preview.model.supply_vendor_list_response import SupplyVendorListResponse
|
|
62
|
-
from criteo_api_marketingsolutions_preview.model.target_type import TargetType
|
|
63
58
|
|
|
64
59
|
|
|
65
60
|
class CampaignApi(object):
|
|
@@ -441,132 +436,6 @@ class CampaignApi(object):
|
|
|
441
436
|
},
|
|
442
437
|
api_client=api_client
|
|
443
438
|
)
|
|
444
|
-
self.delete_oc_ibrand_safety_rule_endpoint = _Endpoint(
|
|
445
|
-
settings={
|
|
446
|
-
'response_type': None,
|
|
447
|
-
'auth': [
|
|
448
|
-
'oauth',
|
|
449
|
-
'oauth'
|
|
450
|
-
],
|
|
451
|
-
'endpoint_path': '/preview/brand-safety/oci',
|
|
452
|
-
'operation_id': 'delete_oc_ibrand_safety_rule',
|
|
453
|
-
'http_method': 'DELETE',
|
|
454
|
-
'servers': None,
|
|
455
|
-
},
|
|
456
|
-
params_map={
|
|
457
|
-
'all': [
|
|
458
|
-
'target_type',
|
|
459
|
-
'target_id',
|
|
460
|
-
],
|
|
461
|
-
'required': [
|
|
462
|
-
'target_type',
|
|
463
|
-
'target_id',
|
|
464
|
-
],
|
|
465
|
-
'nullable': [
|
|
466
|
-
],
|
|
467
|
-
'enum': [
|
|
468
|
-
],
|
|
469
|
-
'validation': [
|
|
470
|
-
'target_id',
|
|
471
|
-
]
|
|
472
|
-
},
|
|
473
|
-
root_map={
|
|
474
|
-
'validations': {
|
|
475
|
-
('target_id',): {
|
|
476
|
-
|
|
477
|
-
'inclusive_minimum': 1,
|
|
478
|
-
},
|
|
479
|
-
},
|
|
480
|
-
'allowed_values': {
|
|
481
|
-
},
|
|
482
|
-
'openapi_types': {
|
|
483
|
-
'target_type':
|
|
484
|
-
(TargetType,),
|
|
485
|
-
'target_id':
|
|
486
|
-
(int,),
|
|
487
|
-
},
|
|
488
|
-
'attribute_map': {
|
|
489
|
-
'target_type': 'target-type',
|
|
490
|
-
'target_id': 'target-id',
|
|
491
|
-
},
|
|
492
|
-
'location_map': {
|
|
493
|
-
'target_type': 'query',
|
|
494
|
-
'target_id': 'query',
|
|
495
|
-
},
|
|
496
|
-
'collection_format_map': {
|
|
497
|
-
}
|
|
498
|
-
},
|
|
499
|
-
headers_map={
|
|
500
|
-
'accept': [
|
|
501
|
-
'application/json'
|
|
502
|
-
],
|
|
503
|
-
'content_type': [],
|
|
504
|
-
},
|
|
505
|
-
api_client=api_client
|
|
506
|
-
)
|
|
507
|
-
self.delete_oc_itargeting_rule_endpoint = _Endpoint(
|
|
508
|
-
settings={
|
|
509
|
-
'response_type': None,
|
|
510
|
-
'auth': [
|
|
511
|
-
'oauth',
|
|
512
|
-
'oauth'
|
|
513
|
-
],
|
|
514
|
-
'endpoint_path': '/preview/targeting/oci',
|
|
515
|
-
'operation_id': 'delete_oc_itargeting_rule',
|
|
516
|
-
'http_method': 'DELETE',
|
|
517
|
-
'servers': None,
|
|
518
|
-
},
|
|
519
|
-
params_map={
|
|
520
|
-
'all': [
|
|
521
|
-
'target_type',
|
|
522
|
-
'target_id',
|
|
523
|
-
],
|
|
524
|
-
'required': [
|
|
525
|
-
'target_type',
|
|
526
|
-
'target_id',
|
|
527
|
-
],
|
|
528
|
-
'nullable': [
|
|
529
|
-
],
|
|
530
|
-
'enum': [
|
|
531
|
-
],
|
|
532
|
-
'validation': [
|
|
533
|
-
'target_id',
|
|
534
|
-
]
|
|
535
|
-
},
|
|
536
|
-
root_map={
|
|
537
|
-
'validations': {
|
|
538
|
-
('target_id',): {
|
|
539
|
-
|
|
540
|
-
'inclusive_minimum': 1,
|
|
541
|
-
},
|
|
542
|
-
},
|
|
543
|
-
'allowed_values': {
|
|
544
|
-
},
|
|
545
|
-
'openapi_types': {
|
|
546
|
-
'target_type':
|
|
547
|
-
(TargetType,),
|
|
548
|
-
'target_id':
|
|
549
|
-
(int,),
|
|
550
|
-
},
|
|
551
|
-
'attribute_map': {
|
|
552
|
-
'target_type': 'target-type',
|
|
553
|
-
'target_id': 'target-id',
|
|
554
|
-
},
|
|
555
|
-
'location_map': {
|
|
556
|
-
'target_type': 'query',
|
|
557
|
-
'target_id': 'query',
|
|
558
|
-
},
|
|
559
|
-
'collection_format_map': {
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
headers_map={
|
|
563
|
-
'accept': [
|
|
564
|
-
'application/json'
|
|
565
|
-
],
|
|
566
|
-
'content_type': [],
|
|
567
|
-
},
|
|
568
|
-
api_client=api_client
|
|
569
|
-
)
|
|
570
439
|
self.disable_ad_set_targeting_deal_ids_endpoint = _Endpoint(
|
|
571
440
|
settings={
|
|
572
441
|
'response_type': (AdSetTargetingDealIdsDisableResultResponse,),
|
|
@@ -1215,132 +1084,6 @@ class CampaignApi(object):
|
|
|
1215
1084
|
},
|
|
1216
1085
|
api_client=api_client
|
|
1217
1086
|
)
|
|
1218
|
-
self.get_oc_ibrand_safety_rule_endpoint = _Endpoint(
|
|
1219
|
-
settings={
|
|
1220
|
-
'response_type': (OciBrandSafetyResponse,),
|
|
1221
|
-
'auth': [
|
|
1222
|
-
'oauth',
|
|
1223
|
-
'oauth'
|
|
1224
|
-
],
|
|
1225
|
-
'endpoint_path': '/preview/brand-safety/oci',
|
|
1226
|
-
'operation_id': 'get_oc_ibrand_safety_rule',
|
|
1227
|
-
'http_method': 'GET',
|
|
1228
|
-
'servers': None,
|
|
1229
|
-
},
|
|
1230
|
-
params_map={
|
|
1231
|
-
'all': [
|
|
1232
|
-
'target_type',
|
|
1233
|
-
'target_id',
|
|
1234
|
-
],
|
|
1235
|
-
'required': [
|
|
1236
|
-
'target_type',
|
|
1237
|
-
'target_id',
|
|
1238
|
-
],
|
|
1239
|
-
'nullable': [
|
|
1240
|
-
],
|
|
1241
|
-
'enum': [
|
|
1242
|
-
],
|
|
1243
|
-
'validation': [
|
|
1244
|
-
'target_id',
|
|
1245
|
-
]
|
|
1246
|
-
},
|
|
1247
|
-
root_map={
|
|
1248
|
-
'validations': {
|
|
1249
|
-
('target_id',): {
|
|
1250
|
-
|
|
1251
|
-
'inclusive_minimum': 1,
|
|
1252
|
-
},
|
|
1253
|
-
},
|
|
1254
|
-
'allowed_values': {
|
|
1255
|
-
},
|
|
1256
|
-
'openapi_types': {
|
|
1257
|
-
'target_type':
|
|
1258
|
-
(TargetType,),
|
|
1259
|
-
'target_id':
|
|
1260
|
-
(int,),
|
|
1261
|
-
},
|
|
1262
|
-
'attribute_map': {
|
|
1263
|
-
'target_type': 'target-type',
|
|
1264
|
-
'target_id': 'target-id',
|
|
1265
|
-
},
|
|
1266
|
-
'location_map': {
|
|
1267
|
-
'target_type': 'query',
|
|
1268
|
-
'target_id': 'query',
|
|
1269
|
-
},
|
|
1270
|
-
'collection_format_map': {
|
|
1271
|
-
}
|
|
1272
|
-
},
|
|
1273
|
-
headers_map={
|
|
1274
|
-
'accept': [
|
|
1275
|
-
'application/json'
|
|
1276
|
-
],
|
|
1277
|
-
'content_type': [],
|
|
1278
|
-
},
|
|
1279
|
-
api_client=api_client
|
|
1280
|
-
)
|
|
1281
|
-
self.get_oc_itargeting_rule_endpoint = _Endpoint(
|
|
1282
|
-
settings={
|
|
1283
|
-
'response_type': (OciTargetingResponse,),
|
|
1284
|
-
'auth': [
|
|
1285
|
-
'oauth',
|
|
1286
|
-
'oauth'
|
|
1287
|
-
],
|
|
1288
|
-
'endpoint_path': '/preview/targeting/oci',
|
|
1289
|
-
'operation_id': 'get_oc_itargeting_rule',
|
|
1290
|
-
'http_method': 'GET',
|
|
1291
|
-
'servers': None,
|
|
1292
|
-
},
|
|
1293
|
-
params_map={
|
|
1294
|
-
'all': [
|
|
1295
|
-
'target_type',
|
|
1296
|
-
'target_id',
|
|
1297
|
-
],
|
|
1298
|
-
'required': [
|
|
1299
|
-
'target_type',
|
|
1300
|
-
'target_id',
|
|
1301
|
-
],
|
|
1302
|
-
'nullable': [
|
|
1303
|
-
],
|
|
1304
|
-
'enum': [
|
|
1305
|
-
],
|
|
1306
|
-
'validation': [
|
|
1307
|
-
'target_id',
|
|
1308
|
-
]
|
|
1309
|
-
},
|
|
1310
|
-
root_map={
|
|
1311
|
-
'validations': {
|
|
1312
|
-
('target_id',): {
|
|
1313
|
-
|
|
1314
|
-
'inclusive_minimum': 1,
|
|
1315
|
-
},
|
|
1316
|
-
},
|
|
1317
|
-
'allowed_values': {
|
|
1318
|
-
},
|
|
1319
|
-
'openapi_types': {
|
|
1320
|
-
'target_type':
|
|
1321
|
-
(TargetType,),
|
|
1322
|
-
'target_id':
|
|
1323
|
-
(int,),
|
|
1324
|
-
},
|
|
1325
|
-
'attribute_map': {
|
|
1326
|
-
'target_type': 'target-type',
|
|
1327
|
-
'target_id': 'target-id',
|
|
1328
|
-
},
|
|
1329
|
-
'location_map': {
|
|
1330
|
-
'target_type': 'query',
|
|
1331
|
-
'target_id': 'query',
|
|
1332
|
-
},
|
|
1333
|
-
'collection_format_map': {
|
|
1334
|
-
}
|
|
1335
|
-
},
|
|
1336
|
-
headers_map={
|
|
1337
|
-
'accept': [
|
|
1338
|
-
'application/json'
|
|
1339
|
-
],
|
|
1340
|
-
'content_type': [],
|
|
1341
|
-
},
|
|
1342
|
-
api_client=api_client
|
|
1343
|
-
)
|
|
1344
1087
|
self.get_supply_vendor_list_endpoint = _Endpoint(
|
|
1345
1088
|
settings={
|
|
1346
1089
|
'response_type': (SupplyVendorListResponse,),
|
|
@@ -2544,112 +2287,6 @@ class CampaignApi(object):
|
|
|
2544
2287
|
},
|
|
2545
2288
|
api_client=api_client
|
|
2546
2289
|
)
|
|
2547
|
-
self.upsert_oc_ibrand_safety_rule_endpoint = _Endpoint(
|
|
2548
|
-
settings={
|
|
2549
|
-
'response_type': (OciBrandSafetyResponse,),
|
|
2550
|
-
'auth': [
|
|
2551
|
-
'oauth',
|
|
2552
|
-
'oauth'
|
|
2553
|
-
],
|
|
2554
|
-
'endpoint_path': '/preview/brand-safety/oci',
|
|
2555
|
-
'operation_id': 'upsert_oc_ibrand_safety_rule',
|
|
2556
|
-
'http_method': 'POST',
|
|
2557
|
-
'servers': None,
|
|
2558
|
-
},
|
|
2559
|
-
params_map={
|
|
2560
|
-
'all': [
|
|
2561
|
-
'oci_brand_safety_rule',
|
|
2562
|
-
],
|
|
2563
|
-
'required': [
|
|
2564
|
-
'oci_brand_safety_rule',
|
|
2565
|
-
],
|
|
2566
|
-
'nullable': [
|
|
2567
|
-
],
|
|
2568
|
-
'enum': [
|
|
2569
|
-
],
|
|
2570
|
-
'validation': [
|
|
2571
|
-
]
|
|
2572
|
-
},
|
|
2573
|
-
root_map={
|
|
2574
|
-
'validations': {
|
|
2575
|
-
},
|
|
2576
|
-
'allowed_values': {
|
|
2577
|
-
},
|
|
2578
|
-
'openapi_types': {
|
|
2579
|
-
'oci_brand_safety_rule':
|
|
2580
|
-
(OciBrandSafetyRule,),
|
|
2581
|
-
},
|
|
2582
|
-
'attribute_map': {
|
|
2583
|
-
},
|
|
2584
|
-
'location_map': {
|
|
2585
|
-
'oci_brand_safety_rule': 'body',
|
|
2586
|
-
},
|
|
2587
|
-
'collection_format_map': {
|
|
2588
|
-
}
|
|
2589
|
-
},
|
|
2590
|
-
headers_map={
|
|
2591
|
-
'accept': [
|
|
2592
|
-
'application/json'
|
|
2593
|
-
],
|
|
2594
|
-
'content_type': [
|
|
2595
|
-
'application/json'
|
|
2596
|
-
]
|
|
2597
|
-
},
|
|
2598
|
-
api_client=api_client
|
|
2599
|
-
)
|
|
2600
|
-
self.upsert_oc_itargeting_rule_endpoint = _Endpoint(
|
|
2601
|
-
settings={
|
|
2602
|
-
'response_type': (OciTargetingResponse,),
|
|
2603
|
-
'auth': [
|
|
2604
|
-
'oauth',
|
|
2605
|
-
'oauth'
|
|
2606
|
-
],
|
|
2607
|
-
'endpoint_path': '/preview/targeting/oci',
|
|
2608
|
-
'operation_id': 'upsert_oc_itargeting_rule',
|
|
2609
|
-
'http_method': 'POST',
|
|
2610
|
-
'servers': None,
|
|
2611
|
-
},
|
|
2612
|
-
params_map={
|
|
2613
|
-
'all': [
|
|
2614
|
-
'oci_targeting_rule',
|
|
2615
|
-
],
|
|
2616
|
-
'required': [
|
|
2617
|
-
'oci_targeting_rule',
|
|
2618
|
-
],
|
|
2619
|
-
'nullable': [
|
|
2620
|
-
],
|
|
2621
|
-
'enum': [
|
|
2622
|
-
],
|
|
2623
|
-
'validation': [
|
|
2624
|
-
]
|
|
2625
|
-
},
|
|
2626
|
-
root_map={
|
|
2627
|
-
'validations': {
|
|
2628
|
-
},
|
|
2629
|
-
'allowed_values': {
|
|
2630
|
-
},
|
|
2631
|
-
'openapi_types': {
|
|
2632
|
-
'oci_targeting_rule':
|
|
2633
|
-
(OciTargetingRule,),
|
|
2634
|
-
},
|
|
2635
|
-
'attribute_map': {
|
|
2636
|
-
},
|
|
2637
|
-
'location_map': {
|
|
2638
|
-
'oci_targeting_rule': 'body',
|
|
2639
|
-
},
|
|
2640
|
-
'collection_format_map': {
|
|
2641
|
-
}
|
|
2642
|
-
},
|
|
2643
|
-
headers_map={
|
|
2644
|
-
'accept': [
|
|
2645
|
-
'application/json'
|
|
2646
|
-
],
|
|
2647
|
-
'content_type': [
|
|
2648
|
-
'application/json'
|
|
2649
|
-
]
|
|
2650
|
-
},
|
|
2651
|
-
api_client=api_client
|
|
2652
|
-
)
|
|
2653
2290
|
|
|
2654
2291
|
def create_ad_set_v24_q3(
|
|
2655
2292
|
self,
|
|
@@ -3153,180 +2790,6 @@ class CampaignApi(object):
|
|
|
3153
2790
|
campaign_id
|
|
3154
2791
|
return self.delete_campaign_domain_rules_endpoint.call_with_http_info(**kwargs)
|
|
3155
2792
|
|
|
3156
|
-
def delete_oc_ibrand_safety_rule(
|
|
3157
|
-
self,
|
|
3158
|
-
target_type,
|
|
3159
|
-
target_id,
|
|
3160
|
-
**kwargs
|
|
3161
|
-
):
|
|
3162
|
-
"""delete_oc_ibrand_safety_rule # noqa: E501
|
|
3163
|
-
|
|
3164
|
-
Delete OCI brand-safety rule. # noqa: E501
|
|
3165
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
3166
|
-
asynchronous HTTP request, please pass async_req=True
|
|
3167
|
-
|
|
3168
|
-
>>> thread = api.delete_oc_ibrand_safety_rule(target_type, target_id, async_req=True)
|
|
3169
|
-
>>> result = thread.get()
|
|
3170
|
-
|
|
3171
|
-
Args:
|
|
3172
|
-
target_type (TargetType): Defines a target for a rule.
|
|
3173
|
-
target_id (int): Unique target identifier.
|
|
3174
|
-
|
|
3175
|
-
Keyword Args:
|
|
3176
|
-
_return_http_data_only (bool): response data without head status
|
|
3177
|
-
code and headers. Default is True.
|
|
3178
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3179
|
-
will be returned without reading/decoding response data.
|
|
3180
|
-
Default is True.
|
|
3181
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3182
|
-
one number provided, it will be total request timeout. It can also
|
|
3183
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
3184
|
-
Default is None.
|
|
3185
|
-
_check_input_type (bool): specifies if type checking
|
|
3186
|
-
should be done one the data sent to the server.
|
|
3187
|
-
Default is True.
|
|
3188
|
-
_check_return_type (bool): specifies if type checking
|
|
3189
|
-
should be done one the data received from the server.
|
|
3190
|
-
Default is True.
|
|
3191
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
3192
|
-
are serialized names, as specified in the OpenAPI document.
|
|
3193
|
-
False if the variable names in the input data
|
|
3194
|
-
are pythonic names, e.g. snake case (default)
|
|
3195
|
-
_content_type (str/None): force body content-type.
|
|
3196
|
-
Default is None and content-type will be predicted by allowed
|
|
3197
|
-
content-types and body.
|
|
3198
|
-
_host_index (int/None): specifies the index of the server
|
|
3199
|
-
that we want to use.
|
|
3200
|
-
Default is read from the configuration.
|
|
3201
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
3202
|
-
request; this effectively ignores the authentication
|
|
3203
|
-
in the spec for a single request.
|
|
3204
|
-
Default is None
|
|
3205
|
-
async_req (bool): execute request asynchronously
|
|
3206
|
-
|
|
3207
|
-
Returns:
|
|
3208
|
-
None
|
|
3209
|
-
If the method is called asynchronously, returns the request
|
|
3210
|
-
thread.
|
|
3211
|
-
"""
|
|
3212
|
-
kwargs['async_req'] = kwargs.get(
|
|
3213
|
-
'async_req', False
|
|
3214
|
-
)
|
|
3215
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3216
|
-
'_return_http_data_only', True
|
|
3217
|
-
)
|
|
3218
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
3219
|
-
'_preload_content', True
|
|
3220
|
-
)
|
|
3221
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
3222
|
-
'_request_timeout', None
|
|
3223
|
-
)
|
|
3224
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
3225
|
-
'_check_input_type', True
|
|
3226
|
-
)
|
|
3227
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
3228
|
-
'_check_return_type', True
|
|
3229
|
-
)
|
|
3230
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3231
|
-
'_spec_property_naming', False
|
|
3232
|
-
)
|
|
3233
|
-
kwargs['_content_type'] = kwargs.get(
|
|
3234
|
-
'_content_type')
|
|
3235
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3236
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3237
|
-
kwargs['target_type'] = \
|
|
3238
|
-
target_type
|
|
3239
|
-
kwargs['target_id'] = \
|
|
3240
|
-
target_id
|
|
3241
|
-
return self.delete_oc_ibrand_safety_rule_endpoint.call_with_http_info(**kwargs)
|
|
3242
|
-
|
|
3243
|
-
def delete_oc_itargeting_rule(
|
|
3244
|
-
self,
|
|
3245
|
-
target_type,
|
|
3246
|
-
target_id,
|
|
3247
|
-
**kwargs
|
|
3248
|
-
):
|
|
3249
|
-
"""delete_oc_itargeting_rule # noqa: E501
|
|
3250
|
-
|
|
3251
|
-
Delete OCI targeting rule. # noqa: E501
|
|
3252
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
3253
|
-
asynchronous HTTP request, please pass async_req=True
|
|
3254
|
-
|
|
3255
|
-
>>> thread = api.delete_oc_itargeting_rule(target_type, target_id, async_req=True)
|
|
3256
|
-
>>> result = thread.get()
|
|
3257
|
-
|
|
3258
|
-
Args:
|
|
3259
|
-
target_type (TargetType): Defines a target for a rule.
|
|
3260
|
-
target_id (int): Unique target identifier.
|
|
3261
|
-
|
|
3262
|
-
Keyword Args:
|
|
3263
|
-
_return_http_data_only (bool): response data without head status
|
|
3264
|
-
code and headers. Default is True.
|
|
3265
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3266
|
-
will be returned without reading/decoding response data.
|
|
3267
|
-
Default is True.
|
|
3268
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3269
|
-
one number provided, it will be total request timeout. It can also
|
|
3270
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
3271
|
-
Default is None.
|
|
3272
|
-
_check_input_type (bool): specifies if type checking
|
|
3273
|
-
should be done one the data sent to the server.
|
|
3274
|
-
Default is True.
|
|
3275
|
-
_check_return_type (bool): specifies if type checking
|
|
3276
|
-
should be done one the data received from the server.
|
|
3277
|
-
Default is True.
|
|
3278
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
3279
|
-
are serialized names, as specified in the OpenAPI document.
|
|
3280
|
-
False if the variable names in the input data
|
|
3281
|
-
are pythonic names, e.g. snake case (default)
|
|
3282
|
-
_content_type (str/None): force body content-type.
|
|
3283
|
-
Default is None and content-type will be predicted by allowed
|
|
3284
|
-
content-types and body.
|
|
3285
|
-
_host_index (int/None): specifies the index of the server
|
|
3286
|
-
that we want to use.
|
|
3287
|
-
Default is read from the configuration.
|
|
3288
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
3289
|
-
request; this effectively ignores the authentication
|
|
3290
|
-
in the spec for a single request.
|
|
3291
|
-
Default is None
|
|
3292
|
-
async_req (bool): execute request asynchronously
|
|
3293
|
-
|
|
3294
|
-
Returns:
|
|
3295
|
-
None
|
|
3296
|
-
If the method is called asynchronously, returns the request
|
|
3297
|
-
thread.
|
|
3298
|
-
"""
|
|
3299
|
-
kwargs['async_req'] = kwargs.get(
|
|
3300
|
-
'async_req', False
|
|
3301
|
-
)
|
|
3302
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3303
|
-
'_return_http_data_only', True
|
|
3304
|
-
)
|
|
3305
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
3306
|
-
'_preload_content', True
|
|
3307
|
-
)
|
|
3308
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
3309
|
-
'_request_timeout', None
|
|
3310
|
-
)
|
|
3311
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
3312
|
-
'_check_input_type', True
|
|
3313
|
-
)
|
|
3314
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
3315
|
-
'_check_return_type', True
|
|
3316
|
-
)
|
|
3317
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3318
|
-
'_spec_property_naming', False
|
|
3319
|
-
)
|
|
3320
|
-
kwargs['_content_type'] = kwargs.get(
|
|
3321
|
-
'_content_type')
|
|
3322
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3323
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3324
|
-
kwargs['target_type'] = \
|
|
3325
|
-
target_type
|
|
3326
|
-
kwargs['target_id'] = \
|
|
3327
|
-
target_id
|
|
3328
|
-
return self.delete_oc_itargeting_rule_endpoint.call_with_http_info(**kwargs)
|
|
3329
|
-
|
|
3330
2793
|
def disable_ad_set_targeting_deal_ids(
|
|
3331
2794
|
self,
|
|
3332
2795
|
ad_set_id,
|
|
@@ -4323,180 +3786,6 @@ class CampaignApi(object):
|
|
|
4323
3786
|
ad_set_id
|
|
4324
3787
|
return self.get_display_multipliers_endpoint.call_with_http_info(**kwargs)
|
|
4325
3788
|
|
|
4326
|
-
def get_oc_ibrand_safety_rule(
|
|
4327
|
-
self,
|
|
4328
|
-
target_type,
|
|
4329
|
-
target_id,
|
|
4330
|
-
**kwargs
|
|
4331
|
-
):
|
|
4332
|
-
"""get_oc_ibrand_safety_rule # noqa: E501
|
|
4333
|
-
|
|
4334
|
-
Get OCI brand-safety rule for the specified target # noqa: E501
|
|
4335
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4336
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4337
|
-
|
|
4338
|
-
>>> thread = api.get_oc_ibrand_safety_rule(target_type, target_id, async_req=True)
|
|
4339
|
-
>>> result = thread.get()
|
|
4340
|
-
|
|
4341
|
-
Args:
|
|
4342
|
-
target_type (TargetType): Defines a target for a rule.
|
|
4343
|
-
target_id (int): Unique target identifier.
|
|
4344
|
-
|
|
4345
|
-
Keyword Args:
|
|
4346
|
-
_return_http_data_only (bool): response data without head status
|
|
4347
|
-
code and headers. Default is True.
|
|
4348
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4349
|
-
will be returned without reading/decoding response data.
|
|
4350
|
-
Default is True.
|
|
4351
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4352
|
-
one number provided, it will be total request timeout. It can also
|
|
4353
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4354
|
-
Default is None.
|
|
4355
|
-
_check_input_type (bool): specifies if type checking
|
|
4356
|
-
should be done one the data sent to the server.
|
|
4357
|
-
Default is True.
|
|
4358
|
-
_check_return_type (bool): specifies if type checking
|
|
4359
|
-
should be done one the data received from the server.
|
|
4360
|
-
Default is True.
|
|
4361
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4362
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4363
|
-
False if the variable names in the input data
|
|
4364
|
-
are pythonic names, e.g. snake case (default)
|
|
4365
|
-
_content_type (str/None): force body content-type.
|
|
4366
|
-
Default is None and content-type will be predicted by allowed
|
|
4367
|
-
content-types and body.
|
|
4368
|
-
_host_index (int/None): specifies the index of the server
|
|
4369
|
-
that we want to use.
|
|
4370
|
-
Default is read from the configuration.
|
|
4371
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4372
|
-
request; this effectively ignores the authentication
|
|
4373
|
-
in the spec for a single request.
|
|
4374
|
-
Default is None
|
|
4375
|
-
async_req (bool): execute request asynchronously
|
|
4376
|
-
|
|
4377
|
-
Returns:
|
|
4378
|
-
OciBrandSafetyResponse
|
|
4379
|
-
If the method is called asynchronously, returns the request
|
|
4380
|
-
thread.
|
|
4381
|
-
"""
|
|
4382
|
-
kwargs['async_req'] = kwargs.get(
|
|
4383
|
-
'async_req', False
|
|
4384
|
-
)
|
|
4385
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4386
|
-
'_return_http_data_only', True
|
|
4387
|
-
)
|
|
4388
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4389
|
-
'_preload_content', True
|
|
4390
|
-
)
|
|
4391
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4392
|
-
'_request_timeout', None
|
|
4393
|
-
)
|
|
4394
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4395
|
-
'_check_input_type', True
|
|
4396
|
-
)
|
|
4397
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4398
|
-
'_check_return_type', True
|
|
4399
|
-
)
|
|
4400
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4401
|
-
'_spec_property_naming', False
|
|
4402
|
-
)
|
|
4403
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4404
|
-
'_content_type')
|
|
4405
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4406
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4407
|
-
kwargs['target_type'] = \
|
|
4408
|
-
target_type
|
|
4409
|
-
kwargs['target_id'] = \
|
|
4410
|
-
target_id
|
|
4411
|
-
return self.get_oc_ibrand_safety_rule_endpoint.call_with_http_info(**kwargs)
|
|
4412
|
-
|
|
4413
|
-
def get_oc_itargeting_rule(
|
|
4414
|
-
self,
|
|
4415
|
-
target_type,
|
|
4416
|
-
target_id,
|
|
4417
|
-
**kwargs
|
|
4418
|
-
):
|
|
4419
|
-
"""get_oc_itargeting_rule # noqa: E501
|
|
4420
|
-
|
|
4421
|
-
Get OCI targeting rule for specified target. # noqa: E501
|
|
4422
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4423
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4424
|
-
|
|
4425
|
-
>>> thread = api.get_oc_itargeting_rule(target_type, target_id, async_req=True)
|
|
4426
|
-
>>> result = thread.get()
|
|
4427
|
-
|
|
4428
|
-
Args:
|
|
4429
|
-
target_type (TargetType): Defines a target for a rule.
|
|
4430
|
-
target_id (int): Unique target identifier.
|
|
4431
|
-
|
|
4432
|
-
Keyword Args:
|
|
4433
|
-
_return_http_data_only (bool): response data without head status
|
|
4434
|
-
code and headers. Default is True.
|
|
4435
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4436
|
-
will be returned without reading/decoding response data.
|
|
4437
|
-
Default is True.
|
|
4438
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4439
|
-
one number provided, it will be total request timeout. It can also
|
|
4440
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4441
|
-
Default is None.
|
|
4442
|
-
_check_input_type (bool): specifies if type checking
|
|
4443
|
-
should be done one the data sent to the server.
|
|
4444
|
-
Default is True.
|
|
4445
|
-
_check_return_type (bool): specifies if type checking
|
|
4446
|
-
should be done one the data received from the server.
|
|
4447
|
-
Default is True.
|
|
4448
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4449
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4450
|
-
False if the variable names in the input data
|
|
4451
|
-
are pythonic names, e.g. snake case (default)
|
|
4452
|
-
_content_type (str/None): force body content-type.
|
|
4453
|
-
Default is None and content-type will be predicted by allowed
|
|
4454
|
-
content-types and body.
|
|
4455
|
-
_host_index (int/None): specifies the index of the server
|
|
4456
|
-
that we want to use.
|
|
4457
|
-
Default is read from the configuration.
|
|
4458
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4459
|
-
request; this effectively ignores the authentication
|
|
4460
|
-
in the spec for a single request.
|
|
4461
|
-
Default is None
|
|
4462
|
-
async_req (bool): execute request asynchronously
|
|
4463
|
-
|
|
4464
|
-
Returns:
|
|
4465
|
-
OciTargetingResponse
|
|
4466
|
-
If the method is called asynchronously, returns the request
|
|
4467
|
-
thread.
|
|
4468
|
-
"""
|
|
4469
|
-
kwargs['async_req'] = kwargs.get(
|
|
4470
|
-
'async_req', False
|
|
4471
|
-
)
|
|
4472
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4473
|
-
'_return_http_data_only', True
|
|
4474
|
-
)
|
|
4475
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4476
|
-
'_preload_content', True
|
|
4477
|
-
)
|
|
4478
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4479
|
-
'_request_timeout', None
|
|
4480
|
-
)
|
|
4481
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4482
|
-
'_check_input_type', True
|
|
4483
|
-
)
|
|
4484
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4485
|
-
'_check_return_type', True
|
|
4486
|
-
)
|
|
4487
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4488
|
-
'_spec_property_naming', False
|
|
4489
|
-
)
|
|
4490
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4491
|
-
'_content_type')
|
|
4492
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4493
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4494
|
-
kwargs['target_type'] = \
|
|
4495
|
-
target_type
|
|
4496
|
-
kwargs['target_id'] = \
|
|
4497
|
-
target_id
|
|
4498
|
-
return self.get_oc_itargeting_rule_endpoint.call_with_http_info(**kwargs)
|
|
4499
|
-
|
|
4500
3789
|
def get_supply_vendor_list(
|
|
4501
3790
|
self,
|
|
4502
3791
|
**kwargs
|
|
@@ -6144,169 +5433,3 @@ class CampaignApi(object):
|
|
|
6144
5433
|
ad_set_audience_link_input_entity_v1
|
|
6145
5434
|
return self.update_ad_set_audience_endpoint.call_with_http_info(**kwargs)
|
|
6146
5435
|
|
|
6147
|
-
def upsert_oc_ibrand_safety_rule(
|
|
6148
|
-
self,
|
|
6149
|
-
oci_brand_safety_rule,
|
|
6150
|
-
**kwargs
|
|
6151
|
-
):
|
|
6152
|
-
"""upsert_oc_ibrand_safety_rule # noqa: E501
|
|
6153
|
-
|
|
6154
|
-
Create or update a new or replace existing OCI brand-safety rule. # noqa: E501
|
|
6155
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
6156
|
-
asynchronous HTTP request, please pass async_req=True
|
|
6157
|
-
|
|
6158
|
-
>>> thread = api.upsert_oc_ibrand_safety_rule(oci_brand_safety_rule, async_req=True)
|
|
6159
|
-
>>> result = thread.get()
|
|
6160
|
-
|
|
6161
|
-
Args:
|
|
6162
|
-
oci_brand_safety_rule (OciBrandSafetyRule): OCI brand-safety rule input
|
|
6163
|
-
|
|
6164
|
-
Keyword Args:
|
|
6165
|
-
_return_http_data_only (bool): response data without head status
|
|
6166
|
-
code and headers. Default is True.
|
|
6167
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6168
|
-
will be returned without reading/decoding response data.
|
|
6169
|
-
Default is True.
|
|
6170
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6171
|
-
one number provided, it will be total request timeout. It can also
|
|
6172
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
6173
|
-
Default is None.
|
|
6174
|
-
_check_input_type (bool): specifies if type checking
|
|
6175
|
-
should be done one the data sent to the server.
|
|
6176
|
-
Default is True.
|
|
6177
|
-
_check_return_type (bool): specifies if type checking
|
|
6178
|
-
should be done one the data received from the server.
|
|
6179
|
-
Default is True.
|
|
6180
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
6181
|
-
are serialized names, as specified in the OpenAPI document.
|
|
6182
|
-
False if the variable names in the input data
|
|
6183
|
-
are pythonic names, e.g. snake case (default)
|
|
6184
|
-
_content_type (str/None): force body content-type.
|
|
6185
|
-
Default is None and content-type will be predicted by allowed
|
|
6186
|
-
content-types and body.
|
|
6187
|
-
_host_index (int/None): specifies the index of the server
|
|
6188
|
-
that we want to use.
|
|
6189
|
-
Default is read from the configuration.
|
|
6190
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
6191
|
-
request; this effectively ignores the authentication
|
|
6192
|
-
in the spec for a single request.
|
|
6193
|
-
Default is None
|
|
6194
|
-
async_req (bool): execute request asynchronously
|
|
6195
|
-
|
|
6196
|
-
Returns:
|
|
6197
|
-
OciBrandSafetyResponse
|
|
6198
|
-
If the method is called asynchronously, returns the request
|
|
6199
|
-
thread.
|
|
6200
|
-
"""
|
|
6201
|
-
kwargs['async_req'] = kwargs.get(
|
|
6202
|
-
'async_req', False
|
|
6203
|
-
)
|
|
6204
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6205
|
-
'_return_http_data_only', True
|
|
6206
|
-
)
|
|
6207
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
6208
|
-
'_preload_content', True
|
|
6209
|
-
)
|
|
6210
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
6211
|
-
'_request_timeout', None
|
|
6212
|
-
)
|
|
6213
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
6214
|
-
'_check_input_type', True
|
|
6215
|
-
)
|
|
6216
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
6217
|
-
'_check_return_type', True
|
|
6218
|
-
)
|
|
6219
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6220
|
-
'_spec_property_naming', False
|
|
6221
|
-
)
|
|
6222
|
-
kwargs['_content_type'] = kwargs.get(
|
|
6223
|
-
'_content_type')
|
|
6224
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6225
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6226
|
-
kwargs['oci_brand_safety_rule'] = \
|
|
6227
|
-
oci_brand_safety_rule
|
|
6228
|
-
return self.upsert_oc_ibrand_safety_rule_endpoint.call_with_http_info(**kwargs)
|
|
6229
|
-
|
|
6230
|
-
def upsert_oc_itargeting_rule(
|
|
6231
|
-
self,
|
|
6232
|
-
oci_targeting_rule,
|
|
6233
|
-
**kwargs
|
|
6234
|
-
):
|
|
6235
|
-
"""upsert_oc_itargeting_rule # noqa: E501
|
|
6236
|
-
|
|
6237
|
-
Create or update new or update existing OCI targeting rule. # noqa: E501
|
|
6238
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
6239
|
-
asynchronous HTTP request, please pass async_req=True
|
|
6240
|
-
|
|
6241
|
-
>>> thread = api.upsert_oc_itargeting_rule(oci_targeting_rule, async_req=True)
|
|
6242
|
-
>>> result = thread.get()
|
|
6243
|
-
|
|
6244
|
-
Args:
|
|
6245
|
-
oci_targeting_rule (OciTargetingRule): OCI targeting rule input
|
|
6246
|
-
|
|
6247
|
-
Keyword Args:
|
|
6248
|
-
_return_http_data_only (bool): response data without head status
|
|
6249
|
-
code and headers. Default is True.
|
|
6250
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6251
|
-
will be returned without reading/decoding response data.
|
|
6252
|
-
Default is True.
|
|
6253
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6254
|
-
one number provided, it will be total request timeout. It can also
|
|
6255
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
6256
|
-
Default is None.
|
|
6257
|
-
_check_input_type (bool): specifies if type checking
|
|
6258
|
-
should be done one the data sent to the server.
|
|
6259
|
-
Default is True.
|
|
6260
|
-
_check_return_type (bool): specifies if type checking
|
|
6261
|
-
should be done one the data received from the server.
|
|
6262
|
-
Default is True.
|
|
6263
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
6264
|
-
are serialized names, as specified in the OpenAPI document.
|
|
6265
|
-
False if the variable names in the input data
|
|
6266
|
-
are pythonic names, e.g. snake case (default)
|
|
6267
|
-
_content_type (str/None): force body content-type.
|
|
6268
|
-
Default is None and content-type will be predicted by allowed
|
|
6269
|
-
content-types and body.
|
|
6270
|
-
_host_index (int/None): specifies the index of the server
|
|
6271
|
-
that we want to use.
|
|
6272
|
-
Default is read from the configuration.
|
|
6273
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
6274
|
-
request; this effectively ignores the authentication
|
|
6275
|
-
in the spec for a single request.
|
|
6276
|
-
Default is None
|
|
6277
|
-
async_req (bool): execute request asynchronously
|
|
6278
|
-
|
|
6279
|
-
Returns:
|
|
6280
|
-
OciTargetingResponse
|
|
6281
|
-
If the method is called asynchronously, returns the request
|
|
6282
|
-
thread.
|
|
6283
|
-
"""
|
|
6284
|
-
kwargs['async_req'] = kwargs.get(
|
|
6285
|
-
'async_req', False
|
|
6286
|
-
)
|
|
6287
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6288
|
-
'_return_http_data_only', True
|
|
6289
|
-
)
|
|
6290
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
6291
|
-
'_preload_content', True
|
|
6292
|
-
)
|
|
6293
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
6294
|
-
'_request_timeout', None
|
|
6295
|
-
)
|
|
6296
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
6297
|
-
'_check_input_type', True
|
|
6298
|
-
)
|
|
6299
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
6300
|
-
'_check_return_type', True
|
|
6301
|
-
)
|
|
6302
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6303
|
-
'_spec_property_naming', False
|
|
6304
|
-
)
|
|
6305
|
-
kwargs['_content_type'] = kwargs.get(
|
|
6306
|
-
'_content_type')
|
|
6307
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6308
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6309
|
-
kwargs['oci_targeting_rule'] = \
|
|
6310
|
-
oci_targeting_rule
|
|
6311
|
-
return self.upsert_oc_itargeting_rule_endpoint.call_with_http_info(**kwargs)
|
|
6312
|
-
|