criteo-api-retailmedia-sdk 2024.1.0.240618__py3-none-any.whl → 2024.1.0.240731__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-2024.1.0.240618.dist-info → criteo_api_retailmedia_sdk-2024.1.0.240731.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.1.0.240618.dist-info → criteo_api_retailmedia_sdk-2024.1.0.240731.dist-info}/RECORD +21 -19
  3. {criteo_api_retailmedia_sdk-2024.1.0.240618.dist-info → criteo_api_retailmedia_sdk-2024.1.0.240731.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_01/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_01/api/__init__.py +1 -1
  6. criteo_api_retailmedia_v2024_01/api/accounts_api.py +182 -0
  7. criteo_api_retailmedia_v2024_01/api/balance_api.py +1095 -0
  8. criteo_api_retailmedia_v2024_01/api/campaign_api.py +51 -1247
  9. criteo_api_retailmedia_v2024_01/api_client.py +5 -5
  10. criteo_api_retailmedia_v2024_01/apis/__init__.py +3 -1
  11. criteo_api_retailmedia_v2024_01/configuration.py +1 -1
  12. criteo_api_retailmedia_v2024_01/model/application_summary_model_response.py +0 -4
  13. criteo_api_retailmedia_v2024_01/model/async_campaigns_report.py +2 -0
  14. criteo_api_retailmedia_v2024_01/model/async_line_items_report.py +2 -0
  15. criteo_api_retailmedia_v2024_01/model/async_revenue_report.py +17 -4
  16. criteo_api_retailmedia_v2024_01/model/common_problem.py +2 -2
  17. criteo_api_retailmedia_v2024_01/model/external_balance_response.py +14 -2
  18. criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_account.py +8 -6
  19. criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_brand.py +8 -6
  20. criteo_api_retailmedia_v2024_01/model/json_api_page_response_of_retailer.py +8 -6
  21. {criteo_api_retailmedia_sdk-2024.1.0.240618.dist-info → criteo_api_retailmedia_sdk-2024.1.0.240731.dist-info}/top_level.txt +0 -0
@@ -21,7 +21,6 @@ from criteo_api_retailmedia_v2024_01.model_utils import ( # noqa: F401
21
21
  none_type,
22
22
  validate_and_convert_types
23
23
  )
24
- from criteo_api_retailmedia_v2024_01.model.add_funds_to_balance_request import AddFundsToBalanceRequest
25
24
  from criteo_api_retailmedia_v2024_01.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest
26
25
  from criteo_api_retailmedia_v2024_01.model.add_to_basket_ids_update_model202110_request import AddToBasketIdsUpdateModel202110Request
27
26
  from criteo_api_retailmedia_v2024_01.model.add_to_basket_target202110_request import AddToBasketTarget202110Request
@@ -36,21 +35,16 @@ from criteo_api_retailmedia_v2024_01.model.audience_target202110_request import
36
35
  from criteo_api_retailmedia_v2024_01.model.audience_target202110_response import AudienceTarget202110Response
37
36
  from criteo_api_retailmedia_v2024_01.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest
38
37
  from criteo_api_retailmedia_v2024_01.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse
39
- from criteo_api_retailmedia_v2024_01.model.balance_response import BalanceResponse
40
- from criteo_api_retailmedia_v2024_01.model.balance_response_paged_list_response import BalanceResponsePagedListResponse
41
38
  from criteo_api_retailmedia_v2024_01.model.category202204 import Category202204
42
39
  from criteo_api_retailmedia_v2024_01.model.category202204_list_response import Category202204ListResponse
43
- from criteo_api_retailmedia_v2024_01.model.change_dates_of_balance_request import ChangeDatesOfBalanceRequest
44
40
  from criteo_api_retailmedia_v2024_01.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse
45
41
  from criteo_api_retailmedia_v2024_01.model.common_line_item_response import CommonLineItemResponse
46
- from criteo_api_retailmedia_v2024_01.model.create_balance_request import CreateBalanceRequest
47
42
  from criteo_api_retailmedia_v2024_01.model.creative202110_list_response import Creative202110ListResponse
48
43
  from criteo_api_retailmedia_v2024_01.model.creative202210_list_response import Creative202210ListResponse
49
44
  from criteo_api_retailmedia_v2024_01.model.creative202210_response import Creative202210Response
50
45
  from criteo_api_retailmedia_v2024_01.model.creative_create_model202207 import CreativeCreateModel202207
51
46
  from criteo_api_retailmedia_v2024_01.model.creative_update_model202207 import CreativeUpdateModel202207
52
47
  from criteo_api_retailmedia_v2024_01.model.external_retailer_pages202110 import ExternalRetailerPages202110
53
- from criteo_api_retailmedia_v2024_01.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
54
48
  from criteo_api_retailmedia_v2024_01.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
55
49
  from criteo_api_retailmedia_v2024_01.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301
56
50
  from criteo_api_retailmedia_v2024_01.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer
@@ -79,7 +73,6 @@ from criteo_api_retailmedia_v2024_01.model.store_target202110_request import Sto
79
73
  from criteo_api_retailmedia_v2024_01.model.store_target202110_response import StoreTarget202110Response
80
74
  from criteo_api_retailmedia_v2024_01.model.template_list_response import TemplateListResponse
81
75
  from criteo_api_retailmedia_v2024_01.model.template_response import TemplateResponse
82
- from criteo_api_retailmedia_v2024_01.model.update_balance_model_request import UpdateBalanceModelRequest
83
76
  from criteo_api_retailmedia_v2024_01.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides
84
77
  from criteo_api_retailmedia_v2024_01.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides
85
78
  from criteo_api_retailmedia_v2024_01.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides
@@ -419,74 +412,6 @@ class CampaignApi(object):
419
412
  },
420
413
  api_client=api_client
421
414
  )
422
- self.get_api202110_external_balance_campaigns_by_balance_id_endpoint = _Endpoint(
423
- settings={
424
- 'response_type': (BalanceCampaign202110PagedListResponse,),
425
- 'auth': [
426
- 'oauth',
427
- 'oauth'
428
- ],
429
- 'endpoint_path': '/2024-01/retail-media/balances/{balance-id}/campaigns',
430
- 'operation_id': 'get_api202110_external_balance_campaigns_by_balance_id',
431
- 'http_method': 'GET',
432
- 'servers': None,
433
- },
434
- params_map={
435
- 'all': [
436
- 'balance_id',
437
- 'limit_to_id',
438
- 'page_index',
439
- 'page_size',
440
- ],
441
- 'required': [
442
- 'balance_id',
443
- ],
444
- 'nullable': [
445
- ],
446
- 'enum': [
447
- ],
448
- 'validation': [
449
- ]
450
- },
451
- root_map={
452
- 'validations': {
453
- },
454
- 'allowed_values': {
455
- },
456
- 'openapi_types': {
457
- 'balance_id':
458
- (str,),
459
- 'limit_to_id':
460
- ([str],),
461
- 'page_index':
462
- (int,),
463
- 'page_size':
464
- (int,),
465
- },
466
- 'attribute_map': {
467
- 'balance_id': 'balance-id',
468
- 'limit_to_id': 'limitToId',
469
- 'page_index': 'pageIndex',
470
- 'page_size': 'pageSize',
471
- },
472
- 'location_map': {
473
- 'balance_id': 'path',
474
- 'limit_to_id': 'query',
475
- 'page_index': 'query',
476
- 'page_size': 'query',
477
- },
478
- 'collection_format_map': {
479
- 'limit_to_id': 'multi',
480
- }
481
- },
482
- headers_map={
483
- 'accept': [
484
- 'application/json'
485
- ],
486
- 'content_type': [],
487
- },
488
- api_client=api_client
489
- )
490
415
  self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
491
416
  settings={
492
417
  'response_type': (PreferredLineItem202110PagedListResponse,),
@@ -1354,74 +1279,6 @@ class CampaignApi(object):
1354
1279
  },
1355
1280
  api_client=api_client
1356
1281
  )
1357
- self.get_api_v1_external_account_balances_by_account_id_endpoint = _Endpoint(
1358
- settings={
1359
- 'response_type': (BalanceResponsePagedListResponse,),
1360
- 'auth': [
1361
- 'oauth',
1362
- 'oauth'
1363
- ],
1364
- 'endpoint_path': '/2024-01/retail-media/accounts/{account-id}/balances',
1365
- 'operation_id': 'get_api_v1_external_account_balances_by_account_id',
1366
- 'http_method': 'GET',
1367
- 'servers': None,
1368
- },
1369
- params_map={
1370
- 'all': [
1371
- 'account_id',
1372
- 'limit_to_id',
1373
- 'page_index',
1374
- 'page_size',
1375
- ],
1376
- 'required': [
1377
- 'account_id',
1378
- ],
1379
- 'nullable': [
1380
- ],
1381
- 'enum': [
1382
- ],
1383
- 'validation': [
1384
- ]
1385
- },
1386
- root_map={
1387
- 'validations': {
1388
- },
1389
- 'allowed_values': {
1390
- },
1391
- 'openapi_types': {
1392
- 'account_id':
1393
- (str,),
1394
- 'limit_to_id':
1395
- ([str],),
1396
- 'page_index':
1397
- (int,),
1398
- 'page_size':
1399
- (int,),
1400
- },
1401
- 'attribute_map': {
1402
- 'account_id': 'account-id',
1403
- 'limit_to_id': 'limitToId',
1404
- 'page_index': 'pageIndex',
1405
- 'page_size': 'pageSize',
1406
- },
1407
- 'location_map': {
1408
- 'account_id': 'path',
1409
- 'limit_to_id': 'query',
1410
- 'page_index': 'query',
1411
- 'page_size': 'query',
1412
- },
1413
- 'collection_format_map': {
1414
- 'limit_to_id': 'multi',
1415
- }
1416
- },
1417
- headers_map={
1418
- 'accept': [
1419
- 'application/json'
1420
- ],
1421
- 'content_type': [],
1422
- },
1423
- api_client=api_client
1424
- )
1425
1282
  self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint(
1426
1283
  settings={
1427
1284
  'response_type': (JsonApiPageResponseOfBrand,),
@@ -1484,65 +1341,9 @@ class CampaignApi(object):
1484
1341
  },
1485
1342
  headers_map={
1486
1343
  'accept': [
1487
- 'application/json'
1488
- ],
1489
- 'content_type': [],
1490
- },
1491
- api_client=api_client
1492
- )
1493
- self.get_api_v1_external_account_by_account_id_and_balance_id_endpoint = _Endpoint(
1494
- settings={
1495
- 'response_type': (BalanceResponse,),
1496
- 'auth': [
1497
- 'oauth',
1498
- 'oauth'
1499
- ],
1500
- 'endpoint_path': '/2024-01/retail-media/accounts/{account-id}/balances/{balanceId}',
1501
- 'operation_id': 'get_api_v1_external_account_by_account_id_and_balance_id',
1502
- 'http_method': 'GET',
1503
- 'servers': None,
1504
- },
1505
- params_map={
1506
- 'all': [
1507
- 'account_id',
1508
- 'balance_id',
1509
- ],
1510
- 'required': [
1511
- 'account_id',
1512
- 'balance_id',
1513
- ],
1514
- 'nullable': [
1515
- ],
1516
- 'enum': [
1517
- ],
1518
- 'validation': [
1519
- ]
1520
- },
1521
- root_map={
1522
- 'validations': {
1523
- },
1524
- 'allowed_values': {
1525
- },
1526
- 'openapi_types': {
1527
- 'account_id':
1528
- (str,),
1529
- 'balance_id':
1530
- (str,),
1531
- },
1532
- 'attribute_map': {
1533
- 'account_id': 'account-id',
1534
- 'balance_id': 'balanceId',
1535
- },
1536
- 'location_map': {
1537
- 'account_id': 'path',
1538
- 'balance_id': 'path',
1539
- },
1540
- 'collection_format_map': {
1541
- }
1542
- },
1543
- headers_map={
1544
- 'accept': [
1545
- 'application/json'
1344
+ 'text/plain',
1345
+ 'application/json',
1346
+ 'text/json'
1546
1347
  ],
1547
1348
  'content_type': [],
1548
1349
  },
@@ -1610,68 +1411,9 @@ class CampaignApi(object):
1610
1411
  },
1611
1412
  headers_map={
1612
1413
  'accept': [
1613
- 'application/json'
1614
- ],
1615
- 'content_type': [],
1616
- },
1617
- api_client=api_client
1618
- )
1619
- self.get_api_v1_external_accounts_endpoint = _Endpoint(
1620
- settings={
1621
- 'response_type': (JsonApiPageResponseOfAccount,),
1622
- 'auth': [
1623
- 'oauth',
1624
- 'oauth'
1625
- ],
1626
- 'endpoint_path': '/2024-01/retail-media/accounts',
1627
- 'operation_id': 'get_api_v1_external_accounts',
1628
- 'http_method': 'GET',
1629
- 'servers': None,
1630
- },
1631
- params_map={
1632
- 'all': [
1633
- 'limit_to_id',
1634
- 'page_index',
1635
- 'page_size',
1636
- ],
1637
- 'required': [],
1638
- 'nullable': [
1639
- ],
1640
- 'enum': [
1641
- ],
1642
- 'validation': [
1643
- ]
1644
- },
1645
- root_map={
1646
- 'validations': {
1647
- },
1648
- 'allowed_values': {
1649
- },
1650
- 'openapi_types': {
1651
- 'limit_to_id':
1652
- ([str],),
1653
- 'page_index':
1654
- (int,),
1655
- 'page_size':
1656
- (int,),
1657
- },
1658
- 'attribute_map': {
1659
- 'limit_to_id': 'limitToId',
1660
- 'page_index': 'pageIndex',
1661
- 'page_size': 'pageSize',
1662
- },
1663
- 'location_map': {
1664
- 'limit_to_id': 'query',
1665
- 'page_index': 'query',
1666
- 'page_size': 'query',
1667
- },
1668
- 'collection_format_map': {
1669
- 'limit_to_id': 'multi',
1670
- }
1671
- },
1672
- headers_map={
1673
- 'accept': [
1674
- 'application/json'
1414
+ 'text/plain',
1415
+ 'application/json',
1416
+ 'text/json'
1675
1417
  ],
1676
1418
  'content_type': [],
1677
1419
  },
@@ -2144,86 +1886,22 @@ class CampaignApi(object):
2144
1886
  },
2145
1887
  api_client=api_client
2146
1888
  )
2147
- self.patch_api_v1_external_account_by_account_id_and_balance_id_endpoint = _Endpoint(
1889
+ self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint(
2148
1890
  settings={
2149
- 'response_type': (BalanceResponse,),
1891
+ 'response_type': (KeywordTarget202110Response,),
2150
1892
  'auth': [
2151
1893
  'oauth',
2152
1894
  'oauth'
2153
1895
  ],
2154
- 'endpoint_path': '/2024-01/retail-media/accounts/{account-id}/balances/{balanceId}',
2155
- 'operation_id': 'patch_api_v1_external_account_by_account_id_and_balance_id',
2156
- 'http_method': 'PATCH',
1896
+ 'endpoint_path': '/2024-01/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append',
1897
+ 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id',
1898
+ 'http_method': 'POST',
2157
1899
  'servers': None,
2158
1900
  },
2159
1901
  params_map={
2160
1902
  'all': [
2161
- 'account_id',
2162
- 'balance_id',
2163
- 'update_balance_model_request',
2164
- ],
2165
- 'required': [
2166
- 'account_id',
2167
- 'balance_id',
2168
- ],
2169
- 'nullable': [
2170
- ],
2171
- 'enum': [
2172
- ],
2173
- 'validation': [
2174
- ]
2175
- },
2176
- root_map={
2177
- 'validations': {
2178
- },
2179
- 'allowed_values': {
2180
- },
2181
- 'openapi_types': {
2182
- 'account_id':
2183
- (str,),
2184
- 'balance_id':
2185
- (str,),
2186
- 'update_balance_model_request':
2187
- (UpdateBalanceModelRequest,),
2188
- },
2189
- 'attribute_map': {
2190
- 'account_id': 'account-id',
2191
- 'balance_id': 'balanceId',
2192
- },
2193
- 'location_map': {
2194
- 'account_id': 'path',
2195
- 'balance_id': 'path',
2196
- 'update_balance_model_request': 'body',
2197
- },
2198
- 'collection_format_map': {
2199
- }
2200
- },
2201
- headers_map={
2202
- 'accept': [
2203
- 'application/json'
2204
- ],
2205
- 'content_type': [
2206
- 'application/json'
2207
- ]
2208
- },
2209
- api_client=api_client
2210
- )
2211
- self.post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id_endpoint = _Endpoint(
2212
- settings={
2213
- 'response_type': (KeywordTarget202110Response,),
2214
- 'auth': [
2215
- 'oauth',
2216
- 'oauth'
2217
- ],
2218
- 'endpoint_path': '/2024-01/retail-media/auction-line-items/{line-item-id}/targeting/keywords/append',
2219
- 'operation_id': 'post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id',
2220
- 'http_method': 'POST',
2221
- 'servers': None,
2222
- },
2223
- params_map={
2224
- 'all': [
2225
- 'line_item_id',
2226
- 'keyword_target202110_request',
1903
+ 'line_item_id',
1904
+ 'keyword_target202110_request',
2227
1905
  ],
2228
1906
  'required': [
2229
1907
  'line_item_id',
@@ -3248,128 +2926,6 @@ class CampaignApi(object):
3248
2926
  },
3249
2927
  api_client=api_client
3250
2928
  )
3251
- self.post_api_v1_external_account_add_funds_by_account_id_and_balance_id_endpoint = _Endpoint(
3252
- settings={
3253
- 'response_type': (BalanceResponse,),
3254
- 'auth': [
3255
- 'oauth',
3256
- 'oauth'
3257
- ],
3258
- 'endpoint_path': '/2024-01/retail-media/accounts/{account-id}/balances/{balanceId}/add-funds',
3259
- 'operation_id': 'post_api_v1_external_account_add_funds_by_account_id_and_balance_id',
3260
- 'http_method': 'POST',
3261
- 'servers': None,
3262
- },
3263
- params_map={
3264
- 'all': [
3265
- 'account_id',
3266
- 'balance_id',
3267
- 'add_funds_to_balance_request',
3268
- ],
3269
- 'required': [
3270
- 'account_id',
3271
- 'balance_id',
3272
- ],
3273
- 'nullable': [
3274
- ],
3275
- 'enum': [
3276
- ],
3277
- 'validation': [
3278
- ]
3279
- },
3280
- root_map={
3281
- 'validations': {
3282
- },
3283
- 'allowed_values': {
3284
- },
3285
- 'openapi_types': {
3286
- 'account_id':
3287
- (str,),
3288
- 'balance_id':
3289
- (str,),
3290
- 'add_funds_to_balance_request':
3291
- (AddFundsToBalanceRequest,),
3292
- },
3293
- 'attribute_map': {
3294
- 'account_id': 'account-id',
3295
- 'balance_id': 'balanceId',
3296
- },
3297
- 'location_map': {
3298
- 'account_id': 'path',
3299
- 'balance_id': 'path',
3300
- 'add_funds_to_balance_request': 'body',
3301
- },
3302
- 'collection_format_map': {
3303
- }
3304
- },
3305
- headers_map={
3306
- 'accept': [
3307
- 'application/json'
3308
- ],
3309
- 'content_type': [
3310
- 'application/json'
3311
- ]
3312
- },
3313
- api_client=api_client
3314
- )
3315
- self.post_api_v1_external_account_balances_by_account_id_endpoint = _Endpoint(
3316
- settings={
3317
- 'response_type': (BalanceResponse,),
3318
- 'auth': [
3319
- 'oauth',
3320
- 'oauth'
3321
- ],
3322
- 'endpoint_path': '/2024-01/retail-media/accounts/{account-id}/balances',
3323
- 'operation_id': 'post_api_v1_external_account_balances_by_account_id',
3324
- 'http_method': 'POST',
3325
- 'servers': None,
3326
- },
3327
- params_map={
3328
- 'all': [
3329
- 'account_id',
3330
- 'create_balance_request',
3331
- ],
3332
- 'required': [
3333
- 'account_id',
3334
- ],
3335
- 'nullable': [
3336
- ],
3337
- 'enum': [
3338
- ],
3339
- 'validation': [
3340
- ]
3341
- },
3342
- root_map={
3343
- 'validations': {
3344
- },
3345
- 'allowed_values': {
3346
- },
3347
- 'openapi_types': {
3348
- 'account_id':
3349
- (str,),
3350
- 'create_balance_request':
3351
- (CreateBalanceRequest,),
3352
- },
3353
- 'attribute_map': {
3354
- 'account_id': 'account-id',
3355
- },
3356
- 'location_map': {
3357
- 'account_id': 'path',
3358
- 'create_balance_request': 'body',
3359
- },
3360
- 'collection_format_map': {
3361
- }
3362
- },
3363
- headers_map={
3364
- 'accept': [
3365
- 'application/json'
3366
- ],
3367
- 'content_type': [
3368
- 'application/json'
3369
- ]
3370
- },
3371
- api_client=api_client
3372
- )
3373
2929
  self.post_api_v1_external_account_catalogs_by_account_id_endpoint = _Endpoint(
3374
2930
  settings={
3375
2931
  'response_type': (JsonApiSingleResponseOfCatalogStatus,),
@@ -3428,70 +2984,6 @@ class CampaignApi(object):
3428
2984
  },
3429
2985
  api_client=api_client
3430
2986
  )
3431
- self.post_api_v1_external_account_change_dates_by_account_id_and_balance_id_endpoint = _Endpoint(
3432
- settings={
3433
- 'response_type': (BalanceResponse,),
3434
- 'auth': [
3435
- 'oauth',
3436
- 'oauth'
3437
- ],
3438
- 'endpoint_path': '/2024-01/retail-media/accounts/{account-id}/balances/{balanceId}/change-dates',
3439
- 'operation_id': 'post_api_v1_external_account_change_dates_by_account_id_and_balance_id',
3440
- 'http_method': 'POST',
3441
- 'servers': None,
3442
- },
3443
- params_map={
3444
- 'all': [
3445
- 'account_id',
3446
- 'balance_id',
3447
- 'change_dates_of_balance_request',
3448
- ],
3449
- 'required': [
3450
- 'account_id',
3451
- 'balance_id',
3452
- ],
3453
- 'nullable': [
3454
- ],
3455
- 'enum': [
3456
- ],
3457
- 'validation': [
3458
- ]
3459
- },
3460
- root_map={
3461
- 'validations': {
3462
- },
3463
- 'allowed_values': {
3464
- },
3465
- 'openapi_types': {
3466
- 'account_id':
3467
- (str,),
3468
- 'balance_id':
3469
- (str,),
3470
- 'change_dates_of_balance_request':
3471
- (ChangeDatesOfBalanceRequest,),
3472
- },
3473
- 'attribute_map': {
3474
- 'account_id': 'account-id',
3475
- 'balance_id': 'balanceId',
3476
- },
3477
- 'location_map': {
3478
- 'account_id': 'path',
3479
- 'balance_id': 'path',
3480
- 'change_dates_of_balance_request': 'body',
3481
- },
3482
- 'collection_format_map': {
3483
- }
3484
- },
3485
- headers_map={
3486
- 'accept': [
3487
- 'application/json'
3488
- ],
3489
- 'content_type': [
3490
- 'application/json'
3491
- ]
3492
- },
3493
- api_client=api_client
3494
- )
3495
2987
  self.post_api_v2_external_campaign_auction_line_items_by_campaign_id_endpoint = _Endpoint(
3496
2988
  settings={
3497
2989
  'response_type': (AuctionLineItemResponse,),
@@ -4754,22 +4246,22 @@ class CampaignApi(object):
4754
4246
  line_item_id
4755
4247
  return self.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4756
4248
 
4757
- def get_api202110_external_balance_campaigns_by_balance_id(
4249
+ def get_api202110_external_campaign_preferred_line_items_by_campaign_id(
4758
4250
  self,
4759
- balance_id,
4251
+ campaign_id,
4760
4252
  **kwargs
4761
4253
  ):
4762
- """get_api202110_external_balance_campaigns_by_balance_id # noqa: E501
4254
+ """get_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
4763
4255
 
4764
- Gets page of campaigns for the given balanceId # noqa: E501
4256
+ Gets page of preferred line item objects for the given campaign id # noqa: E501
4765
4257
  This method makes a synchronous HTTP request by default. To make an
4766
4258
  asynchronous HTTP request, please pass async_req=True
4767
4259
 
4768
- >>> thread = api.get_api202110_external_balance_campaigns_by_balance_id(balance_id, async_req=True)
4260
+ >>> thread = api.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
4769
4261
  >>> result = thread.get()
4770
4262
 
4771
4263
  Args:
4772
- balance_id (str): The balance to get campaigns from
4264
+ campaign_id (str): The given campaign id
4773
4265
 
4774
4266
  Keyword Args:
4775
4267
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
@@ -4807,7 +4299,7 @@ class CampaignApi(object):
4807
4299
  async_req (bool): execute request asynchronously
4808
4300
 
4809
4301
  Returns:
4810
- BalanceCampaign202110PagedListResponse
4302
+ PreferredLineItem202110PagedListResponse
4811
4303
  If the method is called asynchronously, returns the request
4812
4304
  thread.
4813
4305
  """
@@ -4836,26 +4328,26 @@ class CampaignApi(object):
4836
4328
  '_content_type')
4837
4329
  kwargs['_host_index'] = kwargs.get('_host_index')
4838
4330
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4839
- kwargs['balance_id'] = \
4840
- balance_id
4841
- return self.get_api202110_external_balance_campaigns_by_balance_id_endpoint.call_with_http_info(**kwargs)
4331
+ kwargs['campaign_id'] = \
4332
+ campaign_id
4333
+ return self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4842
4334
 
4843
- def get_api202110_external_campaign_preferred_line_items_by_campaign_id(
4335
+ def get_api202110_external_line_item_products_by_line_item_id(
4844
4336
  self,
4845
- campaign_id,
4337
+ line_item_id,
4846
4338
  **kwargs
4847
4339
  ):
4848
- """get_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
4340
+ """get_api202110_external_line_item_products_by_line_item_id # noqa: E501
4849
4341
 
4850
- Gets page of preferred line item objects for the given campaign id # noqa: E501
4342
+ This endpoint gets the promoted products on the specified line item. # noqa: E501
4851
4343
  This method makes a synchronous HTTP request by default. To make an
4852
4344
  asynchronous HTTP request, please pass async_req=True
4853
4345
 
4854
- >>> thread = api.get_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
4346
+ >>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True)
4855
4347
  >>> result = thread.get()
4856
4348
 
4857
4349
  Args:
4858
- campaign_id (str): The given campaign id
4350
+ line_item_id (str): The line item to interact with
4859
4351
 
4860
4352
  Keyword Args:
4861
4353
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
@@ -4893,7 +4385,7 @@ class CampaignApi(object):
4893
4385
  async_req (bool): execute request asynchronously
4894
4386
 
4895
4387
  Returns:
4896
- PreferredLineItem202110PagedListResponse
4388
+ PromotedProduct202110PagedListResponse
4897
4389
  If the method is called asynchronously, returns the request
4898
4390
  thread.
4899
4391
  """
@@ -4922,97 +4414,11 @@ class CampaignApi(object):
4922
4414
  '_content_type')
4923
4415
  kwargs['_host_index'] = kwargs.get('_host_index')
4924
4416
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4925
- kwargs['campaign_id'] = \
4926
- campaign_id
4927
- return self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4417
+ kwargs['line_item_id'] = \
4418
+ line_item_id
4419
+ return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4928
4420
 
4929
- def get_api202110_external_line_item_products_by_line_item_id(
4930
- self,
4931
- line_item_id,
4932
- **kwargs
4933
- ):
4934
- """get_api202110_external_line_item_products_by_line_item_id # noqa: E501
4935
-
4936
- This endpoint gets the promoted products on the specified line item. # noqa: E501
4937
- This method makes a synchronous HTTP request by default. To make an
4938
- asynchronous HTTP request, please pass async_req=True
4939
-
4940
- >>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True)
4941
- >>> result = thread.get()
4942
-
4943
- Args:
4944
- line_item_id (str): The line item to interact with
4945
-
4946
- Keyword Args:
4947
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
4948
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
4949
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
4950
- _return_http_data_only (bool): response data without head status
4951
- code and headers. Default is True.
4952
- _preload_content (bool): if False, the urllib3.HTTPResponse object
4953
- will be returned without reading/decoding response data.
4954
- Default is True.
4955
- _request_timeout (int/float/tuple): timeout setting for this request. If
4956
- one number provided, it will be total request timeout. It can also
4957
- be a pair (tuple) of (connection, read) timeouts.
4958
- Default is None.
4959
- _check_input_type (bool): specifies if type checking
4960
- should be done one the data sent to the server.
4961
- Default is True.
4962
- _check_return_type (bool): specifies if type checking
4963
- should be done one the data received from the server.
4964
- Default is True.
4965
- _spec_property_naming (bool): True if the variable names in the input data
4966
- are serialized names, as specified in the OpenAPI document.
4967
- False if the variable names in the input data
4968
- are pythonic names, e.g. snake case (default)
4969
- _content_type (str/None): force body content-type.
4970
- Default is None and content-type will be predicted by allowed
4971
- content-types and body.
4972
- _host_index (int/None): specifies the index of the server
4973
- that we want to use.
4974
- Default is read from the configuration.
4975
- _request_auths (list): set to override the auth_settings for an a single
4976
- request; this effectively ignores the authentication
4977
- in the spec for a single request.
4978
- Default is None
4979
- async_req (bool): execute request asynchronously
4980
-
4981
- Returns:
4982
- PromotedProduct202110PagedListResponse
4983
- If the method is called asynchronously, returns the request
4984
- thread.
4985
- """
4986
- kwargs['async_req'] = kwargs.get(
4987
- 'async_req', False
4988
- )
4989
- kwargs['_return_http_data_only'] = kwargs.get(
4990
- '_return_http_data_only', True
4991
- )
4992
- kwargs['_preload_content'] = kwargs.get(
4993
- '_preload_content', True
4994
- )
4995
- kwargs['_request_timeout'] = kwargs.get(
4996
- '_request_timeout', None
4997
- )
4998
- kwargs['_check_input_type'] = kwargs.get(
4999
- '_check_input_type', True
5000
- )
5001
- kwargs['_check_return_type'] = kwargs.get(
5002
- '_check_return_type', True
5003
- )
5004
- kwargs['_spec_property_naming'] = kwargs.get(
5005
- '_spec_property_naming', False
5006
- )
5007
- kwargs['_content_type'] = kwargs.get(
5008
- '_content_type')
5009
- kwargs['_host_index'] = kwargs.get('_host_index')
5010
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5011
- kwargs['line_item_id'] = \
5012
- line_item_id
5013
- return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5014
-
5015
- def get_api202110_external_preferred_line_item_by_line_item_id(
4421
+ def get_api202110_external_preferred_line_item_by_line_item_id(
5016
4422
  self,
5017
4423
  line_item_id,
5018
4424
  **kwargs
@@ -6101,92 +5507,6 @@ class CampaignApi(object):
6101
5507
  line_item_id
6102
5508
  return self.get_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
6103
5509
 
6104
- def get_api_v1_external_account_balances_by_account_id(
6105
- self,
6106
- account_id,
6107
- **kwargs
6108
- ):
6109
- """get_api_v1_external_account_balances_by_account_id # noqa: E501
6110
-
6111
- Get page of balances for the given accountId. # noqa: E501
6112
- This method makes a synchronous HTTP request by default. To make an
6113
- asynchronous HTTP request, please pass async_req=True
6114
-
6115
- >>> thread = api.get_api_v1_external_account_balances_by_account_id(account_id, async_req=True)
6116
- >>> result = thread.get()
6117
-
6118
- Args:
6119
- account_id (str): The account to get page of balances for
6120
-
6121
- Keyword Args:
6122
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
6123
- 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
6124
- 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
6125
- _return_http_data_only (bool): response data without head status
6126
- code and headers. Default is True.
6127
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6128
- will be returned without reading/decoding response data.
6129
- Default is True.
6130
- _request_timeout (int/float/tuple): timeout setting for this request. If
6131
- one number provided, it will be total request timeout. It can also
6132
- be a pair (tuple) of (connection, read) timeouts.
6133
- Default is None.
6134
- _check_input_type (bool): specifies if type checking
6135
- should be done one the data sent to the server.
6136
- Default is True.
6137
- _check_return_type (bool): specifies if type checking
6138
- should be done one the data received from the server.
6139
- Default is True.
6140
- _spec_property_naming (bool): True if the variable names in the input data
6141
- are serialized names, as specified in the OpenAPI document.
6142
- False if the variable names in the input data
6143
- are pythonic names, e.g. snake case (default)
6144
- _content_type (str/None): force body content-type.
6145
- Default is None and content-type will be predicted by allowed
6146
- content-types and body.
6147
- _host_index (int/None): specifies the index of the server
6148
- that we want to use.
6149
- Default is read from the configuration.
6150
- _request_auths (list): set to override the auth_settings for an a single
6151
- request; this effectively ignores the authentication
6152
- in the spec for a single request.
6153
- Default is None
6154
- async_req (bool): execute request asynchronously
6155
-
6156
- Returns:
6157
- BalanceResponsePagedListResponse
6158
- If the method is called asynchronously, returns the request
6159
- thread.
6160
- """
6161
- kwargs['async_req'] = kwargs.get(
6162
- 'async_req', False
6163
- )
6164
- kwargs['_return_http_data_only'] = kwargs.get(
6165
- '_return_http_data_only', True
6166
- )
6167
- kwargs['_preload_content'] = kwargs.get(
6168
- '_preload_content', True
6169
- )
6170
- kwargs['_request_timeout'] = kwargs.get(
6171
- '_request_timeout', None
6172
- )
6173
- kwargs['_check_input_type'] = kwargs.get(
6174
- '_check_input_type', True
6175
- )
6176
- kwargs['_check_return_type'] = kwargs.get(
6177
- '_check_return_type', True
6178
- )
6179
- kwargs['_spec_property_naming'] = kwargs.get(
6180
- '_spec_property_naming', False
6181
- )
6182
- kwargs['_content_type'] = kwargs.get(
6183
- '_content_type')
6184
- kwargs['_host_index'] = kwargs.get('_host_index')
6185
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6186
- kwargs['account_id'] = \
6187
- account_id
6188
- return self.get_api_v1_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
6189
-
6190
5510
  def get_api_v1_external_account_brands_by_account_id(
6191
5511
  self,
6192
5512
  account_id,
@@ -6206,8 +5526,8 @@ class CampaignApi(object):
6206
5526
 
6207
5527
  Keyword Args:
6208
5528
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
6209
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
6210
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
5529
+ 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
5530
+ 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
6211
5531
  _return_http_data_only (bool): response data without head status
6212
5532
  code and headers. Default is True.
6213
5533
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -6273,93 +5593,6 @@ class CampaignApi(object):
6273
5593
  account_id
6274
5594
  return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs)
6275
5595
 
6276
- def get_api_v1_external_account_by_account_id_and_balance_id(
6277
- self,
6278
- account_id,
6279
- balance_id,
6280
- **kwargs
6281
- ):
6282
- """get_api_v1_external_account_by_account_id_and_balance_id # noqa: E501
6283
-
6284
- Get a balance for the given account id and balance id # noqa: E501
6285
- This method makes a synchronous HTTP request by default. To make an
6286
- asynchronous HTTP request, please pass async_req=True
6287
-
6288
- >>> thread = api.get_api_v1_external_account_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
6289
- >>> result = thread.get()
6290
-
6291
- Args:
6292
- account_id (str): The account of the balance
6293
- balance_id (str): The balance id
6294
-
6295
- Keyword Args:
6296
- _return_http_data_only (bool): response data without head status
6297
- code and headers. Default is True.
6298
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6299
- will be returned without reading/decoding response data.
6300
- Default is True.
6301
- _request_timeout (int/float/tuple): timeout setting for this request. If
6302
- one number provided, it will be total request timeout. It can also
6303
- be a pair (tuple) of (connection, read) timeouts.
6304
- Default is None.
6305
- _check_input_type (bool): specifies if type checking
6306
- should be done one the data sent to the server.
6307
- Default is True.
6308
- _check_return_type (bool): specifies if type checking
6309
- should be done one the data received from the server.
6310
- Default is True.
6311
- _spec_property_naming (bool): True if the variable names in the input data
6312
- are serialized names, as specified in the OpenAPI document.
6313
- False if the variable names in the input data
6314
- are pythonic names, e.g. snake case (default)
6315
- _content_type (str/None): force body content-type.
6316
- Default is None and content-type will be predicted by allowed
6317
- content-types and body.
6318
- _host_index (int/None): specifies the index of the server
6319
- that we want to use.
6320
- Default is read from the configuration.
6321
- _request_auths (list): set to override the auth_settings for an a single
6322
- request; this effectively ignores the authentication
6323
- in the spec for a single request.
6324
- Default is None
6325
- async_req (bool): execute request asynchronously
6326
-
6327
- Returns:
6328
- BalanceResponse
6329
- If the method is called asynchronously, returns the request
6330
- thread.
6331
- """
6332
- kwargs['async_req'] = kwargs.get(
6333
- 'async_req', False
6334
- )
6335
- kwargs['_return_http_data_only'] = kwargs.get(
6336
- '_return_http_data_only', True
6337
- )
6338
- kwargs['_preload_content'] = kwargs.get(
6339
- '_preload_content', True
6340
- )
6341
- kwargs['_request_timeout'] = kwargs.get(
6342
- '_request_timeout', None
6343
- )
6344
- kwargs['_check_input_type'] = kwargs.get(
6345
- '_check_input_type', True
6346
- )
6347
- kwargs['_check_return_type'] = kwargs.get(
6348
- '_check_return_type', True
6349
- )
6350
- kwargs['_spec_property_naming'] = kwargs.get(
6351
- '_spec_property_naming', False
6352
- )
6353
- kwargs['_content_type'] = kwargs.get(
6354
- '_content_type')
6355
- kwargs['_host_index'] = kwargs.get('_host_index')
6356
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6357
- kwargs['account_id'] = \
6358
- account_id
6359
- kwargs['balance_id'] = \
6360
- balance_id
6361
- return self.get_api_v1_external_account_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
6362
-
6363
5596
  def get_api_v1_external_account_retailers_by_account_id(
6364
5597
  self,
6365
5598
  account_id,
@@ -6379,8 +5612,8 @@ class CampaignApi(object):
6379
5612
 
6380
5613
  Keyword Args:
6381
5614
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
6382
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
6383
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
5615
+ 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
5616
+ 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
6384
5617
  _return_http_data_only (bool): response data without head status
6385
5618
  code and headers. Default is True.
6386
5619
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -6446,87 +5679,6 @@ class CampaignApi(object):
6446
5679
  account_id
6447
5680
  return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
6448
5681
 
6449
- def get_api_v1_external_accounts(
6450
- self,
6451
- **kwargs
6452
- ):
6453
- """get_api_v1_external_accounts # noqa: E501
6454
-
6455
- Gets page of account objects that the current user can access # noqa: E501
6456
- This method makes a synchronous HTTP request by default. To make an
6457
- asynchronous HTTP request, please pass async_req=True
6458
-
6459
- >>> thread = api.get_api_v1_external_accounts(async_req=True)
6460
- >>> result = thread.get()
6461
-
6462
-
6463
- Keyword Args:
6464
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
6465
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
6466
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
6467
- _return_http_data_only (bool): response data without head status
6468
- code and headers. Default is True.
6469
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6470
- will be returned without reading/decoding response data.
6471
- Default is True.
6472
- _request_timeout (int/float/tuple): timeout setting for this request. If
6473
- one number provided, it will be total request timeout. It can also
6474
- be a pair (tuple) of (connection, read) timeouts.
6475
- Default is None.
6476
- _check_input_type (bool): specifies if type checking
6477
- should be done one the data sent to the server.
6478
- Default is True.
6479
- _check_return_type (bool): specifies if type checking
6480
- should be done one the data received from the server.
6481
- Default is True.
6482
- _spec_property_naming (bool): True if the variable names in the input data
6483
- are serialized names, as specified in the OpenAPI document.
6484
- False if the variable names in the input data
6485
- are pythonic names, e.g. snake case (default)
6486
- _content_type (str/None): force body content-type.
6487
- Default is None and content-type will be predicted by allowed
6488
- content-types and body.
6489
- _host_index (int/None): specifies the index of the server
6490
- that we want to use.
6491
- Default is read from the configuration.
6492
- _request_auths (list): set to override the auth_settings for an a single
6493
- request; this effectively ignores the authentication
6494
- in the spec for a single request.
6495
- Default is None
6496
- async_req (bool): execute request asynchronously
6497
-
6498
- Returns:
6499
- JsonApiPageResponseOfAccount
6500
- If the method is called asynchronously, returns the request
6501
- thread.
6502
- """
6503
- kwargs['async_req'] = kwargs.get(
6504
- 'async_req', False
6505
- )
6506
- kwargs['_return_http_data_only'] = kwargs.get(
6507
- '_return_http_data_only', True
6508
- )
6509
- kwargs['_preload_content'] = kwargs.get(
6510
- '_preload_content', True
6511
- )
6512
- kwargs['_request_timeout'] = kwargs.get(
6513
- '_request_timeout', None
6514
- )
6515
- kwargs['_check_input_type'] = kwargs.get(
6516
- '_check_input_type', True
6517
- )
6518
- kwargs['_check_return_type'] = kwargs.get(
6519
- '_check_return_type', True
6520
- )
6521
- kwargs['_spec_property_naming'] = kwargs.get(
6522
- '_spec_property_naming', False
6523
- )
6524
- kwargs['_content_type'] = kwargs.get(
6525
- '_content_type')
6526
- kwargs['_host_index'] = kwargs.get('_host_index')
6527
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6528
- return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
6529
-
6530
5682
  def get_api_v1_external_catalog_output_by_catalog_id(
6531
5683
  self,
6532
5684
  catalog_id,
@@ -7112,114 +6264,28 @@ class CampaignApi(object):
7112
6264
  '_content_type')
7113
6265
  kwargs['_host_index'] = kwargs.get('_host_index')
7114
6266
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
7115
- kwargs['campaign_id'] = \
7116
- campaign_id
7117
- return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
7118
-
7119
- def get_line_item_budget_overrides(
7120
- self,
7121
- line_item_id,
7122
- **kwargs
7123
- ):
7124
- """get_line_item_budget_overrides # noqa: E501
7125
-
7126
- Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501
7127
- This method makes a synchronous HTTP request by default. To make an
7128
- asynchronous HTTP request, please pass async_req=True
7129
-
7130
- >>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True)
7131
- >>> result = thread.get()
7132
-
7133
- Args:
7134
- line_item_id (str): The line item id to get budget overrides for.
7135
-
7136
- Keyword Args:
7137
- _return_http_data_only (bool): response data without head status
7138
- code and headers. Default is True.
7139
- _preload_content (bool): if False, the urllib3.HTTPResponse object
7140
- will be returned without reading/decoding response data.
7141
- Default is True.
7142
- _request_timeout (int/float/tuple): timeout setting for this request. If
7143
- one number provided, it will be total request timeout. It can also
7144
- be a pair (tuple) of (connection, read) timeouts.
7145
- Default is None.
7146
- _check_input_type (bool): specifies if type checking
7147
- should be done one the data sent to the server.
7148
- Default is True.
7149
- _check_return_type (bool): specifies if type checking
7150
- should be done one the data received from the server.
7151
- Default is True.
7152
- _spec_property_naming (bool): True if the variable names in the input data
7153
- are serialized names, as specified in the OpenAPI document.
7154
- False if the variable names in the input data
7155
- are pythonic names, e.g. snake case (default)
7156
- _content_type (str/None): force body content-type.
7157
- Default is None and content-type will be predicted by allowed
7158
- content-types and body.
7159
- _host_index (int/None): specifies the index of the server
7160
- that we want to use.
7161
- Default is read from the configuration.
7162
- _request_auths (list): set to override the auth_settings for an a single
7163
- request; this effectively ignores the authentication
7164
- in the spec for a single request.
7165
- Default is None
7166
- async_req (bool): execute request asynchronously
7167
-
7168
- Returns:
7169
- ValueResourceOutcomeOfLineItemBudgetOverrides
7170
- If the method is called asynchronously, returns the request
7171
- thread.
7172
- """
7173
- kwargs['async_req'] = kwargs.get(
7174
- 'async_req', False
7175
- )
7176
- kwargs['_return_http_data_only'] = kwargs.get(
7177
- '_return_http_data_only', True
7178
- )
7179
- kwargs['_preload_content'] = kwargs.get(
7180
- '_preload_content', True
7181
- )
7182
- kwargs['_request_timeout'] = kwargs.get(
7183
- '_request_timeout', None
7184
- )
7185
- kwargs['_check_input_type'] = kwargs.get(
7186
- '_check_input_type', True
7187
- )
7188
- kwargs['_check_return_type'] = kwargs.get(
7189
- '_check_return_type', True
7190
- )
7191
- kwargs['_spec_property_naming'] = kwargs.get(
7192
- '_spec_property_naming', False
7193
- )
7194
- kwargs['_content_type'] = kwargs.get(
7195
- '_content_type')
7196
- kwargs['_host_index'] = kwargs.get('_host_index')
7197
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
7198
- kwargs['line_item_id'] = \
7199
- line_item_id
7200
- return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
6267
+ kwargs['campaign_id'] = \
6268
+ campaign_id
6269
+ return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
7201
6270
 
7202
- def patch_api_v1_external_account_by_account_id_and_balance_id(
6271
+ def get_line_item_budget_overrides(
7203
6272
  self,
7204
- account_id,
7205
- balance_id,
6273
+ line_item_id,
7206
6274
  **kwargs
7207
6275
  ):
7208
- """patch_api_v1_external_account_by_account_id_and_balance_id # noqa: E501
6276
+ """get_line_item_budget_overrides # noqa: E501
7209
6277
 
7210
- Modify a balance for the given account id # noqa: E501
6278
+ Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501
7211
6279
  This method makes a synchronous HTTP request by default. To make an
7212
6280
  asynchronous HTTP request, please pass async_req=True
7213
6281
 
7214
- >>> thread = api.patch_api_v1_external_account_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
6282
+ >>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True)
7215
6283
  >>> result = thread.get()
7216
6284
 
7217
6285
  Args:
7218
- account_id (str): The account of the balance
7219
- balance_id (str): The balance to change the dates
6286
+ line_item_id (str): The line item id to get budget overrides for.
7220
6287
 
7221
6288
  Keyword Args:
7222
- update_balance_model_request (UpdateBalanceModelRequest): [optional]
7223
6289
  _return_http_data_only (bool): response data without head status
7224
6290
  code and headers. Default is True.
7225
6291
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -7252,7 +6318,7 @@ class CampaignApi(object):
7252
6318
  async_req (bool): execute request asynchronously
7253
6319
 
7254
6320
  Returns:
7255
- BalanceResponse
6321
+ ValueResourceOutcomeOfLineItemBudgetOverrides
7256
6322
  If the method is called asynchronously, returns the request
7257
6323
  thread.
7258
6324
  """
@@ -7281,11 +6347,9 @@ class CampaignApi(object):
7281
6347
  '_content_type')
7282
6348
  kwargs['_host_index'] = kwargs.get('_host_index')
7283
6349
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
7284
- kwargs['account_id'] = \
7285
- account_id
7286
- kwargs['balance_id'] = \
7287
- balance_id
7288
- return self.patch_api_v1_external_account_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
6350
+ kwargs['line_item_id'] = \
6351
+ line_item_id
6352
+ return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
7289
6353
 
7290
6354
  def post_api202110_external_auction_line_item_targeting_keywords_append_by_line_item_id(
7291
6355
  self,
@@ -8799,178 +7863,6 @@ class CampaignApi(object):
8799
7863
  account_id
8800
7864
  return self.post_api202301_external_account_campaigns_by_account_id_endpoint.call_with_http_info(**kwargs)
8801
7865
 
8802
- def post_api_v1_external_account_add_funds_by_account_id_and_balance_id(
8803
- self,
8804
- account_id,
8805
- balance_id,
8806
- **kwargs
8807
- ):
8808
- """post_api_v1_external_account_add_funds_by_account_id_and_balance_id # noqa: E501
8809
-
8810
- Add funds to a balance for the given account id # noqa: E501
8811
- This method makes a synchronous HTTP request by default. To make an
8812
- asynchronous HTTP request, please pass async_req=True
8813
-
8814
- >>> thread = api.post_api_v1_external_account_add_funds_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
8815
- >>> result = thread.get()
8816
-
8817
- Args:
8818
- account_id (str): The account of the balance
8819
- balance_id (str): The balance to add funds to
8820
-
8821
- Keyword Args:
8822
- add_funds_to_balance_request (AddFundsToBalanceRequest): [optional]
8823
- _return_http_data_only (bool): response data without head status
8824
- code and headers. Default is True.
8825
- _preload_content (bool): if False, the urllib3.HTTPResponse object
8826
- will be returned without reading/decoding response data.
8827
- Default is True.
8828
- _request_timeout (int/float/tuple): timeout setting for this request. If
8829
- one number provided, it will be total request timeout. It can also
8830
- be a pair (tuple) of (connection, read) timeouts.
8831
- Default is None.
8832
- _check_input_type (bool): specifies if type checking
8833
- should be done one the data sent to the server.
8834
- Default is True.
8835
- _check_return_type (bool): specifies if type checking
8836
- should be done one the data received from the server.
8837
- Default is True.
8838
- _spec_property_naming (bool): True if the variable names in the input data
8839
- are serialized names, as specified in the OpenAPI document.
8840
- False if the variable names in the input data
8841
- are pythonic names, e.g. snake case (default)
8842
- _content_type (str/None): force body content-type.
8843
- Default is None and content-type will be predicted by allowed
8844
- content-types and body.
8845
- _host_index (int/None): specifies the index of the server
8846
- that we want to use.
8847
- Default is read from the configuration.
8848
- _request_auths (list): set to override the auth_settings for an a single
8849
- request; this effectively ignores the authentication
8850
- in the spec for a single request.
8851
- Default is None
8852
- async_req (bool): execute request asynchronously
8853
-
8854
- Returns:
8855
- BalanceResponse
8856
- If the method is called asynchronously, returns the request
8857
- thread.
8858
- """
8859
- kwargs['async_req'] = kwargs.get(
8860
- 'async_req', False
8861
- )
8862
- kwargs['_return_http_data_only'] = kwargs.get(
8863
- '_return_http_data_only', True
8864
- )
8865
- kwargs['_preload_content'] = kwargs.get(
8866
- '_preload_content', True
8867
- )
8868
- kwargs['_request_timeout'] = kwargs.get(
8869
- '_request_timeout', None
8870
- )
8871
- kwargs['_check_input_type'] = kwargs.get(
8872
- '_check_input_type', True
8873
- )
8874
- kwargs['_check_return_type'] = kwargs.get(
8875
- '_check_return_type', True
8876
- )
8877
- kwargs['_spec_property_naming'] = kwargs.get(
8878
- '_spec_property_naming', False
8879
- )
8880
- kwargs['_content_type'] = kwargs.get(
8881
- '_content_type')
8882
- kwargs['_host_index'] = kwargs.get('_host_index')
8883
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
8884
- kwargs['account_id'] = \
8885
- account_id
8886
- kwargs['balance_id'] = \
8887
- balance_id
8888
- return self.post_api_v1_external_account_add_funds_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
8889
-
8890
- def post_api_v1_external_account_balances_by_account_id(
8891
- self,
8892
- account_id,
8893
- **kwargs
8894
- ):
8895
- """post_api_v1_external_account_balances_by_account_id # noqa: E501
8896
-
8897
- Create balance for the given account id # noqa: E501
8898
- This method makes a synchronous HTTP request by default. To make an
8899
- asynchronous HTTP request, please pass async_req=True
8900
-
8901
- >>> thread = api.post_api_v1_external_account_balances_by_account_id(account_id, async_req=True)
8902
- >>> result = thread.get()
8903
-
8904
- Args:
8905
- account_id (str): The account to create balances for
8906
-
8907
- Keyword Args:
8908
- create_balance_request (CreateBalanceRequest): [optional]
8909
- _return_http_data_only (bool): response data without head status
8910
- code and headers. Default is True.
8911
- _preload_content (bool): if False, the urllib3.HTTPResponse object
8912
- will be returned without reading/decoding response data.
8913
- Default is True.
8914
- _request_timeout (int/float/tuple): timeout setting for this request. If
8915
- one number provided, it will be total request timeout. It can also
8916
- be a pair (tuple) of (connection, read) timeouts.
8917
- Default is None.
8918
- _check_input_type (bool): specifies if type checking
8919
- should be done one the data sent to the server.
8920
- Default is True.
8921
- _check_return_type (bool): specifies if type checking
8922
- should be done one the data received from the server.
8923
- Default is True.
8924
- _spec_property_naming (bool): True if the variable names in the input data
8925
- are serialized names, as specified in the OpenAPI document.
8926
- False if the variable names in the input data
8927
- are pythonic names, e.g. snake case (default)
8928
- _content_type (str/None): force body content-type.
8929
- Default is None and content-type will be predicted by allowed
8930
- content-types and body.
8931
- _host_index (int/None): specifies the index of the server
8932
- that we want to use.
8933
- Default is read from the configuration.
8934
- _request_auths (list): set to override the auth_settings for an a single
8935
- request; this effectively ignores the authentication
8936
- in the spec for a single request.
8937
- Default is None
8938
- async_req (bool): execute request asynchronously
8939
-
8940
- Returns:
8941
- BalanceResponse
8942
- If the method is called asynchronously, returns the request
8943
- thread.
8944
- """
8945
- kwargs['async_req'] = kwargs.get(
8946
- 'async_req', False
8947
- )
8948
- kwargs['_return_http_data_only'] = kwargs.get(
8949
- '_return_http_data_only', True
8950
- )
8951
- kwargs['_preload_content'] = kwargs.get(
8952
- '_preload_content', True
8953
- )
8954
- kwargs['_request_timeout'] = kwargs.get(
8955
- '_request_timeout', None
8956
- )
8957
- kwargs['_check_input_type'] = kwargs.get(
8958
- '_check_input_type', True
8959
- )
8960
- kwargs['_check_return_type'] = kwargs.get(
8961
- '_check_return_type', True
8962
- )
8963
- kwargs['_spec_property_naming'] = kwargs.get(
8964
- '_spec_property_naming', False
8965
- )
8966
- kwargs['_content_type'] = kwargs.get(
8967
- '_content_type')
8968
- kwargs['_host_index'] = kwargs.get('_host_index')
8969
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
8970
- kwargs['account_id'] = \
8971
- account_id
8972
- return self.post_api_v1_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
8973
-
8974
7866
  def post_api_v1_external_account_catalogs_by_account_id(
8975
7867
  self,
8976
7868
  account_id,
@@ -9055,94 +7947,6 @@ class CampaignApi(object):
9055
7947
  account_id
9056
7948
  return self.post_api_v1_external_account_catalogs_by_account_id_endpoint.call_with_http_info(**kwargs)
9057
7949
 
9058
- def post_api_v1_external_account_change_dates_by_account_id_and_balance_id(
9059
- self,
9060
- account_id,
9061
- balance_id,
9062
- **kwargs
9063
- ):
9064
- """post_api_v1_external_account_change_dates_by_account_id_and_balance_id # noqa: E501
9065
-
9066
- Change dates of a balance for the given account id # noqa: E501
9067
- This method makes a synchronous HTTP request by default. To make an
9068
- asynchronous HTTP request, please pass async_req=True
9069
-
9070
- >>> thread = api.post_api_v1_external_account_change_dates_by_account_id_and_balance_id(account_id, balance_id, async_req=True)
9071
- >>> result = thread.get()
9072
-
9073
- Args:
9074
- account_id (str): The account of the balance
9075
- balance_id (str): The balance to change the dates
9076
-
9077
- Keyword Args:
9078
- change_dates_of_balance_request (ChangeDatesOfBalanceRequest): [optional]
9079
- _return_http_data_only (bool): response data without head status
9080
- code and headers. Default is True.
9081
- _preload_content (bool): if False, the urllib3.HTTPResponse object
9082
- will be returned without reading/decoding response data.
9083
- Default is True.
9084
- _request_timeout (int/float/tuple): timeout setting for this request. If
9085
- one number provided, it will be total request timeout. It can also
9086
- be a pair (tuple) of (connection, read) timeouts.
9087
- Default is None.
9088
- _check_input_type (bool): specifies if type checking
9089
- should be done one the data sent to the server.
9090
- Default is True.
9091
- _check_return_type (bool): specifies if type checking
9092
- should be done one the data received from the server.
9093
- Default is True.
9094
- _spec_property_naming (bool): True if the variable names in the input data
9095
- are serialized names, as specified in the OpenAPI document.
9096
- False if the variable names in the input data
9097
- are pythonic names, e.g. snake case (default)
9098
- _content_type (str/None): force body content-type.
9099
- Default is None and content-type will be predicted by allowed
9100
- content-types and body.
9101
- _host_index (int/None): specifies the index of the server
9102
- that we want to use.
9103
- Default is read from the configuration.
9104
- _request_auths (list): set to override the auth_settings for an a single
9105
- request; this effectively ignores the authentication
9106
- in the spec for a single request.
9107
- Default is None
9108
- async_req (bool): execute request asynchronously
9109
-
9110
- Returns:
9111
- BalanceResponse
9112
- If the method is called asynchronously, returns the request
9113
- thread.
9114
- """
9115
- kwargs['async_req'] = kwargs.get(
9116
- 'async_req', False
9117
- )
9118
- kwargs['_return_http_data_only'] = kwargs.get(
9119
- '_return_http_data_only', True
9120
- )
9121
- kwargs['_preload_content'] = kwargs.get(
9122
- '_preload_content', True
9123
- )
9124
- kwargs['_request_timeout'] = kwargs.get(
9125
- '_request_timeout', None
9126
- )
9127
- kwargs['_check_input_type'] = kwargs.get(
9128
- '_check_input_type', True
9129
- )
9130
- kwargs['_check_return_type'] = kwargs.get(
9131
- '_check_return_type', True
9132
- )
9133
- kwargs['_spec_property_naming'] = kwargs.get(
9134
- '_spec_property_naming', False
9135
- )
9136
- kwargs['_content_type'] = kwargs.get(
9137
- '_content_type')
9138
- kwargs['_host_index'] = kwargs.get('_host_index')
9139
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
9140
- kwargs['account_id'] = \
9141
- account_id
9142
- kwargs['balance_id'] = \
9143
- balance_id
9144
- return self.post_api_v1_external_account_change_dates_by_account_id_and_balance_id_endpoint.call_with_http_info(**kwargs)
9145
-
9146
7950
  def post_api_v2_external_campaign_auction_line_items_by_campaign_id(
9147
7951
  self,
9148
7952
  campaign_id,