criteo-api-retailmedia-sdk 2024.4.0.240626__py3-none-any.whl → 2024.4.0.240808__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-retailmedia-sdk might be problematic. Click here for more details.
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/RECORD +20 -19
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2024_04/__init__.py +1 -1
- criteo_api_retailmedia_v2024_04/api/accounts_api.py +147 -2
- criteo_api_retailmedia_v2024_04/api/balance_api.py +1095 -0
- criteo_api_retailmedia_v2024_04/api/campaign_api.py +51 -1247
- criteo_api_retailmedia_v2024_04/api_client.py +1 -1
- criteo_api_retailmedia_v2024_04/apis/__init__.py +1 -0
- criteo_api_retailmedia_v2024_04/configuration.py +1 -1
- criteo_api_retailmedia_v2024_04/model/application_summary_model_response.py +0 -4
- criteo_api_retailmedia_v2024_04/model/async_campaigns_report.py +2 -0
- criteo_api_retailmedia_v2024_04/model/async_line_items_report.py +2 -0
- criteo_api_retailmedia_v2024_04/model/async_revenue_report.py +17 -4
- criteo_api_retailmedia_v2024_04/model/common_problem.py +2 -2
- criteo_api_retailmedia_v2024_04/model/external_balance_response.py +14 -2
- criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_account.py +8 -6
- criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_brand.py +8 -6
- criteo_api_retailmedia_v2024_04/model/json_api_page_response_of_retailer.py +8 -6
- {criteo_api_retailmedia_sdk-2024.4.0.240626.dist-info → criteo_api_retailmedia_sdk-2024.4.0.240808.dist-info}/top_level.txt +0 -0
|
@@ -21,7 +21,6 @@ from criteo_api_retailmedia_v2024_04.model_utils import ( # noqa: F401
|
|
|
21
21
|
none_type,
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
|
-
from criteo_api_retailmedia_v2024_04.model.add_funds_to_balance_request import AddFundsToBalanceRequest
|
|
25
24
|
from criteo_api_retailmedia_v2024_04.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest
|
|
26
25
|
from criteo_api_retailmedia_v2024_04.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request
|
|
27
26
|
from criteo_api_retailmedia_v2024_04.model.add_to_basket_target202110_request import AddToBasketTarget202110Request
|
|
@@ -36,21 +35,16 @@ from criteo_api_retailmedia_v2024_04.model.audience_target202110_request import
|
|
|
36
35
|
from criteo_api_retailmedia_v2024_04.model.audience_target202110_response import AudienceTarget202110Response
|
|
37
36
|
from criteo_api_retailmedia_v2024_04.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest
|
|
38
37
|
from criteo_api_retailmedia_v2024_04.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse
|
|
39
|
-
from criteo_api_retailmedia_v2024_04.model.balance_response import BalanceResponse
|
|
40
|
-
from criteo_api_retailmedia_v2024_04.model.balance_response_paged_list_response import BalanceResponsePagedListResponse
|
|
41
38
|
from criteo_api_retailmedia_v2024_04.model.category202204 import Category202204
|
|
42
39
|
from criteo_api_retailmedia_v2024_04.model.category202204_list_response import Category202204ListResponse
|
|
43
|
-
from criteo_api_retailmedia_v2024_04.model.change_dates_of_balance_request import ChangeDatesOfBalanceRequest
|
|
44
40
|
from criteo_api_retailmedia_v2024_04.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse
|
|
45
41
|
from criteo_api_retailmedia_v2024_04.model.common_line_item_response import CommonLineItemResponse
|
|
46
|
-
from criteo_api_retailmedia_v2024_04.model.create_balance_request import CreateBalanceRequest
|
|
47
42
|
from criteo_api_retailmedia_v2024_04.model.creative202110_list_response import Creative202110ListResponse
|
|
48
43
|
from criteo_api_retailmedia_v2024_04.model.creative202210_list_response import Creative202210ListResponse
|
|
49
44
|
from criteo_api_retailmedia_v2024_04.model.creative202210_response import Creative202210Response
|
|
50
45
|
from criteo_api_retailmedia_v2024_04.model.creative_create_model202207 import CreativeCreateModel202207
|
|
51
46
|
from criteo_api_retailmedia_v2024_04.model.creative_update_model202207 import CreativeUpdateModel202207
|
|
52
47
|
from criteo_api_retailmedia_v2024_04.model.external_retailer_pages202110 import ExternalRetailerPages202110
|
|
53
|
-
from criteo_api_retailmedia_v2024_04.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
|
|
54
48
|
from criteo_api_retailmedia_v2024_04.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
|
|
55
49
|
from criteo_api_retailmedia_v2024_04.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301
|
|
56
50
|
from criteo_api_retailmedia_v2024_04.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer
|
|
@@ -80,7 +74,6 @@ from criteo_api_retailmedia_v2024_04.model.store_target202110_request import Sto
|
|
|
80
74
|
from criteo_api_retailmedia_v2024_04.model.store_target202110_response import StoreTarget202110Response
|
|
81
75
|
from criteo_api_retailmedia_v2024_04.model.template_list_response import TemplateListResponse
|
|
82
76
|
from criteo_api_retailmedia_v2024_04.model.template_response import TemplateResponse
|
|
83
|
-
from criteo_api_retailmedia_v2024_04.model.update_balance_model_request import UpdateBalanceModelRequest
|
|
84
77
|
from criteo_api_retailmedia_v2024_04.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides
|
|
85
78
|
from criteo_api_retailmedia_v2024_04.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides
|
|
86
79
|
from criteo_api_retailmedia_v2024_04.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides
|
|
@@ -420,74 +413,6 @@ class CampaignApi(object):
|
|
|
420
413
|
},
|
|
421
414
|
api_client=api_client
|
|
422
415
|
)
|
|
423
|
-
self.get_api202110_external_balance_campaigns_by_balance_id_endpoint = _Endpoint(
|
|
424
|
-
settings={
|
|
425
|
-
'response_type': (BalanceCampaign202110PagedListResponse,),
|
|
426
|
-
'auth': [
|
|
427
|
-
'oauth',
|
|
428
|
-
'oauth'
|
|
429
|
-
],
|
|
430
|
-
'endpoint_path': '/2024-04/retail-media/balances/{balance-id}/campaigns',
|
|
431
|
-
'operation_id': 'get_api202110_external_balance_campaigns_by_balance_id',
|
|
432
|
-
'http_method': 'GET',
|
|
433
|
-
'servers': None,
|
|
434
|
-
},
|
|
435
|
-
params_map={
|
|
436
|
-
'all': [
|
|
437
|
-
'balance_id',
|
|
438
|
-
'limit_to_id',
|
|
439
|
-
'page_index',
|
|
440
|
-
'page_size',
|
|
441
|
-
],
|
|
442
|
-
'required': [
|
|
443
|
-
'balance_id',
|
|
444
|
-
],
|
|
445
|
-
'nullable': [
|
|
446
|
-
],
|
|
447
|
-
'enum': [
|
|
448
|
-
],
|
|
449
|
-
'validation': [
|
|
450
|
-
]
|
|
451
|
-
},
|
|
452
|
-
root_map={
|
|
453
|
-
'validations': {
|
|
454
|
-
},
|
|
455
|
-
'allowed_values': {
|
|
456
|
-
},
|
|
457
|
-
'openapi_types': {
|
|
458
|
-
'balance_id':
|
|
459
|
-
(str,),
|
|
460
|
-
'limit_to_id':
|
|
461
|
-
([str],),
|
|
462
|
-
'page_index':
|
|
463
|
-
(int,),
|
|
464
|
-
'page_size':
|
|
465
|
-
(int,),
|
|
466
|
-
},
|
|
467
|
-
'attribute_map': {
|
|
468
|
-
'balance_id': 'balance-id',
|
|
469
|
-
'limit_to_id': 'limitToId',
|
|
470
|
-
'page_index': 'pageIndex',
|
|
471
|
-
'page_size': 'pageSize',
|
|
472
|
-
},
|
|
473
|
-
'location_map': {
|
|
474
|
-
'balance_id': 'path',
|
|
475
|
-
'limit_to_id': 'query',
|
|
476
|
-
'page_index': 'query',
|
|
477
|
-
'page_size': 'query',
|
|
478
|
-
},
|
|
479
|
-
'collection_format_map': {
|
|
480
|
-
'limit_to_id': 'multi',
|
|
481
|
-
}
|
|
482
|
-
},
|
|
483
|
-
headers_map={
|
|
484
|
-
'accept': [
|
|
485
|
-
'application/json'
|
|
486
|
-
],
|
|
487
|
-
'content_type': [],
|
|
488
|
-
},
|
|
489
|
-
api_client=api_client
|
|
490
|
-
)
|
|
491
416
|
self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
492
417
|
settings={
|
|
493
418
|
'response_type': (PreferredLineItem202110PagedListResponse,),
|
|
@@ -1355,74 +1280,6 @@ class CampaignApi(object):
|
|
|
1355
1280
|
},
|
|
1356
1281
|
api_client=api_client
|
|
1357
1282
|
)
|
|
1358
|
-
self.get_api_v1_external_account_balances_by_account_id_endpoint = _Endpoint(
|
|
1359
|
-
settings={
|
|
1360
|
-
'response_type': (BalanceResponsePagedListResponse,),
|
|
1361
|
-
'auth': [
|
|
1362
|
-
'oauth',
|
|
1363
|
-
'oauth'
|
|
1364
|
-
],
|
|
1365
|
-
'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/balances',
|
|
1366
|
-
'operation_id': 'get_api_v1_external_account_balances_by_account_id',
|
|
1367
|
-
'http_method': 'GET',
|
|
1368
|
-
'servers': None,
|
|
1369
|
-
},
|
|
1370
|
-
params_map={
|
|
1371
|
-
'all': [
|
|
1372
|
-
'account_id',
|
|
1373
|
-
'limit_to_id',
|
|
1374
|
-
'page_index',
|
|
1375
|
-
'page_size',
|
|
1376
|
-
],
|
|
1377
|
-
'required': [
|
|
1378
|
-
'account_id',
|
|
1379
|
-
],
|
|
1380
|
-
'nullable': [
|
|
1381
|
-
],
|
|
1382
|
-
'enum': [
|
|
1383
|
-
],
|
|
1384
|
-
'validation': [
|
|
1385
|
-
]
|
|
1386
|
-
},
|
|
1387
|
-
root_map={
|
|
1388
|
-
'validations': {
|
|
1389
|
-
},
|
|
1390
|
-
'allowed_values': {
|
|
1391
|
-
},
|
|
1392
|
-
'openapi_types': {
|
|
1393
|
-
'account_id':
|
|
1394
|
-
(str,),
|
|
1395
|
-
'limit_to_id':
|
|
1396
|
-
([str],),
|
|
1397
|
-
'page_index':
|
|
1398
|
-
(int,),
|
|
1399
|
-
'page_size':
|
|
1400
|
-
(int,),
|
|
1401
|
-
},
|
|
1402
|
-
'attribute_map': {
|
|
1403
|
-
'account_id': 'account-id',
|
|
1404
|
-
'limit_to_id': 'limitToId',
|
|
1405
|
-
'page_index': 'pageIndex',
|
|
1406
|
-
'page_size': 'pageSize',
|
|
1407
|
-
},
|
|
1408
|
-
'location_map': {
|
|
1409
|
-
'account_id': 'path',
|
|
1410
|
-
'limit_to_id': 'query',
|
|
1411
|
-
'page_index': 'query',
|
|
1412
|
-
'page_size': 'query',
|
|
1413
|
-
},
|
|
1414
|
-
'collection_format_map': {
|
|
1415
|
-
'limit_to_id': 'multi',
|
|
1416
|
-
}
|
|
1417
|
-
},
|
|
1418
|
-
headers_map={
|
|
1419
|
-
'accept': [
|
|
1420
|
-
'application/json'
|
|
1421
|
-
],
|
|
1422
|
-
'content_type': [],
|
|
1423
|
-
},
|
|
1424
|
-
api_client=api_client
|
|
1425
|
-
)
|
|
1426
1283
|
self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint(
|
|
1427
1284
|
settings={
|
|
1428
1285
|
'response_type': (JsonApiPageResponseOfBrand,),
|
|
@@ -1485,65 +1342,9 @@ class CampaignApi(object):
|
|
|
1485
1342
|
},
|
|
1486
1343
|
headers_map={
|
|
1487
1344
|
'accept': [
|
|
1488
|
-
'
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
},
|
|
1492
|
-
api_client=api_client
|
|
1493
|
-
)
|
|
1494
|
-
self.get_api_v1_external_account_by_account_id_and_balance_id_endpoint = _Endpoint(
|
|
1495
|
-
settings={
|
|
1496
|
-
'response_type': (BalanceResponse,),
|
|
1497
|
-
'auth': [
|
|
1498
|
-
'oauth',
|
|
1499
|
-
'oauth'
|
|
1500
|
-
],
|
|
1501
|
-
'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/balances/{balanceId}',
|
|
1502
|
-
'operation_id': 'get_api_v1_external_account_by_account_id_and_balance_id',
|
|
1503
|
-
'http_method': 'GET',
|
|
1504
|
-
'servers': None,
|
|
1505
|
-
},
|
|
1506
|
-
params_map={
|
|
1507
|
-
'all': [
|
|
1508
|
-
'account_id',
|
|
1509
|
-
'balance_id',
|
|
1510
|
-
],
|
|
1511
|
-
'required': [
|
|
1512
|
-
'account_id',
|
|
1513
|
-
'balance_id',
|
|
1514
|
-
],
|
|
1515
|
-
'nullable': [
|
|
1516
|
-
],
|
|
1517
|
-
'enum': [
|
|
1518
|
-
],
|
|
1519
|
-
'validation': [
|
|
1520
|
-
]
|
|
1521
|
-
},
|
|
1522
|
-
root_map={
|
|
1523
|
-
'validations': {
|
|
1524
|
-
},
|
|
1525
|
-
'allowed_values': {
|
|
1526
|
-
},
|
|
1527
|
-
'openapi_types': {
|
|
1528
|
-
'account_id':
|
|
1529
|
-
(str,),
|
|
1530
|
-
'balance_id':
|
|
1531
|
-
(str,),
|
|
1532
|
-
},
|
|
1533
|
-
'attribute_map': {
|
|
1534
|
-
'account_id': 'account-id',
|
|
1535
|
-
'balance_id': 'balanceId',
|
|
1536
|
-
},
|
|
1537
|
-
'location_map': {
|
|
1538
|
-
'account_id': 'path',
|
|
1539
|
-
'balance_id': 'path',
|
|
1540
|
-
},
|
|
1541
|
-
'collection_format_map': {
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
-
headers_map={
|
|
1545
|
-
'accept': [
|
|
1546
|
-
'application/json'
|
|
1345
|
+
'text/plain',
|
|
1346
|
+
'application/json',
|
|
1347
|
+
'text/json'
|
|
1547
1348
|
],
|
|
1548
1349
|
'content_type': [],
|
|
1549
1350
|
},
|
|
@@ -1611,68 +1412,9 @@ class CampaignApi(object):
|
|
|
1611
1412
|
},
|
|
1612
1413
|
headers_map={
|
|
1613
1414
|
'accept': [
|
|
1614
|
-
'
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
},
|
|
1618
|
-
api_client=api_client
|
|
1619
|
-
)
|
|
1620
|
-
self.get_api_v1_external_accounts_endpoint = _Endpoint(
|
|
1621
|
-
settings={
|
|
1622
|
-
'response_type': (JsonApiPageResponseOfAccount,),
|
|
1623
|
-
'auth': [
|
|
1624
|
-
'oauth',
|
|
1625
|
-
'oauth'
|
|
1626
|
-
],
|
|
1627
|
-
'endpoint_path': '/2024-04/retail-media/accounts',
|
|
1628
|
-
'operation_id': 'get_api_v1_external_accounts',
|
|
1629
|
-
'http_method': 'GET',
|
|
1630
|
-
'servers': None,
|
|
1631
|
-
},
|
|
1632
|
-
params_map={
|
|
1633
|
-
'all': [
|
|
1634
|
-
'limit_to_id',
|
|
1635
|
-
'page_index',
|
|
1636
|
-
'page_size',
|
|
1637
|
-
],
|
|
1638
|
-
'required': [],
|
|
1639
|
-
'nullable': [
|
|
1640
|
-
],
|
|
1641
|
-
'enum': [
|
|
1642
|
-
],
|
|
1643
|
-
'validation': [
|
|
1644
|
-
]
|
|
1645
|
-
},
|
|
1646
|
-
root_map={
|
|
1647
|
-
'validations': {
|
|
1648
|
-
},
|
|
1649
|
-
'allowed_values': {
|
|
1650
|
-
},
|
|
1651
|
-
'openapi_types': {
|
|
1652
|
-
'limit_to_id':
|
|
1653
|
-
([str],),
|
|
1654
|
-
'page_index':
|
|
1655
|
-
(int,),
|
|
1656
|
-
'page_size':
|
|
1657
|
-
(int,),
|
|
1658
|
-
},
|
|
1659
|
-
'attribute_map': {
|
|
1660
|
-
'limit_to_id': 'limitToId',
|
|
1661
|
-
'page_index': 'pageIndex',
|
|
1662
|
-
'page_size': 'pageSize',
|
|
1663
|
-
},
|
|
1664
|
-
'location_map': {
|
|
1665
|
-
'limit_to_id': 'query',
|
|
1666
|
-
'page_index': 'query',
|
|
1667
|
-
'page_size': 'query',
|
|
1668
|
-
},
|
|
1669
|
-
'collection_format_map': {
|
|
1670
|
-
'limit_to_id': 'multi',
|
|
1671
|
-
}
|
|
1672
|
-
},
|
|
1673
|
-
headers_map={
|
|
1674
|
-
'accept': [
|
|
1675
|
-
'application/json'
|
|
1415
|
+
'text/plain',
|
|
1416
|
+
'application/json',
|
|
1417
|
+
'text/json'
|
|
1676
1418
|
],
|
|
1677
1419
|
'content_type': [],
|
|
1678
1420
|
},
|
|
@@ -2224,86 +1966,22 @@ class CampaignApi(object):
|
|
|
2224
1966
|
},
|
|
2225
1967
|
api_client=api_client
|
|
2226
1968
|
)
|
|
2227
|
-
self.
|
|
1969
|
+
self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint(
|
|
2228
1970
|
settings={
|
|
2229
|
-
'response_type': (
|
|
1971
|
+
'response_type': (KeywordTarget202110Response,),
|
|
2230
1972
|
'auth': [
|
|
2231
1973
|
'oauth',
|
|
2232
1974
|
'oauth'
|
|
2233
1975
|
],
|
|
2234
|
-
'endpoint_path': '/2024-04/retail-media/
|
|
2235
|
-
'operation_id': '
|
|
2236
|
-
'http_method': '
|
|
1976
|
+
'endpoint_path': '/2024-04/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append',
|
|
1977
|
+
'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id',
|
|
1978
|
+
'http_method': 'POST',
|
|
2237
1979
|
'servers': None,
|
|
2238
1980
|
},
|
|
2239
1981
|
params_map={
|
|
2240
1982
|
'all': [
|
|
2241
|
-
'
|
|
2242
|
-
'
|
|
2243
|
-
'update_balance_model_request',
|
|
2244
|
-
],
|
|
2245
|
-
'required': [
|
|
2246
|
-
'account_id',
|
|
2247
|
-
'balance_id',
|
|
2248
|
-
],
|
|
2249
|
-
'nullable': [
|
|
2250
|
-
],
|
|
2251
|
-
'enum': [
|
|
2252
|
-
],
|
|
2253
|
-
'validation': [
|
|
2254
|
-
]
|
|
2255
|
-
},
|
|
2256
|
-
root_map={
|
|
2257
|
-
'validations': {
|
|
2258
|
-
},
|
|
2259
|
-
'allowed_values': {
|
|
2260
|
-
},
|
|
2261
|
-
'openapi_types': {
|
|
2262
|
-
'account_id':
|
|
2263
|
-
(str,),
|
|
2264
|
-
'balance_id':
|
|
2265
|
-
(str,),
|
|
2266
|
-
'update_balance_model_request':
|
|
2267
|
-
(UpdateBalanceModelRequest,),
|
|
2268
|
-
},
|
|
2269
|
-
'attribute_map': {
|
|
2270
|
-
'account_id': 'account-id',
|
|
2271
|
-
'balance_id': 'balanceId',
|
|
2272
|
-
},
|
|
2273
|
-
'location_map': {
|
|
2274
|
-
'account_id': 'path',
|
|
2275
|
-
'balance_id': 'path',
|
|
2276
|
-
'update_balance_model_request': 'body',
|
|
2277
|
-
},
|
|
2278
|
-
'collection_format_map': {
|
|
2279
|
-
}
|
|
2280
|
-
},
|
|
2281
|
-
headers_map={
|
|
2282
|
-
'accept': [
|
|
2283
|
-
'application/json'
|
|
2284
|
-
],
|
|
2285
|
-
'content_type': [
|
|
2286
|
-
'application/json'
|
|
2287
|
-
]
|
|
2288
|
-
},
|
|
2289
|
-
api_client=api_client
|
|
2290
|
-
)
|
|
2291
|
-
self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint(
|
|
2292
|
-
settings={
|
|
2293
|
-
'response_type': (KeywordTarget202110Response,),
|
|
2294
|
-
'auth': [
|
|
2295
|
-
'oauth',
|
|
2296
|
-
'oauth'
|
|
2297
|
-
],
|
|
2298
|
-
'endpoint_path': '/2024-04/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append',
|
|
2299
|
-
'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id',
|
|
2300
|
-
'http_method': 'POST',
|
|
2301
|
-
'servers': None,
|
|
2302
|
-
},
|
|
2303
|
-
params_map={
|
|
2304
|
-
'all': [
|
|
2305
|
-
'line_item_id',
|
|
2306
|
-
'keyword_target202110_request',
|
|
1983
|
+
'line_item_id',
|
|
1984
|
+
'keyword_target202110_request',
|
|
2307
1985
|
],
|
|
2308
1986
|
'required': [
|
|
2309
1987
|
'line_item_id',
|
|
@@ -3328,128 +3006,6 @@ class CampaignApi(object):
|
|
|
3328
3006
|
},
|
|
3329
3007
|
api_client=api_client
|
|
3330
3008
|
)
|
|
3331
|
-
self.post_api_v1_external_account_add_funds_by_account_id_and_balance_id_endpoint = _Endpoint(
|
|
3332
|
-
settings={
|
|
3333
|
-
'response_type': (BalanceResponse,),
|
|
3334
|
-
'auth': [
|
|
3335
|
-
'oauth',
|
|
3336
|
-
'oauth'
|
|
3337
|
-
],
|
|
3338
|
-
'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/balances/{balanceId}/add-funds',
|
|
3339
|
-
'operation_id': 'post_api_v1_external_account_add_funds_by_account_id_and_balance_id',
|
|
3340
|
-
'http_method': 'POST',
|
|
3341
|
-
'servers': None,
|
|
3342
|
-
},
|
|
3343
|
-
params_map={
|
|
3344
|
-
'all': [
|
|
3345
|
-
'account_id',
|
|
3346
|
-
'balance_id',
|
|
3347
|
-
'add_funds_to_balance_request',
|
|
3348
|
-
],
|
|
3349
|
-
'required': [
|
|
3350
|
-
'account_id',
|
|
3351
|
-
'balance_id',
|
|
3352
|
-
],
|
|
3353
|
-
'nullable': [
|
|
3354
|
-
],
|
|
3355
|
-
'enum': [
|
|
3356
|
-
],
|
|
3357
|
-
'validation': [
|
|
3358
|
-
]
|
|
3359
|
-
},
|
|
3360
|
-
root_map={
|
|
3361
|
-
'validations': {
|
|
3362
|
-
},
|
|
3363
|
-
'allowed_values': {
|
|
3364
|
-
},
|
|
3365
|
-
'openapi_types': {
|
|
3366
|
-
'account_id':
|
|
3367
|
-
(str,),
|
|
3368
|
-
'balance_id':
|
|
3369
|
-
(str,),
|
|
3370
|
-
'add_funds_to_balance_request':
|
|
3371
|
-
(AddFundsToBalanceRequest,),
|
|
3372
|
-
},
|
|
3373
|
-
'attribute_map': {
|
|
3374
|
-
'account_id': 'account-id',
|
|
3375
|
-
'balance_id': 'balanceId',
|
|
3376
|
-
},
|
|
3377
|
-
'location_map': {
|
|
3378
|
-
'account_id': 'path',
|
|
3379
|
-
'balance_id': 'path',
|
|
3380
|
-
'add_funds_to_balance_request': 'body',
|
|
3381
|
-
},
|
|
3382
|
-
'collection_format_map': {
|
|
3383
|
-
}
|
|
3384
|
-
},
|
|
3385
|
-
headers_map={
|
|
3386
|
-
'accept': [
|
|
3387
|
-
'application/json'
|
|
3388
|
-
],
|
|
3389
|
-
'content_type': [
|
|
3390
|
-
'application/json'
|
|
3391
|
-
]
|
|
3392
|
-
},
|
|
3393
|
-
api_client=api_client
|
|
3394
|
-
)
|
|
3395
|
-
self.post_api_v1_external_account_balances_by_account_id_endpoint = _Endpoint(
|
|
3396
|
-
settings={
|
|
3397
|
-
'response_type': (BalanceResponse,),
|
|
3398
|
-
'auth': [
|
|
3399
|
-
'oauth',
|
|
3400
|
-
'oauth'
|
|
3401
|
-
],
|
|
3402
|
-
'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/balances',
|
|
3403
|
-
'operation_id': 'post_api_v1_external_account_balances_by_account_id',
|
|
3404
|
-
'http_method': 'POST',
|
|
3405
|
-
'servers': None,
|
|
3406
|
-
},
|
|
3407
|
-
params_map={
|
|
3408
|
-
'all': [
|
|
3409
|
-
'account_id',
|
|
3410
|
-
'create_balance_request',
|
|
3411
|
-
],
|
|
3412
|
-
'required': [
|
|
3413
|
-
'account_id',
|
|
3414
|
-
],
|
|
3415
|
-
'nullable': [
|
|
3416
|
-
],
|
|
3417
|
-
'enum': [
|
|
3418
|
-
],
|
|
3419
|
-
'validation': [
|
|
3420
|
-
]
|
|
3421
|
-
},
|
|
3422
|
-
root_map={
|
|
3423
|
-
'validations': {
|
|
3424
|
-
},
|
|
3425
|
-
'allowed_values': {
|
|
3426
|
-
},
|
|
3427
|
-
'openapi_types': {
|
|
3428
|
-
'account_id':
|
|
3429
|
-
(str,),
|
|
3430
|
-
'create_balance_request':
|
|
3431
|
-
(CreateBalanceRequest,),
|
|
3432
|
-
},
|
|
3433
|
-
'attribute_map': {
|
|
3434
|
-
'account_id': 'account-id',
|
|
3435
|
-
},
|
|
3436
|
-
'location_map': {
|
|
3437
|
-
'account_id': 'path',
|
|
3438
|
-
'create_balance_request': 'body',
|
|
3439
|
-
},
|
|
3440
|
-
'collection_format_map': {
|
|
3441
|
-
}
|
|
3442
|
-
},
|
|
3443
|
-
headers_map={
|
|
3444
|
-
'accept': [
|
|
3445
|
-
'application/json'
|
|
3446
|
-
],
|
|
3447
|
-
'content_type': [
|
|
3448
|
-
'application/json'
|
|
3449
|
-
]
|
|
3450
|
-
},
|
|
3451
|
-
api_client=api_client
|
|
3452
|
-
)
|
|
3453
3009
|
self.post_api_v1_external_account_catalogs_by_account_id_endpoint = _Endpoint(
|
|
3454
3010
|
settings={
|
|
3455
3011
|
'response_type': (JsonApiSingleResponseOfCatalogStatus,),
|
|
@@ -3508,70 +3064,6 @@ class CampaignApi(object):
|
|
|
3508
3064
|
},
|
|
3509
3065
|
api_client=api_client
|
|
3510
3066
|
)
|
|
3511
|
-
self.post_api_v1_external_account_change_dates_by_account_id_and_balance_id_endpoint = _Endpoint(
|
|
3512
|
-
settings={
|
|
3513
|
-
'response_type': (BalanceResponse,),
|
|
3514
|
-
'auth': [
|
|
3515
|
-
'oauth',
|
|
3516
|
-
'oauth'
|
|
3517
|
-
],
|
|
3518
|
-
'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/balances/{balanceId}/change-dates',
|
|
3519
|
-
'operation_id': 'post_api_v1_external_account_change_dates_by_account_id_and_balance_id',
|
|
3520
|
-
'http_method': 'POST',
|
|
3521
|
-
'servers': None,
|
|
3522
|
-
},
|
|
3523
|
-
params_map={
|
|
3524
|
-
'all': [
|
|
3525
|
-
'account_id',
|
|
3526
|
-
'balance_id',
|
|
3527
|
-
'change_dates_of_balance_request',
|
|
3528
|
-
],
|
|
3529
|
-
'required': [
|
|
3530
|
-
'account_id',
|
|
3531
|
-
'balance_id',
|
|
3532
|
-
],
|
|
3533
|
-
'nullable': [
|
|
3534
|
-
],
|
|
3535
|
-
'enum': [
|
|
3536
|
-
],
|
|
3537
|
-
'validation': [
|
|
3538
|
-
]
|
|
3539
|
-
},
|
|
3540
|
-
root_map={
|
|
3541
|
-
'validations': {
|
|
3542
|
-
},
|
|
3543
|
-
'allowed_values': {
|
|
3544
|
-
},
|
|
3545
|
-
'openapi_types': {
|
|
3546
|
-
'account_id':
|
|
3547
|
-
(str,),
|
|
3548
|
-
'balance_id':
|
|
3549
|
-
(str,),
|
|
3550
|
-
'change_dates_of_balance_request':
|
|
3551
|
-
(ChangeDatesOfBalanceRequest,),
|
|
3552
|
-
},
|
|
3553
|
-
'attribute_map': {
|
|
3554
|
-
'account_id': 'account-id',
|
|
3555
|
-
'balance_id': 'balanceId',
|
|
3556
|
-
},
|
|
3557
|
-
'location_map': {
|
|
3558
|
-
'account_id': 'path',
|
|
3559
|
-
'balance_id': 'path',
|
|
3560
|
-
'change_dates_of_balance_request': 'body',
|
|
3561
|
-
},
|
|
3562
|
-
'collection_format_map': {
|
|
3563
|
-
}
|
|
3564
|
-
},
|
|
3565
|
-
headers_map={
|
|
3566
|
-
'accept': [
|
|
3567
|
-
'application/json'
|
|
3568
|
-
],
|
|
3569
|
-
'content_type': [
|
|
3570
|
-
'application/json'
|
|
3571
|
-
]
|
|
3572
|
-
},
|
|
3573
|
-
api_client=api_client
|
|
3574
|
-
)
|
|
3575
3067
|
self.post_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
3576
3068
|
settings={
|
|
3577
3069
|
'response_type': (AuctionLineItemResponse,),
|
|
@@ -4834,22 +4326,22 @@ class CampaignApi(object):
|
|
|
4834
4326
|
line_item_id
|
|
4835
4327
|
return self.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
4836
4328
|
|
|
4837
|
-
def
|
|
4329
|
+
def get_api202110_external_campaign_preferred_line_items_by_campaign_id(
|
|
4838
4330
|
self,
|
|
4839
|
-
|
|
4331
|
+
campaign_id,
|
|
4840
4332
|
**kwargs
|
|
4841
4333
|
):
|
|
4842
|
-
"""
|
|
4334
|
+
"""get_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
|
|
4843
4335
|
|
|
4844
|
-
Gets page of
|
|
4336
|
+
Gets page of preferred line item objects for the given campaign id # noqa: E501
|
|
4845
4337
|
This method makes a synchronous HTTP request by default. To make an
|
|
4846
4338
|
asynchronous HTTP request, please pass async_req=True
|
|
4847
4339
|
|
|
4848
|
-
>>> thread = api.
|
|
4340
|
+
>>> thread = api.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
|
|
4849
4341
|
>>> result = thread.get()
|
|
4850
4342
|
|
|
4851
4343
|
Args:
|
|
4852
|
-
|
|
4344
|
+
campaign_id (str): The given campaign id
|
|
4853
4345
|
|
|
4854
4346
|
Keyword Args:
|
|
4855
4347
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
@@ -4887,7 +4379,7 @@ class CampaignApi(object):
|
|
|
4887
4379
|
async_req (bool): execute request asynchronously
|
|
4888
4380
|
|
|
4889
4381
|
Returns:
|
|
4890
|
-
|
|
4382
|
+
PreferredLineItem202110PagedListResponse
|
|
4891
4383
|
If the method is called asynchronously, returns the request
|
|
4892
4384
|
thread.
|
|
4893
4385
|
"""
|
|
@@ -4916,26 +4408,26 @@ class CampaignApi(object):
|
|
|
4916
4408
|
'_content_type')
|
|
4917
4409
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4918
4410
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4919
|
-
kwargs['
|
|
4920
|
-
|
|
4921
|
-
return self.
|
|
4411
|
+
kwargs['campaign_id'] = \
|
|
4412
|
+
campaign_id
|
|
4413
|
+
return self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
|
|
4922
4414
|
|
|
4923
|
-
def
|
|
4415
|
+
def get_api202110_external_line_item_products_by_line_item_id(
|
|
4924
4416
|
self,
|
|
4925
|
-
|
|
4417
|
+
line_item_id,
|
|
4926
4418
|
**kwargs
|
|
4927
4419
|
):
|
|
4928
|
-
"""
|
|
4420
|
+
"""get_api202110_external_line_item_products_by_line_item_id # noqa: E501
|
|
4929
4421
|
|
|
4930
|
-
|
|
4422
|
+
This endpoint gets the promoted products on the specified line item. # noqa: E501
|
|
4931
4423
|
This method makes a synchronous HTTP request by default. To make an
|
|
4932
4424
|
asynchronous HTTP request, please pass async_req=True
|
|
4933
4425
|
|
|
4934
|
-
>>> thread = api.
|
|
4426
|
+
>>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True)
|
|
4935
4427
|
>>> result = thread.get()
|
|
4936
4428
|
|
|
4937
4429
|
Args:
|
|
4938
|
-
|
|
4430
|
+
line_item_id (str): The line item to interact with
|
|
4939
4431
|
|
|
4940
4432
|
Keyword Args:
|
|
4941
4433
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
@@ -4973,7 +4465,7 @@ class CampaignApi(object):
|
|
|
4973
4465
|
async_req (bool): execute request asynchronously
|
|
4974
4466
|
|
|
4975
4467
|
Returns:
|
|
4976
|
-
|
|
4468
|
+
PromotedProduct202110PagedListResponse
|
|
4977
4469
|
If the method is called asynchronously, returns the request
|
|
4978
4470
|
thread.
|
|
4979
4471
|
"""
|
|
@@ -5002,97 +4494,11 @@ class CampaignApi(object):
|
|
|
5002
4494
|
'_content_type')
|
|
5003
4495
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5004
4496
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5005
|
-
kwargs['
|
|
5006
|
-
|
|
5007
|
-
return self.
|
|
4497
|
+
kwargs['line_item_id'] = \
|
|
4498
|
+
line_item_id
|
|
4499
|
+
return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
5008
4500
|
|
|
5009
|
-
def
|
|
5010
|
-
self,
|
|
5011
|
-
line_item_id,
|
|
5012
|
-
**kwargs
|
|
5013
|
-
):
|
|
5014
|
-
"""get_api202110_external_line_item_products_by_line_item_id # noqa: E501
|
|
5015
|
-
|
|
5016
|
-
This endpoint gets the promoted products on the specified line item. # noqa: E501
|
|
5017
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
5018
|
-
asynchronous HTTP request, please pass async_req=True
|
|
5019
|
-
|
|
5020
|
-
>>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True)
|
|
5021
|
-
>>> result = thread.get()
|
|
5022
|
-
|
|
5023
|
-
Args:
|
|
5024
|
-
line_item_id (str): The line item to interact with
|
|
5025
|
-
|
|
5026
|
-
Keyword Args:
|
|
5027
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
5028
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
5029
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
5030
|
-
_return_http_data_only (bool): response data without head status
|
|
5031
|
-
code and headers. Default is True.
|
|
5032
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5033
|
-
will be returned without reading/decoding response data.
|
|
5034
|
-
Default is True.
|
|
5035
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5036
|
-
one number provided, it will be total request timeout. It can also
|
|
5037
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
5038
|
-
Default is None.
|
|
5039
|
-
_check_input_type (bool): specifies if type checking
|
|
5040
|
-
should be done one the data sent to the server.
|
|
5041
|
-
Default is True.
|
|
5042
|
-
_check_return_type (bool): specifies if type checking
|
|
5043
|
-
should be done one the data received from the server.
|
|
5044
|
-
Default is True.
|
|
5045
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
5046
|
-
are serialized names, as specified in the OpenAPI document.
|
|
5047
|
-
False if the variable names in the input data
|
|
5048
|
-
are pythonic names, e.g. snake case (default)
|
|
5049
|
-
_content_type (str/None): force body content-type.
|
|
5050
|
-
Default is None and content-type will be predicted by allowed
|
|
5051
|
-
content-types and body.
|
|
5052
|
-
_host_index (int/None): specifies the index of the server
|
|
5053
|
-
that we want to use.
|
|
5054
|
-
Default is read from the configuration.
|
|
5055
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
5056
|
-
request; this effectively ignores the authentication
|
|
5057
|
-
in the spec for a single request.
|
|
5058
|
-
Default is None
|
|
5059
|
-
async_req (bool): execute request asynchronously
|
|
5060
|
-
|
|
5061
|
-
Returns:
|
|
5062
|
-
PromotedProduct202110PagedListResponse
|
|
5063
|
-
If the method is called asynchronously, returns the request
|
|
5064
|
-
thread.
|
|
5065
|
-
"""
|
|
5066
|
-
kwargs['async_req'] = kwargs.get(
|
|
5067
|
-
'async_req', False
|
|
5068
|
-
)
|
|
5069
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5070
|
-
'_return_http_data_only', True
|
|
5071
|
-
)
|
|
5072
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
5073
|
-
'_preload_content', True
|
|
5074
|
-
)
|
|
5075
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
5076
|
-
'_request_timeout', None
|
|
5077
|
-
)
|
|
5078
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
5079
|
-
'_check_input_type', True
|
|
5080
|
-
)
|
|
5081
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
5082
|
-
'_check_return_type', True
|
|
5083
|
-
)
|
|
5084
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5085
|
-
'_spec_property_naming', False
|
|
5086
|
-
)
|
|
5087
|
-
kwargs['_content_type'] = kwargs.get(
|
|
5088
|
-
'_content_type')
|
|
5089
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5090
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5091
|
-
kwargs['line_item_id'] = \
|
|
5092
|
-
line_item_id
|
|
5093
|
-
return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
5094
|
-
|
|
5095
|
-
def get_api202110_external_preferred_line_item_by_line_item_id(
|
|
4501
|
+
def get_api202110_external_preferred_line_item_by_line_item_id(
|
|
5096
4502
|
self,
|
|
5097
4503
|
line_item_id,
|
|
5098
4504
|
**kwargs
|
|
@@ -6181,92 +5587,6 @@ class CampaignApi(object):
|
|
|
6181
5587
|
line_item_id
|
|
6182
5588
|
return self.get_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
6183
5589
|
|
|
6184
|
-
def get_api_v1_external_account_balances_by_account_id(
|
|
6185
|
-
self,
|
|
6186
|
-
account_id,
|
|
6187
|
-
**kwargs
|
|
6188
|
-
):
|
|
6189
|
-
"""get_api_v1_external_account_balances_by_account_id # noqa: E501
|
|
6190
|
-
|
|
6191
|
-
Get page of balances for the given accountId. # noqa: E501
|
|
6192
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
6193
|
-
asynchronous HTTP request, please pass async_req=True
|
|
6194
|
-
|
|
6195
|
-
>>> thread = api.get_api_v1_external_account_balances_by_account_id(account_id, async_req=True)
|
|
6196
|
-
>>> result = thread.get()
|
|
6197
|
-
|
|
6198
|
-
Args:
|
|
6199
|
-
account_id (str): The account to get page of balances for
|
|
6200
|
-
|
|
6201
|
-
Keyword Args:
|
|
6202
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
6203
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
|
|
6204
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
|
|
6205
|
-
_return_http_data_only (bool): response data without head status
|
|
6206
|
-
code and headers. Default is True.
|
|
6207
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6208
|
-
will be returned without reading/decoding response data.
|
|
6209
|
-
Default is True.
|
|
6210
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6211
|
-
one number provided, it will be total request timeout. It can also
|
|
6212
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
6213
|
-
Default is None.
|
|
6214
|
-
_check_input_type (bool): specifies if type checking
|
|
6215
|
-
should be done one the data sent to the server.
|
|
6216
|
-
Default is True.
|
|
6217
|
-
_check_return_type (bool): specifies if type checking
|
|
6218
|
-
should be done one the data received from the server.
|
|
6219
|
-
Default is True.
|
|
6220
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
6221
|
-
are serialized names, as specified in the OpenAPI document.
|
|
6222
|
-
False if the variable names in the input data
|
|
6223
|
-
are pythonic names, e.g. snake case (default)
|
|
6224
|
-
_content_type (str/None): force body content-type.
|
|
6225
|
-
Default is None and content-type will be predicted by allowed
|
|
6226
|
-
content-types and body.
|
|
6227
|
-
_host_index (int/None): specifies the index of the server
|
|
6228
|
-
that we want to use.
|
|
6229
|
-
Default is read from the configuration.
|
|
6230
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
6231
|
-
request; this effectively ignores the authentication
|
|
6232
|
-
in the spec for a single request.
|
|
6233
|
-
Default is None
|
|
6234
|
-
async_req (bool): execute request asynchronously
|
|
6235
|
-
|
|
6236
|
-
Returns:
|
|
6237
|
-
BalanceResponsePagedListResponse
|
|
6238
|
-
If the method is called asynchronously, returns the request
|
|
6239
|
-
thread.
|
|
6240
|
-
"""
|
|
6241
|
-
kwargs['async_req'] = kwargs.get(
|
|
6242
|
-
'async_req', False
|
|
6243
|
-
)
|
|
6244
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6245
|
-
'_return_http_data_only', True
|
|
6246
|
-
)
|
|
6247
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
6248
|
-
'_preload_content', True
|
|
6249
|
-
)
|
|
6250
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
6251
|
-
'_request_timeout', None
|
|
6252
|
-
)
|
|
6253
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
6254
|
-
'_check_input_type', True
|
|
6255
|
-
)
|
|
6256
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
6257
|
-
'_check_return_type', True
|
|
6258
|
-
)
|
|
6259
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6260
|
-
'_spec_property_naming', False
|
|
6261
|
-
)
|
|
6262
|
-
kwargs['_content_type'] = kwargs.get(
|
|
6263
|
-
'_content_type')
|
|
6264
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6265
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6266
|
-
kwargs['account_id'] = \
|
|
6267
|
-
account_id
|
|
6268
|
-
return self.get_api_v1_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
6269
|
-
|
|
6270
5590
|
def get_api_v1_external_account_brands_by_account_id(
|
|
6271
5591
|
self,
|
|
6272
5592
|
account_id,
|
|
@@ -6286,8 +5606,8 @@ class CampaignApi(object):
|
|
|
6286
5606
|
|
|
6287
5607
|
Keyword Args:
|
|
6288
5608
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
6289
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
6290
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
5609
|
+
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
|
|
5610
|
+
page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
|
|
6291
5611
|
_return_http_data_only (bool): response data without head status
|
|
6292
5612
|
code and headers. Default is True.
|
|
6293
5613
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -6353,93 +5673,6 @@ class CampaignApi(object):
|
|
|
6353
5673
|
account_id
|
|
6354
5674
|
return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
6355
5675
|
|
|
6356
|
-
def get_api_v1_external_account_by_account_id_and_balance_id(
|
|
6357
|
-
self,
|
|
6358
|
-
account_id,
|
|
6359
|
-
balance_id,
|
|
6360
|
-
**kwargs
|
|
6361
|
-
):
|
|
6362
|
-
"""get_api_v1_external_account_by_account_id_and_balance_id # noqa: E501
|
|
6363
|
-
|
|
6364
|
-
Get a balance for the given account id and balance id # noqa: E501
|
|
6365
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
6366
|
-
asynchronous HTTP request, please pass async_req=True
|
|
6367
|
-
|
|
6368
|
-
>>> thread = api.get_api_v1_external_account_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
|
|
6369
|
-
>>> result = thread.get()
|
|
6370
|
-
|
|
6371
|
-
Args:
|
|
6372
|
-
account_id (str): The account of the balance
|
|
6373
|
-
balance_id (str): The balance id
|
|
6374
|
-
|
|
6375
|
-
Keyword Args:
|
|
6376
|
-
_return_http_data_only (bool): response data without head status
|
|
6377
|
-
code and headers. Default is True.
|
|
6378
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6379
|
-
will be returned without reading/decoding response data.
|
|
6380
|
-
Default is True.
|
|
6381
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6382
|
-
one number provided, it will be total request timeout. It can also
|
|
6383
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
6384
|
-
Default is None.
|
|
6385
|
-
_check_input_type (bool): specifies if type checking
|
|
6386
|
-
should be done one the data sent to the server.
|
|
6387
|
-
Default is True.
|
|
6388
|
-
_check_return_type (bool): specifies if type checking
|
|
6389
|
-
should be done one the data received from the server.
|
|
6390
|
-
Default is True.
|
|
6391
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
6392
|
-
are serialized names, as specified in the OpenAPI document.
|
|
6393
|
-
False if the variable names in the input data
|
|
6394
|
-
are pythonic names, e.g. snake case (default)
|
|
6395
|
-
_content_type (str/None): force body content-type.
|
|
6396
|
-
Default is None and content-type will be predicted by allowed
|
|
6397
|
-
content-types and body.
|
|
6398
|
-
_host_index (int/None): specifies the index of the server
|
|
6399
|
-
that we want to use.
|
|
6400
|
-
Default is read from the configuration.
|
|
6401
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
6402
|
-
request; this effectively ignores the authentication
|
|
6403
|
-
in the spec for a single request.
|
|
6404
|
-
Default is None
|
|
6405
|
-
async_req (bool): execute request asynchronously
|
|
6406
|
-
|
|
6407
|
-
Returns:
|
|
6408
|
-
BalanceResponse
|
|
6409
|
-
If the method is called asynchronously, returns the request
|
|
6410
|
-
thread.
|
|
6411
|
-
"""
|
|
6412
|
-
kwargs['async_req'] = kwargs.get(
|
|
6413
|
-
'async_req', False
|
|
6414
|
-
)
|
|
6415
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6416
|
-
'_return_http_data_only', True
|
|
6417
|
-
)
|
|
6418
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
6419
|
-
'_preload_content', True
|
|
6420
|
-
)
|
|
6421
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
6422
|
-
'_request_timeout', None
|
|
6423
|
-
)
|
|
6424
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
6425
|
-
'_check_input_type', True
|
|
6426
|
-
)
|
|
6427
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
6428
|
-
'_check_return_type', True
|
|
6429
|
-
)
|
|
6430
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6431
|
-
'_spec_property_naming', False
|
|
6432
|
-
)
|
|
6433
|
-
kwargs['_content_type'] = kwargs.get(
|
|
6434
|
-
'_content_type')
|
|
6435
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6436
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6437
|
-
kwargs['account_id'] = \
|
|
6438
|
-
account_id
|
|
6439
|
-
kwargs['balance_id'] = \
|
|
6440
|
-
balance_id
|
|
6441
|
-
return self.get_api_v1_external_account_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
|
|
6442
|
-
|
|
6443
5676
|
def get_api_v1_external_account_retailers_by_account_id(
|
|
6444
5677
|
self,
|
|
6445
5678
|
account_id,
|
|
@@ -6459,8 +5692,8 @@ class CampaignApi(object):
|
|
|
6459
5692
|
|
|
6460
5693
|
Keyword Args:
|
|
6461
5694
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
6462
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
6463
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
5695
|
+
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
|
|
5696
|
+
page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
|
|
6464
5697
|
_return_http_data_only (bool): response data without head status
|
|
6465
5698
|
code and headers. Default is True.
|
|
6466
5699
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -6526,87 +5759,6 @@ class CampaignApi(object):
|
|
|
6526
5759
|
account_id
|
|
6527
5760
|
return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
6528
5761
|
|
|
6529
|
-
def get_api_v1_external_accounts(
|
|
6530
|
-
self,
|
|
6531
|
-
**kwargs
|
|
6532
|
-
):
|
|
6533
|
-
"""get_api_v1_external_accounts # noqa: E501
|
|
6534
|
-
|
|
6535
|
-
Gets page of account objects that the current user can access # noqa: E501
|
|
6536
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
6537
|
-
asynchronous HTTP request, please pass async_req=True
|
|
6538
|
-
|
|
6539
|
-
>>> thread = api.get_api_v1_external_accounts(async_req=True)
|
|
6540
|
-
>>> result = thread.get()
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
Keyword Args:
|
|
6544
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
6545
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
6546
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
6547
|
-
_return_http_data_only (bool): response data without head status
|
|
6548
|
-
code and headers. Default is True.
|
|
6549
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
6550
|
-
will be returned without reading/decoding response data.
|
|
6551
|
-
Default is True.
|
|
6552
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
6553
|
-
one number provided, it will be total request timeout. It can also
|
|
6554
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
6555
|
-
Default is None.
|
|
6556
|
-
_check_input_type (bool): specifies if type checking
|
|
6557
|
-
should be done one the data sent to the server.
|
|
6558
|
-
Default is True.
|
|
6559
|
-
_check_return_type (bool): specifies if type checking
|
|
6560
|
-
should be done one the data received from the server.
|
|
6561
|
-
Default is True.
|
|
6562
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
6563
|
-
are serialized names, as specified in the OpenAPI document.
|
|
6564
|
-
False if the variable names in the input data
|
|
6565
|
-
are pythonic names, e.g. snake case (default)
|
|
6566
|
-
_content_type (str/None): force body content-type.
|
|
6567
|
-
Default is None and content-type will be predicted by allowed
|
|
6568
|
-
content-types and body.
|
|
6569
|
-
_host_index (int/None): specifies the index of the server
|
|
6570
|
-
that we want to use.
|
|
6571
|
-
Default is read from the configuration.
|
|
6572
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
6573
|
-
request; this effectively ignores the authentication
|
|
6574
|
-
in the spec for a single request.
|
|
6575
|
-
Default is None
|
|
6576
|
-
async_req (bool): execute request asynchronously
|
|
6577
|
-
|
|
6578
|
-
Returns:
|
|
6579
|
-
JsonApiPageResponseOfAccount
|
|
6580
|
-
If the method is called asynchronously, returns the request
|
|
6581
|
-
thread.
|
|
6582
|
-
"""
|
|
6583
|
-
kwargs['async_req'] = kwargs.get(
|
|
6584
|
-
'async_req', False
|
|
6585
|
-
)
|
|
6586
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
6587
|
-
'_return_http_data_only', True
|
|
6588
|
-
)
|
|
6589
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
6590
|
-
'_preload_content', True
|
|
6591
|
-
)
|
|
6592
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
6593
|
-
'_request_timeout', None
|
|
6594
|
-
)
|
|
6595
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
6596
|
-
'_check_input_type', True
|
|
6597
|
-
)
|
|
6598
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
6599
|
-
'_check_return_type', True
|
|
6600
|
-
)
|
|
6601
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
6602
|
-
'_spec_property_naming', False
|
|
6603
|
-
)
|
|
6604
|
-
kwargs['_content_type'] = kwargs.get(
|
|
6605
|
-
'_content_type')
|
|
6606
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
6607
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
6608
|
-
return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
|
|
6609
|
-
|
|
6610
5762
|
def get_api_v1_external_catalog_output_by_catalog_id(
|
|
6611
5763
|
self,
|
|
6612
5764
|
catalog_id,
|
|
@@ -7278,114 +6430,28 @@ class CampaignApi(object):
|
|
|
7278
6430
|
'_content_type')
|
|
7279
6431
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
7280
6432
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
7281
|
-
kwargs['insertion_order_id'] = \
|
|
7282
|
-
insertion_order_id
|
|
7283
|
-
return self.get_insertion_order_history_change_data_capture_endpoint.call_with_http_info(**kwargs)
|
|
7284
|
-
|
|
7285
|
-
def get_line_item_budget_overrides(
|
|
7286
|
-
self,
|
|
7287
|
-
line_item_id,
|
|
7288
|
-
**kwargs
|
|
7289
|
-
):
|
|
7290
|
-
"""get_line_item_budget_overrides # noqa: E501
|
|
7291
|
-
|
|
7292
|
-
Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501
|
|
7293
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
7294
|
-
asynchronous HTTP request, please pass async_req=True
|
|
7295
|
-
|
|
7296
|
-
>>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True)
|
|
7297
|
-
>>> result = thread.get()
|
|
7298
|
-
|
|
7299
|
-
Args:
|
|
7300
|
-
line_item_id (str): The line item id to get budget overrides for.
|
|
7301
|
-
|
|
7302
|
-
Keyword Args:
|
|
7303
|
-
_return_http_data_only (bool): response data without head status
|
|
7304
|
-
code and headers. Default is True.
|
|
7305
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
7306
|
-
will be returned without reading/decoding response data.
|
|
7307
|
-
Default is True.
|
|
7308
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
7309
|
-
one number provided, it will be total request timeout. It can also
|
|
7310
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
7311
|
-
Default is None.
|
|
7312
|
-
_check_input_type (bool): specifies if type checking
|
|
7313
|
-
should be done one the data sent to the server.
|
|
7314
|
-
Default is True.
|
|
7315
|
-
_check_return_type (bool): specifies if type checking
|
|
7316
|
-
should be done one the data received from the server.
|
|
7317
|
-
Default is True.
|
|
7318
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
7319
|
-
are serialized names, as specified in the OpenAPI document.
|
|
7320
|
-
False if the variable names in the input data
|
|
7321
|
-
are pythonic names, e.g. snake case (default)
|
|
7322
|
-
_content_type (str/None): force body content-type.
|
|
7323
|
-
Default is None and content-type will be predicted by allowed
|
|
7324
|
-
content-types and body.
|
|
7325
|
-
_host_index (int/None): specifies the index of the server
|
|
7326
|
-
that we want to use.
|
|
7327
|
-
Default is read from the configuration.
|
|
7328
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
7329
|
-
request; this effectively ignores the authentication
|
|
7330
|
-
in the spec for a single request.
|
|
7331
|
-
Default is None
|
|
7332
|
-
async_req (bool): execute request asynchronously
|
|
7333
|
-
|
|
7334
|
-
Returns:
|
|
7335
|
-
ValueResourceOutcomeOfLineItemBudgetOverrides
|
|
7336
|
-
If the method is called asynchronously, returns the request
|
|
7337
|
-
thread.
|
|
7338
|
-
"""
|
|
7339
|
-
kwargs['async_req'] = kwargs.get(
|
|
7340
|
-
'async_req', False
|
|
7341
|
-
)
|
|
7342
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
7343
|
-
'_return_http_data_only', True
|
|
7344
|
-
)
|
|
7345
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
7346
|
-
'_preload_content', True
|
|
7347
|
-
)
|
|
7348
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
7349
|
-
'_request_timeout', None
|
|
7350
|
-
)
|
|
7351
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
7352
|
-
'_check_input_type', True
|
|
7353
|
-
)
|
|
7354
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
7355
|
-
'_check_return_type', True
|
|
7356
|
-
)
|
|
7357
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
7358
|
-
'_spec_property_naming', False
|
|
7359
|
-
)
|
|
7360
|
-
kwargs['_content_type'] = kwargs.get(
|
|
7361
|
-
'_content_type')
|
|
7362
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
7363
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
7364
|
-
kwargs['line_item_id'] = \
|
|
7365
|
-
line_item_id
|
|
7366
|
-
return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
|
|
6433
|
+
kwargs['insertion_order_id'] = \
|
|
6434
|
+
insertion_order_id
|
|
6435
|
+
return self.get_insertion_order_history_change_data_capture_endpoint.call_with_http_info(**kwargs)
|
|
7367
6436
|
|
|
7368
|
-
def
|
|
6437
|
+
def get_line_item_budget_overrides(
|
|
7369
6438
|
self,
|
|
7370
|
-
|
|
7371
|
-
balance_id,
|
|
6439
|
+
line_item_id,
|
|
7372
6440
|
**kwargs
|
|
7373
6441
|
):
|
|
7374
|
-
"""
|
|
6442
|
+
"""get_line_item_budget_overrides # noqa: E501
|
|
7375
6443
|
|
|
7376
|
-
|
|
6444
|
+
Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501
|
|
7377
6445
|
This method makes a synchronous HTTP request by default. To make an
|
|
7378
6446
|
asynchronous HTTP request, please pass async_req=True
|
|
7379
6447
|
|
|
7380
|
-
>>> thread = api.
|
|
6448
|
+
>>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True)
|
|
7381
6449
|
>>> result = thread.get()
|
|
7382
6450
|
|
|
7383
6451
|
Args:
|
|
7384
|
-
|
|
7385
|
-
balance_id (str): The balance to change the dates
|
|
6452
|
+
line_item_id (str): The line item id to get budget overrides for.
|
|
7386
6453
|
|
|
7387
6454
|
Keyword Args:
|
|
7388
|
-
update_balance_model_request (UpdateBalanceModelRequest): [optional]
|
|
7389
6455
|
_return_http_data_only (bool): response data without head status
|
|
7390
6456
|
code and headers. Default is True.
|
|
7391
6457
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -7418,7 +6484,7 @@ class CampaignApi(object):
|
|
|
7418
6484
|
async_req (bool): execute request asynchronously
|
|
7419
6485
|
|
|
7420
6486
|
Returns:
|
|
7421
|
-
|
|
6487
|
+
ValueResourceOutcomeOfLineItemBudgetOverrides
|
|
7422
6488
|
If the method is called asynchronously, returns the request
|
|
7423
6489
|
thread.
|
|
7424
6490
|
"""
|
|
@@ -7447,11 +6513,9 @@ class CampaignApi(object):
|
|
|
7447
6513
|
'_content_type')
|
|
7448
6514
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
7449
6515
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
7450
|
-
kwargs['
|
|
7451
|
-
|
|
7452
|
-
kwargs
|
|
7453
|
-
balance_id
|
|
7454
|
-
return self.patch_api_v1_external_account_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
|
|
6516
|
+
kwargs['line_item_id'] = \
|
|
6517
|
+
line_item_id
|
|
6518
|
+
return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
|
|
7455
6519
|
|
|
7456
6520
|
def post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(
|
|
7457
6521
|
self,
|
|
@@ -8965,178 +8029,6 @@ class CampaignApi(object):
|
|
|
8965
8029
|
account_id
|
|
8966
8030
|
return self.post_api202301_external_account_campaigns_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
8967
8031
|
|
|
8968
|
-
def post_api_v1_external_account_add_funds_by_account_id_and_balance_id(
|
|
8969
|
-
self,
|
|
8970
|
-
account_id,
|
|
8971
|
-
balance_id,
|
|
8972
|
-
**kwargs
|
|
8973
|
-
):
|
|
8974
|
-
"""post_api_v1_external_account_add_funds_by_account_id_and_balance_id # noqa: E501
|
|
8975
|
-
|
|
8976
|
-
Add funds to a balance for the given account id # noqa: E501
|
|
8977
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
8978
|
-
asynchronous HTTP request, please pass async_req=True
|
|
8979
|
-
|
|
8980
|
-
>>> thread = api.post_api_v1_external_account_add_funds_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
|
|
8981
|
-
>>> result = thread.get()
|
|
8982
|
-
|
|
8983
|
-
Args:
|
|
8984
|
-
account_id (str): The account of the balance
|
|
8985
|
-
balance_id (str): The balance to add funds to
|
|
8986
|
-
|
|
8987
|
-
Keyword Args:
|
|
8988
|
-
add_funds_to_balance_request (AddFundsToBalanceRequest): [optional]
|
|
8989
|
-
_return_http_data_only (bool): response data without head status
|
|
8990
|
-
code and headers. Default is True.
|
|
8991
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
8992
|
-
will be returned without reading/decoding response data.
|
|
8993
|
-
Default is True.
|
|
8994
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
8995
|
-
one number provided, it will be total request timeout. It can also
|
|
8996
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
8997
|
-
Default is None.
|
|
8998
|
-
_check_input_type (bool): specifies if type checking
|
|
8999
|
-
should be done one the data sent to the server.
|
|
9000
|
-
Default is True.
|
|
9001
|
-
_check_return_type (bool): specifies if type checking
|
|
9002
|
-
should be done one the data received from the server.
|
|
9003
|
-
Default is True.
|
|
9004
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
9005
|
-
are serialized names, as specified in the OpenAPI document.
|
|
9006
|
-
False if the variable names in the input data
|
|
9007
|
-
are pythonic names, e.g. snake case (default)
|
|
9008
|
-
_content_type (str/None): force body content-type.
|
|
9009
|
-
Default is None and content-type will be predicted by allowed
|
|
9010
|
-
content-types and body.
|
|
9011
|
-
_host_index (int/None): specifies the index of the server
|
|
9012
|
-
that we want to use.
|
|
9013
|
-
Default is read from the configuration.
|
|
9014
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
9015
|
-
request; this effectively ignores the authentication
|
|
9016
|
-
in the spec for a single request.
|
|
9017
|
-
Default is None
|
|
9018
|
-
async_req (bool): execute request asynchronously
|
|
9019
|
-
|
|
9020
|
-
Returns:
|
|
9021
|
-
BalanceResponse
|
|
9022
|
-
If the method is called asynchronously, returns the request
|
|
9023
|
-
thread.
|
|
9024
|
-
"""
|
|
9025
|
-
kwargs['async_req'] = kwargs.get(
|
|
9026
|
-
'async_req', False
|
|
9027
|
-
)
|
|
9028
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
9029
|
-
'_return_http_data_only', True
|
|
9030
|
-
)
|
|
9031
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
9032
|
-
'_preload_content', True
|
|
9033
|
-
)
|
|
9034
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
9035
|
-
'_request_timeout', None
|
|
9036
|
-
)
|
|
9037
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
9038
|
-
'_check_input_type', True
|
|
9039
|
-
)
|
|
9040
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
9041
|
-
'_check_return_type', True
|
|
9042
|
-
)
|
|
9043
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
9044
|
-
'_spec_property_naming', False
|
|
9045
|
-
)
|
|
9046
|
-
kwargs['_content_type'] = kwargs.get(
|
|
9047
|
-
'_content_type')
|
|
9048
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9049
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9050
|
-
kwargs['account_id'] = \
|
|
9051
|
-
account_id
|
|
9052
|
-
kwargs['balance_id'] = \
|
|
9053
|
-
balance_id
|
|
9054
|
-
return self.post_api_v1_external_account_add_funds_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
|
|
9055
|
-
|
|
9056
|
-
def post_api_v1_external_account_balances_by_account_id(
|
|
9057
|
-
self,
|
|
9058
|
-
account_id,
|
|
9059
|
-
**kwargs
|
|
9060
|
-
):
|
|
9061
|
-
"""post_api_v1_external_account_balances_by_account_id # noqa: E501
|
|
9062
|
-
|
|
9063
|
-
Create balance for the given account id # noqa: E501
|
|
9064
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
9065
|
-
asynchronous HTTP request, please pass async_req=True
|
|
9066
|
-
|
|
9067
|
-
>>> thread = api.post_api_v1_external_account_balances_by_account_id(account_id, async_req=True)
|
|
9068
|
-
>>> result = thread.get()
|
|
9069
|
-
|
|
9070
|
-
Args:
|
|
9071
|
-
account_id (str): The account to create balances for
|
|
9072
|
-
|
|
9073
|
-
Keyword Args:
|
|
9074
|
-
create_balance_request (CreateBalanceRequest): [optional]
|
|
9075
|
-
_return_http_data_only (bool): response data without head status
|
|
9076
|
-
code and headers. Default is True.
|
|
9077
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
9078
|
-
will be returned without reading/decoding response data.
|
|
9079
|
-
Default is True.
|
|
9080
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
9081
|
-
one number provided, it will be total request timeout. It can also
|
|
9082
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
9083
|
-
Default is None.
|
|
9084
|
-
_check_input_type (bool): specifies if type checking
|
|
9085
|
-
should be done one the data sent to the server.
|
|
9086
|
-
Default is True.
|
|
9087
|
-
_check_return_type (bool): specifies if type checking
|
|
9088
|
-
should be done one the data received from the server.
|
|
9089
|
-
Default is True.
|
|
9090
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
9091
|
-
are serialized names, as specified in the OpenAPI document.
|
|
9092
|
-
False if the variable names in the input data
|
|
9093
|
-
are pythonic names, e.g. snake case (default)
|
|
9094
|
-
_content_type (str/None): force body content-type.
|
|
9095
|
-
Default is None and content-type will be predicted by allowed
|
|
9096
|
-
content-types and body.
|
|
9097
|
-
_host_index (int/None): specifies the index of the server
|
|
9098
|
-
that we want to use.
|
|
9099
|
-
Default is read from the configuration.
|
|
9100
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
9101
|
-
request; this effectively ignores the authentication
|
|
9102
|
-
in the spec for a single request.
|
|
9103
|
-
Default is None
|
|
9104
|
-
async_req (bool): execute request asynchronously
|
|
9105
|
-
|
|
9106
|
-
Returns:
|
|
9107
|
-
BalanceResponse
|
|
9108
|
-
If the method is called asynchronously, returns the request
|
|
9109
|
-
thread.
|
|
9110
|
-
"""
|
|
9111
|
-
kwargs['async_req'] = kwargs.get(
|
|
9112
|
-
'async_req', False
|
|
9113
|
-
)
|
|
9114
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
9115
|
-
'_return_http_data_only', True
|
|
9116
|
-
)
|
|
9117
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
9118
|
-
'_preload_content', True
|
|
9119
|
-
)
|
|
9120
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
9121
|
-
'_request_timeout', None
|
|
9122
|
-
)
|
|
9123
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
9124
|
-
'_check_input_type', True
|
|
9125
|
-
)
|
|
9126
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
9127
|
-
'_check_return_type', True
|
|
9128
|
-
)
|
|
9129
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
9130
|
-
'_spec_property_naming', False
|
|
9131
|
-
)
|
|
9132
|
-
kwargs['_content_type'] = kwargs.get(
|
|
9133
|
-
'_content_type')
|
|
9134
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9135
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9136
|
-
kwargs['account_id'] = \
|
|
9137
|
-
account_id
|
|
9138
|
-
return self.post_api_v1_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
9139
|
-
|
|
9140
8032
|
def post_api_v1_external_account_catalogs_by_account_id(
|
|
9141
8033
|
self,
|
|
9142
8034
|
account_id,
|
|
@@ -9221,94 +8113,6 @@ class CampaignApi(object):
|
|
|
9221
8113
|
account_id
|
|
9222
8114
|
return self.post_api_v1_external_account_catalogs_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
9223
8115
|
|
|
9224
|
-
def post_api_v1_external_account_change_dates_by_account_id_and_balance_id(
|
|
9225
|
-
self,
|
|
9226
|
-
account_id,
|
|
9227
|
-
balance_id,
|
|
9228
|
-
**kwargs
|
|
9229
|
-
):
|
|
9230
|
-
"""post_api_v1_external_account_change_dates_by_account_id_and_balance_id # noqa: E501
|
|
9231
|
-
|
|
9232
|
-
Change dates of a balance for the given account id # noqa: E501
|
|
9233
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
9234
|
-
asynchronous HTTP request, please pass async_req=True
|
|
9235
|
-
|
|
9236
|
-
>>> thread = api.post_api_v1_external_account_change_dates_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
|
|
9237
|
-
>>> result = thread.get()
|
|
9238
|
-
|
|
9239
|
-
Args:
|
|
9240
|
-
account_id (str): The account of the balance
|
|
9241
|
-
balance_id (str): The balance to change the dates
|
|
9242
|
-
|
|
9243
|
-
Keyword Args:
|
|
9244
|
-
change_dates_of_balance_request (ChangeDatesOfBalanceRequest): [optional]
|
|
9245
|
-
_return_http_data_only (bool): response data without head status
|
|
9246
|
-
code and headers. Default is True.
|
|
9247
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
9248
|
-
will be returned without reading/decoding response data.
|
|
9249
|
-
Default is True.
|
|
9250
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
9251
|
-
one number provided, it will be total request timeout. It can also
|
|
9252
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
9253
|
-
Default is None.
|
|
9254
|
-
_check_input_type (bool): specifies if type checking
|
|
9255
|
-
should be done one the data sent to the server.
|
|
9256
|
-
Default is True.
|
|
9257
|
-
_check_return_type (bool): specifies if type checking
|
|
9258
|
-
should be done one the data received from the server.
|
|
9259
|
-
Default is True.
|
|
9260
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
9261
|
-
are serialized names, as specified in the OpenAPI document.
|
|
9262
|
-
False if the variable names in the input data
|
|
9263
|
-
are pythonic names, e.g. snake case (default)
|
|
9264
|
-
_content_type (str/None): force body content-type.
|
|
9265
|
-
Default is None and content-type will be predicted by allowed
|
|
9266
|
-
content-types and body.
|
|
9267
|
-
_host_index (int/None): specifies the index of the server
|
|
9268
|
-
that we want to use.
|
|
9269
|
-
Default is read from the configuration.
|
|
9270
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
9271
|
-
request; this effectively ignores the authentication
|
|
9272
|
-
in the spec for a single request.
|
|
9273
|
-
Default is None
|
|
9274
|
-
async_req (bool): execute request asynchronously
|
|
9275
|
-
|
|
9276
|
-
Returns:
|
|
9277
|
-
BalanceResponse
|
|
9278
|
-
If the method is called asynchronously, returns the request
|
|
9279
|
-
thread.
|
|
9280
|
-
"""
|
|
9281
|
-
kwargs['async_req'] = kwargs.get(
|
|
9282
|
-
'async_req', False
|
|
9283
|
-
)
|
|
9284
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
9285
|
-
'_return_http_data_only', True
|
|
9286
|
-
)
|
|
9287
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
9288
|
-
'_preload_content', True
|
|
9289
|
-
)
|
|
9290
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
9291
|
-
'_request_timeout', None
|
|
9292
|
-
)
|
|
9293
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
9294
|
-
'_check_input_type', True
|
|
9295
|
-
)
|
|
9296
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
9297
|
-
'_check_return_type', True
|
|
9298
|
-
)
|
|
9299
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
9300
|
-
'_spec_property_naming', False
|
|
9301
|
-
)
|
|
9302
|
-
kwargs['_content_type'] = kwargs.get(
|
|
9303
|
-
'_content_type')
|
|
9304
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9305
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9306
|
-
kwargs['account_id'] = \
|
|
9307
|
-
account_id
|
|
9308
|
-
kwargs['balance_id'] = \
|
|
9309
|
-
balance_id
|
|
9310
|
-
return self.post_api_v1_external_account_change_dates_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
|
|
9311
|
-
|
|
9312
8116
|
def post_api_v2_external_campaign_auction_line_items_by_campaign_id(
|
|
9313
8117
|
self,
|
|
9314
8118
|
campaign_id,
|