criteo-api-retailmedia-sdk 2023.10.0.240626__py3-none-any.whl → 2023.10.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.

Files changed (21) hide show
  1. {criteo_api_retailmedia_sdk-2023.10.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240808.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2023.10.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240808.dist-info}/RECORD +21 -19
  3. {criteo_api_retailmedia_sdk-2023.10.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240808.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2023_10/__init__.py +1 -1
  5. criteo_api_retailmedia_v2023_10/api/__init__.py +1 -1
  6. criteo_api_retailmedia_v2023_10/api/accounts_api.py +182 -0
  7. criteo_api_retailmedia_v2023_10/api/balance_api.py +1095 -0
  8. criteo_api_retailmedia_v2023_10/api/campaign_api.py +51 -1247
  9. criteo_api_retailmedia_v2023_10/api_client.py +5 -5
  10. criteo_api_retailmedia_v2023_10/apis/__init__.py +3 -1
  11. criteo_api_retailmedia_v2023_10/configuration.py +1 -1
  12. criteo_api_retailmedia_v2023_10/model/application_summary_model_response.py +0 -4
  13. criteo_api_retailmedia_v2023_10/model/async_campaigns_report.py +2 -0
  14. criteo_api_retailmedia_v2023_10/model/async_line_items_report.py +2 -0
  15. criteo_api_retailmedia_v2023_10/model/async_revenue_report.py +17 -4
  16. criteo_api_retailmedia_v2023_10/model/common_problem.py +2 -2
  17. criteo_api_retailmedia_v2023_10/model/external_balance_response.py +14 -2
  18. criteo_api_retailmedia_v2023_10/model/json_api_page_response_of_account.py +8 -6
  19. criteo_api_retailmedia_v2023_10/model/json_api_page_response_of_brand.py +8 -6
  20. criteo_api_retailmedia_v2023_10/model/json_api_page_response_of_retailer.py +8 -6
  21. {criteo_api_retailmedia_sdk-2023.10.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.10.0.240808.dist-info}/top_level.txt +0 -0
@@ -21,7 +21,6 @@ from criteo_api_retailmedia_v2023_10.model_utils import ( # noqa: F401
21
21
  none_type,
22
22
  validate_and_convert_types
23
23
  )
24
- from criteo_api_retailmedia_v2023_10.model.add_funds_to_balance_request import AddFundsToBalanceRequest
25
24
  from criteo_api_retailmedia_v2023_10.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest
26
25
  from criteo_api_retailmedia_v2023_10.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request
27
26
  from criteo_api_retailmedia_v2023_10.model.add_to_basket_target202110_request import AddToBasketTarget202110Request
@@ -36,21 +35,16 @@ from criteo_api_retailmedia_v2023_10.model.audience_target202110_request import
36
35
  from criteo_api_retailmedia_v2023_10.model.audience_target202110_response import AudienceTarget202110Response
37
36
  from criteo_api_retailmedia_v2023_10.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest
38
37
  from criteo_api_retailmedia_v2023_10.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse
39
- from criteo_api_retailmedia_v2023_10.model.balance_response import BalanceResponse
40
- from criteo_api_retailmedia_v2023_10.model.balance_response_paged_list_response import BalanceResponsePagedListResponse
41
38
  from criteo_api_retailmedia_v2023_10.model.category202204 import Category202204
42
39
  from criteo_api_retailmedia_v2023_10.model.category202204_list_response import Category202204ListResponse
43
- from criteo_api_retailmedia_v2023_10.model.change_dates_of_balance_request import ChangeDatesOfBalanceRequest
44
40
  from criteo_api_retailmedia_v2023_10.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse
45
41
  from criteo_api_retailmedia_v2023_10.model.common_line_item_response import CommonLineItemResponse
46
- from criteo_api_retailmedia_v2023_10.model.create_balance_request import CreateBalanceRequest
47
42
  from criteo_api_retailmedia_v2023_10.model.creative202110_list_response import Creative202110ListResponse
48
43
  from criteo_api_retailmedia_v2023_10.model.creative202210_list_response import Creative202210ListResponse
49
44
  from criteo_api_retailmedia_v2023_10.model.creative202210_response import Creative202210Response
50
45
  from criteo_api_retailmedia_v2023_10.model.creative_create_model202207 import CreativeCreateModel202207
51
46
  from criteo_api_retailmedia_v2023_10.model.creative_update_model202207 import CreativeUpdateModel202207
52
47
  from criteo_api_retailmedia_v2023_10.model.external_retailer_pages202110 import ExternalRetailerPages202110
53
- from criteo_api_retailmedia_v2023_10.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
54
48
  from criteo_api_retailmedia_v2023_10.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
55
49
  from criteo_api_retailmedia_v2023_10.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301
56
50
  from criteo_api_retailmedia_v2023_10.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer
@@ -79,7 +73,6 @@ from criteo_api_retailmedia_v2023_10.model.store_target202110_request import Sto
79
73
  from criteo_api_retailmedia_v2023_10.model.store_target202110_response import StoreTarget202110Response
80
74
  from criteo_api_retailmedia_v2023_10.model.template_list_response import TemplateListResponse
81
75
  from criteo_api_retailmedia_v2023_10.model.template_response import TemplateResponse
82
- from criteo_api_retailmedia_v2023_10.model.update_balance_model_request import UpdateBalanceModelRequest
83
76
 
84
77
 
85
78
  class CampaignApi(object):
@@ -415,74 +408,6 @@ class CampaignApi(object):
415
408
  },
416
409
  api_client=api_client
417
410
  )
418
- self.get_api202110_external_balance_campaigns_by_balance_id_endpoint = _Endpoint(
419
- settings={
420
- 'response_type': (BalanceCampaign202110PagedListResponse,),
421
- 'auth': [
422
- 'oauth',
423
- 'oauth'
424
- ],
425
- 'endpoint_path': '/2023-10/retail-media/balances/{balance-id}/campaigns',
426
- 'operation_id': 'get_api202110_external_balance_campaigns_by_balance_id',
427
- 'http_method': 'GET',
428
- 'servers': None,
429
- },
430
- params_map={
431
- 'all': [
432
- 'balance_id',
433
- 'limit_to_id',
434
- 'page_index',
435
- 'page_size',
436
- ],
437
- 'required': [
438
- 'balance_id',
439
- ],
440
- 'nullable': [
441
- ],
442
- 'enum': [
443
- ],
444
- 'validation': [
445
- ]
446
- },
447
- root_map={
448
- 'validations': {
449
- },
450
- 'allowed_values': {
451
- },
452
- 'openapi_types': {
453
- 'balance_id':
454
- (str,),
455
- 'limit_to_id':
456
- ([str],),
457
- 'page_index':
458
- (int,),
459
- 'page_size':
460
- (int,),
461
- },
462
- 'attribute_map': {
463
- 'balance_id': 'balance-id',
464
- 'limit_to_id': 'limitToId',
465
- 'page_index': 'pageIndex',
466
- 'page_size': 'pageSize',
467
- },
468
- 'location_map': {
469
- 'balance_id': 'path',
470
- 'limit_to_id': 'query',
471
- 'page_index': 'query',
472
- 'page_size': 'query',
473
- },
474
- 'collection_format_map': {
475
- 'limit_to_id': 'multi',
476
- }
477
- },
478
- headers_map={
479
- 'accept': [
480
- 'application/json'
481
- ],
482
- 'content_type': [],
483
- },
484
- api_client=api_client
485
- )
486
411
  self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
487
412
  settings={
488
413
  'response_type': (PreferredLineItem202110PagedListResponse,),
@@ -1350,74 +1275,6 @@ class CampaignApi(object):
1350
1275
  },
1351
1276
  api_client=api_client
1352
1277
  )
1353
- self.get_api_v1_external_account_balances_by_account_id_endpoint = _Endpoint(
1354
- settings={
1355
- 'response_type': (BalanceResponsePagedListResponse,),
1356
- 'auth': [
1357
- 'oauth',
1358
- 'oauth'
1359
- ],
1360
- 'endpoint_path': '/2023-10/retail-media/accounts/{account-id}/balances',
1361
- 'operation_id': 'get_api_v1_external_account_balances_by_account_id',
1362
- 'http_method': 'GET',
1363
- 'servers': None,
1364
- },
1365
- params_map={
1366
- 'all': [
1367
- 'account_id',
1368
- 'limit_to_id',
1369
- 'page_index',
1370
- 'page_size',
1371
- ],
1372
- 'required': [
1373
- 'account_id',
1374
- ],
1375
- 'nullable': [
1376
- ],
1377
- 'enum': [
1378
- ],
1379
- 'validation': [
1380
- ]
1381
- },
1382
- root_map={
1383
- 'validations': {
1384
- },
1385
- 'allowed_values': {
1386
- },
1387
- 'openapi_types': {
1388
- 'account_id':
1389
- (str,),
1390
- 'limit_to_id':
1391
- ([str],),
1392
- 'page_index':
1393
- (int,),
1394
- 'page_size':
1395
- (int,),
1396
- },
1397
- 'attribute_map': {
1398
- 'account_id': 'account-id',
1399
- 'limit_to_id': 'limitToId',
1400
- 'page_index': 'pageIndex',
1401
- 'page_size': 'pageSize',
1402
- },
1403
- 'location_map': {
1404
- 'account_id': 'path',
1405
- 'limit_to_id': 'query',
1406
- 'page_index': 'query',
1407
- 'page_size': 'query',
1408
- },
1409
- 'collection_format_map': {
1410
- 'limit_to_id': 'multi',
1411
- }
1412
- },
1413
- headers_map={
1414
- 'accept': [
1415
- 'application/json'
1416
- ],
1417
- 'content_type': [],
1418
- },
1419
- api_client=api_client
1420
- )
1421
1278
  self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint(
1422
1279
  settings={
1423
1280
  'response_type': (JsonApiPageResponseOfBrand,),
@@ -1480,65 +1337,9 @@ class CampaignApi(object):
1480
1337
  },
1481
1338
  headers_map={
1482
1339
  'accept': [
1483
- 'application/json'
1484
- ],
1485
- 'content_type': [],
1486
- },
1487
- api_client=api_client
1488
- )
1489
- self.get_api_v1_external_account_by_account_id_and_balance_id_endpoint = _Endpoint(
1490
- settings={
1491
- 'response_type': (BalanceResponse,),
1492
- 'auth': [
1493
- 'oauth',
1494
- 'oauth'
1495
- ],
1496
- 'endpoint_path': '/2023-10/retail-media/accounts/{account-id}/balances/{balanceId}',
1497
- 'operation_id': 'get_api_v1_external_account_by_account_id_and_balance_id',
1498
- 'http_method': 'GET',
1499
- 'servers': None,
1500
- },
1501
- params_map={
1502
- 'all': [
1503
- 'account_id',
1504
- 'balance_id',
1505
- ],
1506
- 'required': [
1507
- 'account_id',
1508
- 'balance_id',
1509
- ],
1510
- 'nullable': [
1511
- ],
1512
- 'enum': [
1513
- ],
1514
- 'validation': [
1515
- ]
1516
- },
1517
- root_map={
1518
- 'validations': {
1519
- },
1520
- 'allowed_values': {
1521
- },
1522
- 'openapi_types': {
1523
- 'account_id':
1524
- (str,),
1525
- 'balance_id':
1526
- (str,),
1527
- },
1528
- 'attribute_map': {
1529
- 'account_id': 'account-id',
1530
- 'balance_id': 'balanceId',
1531
- },
1532
- 'location_map': {
1533
- 'account_id': 'path',
1534
- 'balance_id': 'path',
1535
- },
1536
- 'collection_format_map': {
1537
- }
1538
- },
1539
- headers_map={
1540
- 'accept': [
1541
- 'application/json'
1340
+ 'text/plain',
1341
+ 'application/json',
1342
+ 'text/json'
1542
1343
  ],
1543
1344
  'content_type': [],
1544
1345
  },
@@ -1606,68 +1407,9 @@ class CampaignApi(object):
1606
1407
  },
1607
1408
  headers_map={
1608
1409
  'accept': [
1609
- 'application/json'
1610
- ],
1611
- 'content_type': [],
1612
- },
1613
- api_client=api_client
1614
- )
1615
- self.get_api_v1_external_accounts_endpoint = _Endpoint(
1616
- settings={
1617
- 'response_type': (JsonApiPageResponseOfAccount,),
1618
- 'auth': [
1619
- 'oauth',
1620
- 'oauth'
1621
- ],
1622
- 'endpoint_path': '/2023-10/retail-media/accounts',
1623
- 'operation_id': 'get_api_v1_external_accounts',
1624
- 'http_method': 'GET',
1625
- 'servers': None,
1626
- },
1627
- params_map={
1628
- 'all': [
1629
- 'limit_to_id',
1630
- 'page_index',
1631
- 'page_size',
1632
- ],
1633
- 'required': [],
1634
- 'nullable': [
1635
- ],
1636
- 'enum': [
1637
- ],
1638
- 'validation': [
1639
- ]
1640
- },
1641
- root_map={
1642
- 'validations': {
1643
- },
1644
- 'allowed_values': {
1645
- },
1646
- 'openapi_types': {
1647
- 'limit_to_id':
1648
- ([str],),
1649
- 'page_index':
1650
- (int,),
1651
- 'page_size':
1652
- (int,),
1653
- },
1654
- 'attribute_map': {
1655
- 'limit_to_id': 'limitToId',
1656
- 'page_index': 'pageIndex',
1657
- 'page_size': 'pageSize',
1658
- },
1659
- 'location_map': {
1660
- 'limit_to_id': 'query',
1661
- 'page_index': 'query',
1662
- 'page_size': 'query',
1663
- },
1664
- 'collection_format_map': {
1665
- 'limit_to_id': 'multi',
1666
- }
1667
- },
1668
- headers_map={
1669
- 'accept': [
1670
- 'application/json'
1410
+ 'text/plain',
1411
+ 'application/json',
1412
+ 'text/json'
1671
1413
  ],
1672
1414
  'content_type': [],
1673
1415
  },
@@ -2036,86 +1778,22 @@ class CampaignApi(object):
2036
1778
  },
2037
1779
  api_client=api_client
2038
1780
  )
2039
- self.patch_api_v1_external_account_by_account_id_and_balance_id_endpoint = _Endpoint(
1781
+ self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint(
2040
1782
  settings={
2041
- 'response_type': (BalanceResponse,),
1783
+ 'response_type': (KeywordTarget202110Response,),
2042
1784
  'auth': [
2043
1785
  'oauth',
2044
1786
  'oauth'
2045
1787
  ],
2046
- 'endpoint_path': '/2023-10/retail-media/accounts/{account-id}/balances/{balanceId}',
2047
- 'operation_id': 'patch_api_v1_external_account_by_account_id_and_balance_id',
2048
- 'http_method': 'PATCH',
1788
+ 'endpoint_path': '/2023-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append',
1789
+ 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id',
1790
+ 'http_method': 'POST',
2049
1791
  'servers': None,
2050
1792
  },
2051
1793
  params_map={
2052
1794
  'all': [
2053
- 'account_id',
2054
- 'balance_id',
2055
- 'update_balance_model_request',
2056
- ],
2057
- 'required': [
2058
- 'account_id',
2059
- 'balance_id',
2060
- ],
2061
- 'nullable': [
2062
- ],
2063
- 'enum': [
2064
- ],
2065
- 'validation': [
2066
- ]
2067
- },
2068
- root_map={
2069
- 'validations': {
2070
- },
2071
- 'allowed_values': {
2072
- },
2073
- 'openapi_types': {
2074
- 'account_id':
2075
- (str,),
2076
- 'balance_id':
2077
- (str,),
2078
- 'update_balance_model_request':
2079
- (UpdateBalanceModelRequest,),
2080
- },
2081
- 'attribute_map': {
2082
- 'account_id': 'account-id',
2083
- 'balance_id': 'balanceId',
2084
- },
2085
- 'location_map': {
2086
- 'account_id': 'path',
2087
- 'balance_id': 'path',
2088
- 'update_balance_model_request': 'body',
2089
- },
2090
- 'collection_format_map': {
2091
- }
2092
- },
2093
- headers_map={
2094
- 'accept': [
2095
- 'application/json'
2096
- ],
2097
- 'content_type': [
2098
- 'application/json'
2099
- ]
2100
- },
2101
- api_client=api_client
2102
- )
2103
- self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint(
2104
- settings={
2105
- 'response_type': (KeywordTarget202110Response,),
2106
- 'auth': [
2107
- 'oauth',
2108
- 'oauth'
2109
- ],
2110
- 'endpoint_path': '/2023-10/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append',
2111
- 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id',
2112
- 'http_method': 'POST',
2113
- 'servers': None,
2114
- },
2115
- params_map={
2116
- 'all': [
2117
- 'line_item_id',
2118
- 'keyword_target202110_request',
1795
+ 'line_item_id',
1796
+ 'keyword_target202110_request',
2119
1797
  ],
2120
1798
  'required': [
2121
1799
  'line_item_id',
@@ -3140,128 +2818,6 @@ class CampaignApi(object):
3140
2818
  },
3141
2819
  api_client=api_client
3142
2820
  )
3143
- self.post_api_v1_external_account_add_funds_by_account_id_and_balance_id_endpoint = _Endpoint(
3144
- settings={
3145
- 'response_type': (BalanceResponse,),
3146
- 'auth': [
3147
- 'oauth',
3148
- 'oauth'
3149
- ],
3150
- 'endpoint_path': '/2023-10/retail-media/accounts/{account-id}/balances/{balanceId}/add-funds',
3151
- 'operation_id': 'post_api_v1_external_account_add_funds_by_account_id_and_balance_id',
3152
- 'http_method': 'POST',
3153
- 'servers': None,
3154
- },
3155
- params_map={
3156
- 'all': [
3157
- 'account_id',
3158
- 'balance_id',
3159
- 'add_funds_to_balance_request',
3160
- ],
3161
- 'required': [
3162
- 'account_id',
3163
- 'balance_id',
3164
- ],
3165
- 'nullable': [
3166
- ],
3167
- 'enum': [
3168
- ],
3169
- 'validation': [
3170
- ]
3171
- },
3172
- root_map={
3173
- 'validations': {
3174
- },
3175
- 'allowed_values': {
3176
- },
3177
- 'openapi_types': {
3178
- 'account_id':
3179
- (str,),
3180
- 'balance_id':
3181
- (str,),
3182
- 'add_funds_to_balance_request':
3183
- (AddFundsToBalanceRequest,),
3184
- },
3185
- 'attribute_map': {
3186
- 'account_id': 'account-id',
3187
- 'balance_id': 'balanceId',
3188
- },
3189
- 'location_map': {
3190
- 'account_id': 'path',
3191
- 'balance_id': 'path',
3192
- 'add_funds_to_balance_request': 'body',
3193
- },
3194
- 'collection_format_map': {
3195
- }
3196
- },
3197
- headers_map={
3198
- 'accept': [
3199
- 'application/json'
3200
- ],
3201
- 'content_type': [
3202
- 'application/json'
3203
- ]
3204
- },
3205
- api_client=api_client
3206
- )
3207
- self.post_api_v1_external_account_balances_by_account_id_endpoint = _Endpoint(
3208
- settings={
3209
- 'response_type': (BalanceResponse,),
3210
- 'auth': [
3211
- 'oauth',
3212
- 'oauth'
3213
- ],
3214
- 'endpoint_path': '/2023-10/retail-media/accounts/{account-id}/balances',
3215
- 'operation_id': 'post_api_v1_external_account_balances_by_account_id',
3216
- 'http_method': 'POST',
3217
- 'servers': None,
3218
- },
3219
- params_map={
3220
- 'all': [
3221
- 'account_id',
3222
- 'create_balance_request',
3223
- ],
3224
- 'required': [
3225
- 'account_id',
3226
- ],
3227
- 'nullable': [
3228
- ],
3229
- 'enum': [
3230
- ],
3231
- 'validation': [
3232
- ]
3233
- },
3234
- root_map={
3235
- 'validations': {
3236
- },
3237
- 'allowed_values': {
3238
- },
3239
- 'openapi_types': {
3240
- 'account_id':
3241
- (str,),
3242
- 'create_balance_request':
3243
- (CreateBalanceRequest,),
3244
- },
3245
- 'attribute_map': {
3246
- 'account_id': 'account-id',
3247
- },
3248
- 'location_map': {
3249
- 'account_id': 'path',
3250
- 'create_balance_request': 'body',
3251
- },
3252
- 'collection_format_map': {
3253
- }
3254
- },
3255
- headers_map={
3256
- 'accept': [
3257
- 'application/json'
3258
- ],
3259
- 'content_type': [
3260
- 'application/json'
3261
- ]
3262
- },
3263
- api_client=api_client
3264
- )
3265
2821
  self.post_api_v1_external_account_catalogs_by_account_id_endpoint = _Endpoint(
3266
2822
  settings={
3267
2823
  'response_type': (JsonApiSingleResponseOfCatalogStatus,),
@@ -3320,70 +2876,6 @@ class CampaignApi(object):
3320
2876
  },
3321
2877
  api_client=api_client
3322
2878
  )
3323
- self.post_api_v1_external_account_change_dates_by_account_id_and_balance_id_endpoint = _Endpoint(
3324
- settings={
3325
- 'response_type': (BalanceResponse,),
3326
- 'auth': [
3327
- 'oauth',
3328
- 'oauth'
3329
- ],
3330
- 'endpoint_path': '/2023-10/retail-media/accounts/{account-id}/balances/{balanceId}/change-dates',
3331
- 'operation_id': 'post_api_v1_external_account_change_dates_by_account_id_and_balance_id',
3332
- 'http_method': 'POST',
3333
- 'servers': None,
3334
- },
3335
- params_map={
3336
- 'all': [
3337
- 'account_id',
3338
- 'balance_id',
3339
- 'change_dates_of_balance_request',
3340
- ],
3341
- 'required': [
3342
- 'account_id',
3343
- 'balance_id',
3344
- ],
3345
- 'nullable': [
3346
- ],
3347
- 'enum': [
3348
- ],
3349
- 'validation': [
3350
- ]
3351
- },
3352
- root_map={
3353
- 'validations': {
3354
- },
3355
- 'allowed_values': {
3356
- },
3357
- 'openapi_types': {
3358
- 'account_id':
3359
- (str,),
3360
- 'balance_id':
3361
- (str,),
3362
- 'change_dates_of_balance_request':
3363
- (ChangeDatesOfBalanceRequest,),
3364
- },
3365
- 'attribute_map': {
3366
- 'account_id': 'account-id',
3367
- 'balance_id': 'balanceId',
3368
- },
3369
- 'location_map': {
3370
- 'account_id': 'path',
3371
- 'balance_id': 'path',
3372
- 'change_dates_of_balance_request': 'body',
3373
- },
3374
- 'collection_format_map': {
3375
- }
3376
- },
3377
- headers_map={
3378
- 'accept': [
3379
- 'application/json'
3380
- ],
3381
- 'content_type': [
3382
- 'application/json'
3383
- ]
3384
- },
3385
- api_client=api_client
3386
- )
3387
2879
  self.post_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint = _Endpoint(
3388
2880
  settings={
3389
2881
  'response_type': (AuctionLineItemResponse,),
@@ -4524,22 +4016,22 @@ class CampaignApi(object):
4524
4016
  line_item_id
4525
4017
  return self.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4526
4018
 
4527
- def get_api202110_external_balance_campaigns_by_balance_id(
4019
+ def get_api202110_external_campaign_preferred_line_items_by_campaign_id(
4528
4020
  self,
4529
- balance_id,
4021
+ campaign_id,
4530
4022
  **kwargs
4531
4023
  ):
4532
- """get_api202110_external_balance_campaigns_by_balance_id # noqa: E501
4024
+ """get_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
4533
4025
 
4534
- Gets page of campaigns for the given balanceId # noqa: E501
4026
+ Gets page of preferred line item objects for the given campaign id # noqa: E501
4535
4027
  This method makes a synchronous HTTP request by default. To make an
4536
4028
  asynchronous HTTP request, please pass async_req=True
4537
4029
 
4538
- >>> thread = api.get_api202110_external_balance_campaigns_by_balance_id(balance_id, async_req=True)
4030
+ >>> thread = api.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
4539
4031
  >>> result = thread.get()
4540
4032
 
4541
4033
  Args:
4542
- balance_id (str): The balance to get campaigns from
4034
+ campaign_id (str): The given campaign id
4543
4035
 
4544
4036
  Keyword Args:
4545
4037
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
@@ -4577,7 +4069,7 @@ class CampaignApi(object):
4577
4069
  async_req (bool): execute request asynchronously
4578
4070
 
4579
4071
  Returns:
4580
- BalanceCampaign202110PagedListResponse
4072
+ PreferredLineItem202110PagedListResponse
4581
4073
  If the method is called asynchronously, returns the request
4582
4074
  thread.
4583
4075
  """
@@ -4606,26 +4098,26 @@ class CampaignApi(object):
4606
4098
  '_content_type')
4607
4099
  kwargs['_host_index'] = kwargs.get('_host_index')
4608
4100
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4609
- kwargs['balance_id'] = \
4610
- balance_id
4611
- return self.get_api202110_external_balance_campaigns_by_balance_id_endpoint.call_with_http_info(**kwargs)
4101
+ kwargs['campaign_id'] = \
4102
+ campaign_id
4103
+ return self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4612
4104
 
4613
- def get_api202110_external_campaign_preferred_line_items_by_campaign_id(
4105
+ def get_api202110_external_line_item_products_by_line_item_id(
4614
4106
  self,
4615
- campaign_id,
4107
+ line_item_id,
4616
4108
  **kwargs
4617
4109
  ):
4618
- """get_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
4110
+ """get_api202110_external_line_item_products_by_line_item_id # noqa: E501
4619
4111
 
4620
- Gets page of preferred line item objects for the given campaign id # noqa: E501
4112
+ This endpoint gets the promoted products on the specified line item. # noqa: E501
4621
4113
  This method makes a synchronous HTTP request by default. To make an
4622
4114
  asynchronous HTTP request, please pass async_req=True
4623
4115
 
4624
- >>> thread = api.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
4116
+ >>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True)
4625
4117
  >>> result = thread.get()
4626
4118
 
4627
4119
  Args:
4628
- campaign_id (str): The given campaign id
4120
+ line_item_id (str): The line item to interact with
4629
4121
 
4630
4122
  Keyword Args:
4631
4123
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
@@ -4663,7 +4155,7 @@ class CampaignApi(object):
4663
4155
  async_req (bool): execute request asynchronously
4664
4156
 
4665
4157
  Returns:
4666
- PreferredLineItem202110PagedListResponse
4158
+ PromotedProduct202110PagedListResponse
4667
4159
  If the method is called asynchronously, returns the request
4668
4160
  thread.
4669
4161
  """
@@ -4692,97 +4184,11 @@ class CampaignApi(object):
4692
4184
  '_content_type')
4693
4185
  kwargs['_host_index'] = kwargs.get('_host_index')
4694
4186
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4695
- kwargs['campaign_id'] = \
4696
- campaign_id
4697
- return self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4187
+ kwargs['line_item_id'] = \
4188
+ line_item_id
4189
+ return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4698
4190
 
4699
- def get_api202110_external_line_item_products_by_line_item_id(
4700
- self,
4701
- line_item_id,
4702
- **kwargs
4703
- ):
4704
- """get_api202110_external_line_item_products_by_line_item_id # noqa: E501
4705
-
4706
- This endpoint gets the promoted products on the specified line item. # noqa: E501
4707
- This method makes a synchronous HTTP request by default. To make an
4708
- asynchronous HTTP request, please pass async_req=True
4709
-
4710
- >>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True)
4711
- >>> result = thread.get()
4712
-
4713
- Args:
4714
- line_item_id (str): The line item to interact with
4715
-
4716
- Keyword Args:
4717
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
4718
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
4719
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
4720
- _return_http_data_only (bool): response data without head status
4721
- code and headers. Default is True.
4722
- _preload_content (bool): if False, the urllib3.HTTPResponse object
4723
- will be returned without reading/decoding response data.
4724
- Default is True.
4725
- _request_timeout (int/float/tuple): timeout setting for this request. If
4726
- one number provided, it will be total request timeout. It can also
4727
- be a pair (tuple) of (connection, read) timeouts.
4728
- Default is None.
4729
- _check_input_type (bool): specifies if type checking
4730
- should be done one the data sent to the server.
4731
- Default is True.
4732
- _check_return_type (bool): specifies if type checking
4733
- should be done one the data received from the server.
4734
- Default is True.
4735
- _spec_property_naming (bool): True if the variable names in the input data
4736
- are serialized names, as specified in the OpenAPI document.
4737
- False if the variable names in the input data
4738
- are pythonic names, e.g. snake case (default)
4739
- _content_type (str/None): force body content-type.
4740
- Default is None and content-type will be predicted by allowed
4741
- content-types and body.
4742
- _host_index (int/None): specifies the index of the server
4743
- that we want to use.
4744
- Default is read from the configuration.
4745
- _request_auths (list): set to override the auth_settings for an a single
4746
- request; this effectively ignores the authentication
4747
- in the spec for a single request.
4748
- Default is None
4749
- async_req (bool): execute request asynchronously
4750
-
4751
- Returns:
4752
- PromotedProduct202110PagedListResponse
4753
- If the method is called asynchronously, returns the request
4754
- thread.
4755
- """
4756
- kwargs['async_req'] = kwargs.get(
4757
- 'async_req', False
4758
- )
4759
- kwargs['_return_http_data_only'] = kwargs.get(
4760
- '_return_http_data_only', True
4761
- )
4762
- kwargs['_preload_content'] = kwargs.get(
4763
- '_preload_content', True
4764
- )
4765
- kwargs['_request_timeout'] = kwargs.get(
4766
- '_request_timeout', None
4767
- )
4768
- kwargs['_check_input_type'] = kwargs.get(
4769
- '_check_input_type', True
4770
- )
4771
- kwargs['_check_return_type'] = kwargs.get(
4772
- '_check_return_type', True
4773
- )
4774
- kwargs['_spec_property_naming'] = kwargs.get(
4775
- '_spec_property_naming', False
4776
- )
4777
- kwargs['_content_type'] = kwargs.get(
4778
- '_content_type')
4779
- kwargs['_host_index'] = kwargs.get('_host_index')
4780
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4781
- kwargs['line_item_id'] = \
4782
- line_item_id
4783
- return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4784
-
4785
- def get_api202110_external_preferred_line_item_by_line_item_id(
4191
+ def get_api202110_external_preferred_line_item_by_line_item_id(
4786
4192
  self,
4787
4193
  line_item_id,
4788
4194
  **kwargs
@@ -5871,92 +5277,6 @@ class CampaignApi(object):
5871
5277
  line_item_id
5872
5278
  return self.get_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5873
5279
 
5874
- def get_api_v1_external_account_balances_by_account_id(
5875
- self,
5876
- account_id,
5877
- **kwargs
5878
- ):
5879
- """get_api_v1_external_account_balances_by_account_id # noqa: E501
5880
-
5881
- Get page of balances for the given accountId. # noqa: E501
5882
- This method makes a synchronous HTTP request by default. To make an
5883
- asynchronous HTTP request, please pass async_req=True
5884
-
5885
- >>> thread = api.get_api_v1_external_account_balances_by_account_id(account_id, async_req=True)
5886
- >>> result = thread.get()
5887
-
5888
- Args:
5889
- account_id (str): The account to get page of balances for
5890
-
5891
- Keyword Args:
5892
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
5893
- 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
5894
- 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
5895
- _return_http_data_only (bool): response data without head status
5896
- code and headers. Default is True.
5897
- _preload_content (bool): if False, the urllib3.HTTPResponse object
5898
- will be returned without reading/decoding response data.
5899
- Default is True.
5900
- _request_timeout (int/float/tuple): timeout setting for this request. If
5901
- one number provided, it will be total request timeout. It can also
5902
- be a pair (tuple) of (connection, read) timeouts.
5903
- Default is None.
5904
- _check_input_type (bool): specifies if type checking
5905
- should be done one the data sent to the server.
5906
- Default is True.
5907
- _check_return_type (bool): specifies if type checking
5908
- should be done one the data received from the server.
5909
- Default is True.
5910
- _spec_property_naming (bool): True if the variable names in the input data
5911
- are serialized names, as specified in the OpenAPI document.
5912
- False if the variable names in the input data
5913
- are pythonic names, e.g. snake case (default)
5914
- _content_type (str/None): force body content-type.
5915
- Default is None and content-type will be predicted by allowed
5916
- content-types and body.
5917
- _host_index (int/None): specifies the index of the server
5918
- that we want to use.
5919
- Default is read from the configuration.
5920
- _request_auths (list): set to override the auth_settings for an a single
5921
- request; this effectively ignores the authentication
5922
- in the spec for a single request.
5923
- Default is None
5924
- async_req (bool): execute request asynchronously
5925
-
5926
- Returns:
5927
- BalanceResponsePagedListResponse
5928
- If the method is called asynchronously, returns the request
5929
- thread.
5930
- """
5931
- kwargs['async_req'] = kwargs.get(
5932
- 'async_req', False
5933
- )
5934
- kwargs['_return_http_data_only'] = kwargs.get(
5935
- '_return_http_data_only', True
5936
- )
5937
- kwargs['_preload_content'] = kwargs.get(
5938
- '_preload_content', True
5939
- )
5940
- kwargs['_request_timeout'] = kwargs.get(
5941
- '_request_timeout', None
5942
- )
5943
- kwargs['_check_input_type'] = kwargs.get(
5944
- '_check_input_type', True
5945
- )
5946
- kwargs['_check_return_type'] = kwargs.get(
5947
- '_check_return_type', True
5948
- )
5949
- kwargs['_spec_property_naming'] = kwargs.get(
5950
- '_spec_property_naming', False
5951
- )
5952
- kwargs['_content_type'] = kwargs.get(
5953
- '_content_type')
5954
- kwargs['_host_index'] = kwargs.get('_host_index')
5955
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5956
- kwargs['account_id'] = \
5957
- account_id
5958
- return self.get_api_v1_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
5959
-
5960
5280
  def get_api_v1_external_account_brands_by_account_id(
5961
5281
  self,
5962
5282
  account_id,
@@ -5976,8 +5296,8 @@ class CampaignApi(object):
5976
5296
 
5977
5297
  Keyword Args:
5978
5298
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
5979
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
5980
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
5299
+ 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
5300
+ 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
5981
5301
  _return_http_data_only (bool): response data without head status
5982
5302
  code and headers. Default is True.
5983
5303
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -6043,93 +5363,6 @@ class CampaignApi(object):
6043
5363
  account_id
6044
5364
  return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs)
6045
5365
 
6046
- def get_api_v1_external_account_by_account_id_and_balance_id(
6047
- self,
6048
- account_id,
6049
- balance_id,
6050
- **kwargs
6051
- ):
6052
- """get_api_v1_external_account_by_account_id_and_balance_id # noqa: E501
6053
-
6054
- Get a balance for the given account id and balance id # noqa: E501
6055
- This method makes a synchronous HTTP request by default. To make an
6056
- asynchronous HTTP request, please pass async_req=True
6057
-
6058
- >>> thread = api.get_api_v1_external_account_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
6059
- >>> result = thread.get()
6060
-
6061
- Args:
6062
- account_id (str): The account of the balance
6063
- balance_id (str): The balance id
6064
-
6065
- Keyword Args:
6066
- _return_http_data_only (bool): response data without head status
6067
- code and headers. Default is True.
6068
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6069
- will be returned without reading/decoding response data.
6070
- Default is True.
6071
- _request_timeout (int/float/tuple): timeout setting for this request. If
6072
- one number provided, it will be total request timeout. It can also
6073
- be a pair (tuple) of (connection, read) timeouts.
6074
- Default is None.
6075
- _check_input_type (bool): specifies if type checking
6076
- should be done one the data sent to the server.
6077
- Default is True.
6078
- _check_return_type (bool): specifies if type checking
6079
- should be done one the data received from the server.
6080
- Default is True.
6081
- _spec_property_naming (bool): True if the variable names in the input data
6082
- are serialized names, as specified in the OpenAPI document.
6083
- False if the variable names in the input data
6084
- are pythonic names, e.g. snake case (default)
6085
- _content_type (str/None): force body content-type.
6086
- Default is None and content-type will be predicted by allowed
6087
- content-types and body.
6088
- _host_index (int/None): specifies the index of the server
6089
- that we want to use.
6090
- Default is read from the configuration.
6091
- _request_auths (list): set to override the auth_settings for an a single
6092
- request; this effectively ignores the authentication
6093
- in the spec for a single request.
6094
- Default is None
6095
- async_req (bool): execute request asynchronously
6096
-
6097
- Returns:
6098
- BalanceResponse
6099
- If the method is called asynchronously, returns the request
6100
- thread.
6101
- """
6102
- kwargs['async_req'] = kwargs.get(
6103
- 'async_req', False
6104
- )
6105
- kwargs['_return_http_data_only'] = kwargs.get(
6106
- '_return_http_data_only', True
6107
- )
6108
- kwargs['_preload_content'] = kwargs.get(
6109
- '_preload_content', True
6110
- )
6111
- kwargs['_request_timeout'] = kwargs.get(
6112
- '_request_timeout', None
6113
- )
6114
- kwargs['_check_input_type'] = kwargs.get(
6115
- '_check_input_type', True
6116
- )
6117
- kwargs['_check_return_type'] = kwargs.get(
6118
- '_check_return_type', True
6119
- )
6120
- kwargs['_spec_property_naming'] = kwargs.get(
6121
- '_spec_property_naming', False
6122
- )
6123
- kwargs['_content_type'] = kwargs.get(
6124
- '_content_type')
6125
- kwargs['_host_index'] = kwargs.get('_host_index')
6126
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6127
- kwargs['account_id'] = \
6128
- account_id
6129
- kwargs['balance_id'] = \
6130
- balance_id
6131
- return self.get_api_v1_external_account_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
6132
-
6133
5366
  def get_api_v1_external_account_retailers_by_account_id(
6134
5367
  self,
6135
5368
  account_id,
@@ -6149,8 +5382,8 @@ class CampaignApi(object):
6149
5382
 
6150
5383
  Keyword Args:
6151
5384
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
6152
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
6153
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
5385
+ 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
5386
+ 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
6154
5387
  _return_http_data_only (bool): response data without head status
6155
5388
  code and headers. Default is True.
6156
5389
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -6216,87 +5449,6 @@ class CampaignApi(object):
6216
5449
  account_id
6217
5450
  return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
6218
5451
 
6219
- def get_api_v1_external_accounts(
6220
- self,
6221
- **kwargs
6222
- ):
6223
- """get_api_v1_external_accounts # noqa: E501
6224
-
6225
- Gets page of account objects that the current user can access # noqa: E501
6226
- This method makes a synchronous HTTP request by default. To make an
6227
- asynchronous HTTP request, please pass async_req=True
6228
-
6229
- >>> thread = api.get_api_v1_external_accounts(async_req=True)
6230
- >>> result = thread.get()
6231
-
6232
-
6233
- Keyword Args:
6234
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
6235
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
6236
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
6237
- _return_http_data_only (bool): response data without head status
6238
- code and headers. Default is True.
6239
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6240
- will be returned without reading/decoding response data.
6241
- Default is True.
6242
- _request_timeout (int/float/tuple): timeout setting for this request. If
6243
- one number provided, it will be total request timeout. It can also
6244
- be a pair (tuple) of (connection, read) timeouts.
6245
- Default is None.
6246
- _check_input_type (bool): specifies if type checking
6247
- should be done one the data sent to the server.
6248
- Default is True.
6249
- _check_return_type (bool): specifies if type checking
6250
- should be done one the data received from the server.
6251
- Default is True.
6252
- _spec_property_naming (bool): True if the variable names in the input data
6253
- are serialized names, as specified in the OpenAPI document.
6254
- False if the variable names in the input data
6255
- are pythonic names, e.g. snake case (default)
6256
- _content_type (str/None): force body content-type.
6257
- Default is None and content-type will be predicted by allowed
6258
- content-types and body.
6259
- _host_index (int/None): specifies the index of the server
6260
- that we want to use.
6261
- Default is read from the configuration.
6262
- _request_auths (list): set to override the auth_settings for an a single
6263
- request; this effectively ignores the authentication
6264
- in the spec for a single request.
6265
- Default is None
6266
- async_req (bool): execute request asynchronously
6267
-
6268
- Returns:
6269
- JsonApiPageResponseOfAccount
6270
- If the method is called asynchronously, returns the request
6271
- thread.
6272
- """
6273
- kwargs['async_req'] = kwargs.get(
6274
- 'async_req', False
6275
- )
6276
- kwargs['_return_http_data_only'] = kwargs.get(
6277
- '_return_http_data_only', True
6278
- )
6279
- kwargs['_preload_content'] = kwargs.get(
6280
- '_preload_content', True
6281
- )
6282
- kwargs['_request_timeout'] = kwargs.get(
6283
- '_request_timeout', None
6284
- )
6285
- kwargs['_check_input_type'] = kwargs.get(
6286
- '_check_input_type', True
6287
- )
6288
- kwargs['_check_return_type'] = kwargs.get(
6289
- '_check_return_type', True
6290
- )
6291
- kwargs['_spec_property_naming'] = kwargs.get(
6292
- '_spec_property_naming', False
6293
- )
6294
- kwargs['_content_type'] = kwargs.get(
6295
- '_content_type')
6296
- kwargs['_host_index'] = kwargs.get('_host_index')
6297
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6298
- return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
6299
-
6300
5452
  def get_api_v1_external_catalog_output_by_catalog_id(
6301
5453
  self,
6302
5454
  catalog_id,
@@ -6716,114 +5868,28 @@ class CampaignApi(object):
6716
5868
  '_content_type')
6717
5869
  kwargs['_host_index'] = kwargs.get('_host_index')
6718
5870
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6719
- kwargs['campaign_id'] = \
6720
- campaign_id
6721
- return self.get_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
6722
-
6723
- def get_api_v2_external_line_item_by_line_item_id(
6724
- self,
6725
- line_item_id,
6726
- **kwargs
6727
- ):
6728
- """get_api_v2_external_line_item_by_line_item_id # noqa: E501
6729
-
6730
- Gets the line item for the given line item id # noqa: E501
6731
- This method makes a synchronous HTTP request by default. To make an
6732
- asynchronous HTTP request, please pass async_req=True
6733
-
6734
- >>> thread = api.get_api_v2_external_line_item_by_line_item_id(line_item_id, async_req=True)
6735
- >>> result = thread.get()
6736
-
6737
- Args:
6738
- line_item_id (str): The given line item id
6739
-
6740
- Keyword Args:
6741
- _return_http_data_only (bool): response data without head status
6742
- code and headers. Default is True.
6743
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6744
- will be returned without reading/decoding response data.
6745
- Default is True.
6746
- _request_timeout (int/float/tuple): timeout setting for this request. If
6747
- one number provided, it will be total request timeout. It can also
6748
- be a pair (tuple) of (connection, read) timeouts.
6749
- Default is None.
6750
- _check_input_type (bool): specifies if type checking
6751
- should be done one the data sent to the server.
6752
- Default is True.
6753
- _check_return_type (bool): specifies if type checking
6754
- should be done one the data received from the server.
6755
- Default is True.
6756
- _spec_property_naming (bool): True if the variable names in the input data
6757
- are serialized names, as specified in the OpenAPI document.
6758
- False if the variable names in the input data
6759
- are pythonic names, e.g. snake case (default)
6760
- _content_type (str/None): force body content-type.
6761
- Default is None and content-type will be predicted by allowed
6762
- content-types and body.
6763
- _host_index (int/None): specifies the index of the server
6764
- that we want to use.
6765
- Default is read from the configuration.
6766
- _request_auths (list): set to override the auth_settings for an a single
6767
- request; this effectively ignores the authentication
6768
- in the spec for a single request.
6769
- Default is None
6770
- async_req (bool): execute request asynchronously
6771
-
6772
- Returns:
6773
- CommonLineItemResponse
6774
- If the method is called asynchronously, returns the request
6775
- thread.
6776
- """
6777
- kwargs['async_req'] = kwargs.get(
6778
- 'async_req', False
6779
- )
6780
- kwargs['_return_http_data_only'] = kwargs.get(
6781
- '_return_http_data_only', True
6782
- )
6783
- kwargs['_preload_content'] = kwargs.get(
6784
- '_preload_content', True
6785
- )
6786
- kwargs['_request_timeout'] = kwargs.get(
6787
- '_request_timeout', None
6788
- )
6789
- kwargs['_check_input_type'] = kwargs.get(
6790
- '_check_input_type', True
6791
- )
6792
- kwargs['_check_return_type'] = kwargs.get(
6793
- '_check_return_type', True
6794
- )
6795
- kwargs['_spec_property_naming'] = kwargs.get(
6796
- '_spec_property_naming', False
6797
- )
6798
- kwargs['_content_type'] = kwargs.get(
6799
- '_content_type')
6800
- kwargs['_host_index'] = kwargs.get('_host_index')
6801
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6802
- kwargs['line_item_id'] = \
6803
- line_item_id
6804
- return self.get_api_v2_external_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5871
+ kwargs['campaign_id'] = \
5872
+ campaign_id
5873
+ return self.get_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
6805
5874
 
6806
- def patch_api_v1_external_account_by_account_id_and_balance_id(
5875
+ def get_api_v2_external_line_item_by_line_item_id(
6807
5876
  self,
6808
- account_id,
6809
- balance_id,
5877
+ line_item_id,
6810
5878
  **kwargs
6811
5879
  ):
6812
- """patch_api_v1_external_account_by_account_id_and_balance_id # noqa: E501
5880
+ """get_api_v2_external_line_item_by_line_item_id # noqa: E501
6813
5881
 
6814
- Modify a balance for the given account id # noqa: E501
5882
+ Gets the line item for the given line item id # noqa: E501
6815
5883
  This method makes a synchronous HTTP request by default. To make an
6816
5884
  asynchronous HTTP request, please pass async_req=True
6817
5885
 
6818
- >>> thread = api.patch_api_v1_external_account_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
5886
+ >>> thread = api.get_api_v2_external_line_item_by_line_item_id(line_item_id, async_req=True)
6819
5887
  >>> result = thread.get()
6820
5888
 
6821
5889
  Args:
6822
- account_id (str): The account of the balance
6823
- balance_id (str): The balance to change the dates
5890
+ line_item_id (str): The given line item id
6824
5891
 
6825
5892
  Keyword Args:
6826
- update_balance_model_request (UpdateBalanceModelRequest): [optional]
6827
5893
  _return_http_data_only (bool): response data without head status
6828
5894
  code and headers. Default is True.
6829
5895
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -6856,7 +5922,7 @@ class CampaignApi(object):
6856
5922
  async_req (bool): execute request asynchronously
6857
5923
 
6858
5924
  Returns:
6859
- BalanceResponse
5925
+ CommonLineItemResponse
6860
5926
  If the method is called asynchronously, returns the request
6861
5927
  thread.
6862
5928
  """
@@ -6885,11 +5951,9 @@ class CampaignApi(object):
6885
5951
  '_content_type')
6886
5952
  kwargs['_host_index'] = kwargs.get('_host_index')
6887
5953
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6888
- kwargs['account_id'] = \
6889
- account_id
6890
- kwargs['balance_id'] = \
6891
- balance_id
6892
- return self.patch_api_v1_external_account_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
5954
+ kwargs['line_item_id'] = \
5955
+ line_item_id
5956
+ return self.get_api_v2_external_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
6893
5957
 
6894
5958
  def post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(
6895
5959
  self,
@@ -8403,178 +7467,6 @@ class CampaignApi(object):
8403
7467
  account_id
8404
7468
  return self.post_api202301_external_account_campaigns_by_account_id_endpoint.call_with_http_info(**kwargs)
8405
7469
 
8406
- def post_api_v1_external_account_add_funds_by_account_id_and_balance_id(
8407
- self,
8408
- account_id,
8409
- balance_id,
8410
- **kwargs
8411
- ):
8412
- """post_api_v1_external_account_add_funds_by_account_id_and_balance_id # noqa: E501
8413
-
8414
- Add funds to a balance for the given account id # noqa: E501
8415
- This method makes a synchronous HTTP request by default. To make an
8416
- asynchronous HTTP request, please pass async_req=True
8417
-
8418
- >>> thread = api.post_api_v1_external_account_add_funds_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
8419
- >>> result = thread.get()
8420
-
8421
- Args:
8422
- account_id (str): The account of the balance
8423
- balance_id (str): The balance to add funds to
8424
-
8425
- Keyword Args:
8426
- add_funds_to_balance_request (AddFundsToBalanceRequest): [optional]
8427
- _return_http_data_only (bool): response data without head status
8428
- code and headers. Default is True.
8429
- _preload_content (bool): if False, the urllib3.HTTPResponse object
8430
- will be returned without reading/decoding response data.
8431
- Default is True.
8432
- _request_timeout (int/float/tuple): timeout setting for this request. If
8433
- one number provided, it will be total request timeout. It can also
8434
- be a pair (tuple) of (connection, read) timeouts.
8435
- Default is None.
8436
- _check_input_type (bool): specifies if type checking
8437
- should be done one the data sent to the server.
8438
- Default is True.
8439
- _check_return_type (bool): specifies if type checking
8440
- should be done one the data received from the server.
8441
- Default is True.
8442
- _spec_property_naming (bool): True if the variable names in the input data
8443
- are serialized names, as specified in the OpenAPI document.
8444
- False if the variable names in the input data
8445
- are pythonic names, e.g. snake case (default)
8446
- _content_type (str/None): force body content-type.
8447
- Default is None and content-type will be predicted by allowed
8448
- content-types and body.
8449
- _host_index (int/None): specifies the index of the server
8450
- that we want to use.
8451
- Default is read from the configuration.
8452
- _request_auths (list): set to override the auth_settings for an a single
8453
- request; this effectively ignores the authentication
8454
- in the spec for a single request.
8455
- Default is None
8456
- async_req (bool): execute request asynchronously
8457
-
8458
- Returns:
8459
- BalanceResponse
8460
- If the method is called asynchronously, returns the request
8461
- thread.
8462
- """
8463
- kwargs['async_req'] = kwargs.get(
8464
- 'async_req', False
8465
- )
8466
- kwargs['_return_http_data_only'] = kwargs.get(
8467
- '_return_http_data_only', True
8468
- )
8469
- kwargs['_preload_content'] = kwargs.get(
8470
- '_preload_content', True
8471
- )
8472
- kwargs['_request_timeout'] = kwargs.get(
8473
- '_request_timeout', None
8474
- )
8475
- kwargs['_check_input_type'] = kwargs.get(
8476
- '_check_input_type', True
8477
- )
8478
- kwargs['_check_return_type'] = kwargs.get(
8479
- '_check_return_type', True
8480
- )
8481
- kwargs['_spec_property_naming'] = kwargs.get(
8482
- '_spec_property_naming', False
8483
- )
8484
- kwargs['_content_type'] = kwargs.get(
8485
- '_content_type')
8486
- kwargs['_host_index'] = kwargs.get('_host_index')
8487
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
8488
- kwargs['account_id'] = \
8489
- account_id
8490
- kwargs['balance_id'] = \
8491
- balance_id
8492
- return self.post_api_v1_external_account_add_funds_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
8493
-
8494
- def post_api_v1_external_account_balances_by_account_id(
8495
- self,
8496
- account_id,
8497
- **kwargs
8498
- ):
8499
- """post_api_v1_external_account_balances_by_account_id # noqa: E501
8500
-
8501
- Create balance for the given account id # noqa: E501
8502
- This method makes a synchronous HTTP request by default. To make an
8503
- asynchronous HTTP request, please pass async_req=True
8504
-
8505
- >>> thread = api.post_api_v1_external_account_balances_by_account_id(account_id, async_req=True)
8506
- >>> result = thread.get()
8507
-
8508
- Args:
8509
- account_id (str): The account to create balances for
8510
-
8511
- Keyword Args:
8512
- create_balance_request (CreateBalanceRequest): [optional]
8513
- _return_http_data_only (bool): response data without head status
8514
- code and headers. Default is True.
8515
- _preload_content (bool): if False, the urllib3.HTTPResponse object
8516
- will be returned without reading/decoding response data.
8517
- Default is True.
8518
- _request_timeout (int/float/tuple): timeout setting for this request. If
8519
- one number provided, it will be total request timeout. It can also
8520
- be a pair (tuple) of (connection, read) timeouts.
8521
- Default is None.
8522
- _check_input_type (bool): specifies if type checking
8523
- should be done one the data sent to the server.
8524
- Default is True.
8525
- _check_return_type (bool): specifies if type checking
8526
- should be done one the data received from the server.
8527
- Default is True.
8528
- _spec_property_naming (bool): True if the variable names in the input data
8529
- are serialized names, as specified in the OpenAPI document.
8530
- False if the variable names in the input data
8531
- are pythonic names, e.g. snake case (default)
8532
- _content_type (str/None): force body content-type.
8533
- Default is None and content-type will be predicted by allowed
8534
- content-types and body.
8535
- _host_index (int/None): specifies the index of the server
8536
- that we want to use.
8537
- Default is read from the configuration.
8538
- _request_auths (list): set to override the auth_settings for an a single
8539
- request; this effectively ignores the authentication
8540
- in the spec for a single request.
8541
- Default is None
8542
- async_req (bool): execute request asynchronously
8543
-
8544
- Returns:
8545
- BalanceResponse
8546
- If the method is called asynchronously, returns the request
8547
- thread.
8548
- """
8549
- kwargs['async_req'] = kwargs.get(
8550
- 'async_req', False
8551
- )
8552
- kwargs['_return_http_data_only'] = kwargs.get(
8553
- '_return_http_data_only', True
8554
- )
8555
- kwargs['_preload_content'] = kwargs.get(
8556
- '_preload_content', True
8557
- )
8558
- kwargs['_request_timeout'] = kwargs.get(
8559
- '_request_timeout', None
8560
- )
8561
- kwargs['_check_input_type'] = kwargs.get(
8562
- '_check_input_type', True
8563
- )
8564
- kwargs['_check_return_type'] = kwargs.get(
8565
- '_check_return_type', True
8566
- )
8567
- kwargs['_spec_property_naming'] = kwargs.get(
8568
- '_spec_property_naming', False
8569
- )
8570
- kwargs['_content_type'] = kwargs.get(
8571
- '_content_type')
8572
- kwargs['_host_index'] = kwargs.get('_host_index')
8573
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
8574
- kwargs['account_id'] = \
8575
- account_id
8576
- return self.post_api_v1_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
8577
-
8578
7470
  def post_api_v1_external_account_catalogs_by_account_id(
8579
7471
  self,
8580
7472
  account_id,
@@ -8659,94 +7551,6 @@ class CampaignApi(object):
8659
7551
  account_id
8660
7552
  return self.post_api_v1_external_account_catalogs_by_account_id_endpoint.call_with_http_info(**kwargs)
8661
7553
 
8662
- def post_api_v1_external_account_change_dates_by_account_id_and_balance_id(
8663
- self,
8664
- account_id,
8665
- balance_id,
8666
- **kwargs
8667
- ):
8668
- """post_api_v1_external_account_change_dates_by_account_id_and_balance_id # noqa: E501
8669
-
8670
- Change dates of a balance for the given account id # noqa: E501
8671
- This method makes a synchronous HTTP request by default. To make an
8672
- asynchronous HTTP request, please pass async_req=True
8673
-
8674
- >>> thread = api.post_api_v1_external_account_change_dates_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
8675
- >>> result = thread.get()
8676
-
8677
- Args:
8678
- account_id (str): The account of the balance
8679
- balance_id (str): The balance to change the dates
8680
-
8681
- Keyword Args:
8682
- change_dates_of_balance_request (ChangeDatesOfBalanceRequest): [optional]
8683
- _return_http_data_only (bool): response data without head status
8684
- code and headers. Default is True.
8685
- _preload_content (bool): if False, the urllib3.HTTPResponse object
8686
- will be returned without reading/decoding response data.
8687
- Default is True.
8688
- _request_timeout (int/float/tuple): timeout setting for this request. If
8689
- one number provided, it will be total request timeout. It can also
8690
- be a pair (tuple) of (connection, read) timeouts.
8691
- Default is None.
8692
- _check_input_type (bool): specifies if type checking
8693
- should be done one the data sent to the server.
8694
- Default is True.
8695
- _check_return_type (bool): specifies if type checking
8696
- should be done one the data received from the server.
8697
- Default is True.
8698
- _spec_property_naming (bool): True if the variable names in the input data
8699
- are serialized names, as specified in the OpenAPI document.
8700
- False if the variable names in the input data
8701
- are pythonic names, e.g. snake case (default)
8702
- _content_type (str/None): force body content-type.
8703
- Default is None and content-type will be predicted by allowed
8704
- content-types and body.
8705
- _host_index (int/None): specifies the index of the server
8706
- that we want to use.
8707
- Default is read from the configuration.
8708
- _request_auths (list): set to override the auth_settings for an a single
8709
- request; this effectively ignores the authentication
8710
- in the spec for a single request.
8711
- Default is None
8712
- async_req (bool): execute request asynchronously
8713
-
8714
- Returns:
8715
- BalanceResponse
8716
- If the method is called asynchronously, returns the request
8717
- thread.
8718
- """
8719
- kwargs['async_req'] = kwargs.get(
8720
- 'async_req', False
8721
- )
8722
- kwargs['_return_http_data_only'] = kwargs.get(
8723
- '_return_http_data_only', True
8724
- )
8725
- kwargs['_preload_content'] = kwargs.get(
8726
- '_preload_content', True
8727
- )
8728
- kwargs['_request_timeout'] = kwargs.get(
8729
- '_request_timeout', None
8730
- )
8731
- kwargs['_check_input_type'] = kwargs.get(
8732
- '_check_input_type', True
8733
- )
8734
- kwargs['_check_return_type'] = kwargs.get(
8735
- '_check_return_type', True
8736
- )
8737
- kwargs['_spec_property_naming'] = kwargs.get(
8738
- '_spec_property_naming', False
8739
- )
8740
- kwargs['_content_type'] = kwargs.get(
8741
- '_content_type')
8742
- kwargs['_host_index'] = kwargs.get('_host_index')
8743
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
8744
- kwargs['account_id'] = \
8745
- account_id
8746
- kwargs['balance_id'] = \
8747
- balance_id
8748
- return self.post_api_v1_external_account_change_dates_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
8749
-
8750
7554
  def post_api_v2_external_campaign_auction_line_items_by_campaign_id(
8751
7555
  self,
8752
7556
  campaign_id,