criteo-api-retailmedia-sdk 0.0.251021__py3-none-any.whl → 0.0.251028__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 (43) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/campaign_api.py +399 -1414
  3. criteo_api_retailmedia_preview/api_client.py +1 -1
  4. criteo_api_retailmedia_preview/configuration.py +1 -1
  5. criteo_api_retailmedia_preview/model/display_auction_min_bid_request.py +3 -3
  6. criteo_api_retailmedia_preview/models/__init__.py +0 -33
  7. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/METADATA +3 -3
  8. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/RECORD +10 -43
  9. criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +0 -274
  10. criteo_api_retailmedia_preview/model/add_remove_keywords_model.py +0 -262
  11. criteo_api_retailmedia_preview/model/add_remove_keywords_model_request.py +0 -262
  12. criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +0 -270
  13. criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +0 -284
  14. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +0 -280
  15. criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +0 -270
  16. criteo_api_retailmedia_preview/model/input_keywords_model.py +0 -265
  17. criteo_api_retailmedia_preview/model/keyword_data_model.py +0 -286
  18. criteo_api_retailmedia_preview/model/keywords_model.py +0 -266
  19. criteo_api_retailmedia_preview/model/keywords_model_resource.py +0 -270
  20. criteo_api_retailmedia_preview/model/keywords_model_response.py +0 -274
  21. criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +0 -311
  22. criteo_api_retailmedia_preview/model/match_type_model.py +0 -291
  23. criteo_api_retailmedia_preview/model/resource_outcome.py +0 -268
  24. criteo_api_retailmedia_preview/model/retail_media_keywords_review.py +0 -271
  25. criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +0 -271
  26. criteo_api_retailmedia_preview/model/review_set_state.py +0 -278
  27. criteo_api_retailmedia_preview/model/review_state_model.py +0 -294
  28. criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +0 -286
  29. criteo_api_retailmedia_preview/model/seller_identifier_v2.py +0 -275
  30. criteo_api_retailmedia_preview/model/set_bid_model.py +0 -265
  31. criteo_api_retailmedia_preview/model/set_bids_model.py +0 -262
  32. criteo_api_retailmedia_preview/model/set_bids_model_request.py +0 -262
  33. criteo_api_retailmedia_preview/model/set_bids_model_resource.py +0 -270
  34. criteo_api_retailmedia_preview/model/value_resource_input_of_brand_catalog_request_v2.py +0 -269
  35. criteo_api_retailmedia_preview/model/value_resource_input_of_seller_catalog_request_v2.py +0 -269
  36. criteo_api_retailmedia_preview/model/value_resource_input_retail_media_keywords_review.py +0 -262
  37. criteo_api_retailmedia_preview/model/value_resource_of_brand_catalog_request_v2.py +0 -273
  38. criteo_api_retailmedia_preview/model/value_resource_of_seller_catalog_request_v2.py +0 -273
  39. criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +0 -274
  40. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +0 -266
  41. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +0 -266
  42. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/WHEEL +0 -0
  43. {criteo_api_retailmedia_sdk-0.0.251021.dist-info → criteo_api_retailmedia_sdk-0.0.251028.dist-info}/top_level.txt +0 -0
@@ -21,7 +21,6 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
21
21
  none_type,
22
22
  validate_and_convert_types
23
23
  )
24
- from criteo_api_retailmedia_preview.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest
25
24
  from criteo_api_retailmedia_preview.model.brand_preview_list_response import BrandPreviewListResponse
26
25
  from criteo_api_retailmedia_preview.model.cpc_rate_card_preview_response import CpcRateCardPreviewResponse
27
26
  from criteo_api_retailmedia_preview.model.creative2_list_response import Creative2ListResponse
@@ -31,12 +30,10 @@ from criteo_api_retailmedia_preview.model.creative_update_model2 import Creative
31
30
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata import EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata
32
31
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204 import EntityResourceCollectionOutcomeCategory202204
33
32
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204_metadata import EntityResourceCollectionOutcomeCategory202204Metadata
34
- from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
35
33
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retailer_result_and_metadata import EntityResourceCollectionOutcomeOfRetailerResultAndMetadata
36
34
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata import EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
37
35
  from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_status_v2 import EntityResourceOutcomeOfCatalogStatusV2
38
36
  from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_sponsored_products_line_item import EntityResourceOutcomeOfSponsoredProductsLineItem
39
- from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
40
37
  from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
41
38
  from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
42
39
  from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
@@ -48,9 +45,7 @@ from criteo_api_retailmedia_preview.model.product_button_response_list_response
48
45
  from criteo_api_retailmedia_preview.model.product_resource_outcome import ProductResourceOutcome
49
46
  from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput
50
47
  from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome
51
- from criteo_api_retailmedia_preview.model.resource_outcome import ResourceOutcome
52
48
  from criteo_api_retailmedia_preview.model.seller_preview_response import SellerPreviewResponse
53
- from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
54
49
  from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
55
50
  from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
56
51
  from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_display_auction_min_bid_result import ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
@@ -58,17 +53,13 @@ from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_r
58
53
  from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
59
54
  from criteo_api_retailmedia_preview.model.value_resource_input_display_auction_min_bid_request import ValueResourceInputDisplayAuctionMinBidRequest
60
55
  from criteo_api_retailmedia_preview.model.value_resource_input_line_item_budget_cap_out_history_request import ValueResourceInputLineItemBudgetCapOutHistoryRequest
61
- from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
62
56
  from criteo_api_retailmedia_preview.model.value_resource_input_of_retailer_search_request import ValueResourceInputOfRetailerSearchRequest
63
- from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
64
57
  from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_create_request_model import ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel
65
58
  from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
66
59
  from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
67
60
  from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
68
- from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
69
61
  from criteo_api_retailmedia_preview.model.value_resource_outcome_line_item_budget_cap_out_history_response import ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
70
62
  from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
71
- from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
72
63
 
73
64
 
74
65
  class CampaignApi(object):
@@ -82,64 +73,6 @@ class CampaignApi(object):
82
73
  if api_client is None:
83
74
  api_client = ApiClient()
84
75
  self.api_client = api_client
85
- self.add_remove_keywords_endpoint = _Endpoint(
86
- settings={
87
- 'response_type': (ResourceOutcome,),
88
- 'auth': [
89
- 'oauth',
90
- 'oauth'
91
- ],
92
- 'endpoint_path': '/preview/retail-media/line-items/{id}/keywords/add-remove',
93
- 'operation_id': 'add_remove_keywords',
94
- 'http_method': 'POST',
95
- 'servers': None,
96
- },
97
- params_map={
98
- 'all': [
99
- 'id',
100
- 'add_remove_keywords_model_request',
101
- ],
102
- 'required': [
103
- 'id',
104
- ],
105
- 'nullable': [
106
- ],
107
- 'enum': [
108
- ],
109
- 'validation': [
110
- ]
111
- },
112
- root_map={
113
- 'validations': {
114
- },
115
- 'allowed_values': {
116
- },
117
- 'openapi_types': {
118
- 'id':
119
- (str,),
120
- 'add_remove_keywords_model_request':
121
- (AddRemoveKeywordsModelRequest,),
122
- },
123
- 'attribute_map': {
124
- 'id': 'id',
125
- },
126
- 'location_map': {
127
- 'id': 'path',
128
- 'add_remove_keywords_model_request': 'body',
129
- },
130
- 'collection_format_map': {
131
- }
132
- },
133
- headers_map={
134
- 'accept': [
135
- 'application/json'
136
- ],
137
- 'content_type': [
138
- 'application/json'
139
- ]
140
- },
141
- api_client=api_client
142
- )
143
76
  self.append_product_button_by_line_item_id_endpoint = _Endpoint(
144
77
  settings={
145
78
  'response_type': (ProductButtonResponseListResponse,),
@@ -603,58 +536,6 @@ class CampaignApi(object):
603
536
  },
604
537
  api_client=api_client
605
538
  )
606
- self.fetch_keywords_endpoint = _Endpoint(
607
- settings={
608
- 'response_type': (KeywordsModelResponse,),
609
- 'auth': [
610
- 'oauth',
611
- 'oauth'
612
- ],
613
- 'endpoint_path': '/preview/retail-media/line-items/{id}/keywords',
614
- 'operation_id': 'fetch_keywords',
615
- 'http_method': 'GET',
616
- 'servers': None,
617
- },
618
- params_map={
619
- 'all': [
620
- 'id',
621
- ],
622
- 'required': [
623
- 'id',
624
- ],
625
- 'nullable': [
626
- ],
627
- 'enum': [
628
- ],
629
- 'validation': [
630
- ]
631
- },
632
- root_map={
633
- 'validations': {
634
- },
635
- 'allowed_values': {
636
- },
637
- 'openapi_types': {
638
- 'id':
639
- (str,),
640
- },
641
- 'attribute_map': {
642
- 'id': 'id',
643
- },
644
- 'location_map': {
645
- 'id': 'path',
646
- },
647
- 'collection_format_map': {
648
- }
649
- },
650
- headers_map={
651
- 'accept': [
652
- 'application/json'
653
- ],
654
- 'content_type': [],
655
- },
656
- api_client=api_client
657
- )
658
539
  self.fetch_promoted_products_endpoint = _Endpoint(
659
540
  settings={
660
541
  'response_type': (PromotedProductResourceCollectionOutcome,),
@@ -1567,181 +1448,198 @@ class CampaignApi(object):
1567
1448
  },
1568
1449
  api_client=api_client
1569
1450
  )
1570
- self.in_review_report_v1_endpoint = _Endpoint(
1451
+ self.pause_promoted_products_endpoint = _Endpoint(
1571
1452
  settings={
1572
- 'response_type': (EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata,),
1453
+ 'response_type': None,
1573
1454
  'auth': [
1574
1455
  'oauth',
1575
1456
  'oauth'
1576
1457
  ],
1577
- 'endpoint_path': '/preview/retail-media/accounts/{account-id}/keywords/in-review-report',
1578
- 'operation_id': 'in_review_report_v1',
1579
- 'http_method': 'GET',
1458
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1459
+ 'operation_id': 'pause_promoted_products',
1460
+ 'http_method': 'POST',
1580
1461
  'servers': None,
1581
1462
  },
1582
1463
  params_map={
1583
1464
  'all': [
1584
- 'account_id',
1585
- 'limit',
1586
- 'offset',
1465
+ 'line_item_id',
1466
+ 'promoted_product_resource_collection_input',
1587
1467
  ],
1588
1468
  'required': [
1589
- 'account_id',
1469
+ 'line_item_id',
1590
1470
  ],
1591
1471
  'nullable': [
1592
1472
  ],
1593
1473
  'enum': [
1594
1474
  ],
1595
1475
  'validation': [
1596
- 'limit',
1597
- 'offset',
1598
1476
  ]
1599
1477
  },
1600
1478
  root_map={
1601
1479
  'validations': {
1602
- ('limit',): {
1603
-
1604
- 'inclusive_maximum': 50,
1605
- 'inclusive_minimum': 1,
1606
- },
1607
- ('offset',): {
1608
-
1609
- 'inclusive_maximum': 2147483647,
1610
- 'inclusive_minimum': 0,
1611
- },
1612
1480
  },
1613
1481
  'allowed_values': {
1614
1482
  },
1615
1483
  'openapi_types': {
1616
- 'account_id':
1617
- (int,),
1618
- 'limit':
1619
- (int,),
1620
- 'offset':
1621
- (int,),
1484
+ 'line_item_id':
1485
+ (str,),
1486
+ 'promoted_product_resource_collection_input':
1487
+ (PromotedProductResourceCollectionInput,),
1622
1488
  },
1623
1489
  'attribute_map': {
1624
- 'account_id': 'account-id',
1625
- 'limit': 'limit',
1626
- 'offset': 'offset',
1490
+ 'line_item_id': 'line-item-id',
1627
1491
  },
1628
1492
  'location_map': {
1629
- 'account_id': 'path',
1630
- 'limit': 'query',
1631
- 'offset': 'query',
1493
+ 'line_item_id': 'path',
1494
+ 'promoted_product_resource_collection_input': 'body',
1632
1495
  },
1633
1496
  'collection_format_map': {
1634
1497
  }
1635
1498
  },
1636
1499
  headers_map={
1637
- 'accept': [
1500
+ 'accept': [],
1501
+ 'content_type': [
1638
1502
  'application/json'
1639
- ],
1640
- 'content_type': [],
1503
+ ]
1641
1504
  },
1642
1505
  api_client=api_client
1643
1506
  )
1644
- self.pause_promoted_products_endpoint = _Endpoint(
1507
+ self.post_api_v1_external_catalogs_sku_retrieval_endpoint = _Endpoint(
1645
1508
  settings={
1646
- 'response_type': None,
1509
+ 'response_type': (SkuDataPreviewListResponse,),
1647
1510
  'auth': [
1648
1511
  'oauth',
1649
1512
  'oauth'
1650
1513
  ],
1651
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1652
- 'operation_id': 'pause_promoted_products',
1514
+ 'endpoint_path': '/preview/retail-media/catalogs/sku-retrieval',
1515
+ 'operation_id': 'post_api_v1_external_catalogs_sku_retrieval',
1653
1516
  'http_method': 'POST',
1654
1517
  'servers': None,
1655
1518
  },
1656
1519
  params_map={
1657
1520
  'all': [
1658
- 'line_item_id',
1659
- 'promoted_product_resource_collection_input',
1660
- ],
1661
- 'required': [
1662
- 'line_item_id',
1521
+ 'page_index',
1522
+ 'page_size',
1523
+ 'request_body',
1663
1524
  ],
1525
+ 'required': [],
1664
1526
  'nullable': [
1665
1527
  ],
1666
1528
  'enum': [
1667
1529
  ],
1668
1530
  'validation': [
1531
+ 'page_index',
1532
+ 'page_size',
1533
+ 'request_body',
1669
1534
  ]
1670
1535
  },
1671
1536
  root_map={
1672
1537
  'validations': {
1538
+ ('page_index',): {
1539
+
1540
+ 'inclusive_maximum': 500,
1541
+ 'inclusive_minimum': 0,
1542
+ },
1543
+ ('page_size',): {
1544
+
1545
+ 'inclusive_maximum': 1000,
1546
+ 'inclusive_minimum': 1,
1547
+ },
1548
+ ('request_body',): {
1549
+
1550
+ },
1673
1551
  },
1674
1552
  'allowed_values': {
1675
1553
  },
1676
1554
  'openapi_types': {
1677
- 'line_item_id':
1678
- (str,),
1679
- 'promoted_product_resource_collection_input':
1680
- (PromotedProductResourceCollectionInput,),
1555
+ 'page_index':
1556
+ (int,),
1557
+ 'page_size':
1558
+ (int,),
1559
+ 'request_body':
1560
+ ([str],),
1681
1561
  },
1682
1562
  'attribute_map': {
1683
- 'line_item_id': 'line-item-id',
1563
+ 'page_index': 'pageIndex',
1564
+ 'page_size': 'pageSize',
1684
1565
  },
1685
1566
  'location_map': {
1686
- 'line_item_id': 'path',
1687
- 'promoted_product_resource_collection_input': 'body',
1567
+ 'page_index': 'query',
1568
+ 'page_size': 'query',
1569
+ 'request_body': 'body',
1688
1570
  },
1689
1571
  'collection_format_map': {
1690
1572
  }
1691
1573
  },
1692
1574
  headers_map={
1693
- 'accept': [],
1575
+ 'accept': [
1576
+ 'application/json'
1577
+ ],
1694
1578
  'content_type': [
1695
1579
  'application/json'
1696
1580
  ]
1697
1581
  },
1698
1582
  api_client=api_client
1699
1583
  )
1700
- self.post_api_external_v2_account_brand_catalog_export_by_account_id_endpoint = _Endpoint(
1584
+ self.post_api_v1_external_catalogs_sku_search_endpoint = _Endpoint(
1701
1585
  settings={
1702
- 'response_type': (EntityResourceOutcomeOfCatalogStatusV2,),
1586
+ 'response_type': (SkuDataPreviewListResponse,),
1703
1587
  'auth': [
1704
1588
  'oauth',
1705
1589
  'oauth'
1706
1590
  ],
1707
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/brand-catalog-export',
1708
- 'operation_id': 'post_api_external_v2_account_brand_catalog_export_by_account_id',
1591
+ 'endpoint_path': '/preview/retail-media/catalogs/sku-search',
1592
+ 'operation_id': 'post_api_v1_external_catalogs_sku_search',
1709
1593
  'http_method': 'POST',
1710
1594
  'servers': None,
1711
1595
  },
1712
1596
  params_map={
1713
1597
  'all': [
1714
- 'account_id',
1715
- 'value_resource_input_of_brand_catalog_request_v2',
1716
- ],
1717
- 'required': [
1718
- 'account_id',
1598
+ 'page_index',
1599
+ 'page_size',
1600
+ 'sku_search_request_preview_request',
1719
1601
  ],
1602
+ 'required': [],
1720
1603
  'nullable': [
1721
- 'value_resource_input_of_brand_catalog_request_v2',
1722
1604
  ],
1723
1605
  'enum': [
1724
1606
  ],
1725
1607
  'validation': [
1608
+ 'page_index',
1609
+ 'page_size',
1726
1610
  ]
1727
1611
  },
1728
1612
  root_map={
1729
1613
  'validations': {
1614
+ ('page_index',): {
1615
+
1616
+ 'inclusive_maximum': 500,
1617
+ 'inclusive_minimum': 0,
1618
+ },
1619
+ ('page_size',): {
1620
+
1621
+ 'inclusive_maximum': 1000,
1622
+ 'inclusive_minimum': 1,
1623
+ },
1730
1624
  },
1731
1625
  'allowed_values': {
1732
1626
  },
1733
1627
  'openapi_types': {
1734
- 'account_id':
1735
- (str,),
1736
- 'value_resource_input_of_brand_catalog_request_v2':
1737
- (ValueResourceInputOfBrandCatalogRequestV2,),
1628
+ 'page_index':
1629
+ (int,),
1630
+ 'page_size':
1631
+ (int,),
1632
+ 'sku_search_request_preview_request':
1633
+ (SkuSearchRequestPreviewRequest,),
1738
1634
  },
1739
1635
  'attribute_map': {
1740
- 'account_id': 'accountId',
1636
+ 'page_index': 'pageIndex',
1637
+ 'page_size': 'pageSize',
1741
1638
  },
1742
1639
  'location_map': {
1743
- 'account_id': 'path',
1744
- 'value_resource_input_of_brand_catalog_request_v2': 'body',
1640
+ 'page_index': 'query',
1641
+ 'page_size': 'query',
1642
+ 'sku_search_request_preview_request': 'body',
1745
1643
  },
1746
1644
  'collection_format_map': {
1747
1645
  }
@@ -1756,28 +1654,27 @@ class CampaignApi(object):
1756
1654
  },
1757
1655
  api_client=api_client
1758
1656
  )
1759
- self.post_api_external_v2_account_seller_catalog_export_by_account_id_endpoint = _Endpoint(
1657
+ self.recommended_keywords_endpoint = _Endpoint(
1760
1658
  settings={
1761
- 'response_type': (EntityResourceOutcomeOfCatalogStatusV2,),
1659
+ 'response_type': (ValueResourceOutcomeRecommendedKeywordsResponseV1,),
1762
1660
  'auth': [
1763
1661
  'oauth',
1764
1662
  'oauth'
1765
1663
  ],
1766
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/seller-catalog-export',
1767
- 'operation_id': 'post_api_external_v2_account_seller_catalog_export_by_account_id',
1664
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/recommend-keywords',
1665
+ 'operation_id': 'recommended_keywords',
1768
1666
  'http_method': 'POST',
1769
1667
  'servers': None,
1770
1668
  },
1771
1669
  params_map={
1772
1670
  'all': [
1773
- 'account_id',
1774
- 'value_resource_input_of_seller_catalog_request_v2',
1671
+ 'retailer_id',
1672
+ 'value_resource_input_recommended_keywords_request_v1',
1775
1673
  ],
1776
1674
  'required': [
1777
- 'account_id',
1675
+ 'retailer_id',
1778
1676
  ],
1779
1677
  'nullable': [
1780
- 'value_resource_input_of_seller_catalog_request_v2',
1781
1678
  ],
1782
1679
  'enum': [
1783
1680
  ],
@@ -1790,17 +1687,17 @@ class CampaignApi(object):
1790
1687
  'allowed_values': {
1791
1688
  },
1792
1689
  'openapi_types': {
1793
- 'account_id':
1690
+ 'retailer_id':
1794
1691
  (str,),
1795
- 'value_resource_input_of_seller_catalog_request_v2':
1796
- (ValueResourceInputOfSellerCatalogRequestV2,),
1692
+ 'value_resource_input_recommended_keywords_request_v1':
1693
+ (ValueResourceInputRecommendedKeywordsRequestV1,),
1797
1694
  },
1798
1695
  'attribute_map': {
1799
- 'account_id': 'accountId',
1696
+ 'retailer_id': 'retailerId',
1800
1697
  },
1801
1698
  'location_map': {
1802
- 'account_id': 'path',
1803
- 'value_resource_input_of_seller_catalog_request_v2': 'body',
1699
+ 'retailer_id': 'path',
1700
+ 'value_resource_input_recommended_keywords_request_v1': 'body',
1804
1701
  },
1805
1702
  'collection_format_map': {
1806
1703
  }
@@ -1815,217 +1712,9 @@ class CampaignApi(object):
1815
1712
  },
1816
1713
  api_client=api_client
1817
1714
  )
1818
- self.post_api_v1_external_catalogs_sku_retrieval_endpoint = _Endpoint(
1715
+ self.search_account_creatives_endpoint = _Endpoint(
1819
1716
  settings={
1820
- 'response_type': (SkuDataPreviewListResponse,),
1821
- 'auth': [
1822
- 'oauth',
1823
- 'oauth'
1824
- ],
1825
- 'endpoint_path': '/preview/retail-media/catalogs/sku-retrieval',
1826
- 'operation_id': 'post_api_v1_external_catalogs_sku_retrieval',
1827
- 'http_method': 'POST',
1828
- 'servers': None,
1829
- },
1830
- params_map={
1831
- 'all': [
1832
- 'page_index',
1833
- 'page_size',
1834
- 'request_body',
1835
- ],
1836
- 'required': [],
1837
- 'nullable': [
1838
- ],
1839
- 'enum': [
1840
- ],
1841
- 'validation': [
1842
- 'page_index',
1843
- 'page_size',
1844
- 'request_body',
1845
- ]
1846
- },
1847
- root_map={
1848
- 'validations': {
1849
- ('page_index',): {
1850
-
1851
- 'inclusive_maximum': 500,
1852
- 'inclusive_minimum': 0,
1853
- },
1854
- ('page_size',): {
1855
-
1856
- 'inclusive_maximum': 1000,
1857
- 'inclusive_minimum': 1,
1858
- },
1859
- ('request_body',): {
1860
-
1861
- },
1862
- },
1863
- 'allowed_values': {
1864
- },
1865
- 'openapi_types': {
1866
- 'page_index':
1867
- (int,),
1868
- 'page_size':
1869
- (int,),
1870
- 'request_body':
1871
- ([str],),
1872
- },
1873
- 'attribute_map': {
1874
- 'page_index': 'pageIndex',
1875
- 'page_size': 'pageSize',
1876
- },
1877
- 'location_map': {
1878
- 'page_index': 'query',
1879
- 'page_size': 'query',
1880
- 'request_body': 'body',
1881
- },
1882
- 'collection_format_map': {
1883
- }
1884
- },
1885
- headers_map={
1886
- 'accept': [
1887
- 'application/json'
1888
- ],
1889
- 'content_type': [
1890
- 'application/json'
1891
- ]
1892
- },
1893
- api_client=api_client
1894
- )
1895
- self.post_api_v1_external_catalogs_sku_search_endpoint = _Endpoint(
1896
- settings={
1897
- 'response_type': (SkuDataPreviewListResponse,),
1898
- 'auth': [
1899
- 'oauth',
1900
- 'oauth'
1901
- ],
1902
- 'endpoint_path': '/preview/retail-media/catalogs/sku-search',
1903
- 'operation_id': 'post_api_v1_external_catalogs_sku_search',
1904
- 'http_method': 'POST',
1905
- 'servers': None,
1906
- },
1907
- params_map={
1908
- 'all': [
1909
- 'page_index',
1910
- 'page_size',
1911
- 'sku_search_request_preview_request',
1912
- ],
1913
- 'required': [],
1914
- 'nullable': [
1915
- ],
1916
- 'enum': [
1917
- ],
1918
- 'validation': [
1919
- 'page_index',
1920
- 'page_size',
1921
- ]
1922
- },
1923
- root_map={
1924
- 'validations': {
1925
- ('page_index',): {
1926
-
1927
- 'inclusive_maximum': 500,
1928
- 'inclusive_minimum': 0,
1929
- },
1930
- ('page_size',): {
1931
-
1932
- 'inclusive_maximum': 1000,
1933
- 'inclusive_minimum': 1,
1934
- },
1935
- },
1936
- 'allowed_values': {
1937
- },
1938
- 'openapi_types': {
1939
- 'page_index':
1940
- (int,),
1941
- 'page_size':
1942
- (int,),
1943
- 'sku_search_request_preview_request':
1944
- (SkuSearchRequestPreviewRequest,),
1945
- },
1946
- 'attribute_map': {
1947
- 'page_index': 'pageIndex',
1948
- 'page_size': 'pageSize',
1949
- },
1950
- 'location_map': {
1951
- 'page_index': 'query',
1952
- 'page_size': 'query',
1953
- 'sku_search_request_preview_request': 'body',
1954
- },
1955
- 'collection_format_map': {
1956
- }
1957
- },
1958
- headers_map={
1959
- 'accept': [
1960
- 'application/json'
1961
- ],
1962
- 'content_type': [
1963
- 'application/json'
1964
- ]
1965
- },
1966
- api_client=api_client
1967
- )
1968
- self.recommended_keywords_endpoint = _Endpoint(
1969
- settings={
1970
- 'response_type': (ValueResourceOutcomeRecommendedKeywordsResponseV1,),
1971
- 'auth': [
1972
- 'oauth',
1973
- 'oauth'
1974
- ],
1975
- 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/recommend-keywords',
1976
- 'operation_id': 'recommended_keywords',
1977
- 'http_method': 'POST',
1978
- 'servers': None,
1979
- },
1980
- params_map={
1981
- 'all': [
1982
- 'retailer_id',
1983
- 'value_resource_input_recommended_keywords_request_v1',
1984
- ],
1985
- 'required': [
1986
- 'retailer_id',
1987
- ],
1988
- 'nullable': [
1989
- ],
1990
- 'enum': [
1991
- ],
1992
- 'validation': [
1993
- ]
1994
- },
1995
- root_map={
1996
- 'validations': {
1997
- },
1998
- 'allowed_values': {
1999
- },
2000
- 'openapi_types': {
2001
- 'retailer_id':
2002
- (str,),
2003
- 'value_resource_input_recommended_keywords_request_v1':
2004
- (ValueResourceInputRecommendedKeywordsRequestV1,),
2005
- },
2006
- 'attribute_map': {
2007
- 'retailer_id': 'retailerId',
2008
- },
2009
- 'location_map': {
2010
- 'retailer_id': 'path',
2011
- 'value_resource_input_recommended_keywords_request_v1': 'body',
2012
- },
2013
- 'collection_format_map': {
2014
- }
2015
- },
2016
- headers_map={
2017
- 'accept': [
2018
- 'application/json'
2019
- ],
2020
- 'content_type': [
2021
- 'application/json'
2022
- ]
2023
- },
2024
- api_client=api_client
2025
- )
2026
- self.search_account_creatives_endpoint = _Endpoint(
2027
- settings={
2028
- 'response_type': (Creative2ListResponse,),
1717
+ 'response_type': (Creative2ListResponse,),
2029
1718
  'auth': [
2030
1719
  'oauth',
2031
1720
  'oauth'
@@ -2314,64 +2003,6 @@ class CampaignApi(object):
2314
2003
  },
2315
2004
  api_client=api_client
2316
2005
  )
2317
- self.set_keyword_bids_endpoint = _Endpoint(
2318
- settings={
2319
- 'response_type': (ResourceOutcome,),
2320
- 'auth': [
2321
- 'oauth',
2322
- 'oauth'
2323
- ],
2324
- 'endpoint_path': '/preview/retail-media/line-items/{id}/keywords/set-bid',
2325
- 'operation_id': 'set_keyword_bids',
2326
- 'http_method': 'POST',
2327
- 'servers': None,
2328
- },
2329
- params_map={
2330
- 'all': [
2331
- 'id',
2332
- 'set_bids_model_request',
2333
- ],
2334
- 'required': [
2335
- 'id',
2336
- ],
2337
- 'nullable': [
2338
- ],
2339
- 'enum': [
2340
- ],
2341
- 'validation': [
2342
- ]
2343
- },
2344
- root_map={
2345
- 'validations': {
2346
- },
2347
- 'allowed_values': {
2348
- },
2349
- 'openapi_types': {
2350
- 'id':
2351
- (str,),
2352
- 'set_bids_model_request':
2353
- (SetBidsModelRequest,),
2354
- },
2355
- 'attribute_map': {
2356
- 'id': 'id',
2357
- },
2358
- 'location_map': {
2359
- 'id': 'path',
2360
- 'set_bids_model_request': 'body',
2361
- },
2362
- 'collection_format_map': {
2363
- }
2364
- },
2365
- headers_map={
2366
- 'accept': [
2367
- 'application/json'
2368
- ],
2369
- 'content_type': [
2370
- 'application/json'
2371
- ]
2372
- },
2373
- api_client=api_client
2374
- )
2375
2006
  self.unpause_promoted_products_endpoint = _Endpoint(
2376
2007
  settings={
2377
2008
  'response_type': None,
@@ -2550,67 +2181,9 @@ class CampaignApi(object):
2550
2181
  },
2551
2182
  api_client=api_client
2552
2183
  )
2553
- self.update_keyword_reviews_v1_endpoint = _Endpoint(
2184
+ self.update_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
2554
2185
  settings={
2555
- 'response_type': (ValueResourceOutcomeRetailMediaKeywordsReviewResult,),
2556
- 'auth': [
2557
- 'oauth',
2558
- 'oauth'
2559
- ],
2560
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/keywords/review',
2561
- 'operation_id': 'update_keyword_reviews_v1',
2562
- 'http_method': 'POST',
2563
- 'servers': None,
2564
- },
2565
- params_map={
2566
- 'all': [
2567
- 'line_item_id',
2568
- 'value_resource_input_retail_media_keywords_review',
2569
- ],
2570
- 'required': [
2571
- 'line_item_id',
2572
- ],
2573
- 'nullable': [
2574
- ],
2575
- 'enum': [
2576
- ],
2577
- 'validation': [
2578
- ]
2579
- },
2580
- root_map={
2581
- 'validations': {
2582
- },
2583
- 'allowed_values': {
2584
- },
2585
- 'openapi_types': {
2586
- 'line_item_id':
2587
- (int,),
2588
- 'value_resource_input_retail_media_keywords_review':
2589
- (ValueResourceInputRetailMediaKeywordsReview,),
2590
- },
2591
- 'attribute_map': {
2592
- 'line_item_id': 'line-item-id',
2593
- },
2594
- 'location_map': {
2595
- 'line_item_id': 'path',
2596
- 'value_resource_input_retail_media_keywords_review': 'body',
2597
- },
2598
- 'collection_format_map': {
2599
- }
2600
- },
2601
- headers_map={
2602
- 'accept': [
2603
- 'application/json'
2604
- ],
2605
- 'content_type': [
2606
- 'application/json'
2607
- ]
2608
- },
2609
- api_client=api_client
2610
- )
2611
- self.update_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
2612
- settings={
2613
- 'response_type': (PreferredLineItemV2Response,),
2186
+ 'response_type': (PreferredLineItemV2Response,),
2614
2187
  'auth': [
2615
2188
  'oauth',
2616
2189
  'oauth'
@@ -2704,389 +2277,53 @@ class CampaignApi(object):
2704
2277
  'openapi_types': {
2705
2278
  'line_item_id':
2706
2279
  (str,),
2707
- 'product_button_id':
2708
- (str,),
2709
- 'product_button_request_request':
2710
- (ProductButtonRequestRequest,),
2711
- },
2712
- 'attribute_map': {
2713
- 'line_item_id': 'line-item-id',
2714
- 'product_button_id': 'product-button-id',
2715
- },
2716
- 'location_map': {
2717
- 'line_item_id': 'path',
2718
- 'product_button_id': 'path',
2719
- 'product_button_request_request': 'body',
2720
- },
2721
- 'collection_format_map': {
2722
- }
2723
- },
2724
- headers_map={
2725
- 'accept': [
2726
- 'application/json'
2727
- ],
2728
- 'content_type': [
2729
- 'application/json'
2730
- ]
2731
- },
2732
- api_client=api_client
2733
- )
2734
-
2735
- def add_remove_keywords(
2736
- self,
2737
- id,
2738
- **kwargs
2739
- ):
2740
- """add_remove_keywords # noqa: E501
2741
-
2742
- Add or Remove keywords from the line item in bulk # noqa: E501
2743
- This method makes a synchronous HTTP request by default. To make an
2744
- asynchronous HTTP request, please pass async_req=True
2745
-
2746
- >>> thread = api.add_remove_keywords(id, async_req=True)
2747
- >>> result = thread.get()
2748
-
2749
- Args:
2750
- id (str): ID of the line item
2751
-
2752
- Keyword Args:
2753
- add_remove_keywords_model_request (AddRemoveKeywordsModelRequest): [optional]
2754
- _return_http_data_only (bool): response data without head status
2755
- code and headers. Default is True.
2756
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2757
- will be returned without reading/decoding response data.
2758
- Default is True.
2759
- _request_timeout (int/float/tuple): timeout setting for this request. If
2760
- one number provided, it will be total request timeout. It can also
2761
- be a pair (tuple) of (connection, read) timeouts.
2762
- Default is None.
2763
- _check_input_type (bool): specifies if type checking
2764
- should be done one the data sent to the server.
2765
- Default is True.
2766
- _check_return_type (bool): specifies if type checking
2767
- should be done one the data received from the server.
2768
- Default is True.
2769
- _spec_property_naming (bool): True if the variable names in the input data
2770
- are serialized names, as specified in the OpenAPI document.
2771
- False if the variable names in the input data
2772
- are pythonic names, e.g. snake case (default)
2773
- _content_type (str/None): force body content-type.
2774
- Default is None and content-type will be predicted by allowed
2775
- content-types and body.
2776
- _host_index (int/None): specifies the index of the server
2777
- that we want to use.
2778
- Default is read from the configuration.
2779
- _request_auths (list): set to override the auth_settings for an a single
2780
- request; this effectively ignores the authentication
2781
- in the spec for a single request.
2782
- Default is None
2783
- async_req (bool): execute request asynchronously
2784
-
2785
- Returns:
2786
- ResourceOutcome
2787
- If the method is called asynchronously, returns the request
2788
- thread.
2789
- """
2790
- kwargs['async_req'] = kwargs.get(
2791
- 'async_req', False
2792
- )
2793
- kwargs['_return_http_data_only'] = kwargs.get(
2794
- '_return_http_data_only', True
2795
- )
2796
- kwargs['_preload_content'] = kwargs.get(
2797
- '_preload_content', True
2798
- )
2799
- kwargs['_request_timeout'] = kwargs.get(
2800
- '_request_timeout', None
2801
- )
2802
- kwargs['_check_input_type'] = kwargs.get(
2803
- '_check_input_type', True
2804
- )
2805
- kwargs['_check_return_type'] = kwargs.get(
2806
- '_check_return_type', True
2807
- )
2808
- kwargs['_spec_property_naming'] = kwargs.get(
2809
- '_spec_property_naming', False
2810
- )
2811
- kwargs['_content_type'] = kwargs.get(
2812
- '_content_type')
2813
- kwargs['_host_index'] = kwargs.get('_host_index')
2814
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2815
- kwargs['id'] = \
2816
- id
2817
- return self.add_remove_keywords_endpoint.call_with_http_info(**kwargs)
2818
-
2819
- def append_product_button_by_line_item_id(
2820
- self,
2821
- line_item_id,
2822
- **kwargs
2823
- ):
2824
- """append_product_button_by_line_item_id # noqa: E501
2825
-
2826
- Add Specific Product Buttons # noqa: E501
2827
- This method makes a synchronous HTTP request by default. To make an
2828
- asynchronous HTTP request, please pass async_req=True
2829
-
2830
- >>> thread = api.append_product_button_by_line_item_id(line_item_id, async_req=True)
2831
- >>> result = thread.get()
2832
-
2833
- Args:
2834
- line_item_id (str): LineItemId for productButton retrieval
2835
-
2836
- Keyword Args:
2837
- product_button_request_list_request (ProductButtonRequestListRequest): List of Product Buttons to append. [optional]
2838
- _return_http_data_only (bool): response data without head status
2839
- code and headers. Default is True.
2840
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2841
- will be returned without reading/decoding response data.
2842
- Default is True.
2843
- _request_timeout (int/float/tuple): timeout setting for this request. If
2844
- one number provided, it will be total request timeout. It can also
2845
- be a pair (tuple) of (connection, read) timeouts.
2846
- Default is None.
2847
- _check_input_type (bool): specifies if type checking
2848
- should be done one the data sent to the server.
2849
- Default is True.
2850
- _check_return_type (bool): specifies if type checking
2851
- should be done one the data received from the server.
2852
- Default is True.
2853
- _spec_property_naming (bool): True if the variable names in the input data
2854
- are serialized names, as specified in the OpenAPI document.
2855
- False if the variable names in the input data
2856
- are pythonic names, e.g. snake case (default)
2857
- _content_type (str/None): force body content-type.
2858
- Default is None and content-type will be predicted by allowed
2859
- content-types and body.
2860
- _host_index (int/None): specifies the index of the server
2861
- that we want to use.
2862
- Default is read from the configuration.
2863
- _request_auths (list): set to override the auth_settings for an a single
2864
- request; this effectively ignores the authentication
2865
- in the spec for a single request.
2866
- Default is None
2867
- async_req (bool): execute request asynchronously
2868
-
2869
- Returns:
2870
- ProductButtonResponseListResponse
2871
- If the method is called asynchronously, returns the request
2872
- thread.
2873
- """
2874
- kwargs['async_req'] = kwargs.get(
2875
- 'async_req', False
2876
- )
2877
- kwargs['_return_http_data_only'] = kwargs.get(
2878
- '_return_http_data_only', True
2879
- )
2880
- kwargs['_preload_content'] = kwargs.get(
2881
- '_preload_content', True
2882
- )
2883
- kwargs['_request_timeout'] = kwargs.get(
2884
- '_request_timeout', None
2885
- )
2886
- kwargs['_check_input_type'] = kwargs.get(
2887
- '_check_input_type', True
2888
- )
2889
- kwargs['_check_return_type'] = kwargs.get(
2890
- '_check_return_type', True
2891
- )
2892
- kwargs['_spec_property_naming'] = kwargs.get(
2893
- '_spec_property_naming', False
2894
- )
2895
- kwargs['_content_type'] = kwargs.get(
2896
- '_content_type')
2897
- kwargs['_host_index'] = kwargs.get('_host_index')
2898
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2899
- kwargs['line_item_id'] = \
2900
- line_item_id
2901
- return self.append_product_button_by_line_item_id_endpoint.call_with_http_info(**kwargs)
2902
-
2903
- def append_promoted_products(
2904
- self,
2905
- line_item_id,
2906
- **kwargs
2907
- ):
2908
- """append_promoted_products # noqa: E501
2909
-
2910
- Append a collection of promoted products to a line item # noqa: E501
2911
- This method makes a synchronous HTTP request by default. To make an
2912
- asynchronous HTTP request, please pass async_req=True
2913
-
2914
- >>> thread = api.append_promoted_products(line_item_id, async_req=True)
2915
- >>> result = thread.get()
2916
-
2917
- Args:
2918
- line_item_id (str): ID of the line item
2919
-
2920
- Keyword Args:
2921
- promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
2922
- _return_http_data_only (bool): response data without head status
2923
- code and headers. Default is True.
2924
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2925
- will be returned without reading/decoding response data.
2926
- Default is True.
2927
- _request_timeout (int/float/tuple): timeout setting for this request. If
2928
- one number provided, it will be total request timeout. It can also
2929
- be a pair (tuple) of (connection, read) timeouts.
2930
- Default is None.
2931
- _check_input_type (bool): specifies if type checking
2932
- should be done one the data sent to the server.
2933
- Default is True.
2934
- _check_return_type (bool): specifies if type checking
2935
- should be done one the data received from the server.
2936
- Default is True.
2937
- _spec_property_naming (bool): True if the variable names in the input data
2938
- are serialized names, as specified in the OpenAPI document.
2939
- False if the variable names in the input data
2940
- are pythonic names, e.g. snake case (default)
2941
- _content_type (str/None): force body content-type.
2942
- Default is None and content-type will be predicted by allowed
2943
- content-types and body.
2944
- _host_index (int/None): specifies the index of the server
2945
- that we want to use.
2946
- Default is read from the configuration.
2947
- _request_auths (list): set to override the auth_settings for an a single
2948
- request; this effectively ignores the authentication
2949
- in the spec for a single request.
2950
- Default is None
2951
- async_req (bool): execute request asynchronously
2952
-
2953
- Returns:
2954
- ProductResourceOutcome
2955
- If the method is called asynchronously, returns the request
2956
- thread.
2957
- """
2958
- kwargs['async_req'] = kwargs.get(
2959
- 'async_req', False
2960
- )
2961
- kwargs['_return_http_data_only'] = kwargs.get(
2962
- '_return_http_data_only', True
2963
- )
2964
- kwargs['_preload_content'] = kwargs.get(
2965
- '_preload_content', True
2966
- )
2967
- kwargs['_request_timeout'] = kwargs.get(
2968
- '_request_timeout', None
2969
- )
2970
- kwargs['_check_input_type'] = kwargs.get(
2971
- '_check_input_type', True
2972
- )
2973
- kwargs['_check_return_type'] = kwargs.get(
2974
- '_check_return_type', True
2975
- )
2976
- kwargs['_spec_property_naming'] = kwargs.get(
2977
- '_spec_property_naming', False
2978
- )
2979
- kwargs['_content_type'] = kwargs.get(
2980
- '_content_type')
2981
- kwargs['_host_index'] = kwargs.get('_host_index')
2982
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2983
- kwargs['line_item_id'] = \
2984
- line_item_id
2985
- return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
2986
-
2987
- def compute_display_min_bid_by_retailer_id(
2988
- self,
2989
- retailer_id,
2990
- **kwargs
2991
- ):
2992
- """compute_display_min_bid_by_retailer_id # noqa: E501
2993
-
2994
- computes the min bid for relevant page types based on the provided information # noqa: E501
2995
- This method makes a synchronous HTTP request by default. To make an
2996
- asynchronous HTTP request, please pass async_req=True
2997
-
2998
- >>> thread = api.compute_display_min_bid_by_retailer_id(retailer_id, async_req=True)
2999
- >>> result = thread.get()
3000
-
3001
- Args:
3002
- retailer_id (int): the retailer id
3003
-
3004
- Keyword Args:
3005
- value_resource_input_display_auction_min_bid_request (ValueResourceInputDisplayAuctionMinBidRequest): the details for what cratives and product ids to use to compute the min bids. [optional]
3006
- _return_http_data_only (bool): response data without head status
3007
- code and headers. Default is True.
3008
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3009
- will be returned without reading/decoding response data.
3010
- Default is True.
3011
- _request_timeout (int/float/tuple): timeout setting for this request. If
3012
- one number provided, it will be total request timeout. It can also
3013
- be a pair (tuple) of (connection, read) timeouts.
3014
- Default is None.
3015
- _check_input_type (bool): specifies if type checking
3016
- should be done one the data sent to the server.
3017
- Default is True.
3018
- _check_return_type (bool): specifies if type checking
3019
- should be done one the data received from the server.
3020
- Default is True.
3021
- _spec_property_naming (bool): True if the variable names in the input data
3022
- are serialized names, as specified in the OpenAPI document.
3023
- False if the variable names in the input data
3024
- are pythonic names, e.g. snake case (default)
3025
- _content_type (str/None): force body content-type.
3026
- Default is None and content-type will be predicted by allowed
3027
- content-types and body.
3028
- _host_index (int/None): specifies the index of the server
3029
- that we want to use.
3030
- Default is read from the configuration.
3031
- _request_auths (list): set to override the auth_settings for an a single
3032
- request; this effectively ignores the authentication
3033
- in the spec for a single request.
3034
- Default is None
3035
- async_req (bool): execute request asynchronously
3036
-
3037
- Returns:
3038
- ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
3039
- If the method is called asynchronously, returns the request
3040
- thread.
3041
- """
3042
- kwargs['async_req'] = kwargs.get(
3043
- 'async_req', False
3044
- )
3045
- kwargs['_return_http_data_only'] = kwargs.get(
3046
- '_return_http_data_only', True
3047
- )
3048
- kwargs['_preload_content'] = kwargs.get(
3049
- '_preload_content', True
3050
- )
3051
- kwargs['_request_timeout'] = kwargs.get(
3052
- '_request_timeout', None
3053
- )
3054
- kwargs['_check_input_type'] = kwargs.get(
3055
- '_check_input_type', True
3056
- )
3057
- kwargs['_check_return_type'] = kwargs.get(
3058
- '_check_return_type', True
3059
- )
3060
- kwargs['_spec_property_naming'] = kwargs.get(
3061
- '_spec_property_naming', False
2280
+ 'product_button_id':
2281
+ (str,),
2282
+ 'product_button_request_request':
2283
+ (ProductButtonRequestRequest,),
2284
+ },
2285
+ 'attribute_map': {
2286
+ 'line_item_id': 'line-item-id',
2287
+ 'product_button_id': 'product-button-id',
2288
+ },
2289
+ 'location_map': {
2290
+ 'line_item_id': 'path',
2291
+ 'product_button_id': 'path',
2292
+ 'product_button_request_request': 'body',
2293
+ },
2294
+ 'collection_format_map': {
2295
+ }
2296
+ },
2297
+ headers_map={
2298
+ 'accept': [
2299
+ 'application/json'
2300
+ ],
2301
+ 'content_type': [
2302
+ 'application/json'
2303
+ ]
2304
+ },
2305
+ api_client=api_client
3062
2306
  )
3063
- kwargs['_content_type'] = kwargs.get(
3064
- '_content_type')
3065
- kwargs['_host_index'] = kwargs.get('_host_index')
3066
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3067
- kwargs['retailer_id'] = \
3068
- retailer_id
3069
- return self.compute_display_min_bid_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3070
2307
 
3071
- def create_auction_line_item_v2(
2308
+ def append_product_button_by_line_item_id(
3072
2309
  self,
3073
- campaign_id,
2310
+ line_item_id,
3074
2311
  **kwargs
3075
2312
  ):
3076
- """create_auction_line_item_v2 # noqa: E501
2313
+ """append_product_button_by_line_item_id # noqa: E501
3077
2314
 
3078
- Creates new auction line item with the specified settings # noqa: E501
2315
+ Add Specific Product Buttons # noqa: E501
3079
2316
  This method makes a synchronous HTTP request by default. To make an
3080
2317
  asynchronous HTTP request, please pass async_req=True
3081
2318
 
3082
- >>> thread = api.create_auction_line_item_v2(campaign_id, async_req=True)
2319
+ >>> thread = api.append_product_button_by_line_item_id(line_item_id, async_req=True)
3083
2320
  >>> result = thread.get()
3084
2321
 
3085
2322
  Args:
3086
- campaign_id (str): The given campaign id
2323
+ line_item_id (str): LineItemId for productButton retrieval
3087
2324
 
3088
2325
  Keyword Args:
3089
- value_resource_input_of_sponsored_products_line_item_create_request_model (ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel): The line item settings to create a line item with. [optional]
2326
+ product_button_request_list_request (ProductButtonRequestListRequest): List of Product Buttons to append. [optional]
3090
2327
  _return_http_data_only (bool): response data without head status
3091
2328
  code and headers. Default is True.
3092
2329
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3119,7 +2356,7 @@ class CampaignApi(object):
3119
2356
  async_req (bool): execute request asynchronously
3120
2357
 
3121
2358
  Returns:
3122
- EntityResourceOutcomeOfSponsoredProductsLineItem
2359
+ ProductButtonResponseListResponse
3123
2360
  If the method is called asynchronously, returns the request
3124
2361
  thread.
3125
2362
  """
@@ -3148,29 +2385,29 @@ class CampaignApi(object):
3148
2385
  '_content_type')
3149
2386
  kwargs['_host_index'] = kwargs.get('_host_index')
3150
2387
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3151
- kwargs['campaign_id'] = \
3152
- campaign_id
3153
- return self.create_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
2388
+ kwargs['line_item_id'] = \
2389
+ line_item_id
2390
+ return self.append_product_button_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3154
2391
 
3155
- def create_creative(
2392
+ def append_promoted_products(
3156
2393
  self,
3157
- account_id,
2394
+ line_item_id,
3158
2395
  **kwargs
3159
2396
  ):
3160
- """create_creative # noqa: E501
2397
+ """append_promoted_products # noqa: E501
3161
2398
 
3162
- Create a creative for an account # noqa: E501
2399
+ Append a collection of promoted products to a line item # noqa: E501
3163
2400
  This method makes a synchronous HTTP request by default. To make an
3164
2401
  asynchronous HTTP request, please pass async_req=True
3165
2402
 
3166
- >>> thread = api.create_creative(account_id, async_req=True)
2403
+ >>> thread = api.append_promoted_products(line_item_id, async_req=True)
3167
2404
  >>> result = thread.get()
3168
2405
 
3169
2406
  Args:
3170
- account_id (str): External account id to create a creative for
2407
+ line_item_id (str): ID of the line item
3171
2408
 
3172
2409
  Keyword Args:
3173
- creative_create_model2 (CreativeCreateModel2): The creative to create. [optional]
2410
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
3174
2411
  _return_http_data_only (bool): response data without head status
3175
2412
  code and headers. Default is True.
3176
2413
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3203,7 +2440,7 @@ class CampaignApi(object):
3203
2440
  async_req (bool): execute request asynchronously
3204
2441
 
3205
2442
  Returns:
3206
- Creative2Response
2443
+ ProductResourceOutcome
3207
2444
  If the method is called asynchronously, returns the request
3208
2445
  thread.
3209
2446
  """
@@ -3232,29 +2469,29 @@ class CampaignApi(object):
3232
2469
  '_content_type')
3233
2470
  kwargs['_host_index'] = kwargs.get('_host_index')
3234
2471
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3235
- kwargs['account_id'] = \
3236
- account_id
3237
- return self.create_creative_endpoint.call_with_http_info(**kwargs)
2472
+ kwargs['line_item_id'] = \
2473
+ line_item_id
2474
+ return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
3238
2475
 
3239
- def create_preferred_line_item_by_campaign_id(
2476
+ def compute_display_min_bid_by_retailer_id(
3240
2477
  self,
3241
- campaign_id,
2478
+ retailer_id,
3242
2479
  **kwargs
3243
2480
  ):
3244
- """create_preferred_line_item_by_campaign_id # noqa: E501
2481
+ """compute_display_min_bid_by_retailer_id # noqa: E501
3245
2482
 
3246
- Creates a new preferred line item with the specified settings # noqa: E501
2483
+ Computes the min bid for relevant page types based on the provided information # noqa: E501
3247
2484
  This method makes a synchronous HTTP request by default. To make an
3248
2485
  asynchronous HTTP request, please pass async_req=True
3249
2486
 
3250
- >>> thread = api.create_preferred_line_item_by_campaign_id(campaign_id, async_req=True)
2487
+ >>> thread = api.compute_display_min_bid_by_retailer_id(retailer_id, async_req=True)
3251
2488
  >>> result = thread.get()
3252
2489
 
3253
2490
  Args:
3254
- campaign_id (str): The given campaign id
2491
+ retailer_id (int): The retailer id
3255
2492
 
3256
2493
  Keyword Args:
3257
- preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with. [optional]
2494
+ value_resource_input_display_auction_min_bid_request (ValueResourceInputDisplayAuctionMinBidRequest): The details for what creatives and product ids to use to compute the min bids. [optional]
3258
2495
  _return_http_data_only (bool): response data without head status
3259
2496
  code and headers. Default is True.
3260
2497
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3287,7 +2524,7 @@ class CampaignApi(object):
3287
2524
  async_req (bool): execute request asynchronously
3288
2525
 
3289
2526
  Returns:
3290
- PreferredLineItemV2Response
2527
+ ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
3291
2528
  If the method is called asynchronously, returns the request
3292
2529
  thread.
3293
2530
  """
@@ -3316,30 +2553,29 @@ class CampaignApi(object):
3316
2553
  '_content_type')
3317
2554
  kwargs['_host_index'] = kwargs.get('_host_index')
3318
2555
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3319
- kwargs['campaign_id'] = \
3320
- campaign_id
3321
- return self.create_preferred_line_item_by_campaign_id_endpoint.call_with_http_info(**kwargs)
2556
+ kwargs['retailer_id'] = \
2557
+ retailer_id
2558
+ return self.compute_display_min_bid_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3322
2559
 
3323
- def delete_product_button_by_line_item_and_product_button_id(
2560
+ def create_auction_line_item_v2(
3324
2561
  self,
3325
- line_item_id,
3326
- product_button_id,
2562
+ campaign_id,
3327
2563
  **kwargs
3328
2564
  ):
3329
- """delete_product_button_by_line_item_and_product_button_id # noqa: E501
2565
+ """create_auction_line_item_v2 # noqa: E501
3330
2566
 
3331
- Delete Specific Product Button # noqa: E501
2567
+ Creates new auction line item with the specified settings # noqa: E501
3332
2568
  This method makes a synchronous HTTP request by default. To make an
3333
2569
  asynchronous HTTP request, please pass async_req=True
3334
2570
 
3335
- >>> thread = api.delete_product_button_by_line_item_and_product_button_id(line_item_id, product_button_id, async_req=True)
2571
+ >>> thread = api.create_auction_line_item_v2(campaign_id, async_req=True)
3336
2572
  >>> result = thread.get()
3337
2573
 
3338
2574
  Args:
3339
- line_item_id (str): LineItemId for productButton delete
3340
- product_button_id (str): productButtonId used for delete
2575
+ campaign_id (str): The given campaign id
3341
2576
 
3342
2577
  Keyword Args:
2578
+ value_resource_input_of_sponsored_products_line_item_create_request_model (ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel): The line item settings to create a line item with. [optional]
3343
2579
  _return_http_data_only (bool): response data without head status
3344
2580
  code and headers. Default is True.
3345
2581
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3372,7 +2608,7 @@ class CampaignApi(object):
3372
2608
  async_req (bool): execute request asynchronously
3373
2609
 
3374
2610
  Returns:
3375
- ProductButtonResponseListResponse
2611
+ EntityResourceOutcomeOfSponsoredProductsLineItem
3376
2612
  If the method is called asynchronously, returns the request
3377
2613
  thread.
3378
2614
  """
@@ -3401,31 +2637,29 @@ class CampaignApi(object):
3401
2637
  '_content_type')
3402
2638
  kwargs['_host_index'] = kwargs.get('_host_index')
3403
2639
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3404
- kwargs['line_item_id'] = \
3405
- line_item_id
3406
- kwargs['product_button_id'] = \
3407
- product_button_id
3408
- return self.delete_product_button_by_line_item_and_product_button_id_endpoint.call_with_http_info(**kwargs)
2640
+ kwargs['campaign_id'] = \
2641
+ campaign_id
2642
+ return self.create_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
3409
2643
 
3410
- def delete_promoted_products(
2644
+ def create_creative(
3411
2645
  self,
3412
- line_item_id,
2646
+ account_id,
3413
2647
  **kwargs
3414
2648
  ):
3415
- """delete_promoted_products # noqa: E501
2649
+ """create_creative # noqa: E501
3416
2650
 
3417
- Remove a collection of promoted products from a line item # noqa: E501
2651
+ Create a creative for an account # noqa: E501
3418
2652
  This method makes a synchronous HTTP request by default. To make an
3419
2653
  asynchronous HTTP request, please pass async_req=True
3420
2654
 
3421
- >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
2655
+ >>> thread = api.create_creative(account_id, async_req=True)
3422
2656
  >>> result = thread.get()
3423
2657
 
3424
2658
  Args:
3425
- line_item_id (str): ID of the line item
2659
+ account_id (str): External account id to create a creative for
3426
2660
 
3427
2661
  Keyword Args:
3428
- promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
2662
+ creative_create_model2 (CreativeCreateModel2): The creative to create. [optional]
3429
2663
  _return_http_data_only (bool): response data without head status
3430
2664
  code and headers. Default is True.
3431
2665
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3458,7 +2692,7 @@ class CampaignApi(object):
3458
2692
  async_req (bool): execute request asynchronously
3459
2693
 
3460
2694
  Returns:
3461
- None
2695
+ Creative2Response
3462
2696
  If the method is called asynchronously, returns the request
3463
2697
  thread.
3464
2698
  """
@@ -3487,28 +2721,29 @@ class CampaignApi(object):
3487
2721
  '_content_type')
3488
2722
  kwargs['_host_index'] = kwargs.get('_host_index')
3489
2723
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3490
- kwargs['line_item_id'] = \
3491
- line_item_id
3492
- return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
2724
+ kwargs['account_id'] = \
2725
+ account_id
2726
+ return self.create_creative_endpoint.call_with_http_info(**kwargs)
3493
2727
 
3494
- def fetch_keywords(
2728
+ def create_preferred_line_item_by_campaign_id(
3495
2729
  self,
3496
- id,
2730
+ campaign_id,
3497
2731
  **kwargs
3498
2732
  ):
3499
- """fetch_keywords # noqa: E501
2733
+ """create_preferred_line_item_by_campaign_id # noqa: E501
3500
2734
 
3501
- Fetch keywords associated with the specified line item # noqa: E501
2735
+ Creates a new preferred line item with the specified settings # noqa: E501
3502
2736
  This method makes a synchronous HTTP request by default. To make an
3503
2737
  asynchronous HTTP request, please pass async_req=True
3504
2738
 
3505
- >>> thread = api.fetch_keywords(id, async_req=True)
2739
+ >>> thread = api.create_preferred_line_item_by_campaign_id(campaign_id, async_req=True)
3506
2740
  >>> result = thread.get()
3507
2741
 
3508
2742
  Args:
3509
- id (str): ID of the line item
2743
+ campaign_id (str): The given campaign id
3510
2744
 
3511
2745
  Keyword Args:
2746
+ preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with. [optional]
3512
2747
  _return_http_data_only (bool): response data without head status
3513
2748
  code and headers. Default is True.
3514
2749
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3541,7 +2776,7 @@ class CampaignApi(object):
3541
2776
  async_req (bool): execute request asynchronously
3542
2777
 
3543
2778
  Returns:
3544
- KeywordsModelResponse
2779
+ PreferredLineItemV2Response
3545
2780
  If the method is called asynchronously, returns the request
3546
2781
  thread.
3547
2782
  """
@@ -3570,31 +2805,30 @@ class CampaignApi(object):
3570
2805
  '_content_type')
3571
2806
  kwargs['_host_index'] = kwargs.get('_host_index')
3572
2807
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3573
- kwargs['id'] = \
3574
- id
3575
- return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
2808
+ kwargs['campaign_id'] = \
2809
+ campaign_id
2810
+ return self.create_preferred_line_item_by_campaign_id_endpoint.call_with_http_info(**kwargs)
3576
2811
 
3577
- def fetch_promoted_products(
2812
+ def delete_product_button_by_line_item_and_product_button_id(
3578
2813
  self,
3579
2814
  line_item_id,
2815
+ product_button_id,
3580
2816
  **kwargs
3581
2817
  ):
3582
- """fetch_promoted_products # noqa: E501
2818
+ """delete_product_button_by_line_item_and_product_button_id # noqa: E501
3583
2819
 
3584
- Retrieve a page of promoted products for a line item # noqa: E501
2820
+ Delete Specific Product Button # noqa: E501
3585
2821
  This method makes a synchronous HTTP request by default. To make an
3586
2822
  asynchronous HTTP request, please pass async_req=True
3587
2823
 
3588
- >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
2824
+ >>> thread = api.delete_product_button_by_line_item_and_product_button_id(line_item_id, product_button_id, async_req=True)
3589
2825
  >>> result = thread.get()
3590
2826
 
3591
2827
  Args:
3592
- line_item_id (str): ID of the line item.
2828
+ line_item_id (str): LineItemId for productButton delete
2829
+ product_button_id (str): productButtonId used for delete
3593
2830
 
3594
2831
  Keyword Args:
3595
- fields (str): A comma separated list of attribute names from the response model to compute and return. Valid values are `status` and `bidOverride` in any order. Defaults to `status`.. [optional]
3596
- limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
3597
- offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
3598
2832
  _return_http_data_only (bool): response data without head status
3599
2833
  code and headers. Default is True.
3600
2834
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3627,7 +2861,7 @@ class CampaignApi(object):
3627
2861
  async_req (bool): execute request asynchronously
3628
2862
 
3629
2863
  Returns:
3630
- PromotedProductResourceCollectionOutcome
2864
+ ProductButtonResponseListResponse
3631
2865
  If the method is called asynchronously, returns the request
3632
2866
  thread.
3633
2867
  """
@@ -3658,111 +2892,29 @@ class CampaignApi(object):
3658
2892
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3659
2893
  kwargs['line_item_id'] = \
3660
2894
  line_item_id
3661
- return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
3662
-
3663
- def get_api_external_v2_catalog_status_by_catalog_id(
3664
- self,
3665
- catalog_id,
3666
- **kwargs
3667
- ):
3668
- """get_api_external_v2_catalog_status_by_catalog_id # noqa: E501
3669
-
3670
- Check the status of a catalog request. # noqa: E501
3671
- This method makes a synchronous HTTP request by default. To make an
3672
- asynchronous HTTP request, please pass async_req=True
3673
-
3674
- >>> thread = api.get_api_external_v2_catalog_status_by_catalog_id(catalog_id, async_req=True)
3675
- >>> result = thread.get()
3676
-
3677
- Args:
3678
- catalog_id (str): A catalog ID returned from an account catalog request.
3679
-
3680
- Keyword Args:
3681
- _return_http_data_only (bool): response data without head status
3682
- code and headers. Default is True.
3683
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3684
- will be returned without reading/decoding response data.
3685
- Default is True.
3686
- _request_timeout (int/float/tuple): timeout setting for this request. If
3687
- one number provided, it will be total request timeout. It can also
3688
- be a pair (tuple) of (connection, read) timeouts.
3689
- Default is None.
3690
- _check_input_type (bool): specifies if type checking
3691
- should be done one the data sent to the server.
3692
- Default is True.
3693
- _check_return_type (bool): specifies if type checking
3694
- should be done one the data received from the server.
3695
- Default is True.
3696
- _spec_property_naming (bool): True if the variable names in the input data
3697
- are serialized names, as specified in the OpenAPI document.
3698
- False if the variable names in the input data
3699
- are pythonic names, e.g. snake case (default)
3700
- _content_type (str/None): force body content-type.
3701
- Default is None and content-type will be predicted by allowed
3702
- content-types and body.
3703
- _host_index (int/None): specifies the index of the server
3704
- that we want to use.
3705
- Default is read from the configuration.
3706
- _request_auths (list): set to override the auth_settings for an a single
3707
- request; this effectively ignores the authentication
3708
- in the spec for a single request.
3709
- Default is None
3710
- async_req (bool): execute request asynchronously
3711
-
3712
- Returns:
3713
- EntityResourceOutcomeOfCatalogStatusV2
3714
- If the method is called asynchronously, returns the request
3715
- thread.
3716
- """
3717
- kwargs['async_req'] = kwargs.get(
3718
- 'async_req', False
3719
- )
3720
- kwargs['_return_http_data_only'] = kwargs.get(
3721
- '_return_http_data_only', True
3722
- )
3723
- kwargs['_preload_content'] = kwargs.get(
3724
- '_preload_content', True
3725
- )
3726
- kwargs['_request_timeout'] = kwargs.get(
3727
- '_request_timeout', None
3728
- )
3729
- kwargs['_check_input_type'] = kwargs.get(
3730
- '_check_input_type', True
3731
- )
3732
- kwargs['_check_return_type'] = kwargs.get(
3733
- '_check_return_type', True
3734
- )
3735
- kwargs['_spec_property_naming'] = kwargs.get(
3736
- '_spec_property_naming', False
3737
- )
3738
- kwargs['_content_type'] = kwargs.get(
3739
- '_content_type')
3740
- kwargs['_host_index'] = kwargs.get('_host_index')
3741
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3742
- kwargs['catalog_id'] = \
3743
- catalog_id
3744
- return self.get_api_external_v2_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs)
2895
+ kwargs['product_button_id'] = \
2896
+ product_button_id
2897
+ return self.delete_product_button_by_line_item_and_product_button_id_endpoint.call_with_http_info(**kwargs)
3745
2898
 
3746
- def get_api_v1_external_retailer_brands_by_retailer_id(
2899
+ def delete_promoted_products(
3747
2900
  self,
3748
- retailer_id,
2901
+ line_item_id,
3749
2902
  **kwargs
3750
2903
  ):
3751
- """get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
2904
+ """delete_promoted_products # noqa: E501
3752
2905
 
3753
- Gets the brands for the given retailer # noqa: E501
2906
+ Remove a collection of promoted products from a line item # noqa: E501
3754
2907
  This method makes a synchronous HTTP request by default. To make an
3755
2908
  asynchronous HTTP request, please pass async_req=True
3756
2909
 
3757
- >>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
2910
+ >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
3758
2911
  >>> result = thread.get()
3759
2912
 
3760
2913
  Args:
3761
- retailer_id (int): The retailer id for which brands should be fetched.
2914
+ line_item_id (str): ID of the line item
3762
2915
 
3763
2916
  Keyword Args:
3764
- brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
3765
- sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
2917
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
3766
2918
  _return_http_data_only (bool): response data without head status
3767
2919
  code and headers. Default is True.
3768
2920
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3795,7 +2947,7 @@ class CampaignApi(object):
3795
2947
  async_req (bool): execute request asynchronously
3796
2948
 
3797
2949
  Returns:
3798
- BrandPreviewListResponse
2950
+ None
3799
2951
  If the method is called asynchronously, returns the request
3800
2952
  thread.
3801
2953
  """
@@ -3824,30 +2976,31 @@ class CampaignApi(object):
3824
2976
  '_content_type')
3825
2977
  kwargs['_host_index'] = kwargs.get('_host_index')
3826
2978
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3827
- kwargs['retailer_id'] = \
3828
- retailer_id
3829
- return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
2979
+ kwargs['line_item_id'] = \
2980
+ line_item_id
2981
+ return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
3830
2982
 
3831
- def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
2983
+ def fetch_promoted_products(
3832
2984
  self,
3833
- retailer_id,
3834
- seller,
2985
+ line_item_id,
3835
2986
  **kwargs
3836
2987
  ):
3837
- """get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
2988
+ """fetch_promoted_products # noqa: E501
3838
2989
 
3839
- Endpoint to get market place seller id and name # noqa: E501
2990
+ Retrieve a page of promoted products for a line item # noqa: E501
3840
2991
  This method makes a synchronous HTTP request by default. To make an
3841
2992
  asynchronous HTTP request, please pass async_req=True
3842
2993
 
3843
- >>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
2994
+ >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
3844
2995
  >>> result = thread.get()
3845
2996
 
3846
2997
  Args:
3847
- retailer_id (int): The retailer id for which seller should be fetched.
3848
- seller (str): The seller id or seller name which should be validated.
2998
+ line_item_id (str): ID of the line item.
3849
2999
 
3850
3000
  Keyword Args:
3001
+ fields (str): A comma separated list of attribute names from the response model to compute and return. Valid values are `status` and `bidOverride` in any order. Defaults to `status`.. [optional]
3002
+ limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
3003
+ offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
3851
3004
  _return_http_data_only (bool): response data without head status
3852
3005
  code and headers. Default is True.
3853
3006
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3880,7 +3033,7 @@ class CampaignApi(object):
3880
3033
  async_req (bool): execute request asynchronously
3881
3034
 
3882
3035
  Returns:
3883
- SellerPreviewResponse
3036
+ PromotedProductResourceCollectionOutcome
3884
3037
  If the method is called asynchronously, returns the request
3885
3038
  thread.
3886
3039
  """
@@ -3909,31 +3062,28 @@ class CampaignApi(object):
3909
3062
  '_content_type')
3910
3063
  kwargs['_host_index'] = kwargs.get('_host_index')
3911
3064
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3912
- kwargs['retailer_id'] = \
3913
- retailer_id
3914
- kwargs['seller'] = \
3915
- seller
3916
- return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
3065
+ kwargs['line_item_id'] = \
3066
+ line_item_id
3067
+ return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
3917
3068
 
3918
- def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
3069
+ def get_api_external_v2_catalog_status_by_catalog_id(
3919
3070
  self,
3920
- retailer_id,
3071
+ catalog_id,
3921
3072
  **kwargs
3922
3073
  ):
3923
- """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
3074
+ """get_api_external_v2_catalog_status_by_catalog_id # noqa: E501
3924
3075
 
3925
- Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
3076
+ Check the status of a catalog request. # noqa: E501
3926
3077
  This method makes a synchronous HTTP request by default. To make an
3927
3078
  asynchronous HTTP request, please pass async_req=True
3928
3079
 
3929
- >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
3080
+ >>> thread = api.get_api_external_v2_catalog_status_by_catalog_id(catalog_id, async_req=True)
3930
3081
  >>> result = thread.get()
3931
3082
 
3932
3083
  Args:
3933
- retailer_id (str): The retailer id
3084
+ catalog_id (str): A catalog ID returned from an account catalog request.
3934
3085
 
3935
3086
  Keyword Args:
3936
- fields ([str]): The fields in the response that is to be included. [optional]
3937
3087
  _return_http_data_only (bool): response data without head status
3938
3088
  code and headers. Default is True.
3939
3089
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3966,7 +3116,7 @@ class CampaignApi(object):
3966
3116
  async_req (bool): execute request asynchronously
3967
3117
 
3968
3118
  Returns:
3969
- CpcRateCardPreviewResponse
3119
+ EntityResourceOutcomeOfCatalogStatusV2
3970
3120
  If the method is called asynchronously, returns the request
3971
3121
  thread.
3972
3122
  """
@@ -3995,28 +3145,30 @@ class CampaignApi(object):
3995
3145
  '_content_type')
3996
3146
  kwargs['_host_index'] = kwargs.get('_host_index')
3997
3147
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3998
- kwargs['retailer_id'] = \
3999
- retailer_id
4000
- return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3148
+ kwargs['catalog_id'] = \
3149
+ catalog_id
3150
+ return self.get_api_external_v2_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs)
4001
3151
 
4002
- def get_api_v1_external_retailer_placements_by_retailer_id(
3152
+ def get_api_v1_external_retailer_brands_by_retailer_id(
4003
3153
  self,
4004
3154
  retailer_id,
4005
3155
  **kwargs
4006
3156
  ):
4007
- """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
3157
+ """get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
4008
3158
 
4009
- Gets all placement information for the given retailer # noqa: E501
3159
+ Gets the brands for the given retailer # noqa: E501
4010
3160
  This method makes a synchronous HTTP request by default. To make an
4011
3161
  asynchronous HTTP request, please pass async_req=True
4012
3162
 
4013
- >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
3163
+ >>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
4014
3164
  >>> result = thread.get()
4015
3165
 
4016
3166
  Args:
4017
- retailer_id (str): The retailer id for which placements should be fetched.
3167
+ retailer_id (int): The retailer id for which brands should be fetched.
4018
3168
 
4019
3169
  Keyword Args:
3170
+ brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
3171
+ sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
4020
3172
  _return_http_data_only (bool): response data without head status
4021
3173
  code and headers. Default is True.
4022
3174
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4049,7 +3201,7 @@ class CampaignApi(object):
4049
3201
  async_req (bool): execute request asynchronously
4050
3202
 
4051
3203
  Returns:
4052
- PlacementPreviewListResponse
3204
+ BrandPreviewListResponse
4053
3205
  If the method is called asynchronously, returns the request
4054
3206
  thread.
4055
3207
  """
@@ -4080,24 +3232,26 @@ class CampaignApi(object):
4080
3232
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4081
3233
  kwargs['retailer_id'] = \
4082
3234
  retailer_id
4083
- return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3235
+ return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4084
3236
 
4085
- def get_auction_line_item_v2(
3237
+ def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
4086
3238
  self,
4087
- line_item_id,
3239
+ retailer_id,
3240
+ seller,
4088
3241
  **kwargs
4089
3242
  ):
4090
- """get_auction_line_item_v2 # noqa: E501
3243
+ """get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
4091
3244
 
4092
- Gets a sponsored product line item by its id. # noqa: E501
3245
+ Endpoint to get market place seller id and name # noqa: E501
4093
3246
  This method makes a synchronous HTTP request by default. To make an
4094
3247
  asynchronous HTTP request, please pass async_req=True
4095
3248
 
4096
- >>> thread = api.get_auction_line_item_v2(line_item_id, async_req=True)
3249
+ >>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
4097
3250
  >>> result = thread.get()
4098
3251
 
4099
3252
  Args:
4100
- line_item_id (int): The id of the line item
3253
+ retailer_id (int): The retailer id for which seller should be fetched.
3254
+ seller (str): The seller id or seller name which should be validated.
4101
3255
 
4102
3256
  Keyword Args:
4103
3257
  _return_http_data_only (bool): response data without head status
@@ -4132,7 +3286,7 @@ class CampaignApi(object):
4132
3286
  async_req (bool): execute request asynchronously
4133
3287
 
4134
3288
  Returns:
4135
- EntityResourceOutcomeOfSponsoredProductsLineItem
3289
+ SellerPreviewResponse
4136
3290
  If the method is called asynchronously, returns the request
4137
3291
  thread.
4138
3292
  """
@@ -4161,31 +3315,31 @@ class CampaignApi(object):
4161
3315
  '_content_type')
4162
3316
  kwargs['_host_index'] = kwargs.get('_host_index')
4163
3317
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4164
- kwargs['line_item_id'] = \
4165
- line_item_id
4166
- return self.get_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
3318
+ kwargs['retailer_id'] = \
3319
+ retailer_id
3320
+ kwargs['seller'] = \
3321
+ seller
3322
+ return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
4167
3323
 
4168
- def get_auction_line_items_by_campaign_id_v2(
3324
+ def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
4169
3325
  self,
4170
- campaign_id,
3326
+ retailer_id,
4171
3327
  **kwargs
4172
3328
  ):
4173
- """get_auction_line_items_by_campaign_id_v2 # noqa: E501
3329
+ """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
4174
3330
 
4175
- Gets a page of sponsored product line items by campaign id. # noqa: E501
3331
+ Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
4176
3332
  This method makes a synchronous HTTP request by default. To make an
4177
3333
  asynchronous HTTP request, please pass async_req=True
4178
3334
 
4179
- >>> thread = api.get_auction_line_items_by_campaign_id_v2(campaign_id, async_req=True)
3335
+ >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
4180
3336
  >>> result = thread.get()
4181
3337
 
4182
3338
  Args:
4183
- campaign_id (str): The id of the campaign
3339
+ retailer_id (str): The retailer id
4184
3340
 
4185
3341
  Keyword Args:
4186
- limit (int): The number of elements to be returned on a page.. [optional] if omitted the server will use the default value of 25
4187
- limit_to_ids ([str]): The ids to limit the auction line item results to. [optional]
4188
- offset (int): The (zero-based) starting offset into the collection.. [optional] if omitted the server will use the default value of 0
3342
+ fields ([str]): The fields in the response that is to be included. [optional]
4189
3343
  _return_http_data_only (bool): response data without head status
4190
3344
  code and headers. Default is True.
4191
3345
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4218,7 +3372,7 @@ class CampaignApi(object):
4218
3372
  async_req (bool): execute request asynchronously
4219
3373
 
4220
3374
  Returns:
4221
- EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
3375
+ CpcRateCardPreviewResponse
4222
3376
  If the method is called asynchronously, returns the request
4223
3377
  thread.
4224
3378
  """
@@ -4247,28 +3401,26 @@ class CampaignApi(object):
4247
3401
  '_content_type')
4248
3402
  kwargs['_host_index'] = kwargs.get('_host_index')
4249
3403
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4250
- kwargs['campaign_id'] = \
4251
- campaign_id
4252
- return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
3404
+ kwargs['retailer_id'] = \
3405
+ retailer_id
3406
+ return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4253
3407
 
4254
- def get_capout_history(
3408
+ def get_api_v1_external_retailer_placements_by_retailer_id(
4255
3409
  self,
4256
- account_id,
4257
- value_resource_input_line_item_budget_cap_out_history_request,
3410
+ retailer_id,
4258
3411
  **kwargs
4259
3412
  ):
4260
- """get_capout_history # noqa: E501
3413
+ """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
4261
3414
 
4262
- Get the cap out history for line items # noqa: E501
3415
+ Gets all placement information for the given retailer # noqa: E501
4263
3416
  This method makes a synchronous HTTP request by default. To make an
4264
3417
  asynchronous HTTP request, please pass async_req=True
4265
3418
 
4266
- >>> thread = api.get_capout_history(account_id, value_resource_input_line_item_budget_cap_out_history_request, async_req=True)
3419
+ >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
4267
3420
  >>> result = thread.get()
4268
3421
 
4269
3422
  Args:
4270
- account_id (str): account id that own the lineitem
4271
- value_resource_input_line_item_budget_cap_out_history_request (ValueResourceInputLineItemBudgetCapOutHistoryRequest): lineitem budgetcapout history object
3423
+ retailer_id (str): The retailer id for which placements should be fetched.
4272
3424
 
4273
3425
  Keyword Args:
4274
3426
  _return_http_data_only (bool): response data without head status
@@ -4303,7 +3455,7 @@ class CampaignApi(object):
4303
3455
  async_req (bool): execute request asynchronously
4304
3456
 
4305
3457
  Returns:
4306
- ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
3458
+ PlacementPreviewListResponse
4307
3459
  If the method is called asynchronously, returns the request
4308
3460
  thread.
4309
3461
  """
@@ -4332,30 +3484,26 @@ class CampaignApi(object):
4332
3484
  '_content_type')
4333
3485
  kwargs['_host_index'] = kwargs.get('_host_index')
4334
3486
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4335
- kwargs['account_id'] = \
4336
- account_id
4337
- kwargs['value_resource_input_line_item_budget_cap_out_history_request'] = \
4338
- value_resource_input_line_item_budget_cap_out_history_request
4339
- return self.get_capout_history_endpoint.call_with_http_info(**kwargs)
3487
+ kwargs['retailer_id'] = \
3488
+ retailer_id
3489
+ return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4340
3490
 
4341
- def get_creative(
3491
+ def get_auction_line_item_v2(
4342
3492
  self,
4343
- account_id,
4344
- creative_id,
3493
+ line_item_id,
4345
3494
  **kwargs
4346
3495
  ):
4347
- """get_creative # noqa: E501
3496
+ """get_auction_line_item_v2 # noqa: E501
4348
3497
 
4349
- Get the specified creative # noqa: E501
3498
+ Gets a sponsored product line item by its id. # noqa: E501
4350
3499
  This method makes a synchronous HTTP request by default. To make an
4351
3500
  asynchronous HTTP request, please pass async_req=True
4352
3501
 
4353
- >>> thread = api.get_creative(account_id, creative_id, async_req=True)
3502
+ >>> thread = api.get_auction_line_item_v2(line_item_id, async_req=True)
4354
3503
  >>> result = thread.get()
4355
3504
 
4356
3505
  Args:
4357
- account_id (str): External account id to retrieve creatives for
4358
- creative_id (str): Creative to get
3506
+ line_item_id (int): The id of the line item
4359
3507
 
4360
3508
  Keyword Args:
4361
3509
  _return_http_data_only (bool): response data without head status
@@ -4390,7 +3538,7 @@ class CampaignApi(object):
4390
3538
  async_req (bool): execute request asynchronously
4391
3539
 
4392
3540
  Returns:
4393
- Creative2Response
3541
+ EntityResourceOutcomeOfSponsoredProductsLineItem
4394
3542
  If the method is called asynchronously, returns the request
4395
3543
  thread.
4396
3544
  """
@@ -4419,33 +3567,31 @@ class CampaignApi(object):
4419
3567
  '_content_type')
4420
3568
  kwargs['_host_index'] = kwargs.get('_host_index')
4421
3569
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4422
- kwargs['account_id'] = \
4423
- account_id
4424
- kwargs['creative_id'] = \
4425
- creative_id
4426
- return self.get_creative_endpoint.call_with_http_info(**kwargs)
3570
+ kwargs['line_item_id'] = \
3571
+ line_item_id
3572
+ return self.get_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
4427
3573
 
4428
- def get_preferred_line_items_by_campaign_id(
3574
+ def get_auction_line_items_by_campaign_id_v2(
4429
3575
  self,
4430
3576
  campaign_id,
4431
3577
  **kwargs
4432
3578
  ):
4433
- """get_preferred_line_items_by_campaign_id # noqa: E501
3579
+ """get_auction_line_items_by_campaign_id_v2 # noqa: E501
4434
3580
 
4435
- Gets page of preferred line item objects for the given campaign id # noqa: E501
3581
+ Gets a page of sponsored product line items by campaign id. # noqa: E501
4436
3582
  This method makes a synchronous HTTP request by default. To make an
4437
3583
  asynchronous HTTP request, please pass async_req=True
4438
3584
 
4439
- >>> thread = api.get_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
3585
+ >>> thread = api.get_auction_line_items_by_campaign_id_v2(campaign_id, async_req=True)
4440
3586
  >>> result = thread.get()
4441
3587
 
4442
3588
  Args:
4443
- campaign_id (str): The given campaign id
3589
+ campaign_id (str): The id of the campaign
4444
3590
 
4445
3591
  Keyword Args:
4446
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
4447
- 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
4448
- 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
3592
+ limit (int): The number of elements to be returned on a page.. [optional] if omitted the server will use the default value of 25
3593
+ limit_to_ids ([str]): The ids to limit the auction line item results to. [optional]
3594
+ offset (int): The (zero-based) starting offset into the collection.. [optional] if omitted the server will use the default value of 0
4449
3595
  _return_http_data_only (bool): response data without head status
4450
3596
  code and headers. Default is True.
4451
3597
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4478,7 +3624,7 @@ class CampaignApi(object):
4478
3624
  async_req (bool): execute request asynchronously
4479
3625
 
4480
3626
  Returns:
4481
- PreferredLineItemV2PagedListResponse
3627
+ EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
4482
3628
  If the method is called asynchronously, returns the request
4483
3629
  thread.
4484
3630
  """
@@ -4509,24 +3655,26 @@ class CampaignApi(object):
4509
3655
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4510
3656
  kwargs['campaign_id'] = \
4511
3657
  campaign_id
4512
- return self.get_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
3658
+ return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
4513
3659
 
4514
- def get_preferred_line_items_by_line_item_id(
3660
+ def get_capout_history(
4515
3661
  self,
4516
- line_item_id,
3662
+ account_id,
3663
+ value_resource_input_line_item_budget_cap_out_history_request,
4517
3664
  **kwargs
4518
3665
  ):
4519
- """get_preferred_line_items_by_line_item_id # noqa: E501
3666
+ """get_capout_history # noqa: E501
4520
3667
 
4521
- Gets the preferred line item for the given line item id # noqa: E501
3668
+ Get the cap out history for line items # noqa: E501
4522
3669
  This method makes a synchronous HTTP request by default. To make an
4523
3670
  asynchronous HTTP request, please pass async_req=True
4524
3671
 
4525
- >>> thread = api.get_preferred_line_items_by_line_item_id(line_item_id, async_req=True)
3672
+ >>> thread = api.get_capout_history(account_id, value_resource_input_line_item_budget_cap_out_history_request, async_req=True)
4526
3673
  >>> result = thread.get()
4527
3674
 
4528
3675
  Args:
4529
- line_item_id (str): The given line item id
3676
+ account_id (str): account id that own the lineitem
3677
+ value_resource_input_line_item_budget_cap_out_history_request (ValueResourceInputLineItemBudgetCapOutHistoryRequest): lineitem budgetcapout history object
4530
3678
 
4531
3679
  Keyword Args:
4532
3680
  _return_http_data_only (bool): response data without head status
@@ -4561,7 +3709,7 @@ class CampaignApi(object):
4561
3709
  async_req (bool): execute request asynchronously
4562
3710
 
4563
3711
  Returns:
4564
- PreferredLineItemV2Response
3712
+ ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
4565
3713
  If the method is called asynchronously, returns the request
4566
3714
  thread.
4567
3715
  """
@@ -4590,28 +3738,30 @@ class CampaignApi(object):
4590
3738
  '_content_type')
4591
3739
  kwargs['_host_index'] = kwargs.get('_host_index')
4592
3740
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4593
- kwargs['line_item_id'] = \
4594
- line_item_id
4595
- return self.get_preferred_line_items_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3741
+ kwargs['account_id'] = \
3742
+ account_id
3743
+ kwargs['value_resource_input_line_item_budget_cap_out_history_request'] = \
3744
+ value_resource_input_line_item_budget_cap_out_history_request
3745
+ return self.get_capout_history_endpoint.call_with_http_info(**kwargs)
4596
3746
 
4597
- def get_product_button_by_line_item_and_product_button_id(
3747
+ def get_creative(
4598
3748
  self,
4599
- line_item_id,
4600
- product_button_id,
3749
+ account_id,
3750
+ creative_id,
4601
3751
  **kwargs
4602
3752
  ):
4603
- """get_product_button_by_line_item_and_product_button_id # noqa: E501
3753
+ """get_creative # noqa: E501
4604
3754
 
4605
- Get Specific Product Button # noqa: E501
3755
+ Get the specified creative # noqa: E501
4606
3756
  This method makes a synchronous HTTP request by default. To make an
4607
3757
  asynchronous HTTP request, please pass async_req=True
4608
3758
 
4609
- >>> thread = api.get_product_button_by_line_item_and_product_button_id(line_item_id, product_button_id, async_req=True)
3759
+ >>> thread = api.get_creative(account_id, creative_id, async_req=True)
4610
3760
  >>> result = thread.get()
4611
3761
 
4612
3762
  Args:
4613
- line_item_id (str): LineItemId for productButton retrieval
4614
- product_button_id (str): productButtonId used for retrieval
3763
+ account_id (str): External account id to retrieve creatives for
3764
+ creative_id (str): Creative to get
4615
3765
 
4616
3766
  Keyword Args:
4617
3767
  _return_http_data_only (bool): response data without head status
@@ -4646,7 +3796,7 @@ class CampaignApi(object):
4646
3796
  async_req (bool): execute request asynchronously
4647
3797
 
4648
3798
  Returns:
4649
- ProductButtonResponseListResponse
3799
+ Creative2Response
4650
3800
  If the method is called asynchronously, returns the request
4651
3801
  thread.
4652
3802
  """
@@ -4675,30 +3825,33 @@ class CampaignApi(object):
4675
3825
  '_content_type')
4676
3826
  kwargs['_host_index'] = kwargs.get('_host_index')
4677
3827
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4678
- kwargs['line_item_id'] = \
4679
- line_item_id
4680
- kwargs['product_button_id'] = \
4681
- product_button_id
4682
- return self.get_product_button_by_line_item_and_product_button_id_endpoint.call_with_http_info(**kwargs)
3828
+ kwargs['account_id'] = \
3829
+ account_id
3830
+ kwargs['creative_id'] = \
3831
+ creative_id
3832
+ return self.get_creative_endpoint.call_with_http_info(**kwargs)
4683
3833
 
4684
- def get_product_buttons_by_line_item_id(
3834
+ def get_preferred_line_items_by_campaign_id(
4685
3835
  self,
4686
- line_item_id,
3836
+ campaign_id,
4687
3837
  **kwargs
4688
3838
  ):
4689
- """get_product_buttons_by_line_item_id # noqa: E501
3839
+ """get_preferred_line_items_by_campaign_id # noqa: E501
4690
3840
 
4691
- Get LineItem Product Buttons # noqa: E501
3841
+ Gets page of preferred line item objects for the given campaign id # noqa: E501
4692
3842
  This method makes a synchronous HTTP request by default. To make an
4693
3843
  asynchronous HTTP request, please pass async_req=True
4694
3844
 
4695
- >>> thread = api.get_product_buttons_by_line_item_id(line_item_id, async_req=True)
3845
+ >>> thread = api.get_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
4696
3846
  >>> result = thread.get()
4697
3847
 
4698
3848
  Args:
4699
- line_item_id (str): LineItemId for productButton retrieval
3849
+ campaign_id (str): The given campaign id
4700
3850
 
4701
3851
  Keyword Args:
3852
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3853
+ 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
3854
+ 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
4702
3855
  _return_http_data_only (bool): response data without head status
4703
3856
  code and headers. Default is True.
4704
3857
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4731,7 +3884,7 @@ class CampaignApi(object):
4731
3884
  async_req (bool): execute request asynchronously
4732
3885
 
4733
3886
  Returns:
4734
- ProductButtonResponseListResponse
3887
+ PreferredLineItemV2PagedListResponse
4735
3888
  If the method is called asynchronously, returns the request
4736
3889
  thread.
4737
3890
  """
@@ -4760,29 +3913,28 @@ class CampaignApi(object):
4760
3913
  '_content_type')
4761
3914
  kwargs['_host_index'] = kwargs.get('_host_index')
4762
3915
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4763
- kwargs['line_item_id'] = \
4764
- line_item_id
4765
- return self.get_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3916
+ kwargs['campaign_id'] = \
3917
+ campaign_id
3918
+ return self.get_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4766
3919
 
4767
- def get_recommended_categories(
3920
+ def get_preferred_line_items_by_line_item_id(
4768
3921
  self,
4769
- retailer_id,
3922
+ line_item_id,
4770
3923
  **kwargs
4771
3924
  ):
4772
- """get_recommended_categories # noqa: E501
3925
+ """get_preferred_line_items_by_line_item_id # noqa: E501
4773
3926
 
4774
- Endpoint to get recommended categories by given retailer id and sku id list. # noqa: E501
3927
+ Gets the preferred line item for the given line item id # noqa: E501
4775
3928
  This method makes a synchronous HTTP request by default. To make an
4776
3929
  asynchronous HTTP request, please pass async_req=True
4777
3930
 
4778
- >>> thread = api.get_recommended_categories(retailer_id, async_req=True)
3931
+ >>> thread = api.get_preferred_line_items_by_line_item_id(line_item_id, async_req=True)
4779
3932
  >>> result = thread.get()
4780
3933
 
4781
3934
  Args:
4782
- retailer_id (int): Retailer id.
3935
+ line_item_id (str): The given line item id
4783
3936
 
4784
3937
  Keyword Args:
4785
- value_resource_input_recommended_categories_request_v1 (ValueResourceInputRecommendedCategoriesRequestV1): Request of recommended categories.. [optional]
4786
3938
  _return_http_data_only (bool): response data without head status
4787
3939
  code and headers. Default is True.
4788
3940
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4815,7 +3967,7 @@ class CampaignApi(object):
4815
3967
  async_req (bool): execute request asynchronously
4816
3968
 
4817
3969
  Returns:
4818
- EntityResourceCollectionOutcomeCategory202204
3970
+ PreferredLineItemV2Response
4819
3971
  If the method is called asynchronously, returns the request
4820
3972
  thread.
4821
3973
  """
@@ -4844,30 +3996,30 @@ class CampaignApi(object):
4844
3996
  '_content_type')
4845
3997
  kwargs['_host_index'] = kwargs.get('_host_index')
4846
3998
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4847
- kwargs['retailer_id'] = \
4848
- retailer_id
4849
- return self.get_recommended_categories_endpoint.call_with_http_info(**kwargs)
3999
+ kwargs['line_item_id'] = \
4000
+ line_item_id
4001
+ return self.get_preferred_line_items_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4850
4002
 
4851
- def in_review_report_v1(
4003
+ def get_product_button_by_line_item_and_product_button_id(
4852
4004
  self,
4853
- account_id,
4005
+ line_item_id,
4006
+ product_button_id,
4854
4007
  **kwargs
4855
4008
  ):
4856
- """in_review_report_v1 # noqa: E501
4009
+ """get_product_button_by_line_item_and_product_button_id # noqa: E501
4857
4010
 
4858
- Generate a list of reports for line items which contain one or more actionable keyword reviews # noqa: E501
4011
+ Get Specific Product Button # noqa: E501
4859
4012
  This method makes a synchronous HTTP request by default. To make an
4860
4013
  asynchronous HTTP request, please pass async_req=True
4861
4014
 
4862
- >>> thread = api.in_review_report_v1(account_id, async_req=True)
4015
+ >>> thread = api.get_product_button_by_line_item_and_product_button_id(line_item_id, product_button_id, async_req=True)
4863
4016
  >>> result = thread.get()
4864
4017
 
4865
4018
  Args:
4866
- account_id (int): The account to generate a report for
4019
+ line_item_id (str): LineItemId for productButton retrieval
4020
+ product_button_id (str): productButtonId used for retrieval
4867
4021
 
4868
4022
  Keyword Args:
4869
- limit (int): Number of items per page. [optional] if omitted the server will use the default value of 25
4870
- offset (int): Offset for pagination. [optional] if omitted the server will use the default value of 0
4871
4023
  _return_http_data_only (bool): response data without head status
4872
4024
  code and headers. Default is True.
4873
4025
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4900,7 +4052,7 @@ class CampaignApi(object):
4900
4052
  async_req (bool): execute request asynchronously
4901
4053
 
4902
4054
  Returns:
4903
- EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
4055
+ ProductButtonResponseListResponse
4904
4056
  If the method is called asynchronously, returns the request
4905
4057
  thread.
4906
4058
  """
@@ -4929,29 +4081,30 @@ class CampaignApi(object):
4929
4081
  '_content_type')
4930
4082
  kwargs['_host_index'] = kwargs.get('_host_index')
4931
4083
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4932
- kwargs['account_id'] = \
4933
- account_id
4934
- return self.in_review_report_v1_endpoint.call_with_http_info(**kwargs)
4084
+ kwargs['line_item_id'] = \
4085
+ line_item_id
4086
+ kwargs['product_button_id'] = \
4087
+ product_button_id
4088
+ return self.get_product_button_by_line_item_and_product_button_id_endpoint.call_with_http_info(**kwargs)
4935
4089
 
4936
- def pause_promoted_products(
4090
+ def get_product_buttons_by_line_item_id(
4937
4091
  self,
4938
4092
  line_item_id,
4939
4093
  **kwargs
4940
4094
  ):
4941
- """pause_promoted_products # noqa: E501
4095
+ """get_product_buttons_by_line_item_id # noqa: E501
4942
4096
 
4943
- Pause a collection of promoted products associated with a line item # noqa: E501
4097
+ Get LineItem Product Buttons # noqa: E501
4944
4098
  This method makes a synchronous HTTP request by default. To make an
4945
4099
  asynchronous HTTP request, please pass async_req=True
4946
4100
 
4947
- >>> thread = api.pause_promoted_products(line_item_id, async_req=True)
4101
+ >>> thread = api.get_product_buttons_by_line_item_id(line_item_id, async_req=True)
4948
4102
  >>> result = thread.get()
4949
4103
 
4950
4104
  Args:
4951
- line_item_id (str): ID of the line item
4105
+ line_item_id (str): LineItemId for productButton retrieval
4952
4106
 
4953
4107
  Keyword Args:
4954
- promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
4955
4108
  _return_http_data_only (bool): response data without head status
4956
4109
  code and headers. Default is True.
4957
4110
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4984,7 +4137,7 @@ class CampaignApi(object):
4984
4137
  async_req (bool): execute request asynchronously
4985
4138
 
4986
4139
  Returns:
4987
- None
4140
+ ProductButtonResponseListResponse
4988
4141
  If the method is called asynchronously, returns the request
4989
4142
  thread.
4990
4143
  """
@@ -5015,27 +4168,27 @@ class CampaignApi(object):
5015
4168
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5016
4169
  kwargs['line_item_id'] = \
5017
4170
  line_item_id
5018
- return self.pause_promoted_products_endpoint.call_with_http_info(**kwargs)
4171
+ return self.get_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5019
4172
 
5020
- def post_api_external_v2_account_brand_catalog_export_by_account_id(
4173
+ def get_recommended_categories(
5021
4174
  self,
5022
- account_id,
4175
+ retailer_id,
5023
4176
  **kwargs
5024
4177
  ):
5025
- """post_api_external_v2_account_brand_catalog_export_by_account_id # noqa: E501
4178
+ """get_recommended_categories # noqa: E501
5026
4179
 
5027
- Create a request for a Catalog available to the indicated account. # noqa: E501
4180
+ Endpoint to get recommended categories by given retailer id and sku id list. # noqa: E501
5028
4181
  This method makes a synchronous HTTP request by default. To make an
5029
4182
  asynchronous HTTP request, please pass async_req=True
5030
4183
 
5031
- >>> thread = api.post_api_external_v2_account_brand_catalog_export_by_account_id(account_id, async_req=True)
4184
+ >>> thread = api.get_recommended_categories(retailer_id, async_req=True)
5032
4185
  >>> result = thread.get()
5033
4186
 
5034
4187
  Args:
5035
- account_id (str): The account to request the catalog for.
4188
+ retailer_id (int): Retailer id.
5036
4189
 
5037
4190
  Keyword Args:
5038
- value_resource_input_of_brand_catalog_request_v2 (ValueResourceInputOfBrandCatalogRequestV2): [optional]
4191
+ value_resource_input_recommended_categories_request_v1 (ValueResourceInputRecommendedCategoriesRequestV1): Request of recommended categories.. [optional]
5039
4192
  _return_http_data_only (bool): response data without head status
5040
4193
  code and headers. Default is True.
5041
4194
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5068,7 +4221,7 @@ class CampaignApi(object):
5068
4221
  async_req (bool): execute request asynchronously
5069
4222
 
5070
4223
  Returns:
5071
- EntityResourceOutcomeOfCatalogStatusV2
4224
+ EntityResourceCollectionOutcomeCategory202204
5072
4225
  If the method is called asynchronously, returns the request
5073
4226
  thread.
5074
4227
  """
@@ -5097,29 +4250,29 @@ class CampaignApi(object):
5097
4250
  '_content_type')
5098
4251
  kwargs['_host_index'] = kwargs.get('_host_index')
5099
4252
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5100
- kwargs['account_id'] = \
5101
- account_id
5102
- return self.post_api_external_v2_account_brand_catalog_export_by_account_id_endpoint.call_with_http_info(**kwargs)
4253
+ kwargs['retailer_id'] = \
4254
+ retailer_id
4255
+ return self.get_recommended_categories_endpoint.call_with_http_info(**kwargs)
5103
4256
 
5104
- def post_api_external_v2_account_seller_catalog_export_by_account_id(
4257
+ def pause_promoted_products(
5105
4258
  self,
5106
- account_id,
4259
+ line_item_id,
5107
4260
  **kwargs
5108
4261
  ):
5109
- """post_api_external_v2_account_seller_catalog_export_by_account_id # noqa: E501
4262
+ """pause_promoted_products # noqa: E501
5110
4263
 
5111
- Create a request for a Catalog available to the indicated account. # noqa: E501
4264
+ Pause a collection of promoted products associated with a line item # noqa: E501
5112
4265
  This method makes a synchronous HTTP request by default. To make an
5113
4266
  asynchronous HTTP request, please pass async_req=True
5114
4267
 
5115
- >>> thread = api.post_api_external_v2_account_seller_catalog_export_by_account_id(account_id, async_req=True)
4268
+ >>> thread = api.pause_promoted_products(line_item_id, async_req=True)
5116
4269
  >>> result = thread.get()
5117
4270
 
5118
4271
  Args:
5119
- account_id (str): The account to request the catalog for.
4272
+ line_item_id (str): ID of the line item
5120
4273
 
5121
4274
  Keyword Args:
5122
- value_resource_input_of_seller_catalog_request_v2 (ValueResourceInputOfSellerCatalogRequestV2): [optional]
4275
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
5123
4276
  _return_http_data_only (bool): response data without head status
5124
4277
  code and headers. Default is True.
5125
4278
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5152,7 +4305,7 @@ class CampaignApi(object):
5152
4305
  async_req (bool): execute request asynchronously
5153
4306
 
5154
4307
  Returns:
5155
- EntityResourceOutcomeOfCatalogStatusV2
4308
+ None
5156
4309
  If the method is called asynchronously, returns the request
5157
4310
  thread.
5158
4311
  """
@@ -5181,9 +4334,9 @@ class CampaignApi(object):
5181
4334
  '_content_type')
5182
4335
  kwargs['_host_index'] = kwargs.get('_host_index')
5183
4336
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5184
- kwargs['account_id'] = \
5185
- account_id
5186
- return self.post_api_external_v2_account_seller_catalog_export_by_account_id_endpoint.call_with_http_info(**kwargs)
4337
+ kwargs['line_item_id'] = \
4338
+ line_item_id
4339
+ return self.pause_promoted_products_endpoint.call_with_http_info(**kwargs)
5187
4340
 
5188
4341
  def post_api_v1_external_catalogs_sku_retrieval(
5189
4342
  self,
@@ -5768,90 +4921,6 @@ class CampaignApi(object):
5768
4921
  account_id
5769
4922
  return self.search_retailers_v1_endpoint.call_with_http_info(**kwargs)
5770
4923
 
5771
- def set_keyword_bids(
5772
- self,
5773
- id,
5774
- **kwargs
5775
- ):
5776
- """set_keyword_bids # noqa: E501
5777
-
5778
- Set bid overrides for associated keywords to the given line item in bulk # noqa: E501
5779
- This method makes a synchronous HTTP request by default. To make an
5780
- asynchronous HTTP request, please pass async_req=True
5781
-
5782
- >>> thread = api.set_keyword_bids(id, async_req=True)
5783
- >>> result = thread.get()
5784
-
5785
- Args:
5786
- id (str): ID of the line item
5787
-
5788
- Keyword Args:
5789
- set_bids_model_request (SetBidsModelRequest): [optional]
5790
- _return_http_data_only (bool): response data without head status
5791
- code and headers. Default is True.
5792
- _preload_content (bool): if False, the urllib3.HTTPResponse object
5793
- will be returned without reading/decoding response data.
5794
- Default is True.
5795
- _request_timeout (int/float/tuple): timeout setting for this request. If
5796
- one number provided, it will be total request timeout. It can also
5797
- be a pair (tuple) of (connection, read) timeouts.
5798
- Default is None.
5799
- _check_input_type (bool): specifies if type checking
5800
- should be done one the data sent to the server.
5801
- Default is True.
5802
- _check_return_type (bool): specifies if type checking
5803
- should be done one the data received from the server.
5804
- Default is True.
5805
- _spec_property_naming (bool): True if the variable names in the input data
5806
- are serialized names, as specified in the OpenAPI document.
5807
- False if the variable names in the input data
5808
- are pythonic names, e.g. snake case (default)
5809
- _content_type (str/None): force body content-type.
5810
- Default is None and content-type will be predicted by allowed
5811
- content-types and body.
5812
- _host_index (int/None): specifies the index of the server
5813
- that we want to use.
5814
- Default is read from the configuration.
5815
- _request_auths (list): set to override the auth_settings for an a single
5816
- request; this effectively ignores the authentication
5817
- in the spec for a single request.
5818
- Default is None
5819
- async_req (bool): execute request asynchronously
5820
-
5821
- Returns:
5822
- ResourceOutcome
5823
- If the method is called asynchronously, returns the request
5824
- thread.
5825
- """
5826
- kwargs['async_req'] = kwargs.get(
5827
- 'async_req', False
5828
- )
5829
- kwargs['_return_http_data_only'] = kwargs.get(
5830
- '_return_http_data_only', True
5831
- )
5832
- kwargs['_preload_content'] = kwargs.get(
5833
- '_preload_content', True
5834
- )
5835
- kwargs['_request_timeout'] = kwargs.get(
5836
- '_request_timeout', None
5837
- )
5838
- kwargs['_check_input_type'] = kwargs.get(
5839
- '_check_input_type', True
5840
- )
5841
- kwargs['_check_return_type'] = kwargs.get(
5842
- '_check_return_type', True
5843
- )
5844
- kwargs['_spec_property_naming'] = kwargs.get(
5845
- '_spec_property_naming', False
5846
- )
5847
- kwargs['_content_type'] = kwargs.get(
5848
- '_content_type')
5849
- kwargs['_host_index'] = kwargs.get('_host_index')
5850
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5851
- kwargs['id'] = \
5852
- id
5853
- return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
5854
-
5855
4924
  def unpause_promoted_products(
5856
4925
  self,
5857
4926
  line_item_id,
@@ -6108,90 +5177,6 @@ class CampaignApi(object):
6108
5177
  creative_id
6109
5178
  return self.update_creative_endpoint.call_with_http_info(**kwargs)
6110
5179
 
6111
- def update_keyword_reviews_v1(
6112
- self,
6113
- line_item_id,
6114
- **kwargs
6115
- ):
6116
- """update_keyword_reviews_v1 # noqa: E501
6117
-
6118
- Update the status of keyword reviews under a line item # noqa: E501
6119
- This method makes a synchronous HTTP request by default. To make an
6120
- asynchronous HTTP request, please pass async_req=True
6121
-
6122
- >>> thread = api.update_keyword_reviews_v1(line_item_id, async_req=True)
6123
- >>> result = thread.get()
6124
-
6125
- Args:
6126
- line_item_id (int): The line item to update keyword review statuses for
6127
-
6128
- Keyword Args:
6129
- value_resource_input_retail_media_keywords_review (ValueResourceInputRetailMediaKeywordsReview): Request object containing a list of Phrase-ReviewState pairs to update. [optional]
6130
- _return_http_data_only (bool): response data without head status
6131
- code and headers. Default is True.
6132
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6133
- will be returned without reading/decoding response data.
6134
- Default is True.
6135
- _request_timeout (int/float/tuple): timeout setting for this request. If
6136
- one number provided, it will be total request timeout. It can also
6137
- be a pair (tuple) of (connection, read) timeouts.
6138
- Default is None.
6139
- _check_input_type (bool): specifies if type checking
6140
- should be done one the data sent to the server.
6141
- Default is True.
6142
- _check_return_type (bool): specifies if type checking
6143
- should be done one the data received from the server.
6144
- Default is True.
6145
- _spec_property_naming (bool): True if the variable names in the input data
6146
- are serialized names, as specified in the OpenAPI document.
6147
- False if the variable names in the input data
6148
- are pythonic names, e.g. snake case (default)
6149
- _content_type (str/None): force body content-type.
6150
- Default is None and content-type will be predicted by allowed
6151
- content-types and body.
6152
- _host_index (int/None): specifies the index of the server
6153
- that we want to use.
6154
- Default is read from the configuration.
6155
- _request_auths (list): set to override the auth_settings for an a single
6156
- request; this effectively ignores the authentication
6157
- in the spec for a single request.
6158
- Default is None
6159
- async_req (bool): execute request asynchronously
6160
-
6161
- Returns:
6162
- ValueResourceOutcomeRetailMediaKeywordsReviewResult
6163
- If the method is called asynchronously, returns the request
6164
- thread.
6165
- """
6166
- kwargs['async_req'] = kwargs.get(
6167
- 'async_req', False
6168
- )
6169
- kwargs['_return_http_data_only'] = kwargs.get(
6170
- '_return_http_data_only', True
6171
- )
6172
- kwargs['_preload_content'] = kwargs.get(
6173
- '_preload_content', True
6174
- )
6175
- kwargs['_request_timeout'] = kwargs.get(
6176
- '_request_timeout', None
6177
- )
6178
- kwargs['_check_input_type'] = kwargs.get(
6179
- '_check_input_type', True
6180
- )
6181
- kwargs['_check_return_type'] = kwargs.get(
6182
- '_check_return_type', True
6183
- )
6184
- kwargs['_spec_property_naming'] = kwargs.get(
6185
- '_spec_property_naming', False
6186
- )
6187
- kwargs['_content_type'] = kwargs.get(
6188
- '_content_type')
6189
- kwargs['_host_index'] = kwargs.get('_host_index')
6190
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6191
- kwargs['line_item_id'] = \
6192
- line_item_id
6193
- return self.update_keyword_reviews_v1_endpoint.call_with_http_info(**kwargs)
6194
-
6195
5180
  def update_preferred_line_item_by_line_item_id(
6196
5181
  self,
6197
5182
  line_item_id,