criteo-api-retailmedia-sdk 0.0.240808__py3-none-any.whl → 0.0.250129__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +45 -198
  3. criteo_api_retailmedia_preview/api/analytics_api.py +3 -3
  4. criteo_api_retailmedia_preview/api/audience_api.py +89 -232
  5. criteo_api_retailmedia_preview/api/balance_api.py +0 -159
  6. criteo_api_retailmedia_preview/api/campaign_api.py +246 -1604
  7. criteo_api_retailmedia_preview/api/catalog_api.py +161 -0
  8. criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +186 -0
  9. criteo_api_retailmedia_preview/api_client.py +4 -4
  10. criteo_api_retailmedia_preview/apis/__init__.py +1 -0
  11. criteo_api_retailmedia_preview/configuration.py +1 -1
  12. criteo_api_retailmedia_preview/model/async_accounts_report.py +40 -0
  13. criteo_api_retailmedia_preview/model/async_campaigns_report.py +40 -0
  14. criteo_api_retailmedia_preview/model/async_line_items_report.py +40 -0
  15. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
  16. criteo_api_retailmedia_preview/model/{creative_v2_response.py → bot_message.py} +17 -21
  17. criteo_api_retailmedia_preview/model/botmessage.py +329 -0
  18. criteo_api_retailmedia_preview/model/brand_id_search_request.py +271 -0
  19. criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
  20. criteo_api_retailmedia_preview/model/category.py +3 -3
  21. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
  22. criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
  23. criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
  24. criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
  25. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
  26. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
  27. criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
  28. criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  29. criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
  30. criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
  31. criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
  32. criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
  33. criteo_api_retailmedia_preview/model/{value_resource_outcome_of_campaign_budget_overrides.py → entity_resource_collection_outcome_brand_id_search_result.py} +16 -16
  34. criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_list_response.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
  35. criteo_api_retailmedia_preview/model/{resource_of_add_funds_to_balance_v2.py → entity_resource_of_retail_media_child_account.py} +14 -14
  36. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
  37. criteo_api_retailmedia_preview/model/{external_account.py → external_retail_media_child_account.py} +39 -56
  38. criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
  39. criteo_api_retailmedia_preview/model/http_validation_error.py +269 -0
  40. criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
  41. criteo_api_retailmedia_preview/model/inbot_discussion.py +272 -0
  42. criteo_api_retailmedia_preview/model/{external_brand.py → inbot_discussion_body_model.py} +17 -15
  43. criteo_api_retailmedia_preview/model/inbot_discussion_data_instance_model.py +279 -0
  44. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
  45. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
  46. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
  47. criteo_api_retailmedia_preview/model/{external_text_variable_value.py → location_inner.py} +3 -7
  48. criteo_api_retailmedia_preview/model/message.py +273 -0
  49. criteo_api_retailmedia_preview/model/message_body_model.py +275 -0
  50. criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_retailer_and_retailer.py → message_data_instance_model.py} +16 -22
  51. criteo_api_retailmedia_preview/model/message_error.py +275 -0
  52. criteo_api_retailmedia_preview/model/{rm_legacy_segment_customer_list.py → offset_page_metadata.py} +21 -17
  53. criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → outcome.py} +15 -17
  54. criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  55. criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
  56. criteo_api_retailmedia_preview/model/product.py +4 -0
  57. criteo_api_retailmedia_preview/model/product_recommendation.py +305 -0
  58. criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_account_and_account.py → report_detail_warning.py} +21 -21
  59. criteo_api_retailmedia_preview/model/report_detail_warnings.py +281 -0
  60. criteo_api_retailmedia_preview/model/report_ok_response.py +31 -17
  61. criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  62. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  63. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
  64. criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
  65. criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +275 -0
  66. criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_resource.py → rm_audience_entity_v1.py} +45 -24
  67. criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2_resource.py → rm_audience_entity_v1_resource.py} +8 -8
  68. criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py} +14 -8
  69. criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +271 -0
  70. criteo_api_retailmedia_preview/model/{resource_of_creative_v2.py → rm_audience_search_entity_v1_resource.py} +11 -15
  71. criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → rm_audience_search_input_v1.py} +8 -8
  72. criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +271 -0
  73. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +17 -9
  74. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +7 -7
  75. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +1 -1
  76. criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +5 -5
  77. criteo_api_retailmedia_preview/model/{rm_user_behavior_v1.py → rm_events_v1.py} +3 -3
  78. criteo_api_retailmedia_preview/model/{retail_media_account.py → sdk_api_rest_common_problem.py} +41 -42
  79. criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
  80. criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
  81. criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
  82. criteo_api_retailmedia_preview/model/sku_min_bid.py +269 -0
  83. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
  84. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
  85. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
  86. criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
  87. criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
  88. criteo_api_retailmedia_preview/model/text_variable_value.py +257 -0
  89. criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_brand_and_brand.py → validation_error.py} +19 -17
  90. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
  91. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
  92. criteo_api_retailmedia_preview/model/{value_resource_of_campaign_budget_overrides.py → value_resource_cpc_min_bids_request.py} +10 -10
  93. criteo_api_retailmedia_preview/model/{value_resource_of_line_item_budget_overrides.py → value_resource_cpc_min_bids_response.py} +10 -10
  94. criteo_api_retailmedia_preview/model/{value_resource_input_of_line_item_budget_overrides.py → value_resource_input_brand_id_search_request.py} +8 -8
  95. criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_cpc_min_bids_request.py} +8 -8
  96. criteo_api_retailmedia_preview/model/{value_resource_input_of_campaign_budget_overrides.py → value_resource_input_of_seller_search.py} +8 -8
  97. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
  98. criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +266 -0
  99. criteo_api_retailmedia_preview/model/{value_resource_outcome_of_line_item_budget_overrides.py → value_resource_outcome_cpc_min_bids_response.py} +16 -16
  100. criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  101. criteo_api_retailmedia_preview/models/__init__.py +60 -69
  102. {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/METADATA +14 -5
  103. {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/RECORD +105 -113
  104. {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/WHEEL +1 -1
  105. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
  106. criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
  107. criteo_api_retailmedia_preview/model/campaign_budget_overrides.py +0 -276
  108. criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py +0 -283
  109. criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py +0 -283
  110. criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
  111. criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py +0 -281
  112. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
  113. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
  114. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
  115. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
  116. criteo_api_retailmedia_preview/model/line_item_budget_overrides.py +0 -276
  117. criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py +0 -283
  118. criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
  119. criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
  120. criteo_api_retailmedia_preview/model/proposal_status_model_response.py +0 -274
  121. criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -270
  122. criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py +0 -291
  123. criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2.py +0 -291
  124. criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v2_list_response.py +0 -281
  125. criteo_api_retailmedia_preview/model/rm_legacy_audience_user_behavior_details_v2.py +0 -279
  126. criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v1.py +0 -306
  127. criteo_api_retailmedia_preview/model/rm_legacy_segment_user_behavior_v2.py +0 -311
  128. criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
  129. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +0 -262
  130. {criteo_api_retailmedia_sdk-0.0.240808.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
@@ -24,19 +24,16 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
24
24
  from criteo_api_retailmedia_preview.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest
25
25
  from criteo_api_retailmedia_preview.model.brand_preview_list_response import BrandPreviewListResponse
26
26
  from criteo_api_retailmedia_preview.model.cpc_rate_card_preview_response import CpcRateCardPreviewResponse
27
- from criteo_api_retailmedia_preview.model.creative_v2_list_response import CreativeV2ListResponse
28
- from criteo_api_retailmedia_preview.model.creative_v2_response import CreativeV2Response
29
- from criteo_api_retailmedia_preview.model.external_creative_create_model_v2 import ExternalCreativeCreateModelV2
30
- from criteo_api_retailmedia_preview.model.external_creative_update_model_v2 import ExternalCreativeUpdateModelV2
31
- from criteo_api_retailmedia_preview.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
32
- from criteo_api_retailmedia_preview.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer
27
+ from criteo_api_retailmedia_preview.model.creative2_list_response import Creative2ListResponse
28
+ from criteo_api_retailmedia_preview.model.creative2_response import Creative2Response
29
+ from criteo_api_retailmedia_preview.model.creative_create_model2 import CreativeCreateModel2
30
+ from criteo_api_retailmedia_preview.model.creative_update_model2 import CreativeUpdateModel2
33
31
  from criteo_api_retailmedia_preview.model.json_api_request_of_seller_catalog_request import JsonApiRequestOfSellerCatalogRequest
34
32
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus
35
33
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2
36
34
  from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
37
35
  from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request
38
36
  from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response
39
- from criteo_api_retailmedia_preview.model.page_of_insertion_order_history_change_data_capture_v2 import PageOfInsertionOrderHistoryChangeDataCaptureV2
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,22 +45,17 @@ from criteo_api_retailmedia_preview.model.product_button_request import ProductB
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.proposal_status_model_response import ProposalStatusModelResponse
52
- from criteo_api_retailmedia_preview.model.resource_collection_outcome_of_sku_search_result import ResourceCollectionOutcomeOfSkuSearchResult
53
48
  from criteo_api_retailmedia_preview.model.resource_outcome import ResourceOutcome
54
49
  from criteo_api_retailmedia_preview.model.seller_preview_response import SellerPreviewResponse
55
50
  from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
56
51
  from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
57
- from criteo_api_retailmedia_preview.model.sku_search_request import SkuSearchRequest
58
52
  from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
59
53
  from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_request import SkuSearchRequestSlimPreviewRequest
60
54
  from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
61
55
  from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
62
56
  from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
63
- from criteo_api_retailmedia_preview.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides
64
- from criteo_api_retailmedia_preview.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides
65
- from criteo_api_retailmedia_preview.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides
66
- from criteo_api_retailmedia_preview.model.value_resource_outcome_of_line_item_budget_overrides import ValueResourceOutcomeOfLineItemBudgetOverrides
57
+ from criteo_api_retailmedia_preview.model.value_resource_input_cpc_min_bids_request import ValueResourceInputCpcMinBidsRequest
58
+ from criteo_api_retailmedia_preview.model.value_resource_outcome_cpc_min_bids_response import ValueResourceOutcomeCpcMinBidsResponse
67
59
  from criteo_api_retailmedia_preview.model.value_resource_outcome_of_recommended_keywords_result import ValueResourceOutcomeOfRecommendedKeywordsResult
68
60
 
69
61
 
@@ -427,58 +419,6 @@ class CampaignApi(object):
427
419
  },
428
420
  api_client=api_client
429
421
  )
430
- self.fetch_proposal_endpoint = _Endpoint(
431
- settings={
432
- 'response_type': (ProposalStatusModelResponse,),
433
- 'auth': [
434
- 'oauth',
435
- 'oauth'
436
- ],
437
- 'endpoint_path': '/preview/retail-media/preferred-deal-line-items/{id}/proposal',
438
- 'operation_id': 'fetch_proposal',
439
- 'http_method': 'GET',
440
- 'servers': None,
441
- },
442
- params_map={
443
- 'all': [
444
- 'id',
445
- ],
446
- 'required': [
447
- 'id',
448
- ],
449
- 'nullable': [
450
- ],
451
- 'enum': [
452
- ],
453
- 'validation': [
454
- ]
455
- },
456
- root_map={
457
- 'validations': {
458
- },
459
- 'allowed_values': {
460
- },
461
- 'openapi_types': {
462
- 'id':
463
- (str,),
464
- },
465
- 'attribute_map': {
466
- 'id': 'id',
467
- },
468
- 'location_map': {
469
- 'id': 'path',
470
- },
471
- 'collection_format_map': {
472
- }
473
- },
474
- headers_map={
475
- 'accept': [
476
- 'application/json'
477
- ],
478
- 'content_type': [],
479
- },
480
- api_client=api_client
481
- )
482
422
  self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint = _Endpoint(
483
423
  settings={
484
424
  'response_type': (ProductButtonListResponse,),
@@ -589,146 +529,6 @@ class CampaignApi(object):
589
529
  },
590
530
  api_client=api_client
591
531
  )
592
- self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint(
593
- settings={
594
- 'response_type': (JsonApiPageResponseOfBrand,),
595
- 'auth': [
596
- 'oauth',
597
- 'oauth'
598
- ],
599
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/brands',
600
- 'operation_id': 'get_api_v1_external_account_brands_by_account_id',
601
- 'http_method': 'GET',
602
- 'servers': None,
603
- },
604
- params_map={
605
- 'all': [
606
- 'account_id',
607
- 'limit_to_id',
608
- 'page_index',
609
- 'page_size',
610
- ],
611
- 'required': [
612
- 'account_id',
613
- ],
614
- 'nullable': [
615
- ],
616
- 'enum': [
617
- ],
618
- 'validation': [
619
- ]
620
- },
621
- root_map={
622
- 'validations': {
623
- },
624
- 'allowed_values': {
625
- },
626
- 'openapi_types': {
627
- 'account_id':
628
- (str,),
629
- 'limit_to_id':
630
- ([str],),
631
- 'page_index':
632
- (int,),
633
- 'page_size':
634
- (int,),
635
- },
636
- 'attribute_map': {
637
- 'account_id': 'accountId',
638
- 'limit_to_id': 'limitToId',
639
- 'page_index': 'pageIndex',
640
- 'page_size': 'pageSize',
641
- },
642
- 'location_map': {
643
- 'account_id': 'path',
644
- 'limit_to_id': 'query',
645
- 'page_index': 'query',
646
- 'page_size': 'query',
647
- },
648
- 'collection_format_map': {
649
- 'limit_to_id': 'multi',
650
- }
651
- },
652
- headers_map={
653
- 'accept': [
654
- 'text/plain',
655
- 'application/json',
656
- 'text/json'
657
- ],
658
- 'content_type': [],
659
- },
660
- api_client=api_client
661
- )
662
- self.get_api_v1_external_account_retailers_by_account_id_endpoint = _Endpoint(
663
- settings={
664
- 'response_type': (JsonApiPageResponseOfRetailer,),
665
- 'auth': [
666
- 'oauth',
667
- 'oauth'
668
- ],
669
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/retailers',
670
- 'operation_id': 'get_api_v1_external_account_retailers_by_account_id',
671
- 'http_method': 'GET',
672
- 'servers': None,
673
- },
674
- params_map={
675
- 'all': [
676
- 'account_id',
677
- 'limit_to_id',
678
- 'page_index',
679
- 'page_size',
680
- ],
681
- 'required': [
682
- 'account_id',
683
- ],
684
- 'nullable': [
685
- ],
686
- 'enum': [
687
- ],
688
- 'validation': [
689
- ]
690
- },
691
- root_map={
692
- 'validations': {
693
- },
694
- 'allowed_values': {
695
- },
696
- 'openapi_types': {
697
- 'account_id':
698
- (str,),
699
- 'limit_to_id':
700
- ([str],),
701
- 'page_index':
702
- (int,),
703
- 'page_size':
704
- (int,),
705
- },
706
- 'attribute_map': {
707
- 'account_id': 'accountId',
708
- 'limit_to_id': 'limitToId',
709
- 'page_index': 'pageIndex',
710
- 'page_size': 'pageSize',
711
- },
712
- 'location_map': {
713
- 'account_id': 'path',
714
- 'limit_to_id': 'query',
715
- 'page_index': 'query',
716
- 'page_size': 'query',
717
- },
718
- 'collection_format_map': {
719
- 'limit_to_id': 'multi',
720
- }
721
- },
722
- headers_map={
723
- 'accept': [
724
- 'text/plain',
725
- 'application/json',
726
- 'text/json'
727
- ],
728
- 'content_type': [],
729
- },
730
- api_client=api_client
731
- )
732
532
  self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
733
533
  settings={
734
534
  'response_type': (BrandPreviewListResponse,),
@@ -975,7 +775,7 @@ class CampaignApi(object):
975
775
  )
976
776
  self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
977
777
  settings={
978
- 'response_type': (CreativeV2Response,),
778
+ 'response_type': (Creative2Response,),
979
779
  'auth': [
980
780
  'oauth',
981
781
  'oauth'
@@ -1207,24 +1007,25 @@ class CampaignApi(object):
1207
1007
  },
1208
1008
  api_client=api_client
1209
1009
  )
1210
- self.get_campaign_budget_overrides_endpoint = _Endpoint(
1010
+ self.get_cpc_min_bids_by_sku_ids_v1_endpoint = _Endpoint(
1211
1011
  settings={
1212
- 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,),
1012
+ 'response_type': (ValueResourceOutcomeCpcMinBidsResponse,),
1213
1013
  'auth': [
1214
1014
  'oauth',
1215
1015
  'oauth'
1216
1016
  ],
1217
- 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides',
1218
- 'operation_id': 'get_campaign_budget_overrides',
1219
- 'http_method': 'GET',
1017
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/cpc-min-bids',
1018
+ 'operation_id': 'get_cpc_min_bids_by_sku_ids_v1',
1019
+ 'http_method': 'POST',
1220
1020
  'servers': None,
1221
1021
  },
1222
1022
  params_map={
1223
1023
  'all': [
1224
- 'campaign_id',
1024
+ 'retailer_id',
1025
+ 'value_resource_input_cpc_min_bids_request',
1225
1026
  ],
1226
1027
  'required': [
1227
- 'campaign_id',
1028
+ 'retailer_id',
1228
1029
  ],
1229
1030
  'nullable': [
1230
1031
  ],
@@ -1239,93 +1040,76 @@ class CampaignApi(object):
1239
1040
  'allowed_values': {
1240
1041
  },
1241
1042
  'openapi_types': {
1242
- 'campaign_id':
1043
+ 'retailer_id':
1243
1044
  (int,),
1045
+ 'value_resource_input_cpc_min_bids_request':
1046
+ (ValueResourceInputCpcMinBidsRequest,),
1244
1047
  },
1245
1048
  'attribute_map': {
1246
- 'campaign_id': 'campaignId',
1049
+ 'retailer_id': 'retailerId',
1247
1050
  },
1248
1051
  'location_map': {
1249
- 'campaign_id': 'path',
1052
+ 'retailer_id': 'path',
1053
+ 'value_resource_input_cpc_min_bids_request': 'body',
1250
1054
  },
1251
1055
  'collection_format_map': {
1252
1056
  }
1253
1057
  },
1254
1058
  headers_map={
1255
1059
  'accept': [
1256
- 'application/json'
1060
+ 'text/plain',
1061
+ 'application/json',
1062
+ 'text/json'
1257
1063
  ],
1258
- 'content_type': [],
1064
+ 'content_type': [
1065
+ 'application/json-patch+json',
1066
+ 'application/json',
1067
+ 'text/json',
1068
+ 'application/*+json'
1069
+ ]
1259
1070
  },
1260
1071
  api_client=api_client
1261
1072
  )
1262
- self.get_insertion_order_history_change_data_capture_v2_endpoint = _Endpoint(
1073
+ self.get_recommended_keywords_endpoint = _Endpoint(
1263
1074
  settings={
1264
- 'response_type': (PageOfInsertionOrderHistoryChangeDataCaptureV2,),
1075
+ 'response_type': (ValueResourceOutcomeOfRecommendedKeywordsResult,),
1265
1076
  'auth': [
1266
1077
  'oauth',
1267
1078
  'oauth'
1268
1079
  ],
1269
- 'endpoint_path': '/preview/retail-media/insertion-order-history/{insertionOrderId}/change-data-capture',
1270
- 'operation_id': 'get_insertion_order_history_change_data_capture_v2',
1080
+ 'endpoint_path': '/preview/retail-media/line-items/{externalLineItemId}/keywords/recommended',
1081
+ 'operation_id': 'get_recommended_keywords',
1271
1082
  'http_method': 'GET',
1272
1083
  'servers': None,
1273
1084
  },
1274
1085
  params_map={
1275
1086
  'all': [
1276
- 'insertion_order_id',
1277
- 'offset',
1278
- 'limit',
1279
- 'limit_to_change_types',
1087
+ 'external_line_item_id',
1280
1088
  ],
1281
1089
  'required': [
1282
- 'insertion_order_id',
1090
+ 'external_line_item_id',
1283
1091
  ],
1284
1092
  'nullable': [
1285
1093
  ],
1286
1094
  'enum': [
1287
1095
  ],
1288
1096
  'validation': [
1289
- 'offset',
1290
- 'limit',
1291
1097
  ]
1292
1098
  },
1293
1099
  root_map={
1294
1100
  'validations': {
1295
- ('offset',): {
1296
-
1297
- 'inclusive_maximum': 2147483647,
1298
- 'inclusive_minimum': 0,
1299
- },
1300
- ('limit',): {
1301
-
1302
- 'inclusive_maximum': 100,
1303
- 'inclusive_minimum': 1,
1304
- },
1305
1101
  },
1306
1102
  'allowed_values': {
1307
1103
  },
1308
1104
  'openapi_types': {
1309
- 'insertion_order_id':
1310
- (str,),
1311
- 'offset':
1312
- (int,),
1313
- 'limit':
1314
- (int,),
1315
- 'limit_to_change_types':
1105
+ 'external_line_item_id':
1316
1106
  (str,),
1317
1107
  },
1318
1108
  'attribute_map': {
1319
- 'insertion_order_id': 'insertionOrderId',
1320
- 'offset': 'offset',
1321
- 'limit': 'limit',
1322
- 'limit_to_change_types': 'limitToChangeTypes',
1109
+ 'external_line_item_id': 'externalLineItemId',
1323
1110
  },
1324
1111
  'location_map': {
1325
- 'insertion_order_id': 'path',
1326
- 'offset': 'query',
1327
- 'limit': 'query',
1328
- 'limit_to_change_types': 'query',
1112
+ 'external_line_item_id': 'path',
1329
1113
  },
1330
1114
  'collection_format_map': {
1331
1115
  }
@@ -1338,21 +1122,22 @@ class CampaignApi(object):
1338
1122
  },
1339
1123
  api_client=api_client
1340
1124
  )
1341
- self.get_line_item_budget_overrides_endpoint = _Endpoint(
1125
+ self.pause_promoted_products_endpoint = _Endpoint(
1342
1126
  settings={
1343
- 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,),
1127
+ 'response_type': None,
1344
1128
  'auth': [
1345
1129
  'oauth',
1346
1130
  'oauth'
1347
1131
  ],
1348
- 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides',
1349
- 'operation_id': 'get_line_item_budget_overrides',
1350
- 'http_method': 'GET',
1132
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1133
+ 'operation_id': 'pause_promoted_products',
1134
+ 'http_method': 'POST',
1351
1135
  'servers': None,
1352
1136
  },
1353
1137
  params_map={
1354
1138
  'all': [
1355
1139
  'line_item_id',
1140
+ 'promoted_product_resource_collection_input',
1356
1141
  ],
1357
1142
  'required': [
1358
1143
  'line_item_id',
@@ -1372,12 +1157,15 @@ class CampaignApi(object):
1372
1157
  'openapi_types': {
1373
1158
  'line_item_id':
1374
1159
  (str,),
1160
+ 'promoted_product_resource_collection_input':
1161
+ (PromotedProductResourceCollectionInput,),
1375
1162
  },
1376
1163
  'attribute_map': {
1377
- 'line_item_id': 'lineItemId',
1164
+ 'line_item_id': 'line-item-id',
1378
1165
  },
1379
1166
  'location_map': {
1380
1167
  'line_item_id': 'path',
1168
+ 'promoted_product_resource_collection_input': 'body',
1381
1169
  },
1382
1170
  'collection_format_map': {
1383
1171
  }
@@ -1386,232 +1174,22 @@ class CampaignApi(object):
1386
1174
  'accept': [
1387
1175
  'application/json'
1388
1176
  ],
1389
- 'content_type': [],
1177
+ 'content_type': [
1178
+ 'application/json'
1179
+ ]
1390
1180
  },
1391
1181
  api_client=api_client
1392
1182
  )
1393
- self.get_recommended_keywords_endpoint = _Endpoint(
1183
+ self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
1394
1184
  settings={
1395
- 'response_type': (ValueResourceOutcomeOfRecommendedKeywordsResult,),
1185
+ 'response_type': (PreferredLineItemV2Response,),
1396
1186
  'auth': [
1397
1187
  'oauth',
1398
1188
  'oauth'
1399
1189
  ],
1400
- 'endpoint_path': '/preview/retail-media/line-items/{externalLineItemId}/keywords/recommended',
1401
- 'operation_id': 'get_recommended_keywords',
1402
- 'http_method': 'GET',
1403
- 'servers': None,
1404
- },
1405
- params_map={
1406
- 'all': [
1407
- 'external_line_item_id',
1408
- ],
1409
- 'required': [
1410
- 'external_line_item_id',
1411
- ],
1412
- 'nullable': [
1413
- ],
1414
- 'enum': [
1415
- ],
1416
- 'validation': [
1417
- ]
1418
- },
1419
- root_map={
1420
- 'validations': {
1421
- },
1422
- 'allowed_values': {
1423
- },
1424
- 'openapi_types': {
1425
- 'external_line_item_id':
1426
- (str,),
1427
- },
1428
- 'attribute_map': {
1429
- 'external_line_item_id': 'externalLineItemId',
1430
- },
1431
- 'location_map': {
1432
- 'external_line_item_id': 'path',
1433
- },
1434
- 'collection_format_map': {
1435
- }
1436
- },
1437
- headers_map={
1438
- 'accept': [
1439
- 'application/json'
1440
- ],
1441
- 'content_type': [],
1442
- },
1443
- api_client=api_client
1444
- )
1445
- self.get_sku_by_product_id_endpoint = _Endpoint(
1446
- settings={
1447
- 'response_type': (ResourceCollectionOutcomeOfSkuSearchResult,),
1448
- 'auth': [
1449
- 'oauth',
1450
- 'oauth'
1451
- ],
1452
- 'endpoint_path': '/preview/retail-media/catalogs/sku/search/accounts/{accountId}/retailers/{retailerId}/by-id',
1453
- 'operation_id': 'get_sku_by_product_id',
1454
- 'http_method': 'POST',
1455
- 'servers': None,
1456
- },
1457
- params_map={
1458
- 'all': [
1459
- 'account_id',
1460
- 'retailer_id',
1461
- 'offset',
1462
- 'limit',
1463
- 'sku_search_request',
1464
- ],
1465
- 'required': [
1466
- 'account_id',
1467
- 'retailer_id',
1468
- ],
1469
- 'nullable': [
1470
- ],
1471
- 'enum': [
1472
- ],
1473
- 'validation': [
1474
- 'account_id',
1475
- 'retailer_id',
1476
- 'offset',
1477
- 'limit',
1478
- ]
1479
- },
1480
- root_map={
1481
- 'validations': {
1482
- ('account_id',): {
1483
-
1484
- 'regex': {
1485
- 'pattern': r'^\d+$', # noqa: E501
1486
- },
1487
- },
1488
- ('retailer_id',): {
1489
-
1490
- 'inclusive_maximum': 2147483647,
1491
- 'inclusive_minimum': 1,
1492
- },
1493
- ('offset',): {
1494
-
1495
- 'inclusive_maximum': 2147483647,
1496
- 'inclusive_minimum': 0,
1497
- },
1498
- ('limit',): {
1499
-
1500
- 'inclusive_maximum': 2147483647,
1501
- 'inclusive_minimum': 1,
1502
- },
1503
- },
1504
- 'allowed_values': {
1505
- },
1506
- 'openapi_types': {
1507
- 'account_id':
1508
- (str,),
1509
- 'retailer_id':
1510
- (int,),
1511
- 'offset':
1512
- (int,),
1513
- 'limit':
1514
- (int,),
1515
- 'sku_search_request':
1516
- (SkuSearchRequest,),
1517
- },
1518
- 'attribute_map': {
1519
- 'account_id': 'accountId',
1520
- 'retailer_id': 'retailerId',
1521
- 'offset': 'offset',
1522
- 'limit': 'limit',
1523
- },
1524
- 'location_map': {
1525
- 'account_id': 'path',
1526
- 'retailer_id': 'path',
1527
- 'offset': 'query',
1528
- 'limit': 'query',
1529
- 'sku_search_request': 'body',
1530
- },
1531
- 'collection_format_map': {
1532
- }
1533
- },
1534
- headers_map={
1535
- 'accept': [
1536
- 'application/json'
1537
- ],
1538
- 'content_type': [
1539
- 'application/json-patch+json',
1540
- 'application/json',
1541
- 'text/json',
1542
- 'application/*+json'
1543
- ]
1544
- },
1545
- api_client=api_client
1546
- )
1547
- self.pause_promoted_products_endpoint = _Endpoint(
1548
- settings={
1549
- 'response_type': None,
1550
- 'auth': [
1551
- 'oauth',
1552
- 'oauth'
1553
- ],
1554
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1555
- 'operation_id': 'pause_promoted_products',
1556
- 'http_method': 'POST',
1557
- 'servers': None,
1558
- },
1559
- params_map={
1560
- 'all': [
1561
- 'line_item_id',
1562
- 'promoted_product_resource_collection_input',
1563
- ],
1564
- 'required': [
1565
- 'line_item_id',
1566
- ],
1567
- 'nullable': [
1568
- ],
1569
- 'enum': [
1570
- ],
1571
- 'validation': [
1572
- ]
1573
- },
1574
- root_map={
1575
- 'validations': {
1576
- },
1577
- 'allowed_values': {
1578
- },
1579
- 'openapi_types': {
1580
- 'line_item_id':
1581
- (str,),
1582
- 'promoted_product_resource_collection_input':
1583
- (PromotedProductResourceCollectionInput,),
1584
- },
1585
- 'attribute_map': {
1586
- 'line_item_id': 'line-item-id',
1587
- },
1588
- 'location_map': {
1589
- 'line_item_id': 'path',
1590
- 'promoted_product_resource_collection_input': 'body',
1591
- },
1592
- 'collection_format_map': {
1593
- }
1594
- },
1595
- headers_map={
1596
- 'accept': [
1597
- 'application/json'
1598
- ],
1599
- 'content_type': [
1600
- 'application/json'
1601
- ]
1602
- },
1603
- api_client=api_client
1604
- )
1605
- self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
1606
- settings={
1607
- 'response_type': (PreferredLineItemV2Response,),
1608
- 'auth': [
1609
- 'oauth',
1610
- 'oauth'
1611
- ],
1612
- 'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
1613
- 'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id',
1614
- 'http_method': 'POST',
1190
+ 'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
1191
+ 'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id',
1192
+ 'http_method': 'POST',
1615
1193
  'servers': None,
1616
1194
  },
1617
1195
  params_map={
@@ -1740,6 +1318,7 @@ class CampaignApi(object):
1740
1318
  'account_id',
1741
1319
  ],
1742
1320
  'nullable': [
1321
+ 'json_api_request_of_seller_catalog_request',
1743
1322
  ],
1744
1323
  'enum': [
1745
1324
  ],
@@ -2090,7 +1669,7 @@ class CampaignApi(object):
2090
1669
  )
2091
1670
  self.post_api_v2_external_account_creatives_by_account_id_endpoint = _Endpoint(
2092
1671
  settings={
2093
- 'response_type': (CreativeV2Response,),
1672
+ 'response_type': (Creative2Response,),
2094
1673
  'auth': [
2095
1674
  'oauth',
2096
1675
  'oauth'
@@ -2103,7 +1682,7 @@ class CampaignApi(object):
2103
1682
  params_map={
2104
1683
  'all': [
2105
1684
  'account_id',
2106
- 'external_creative_create_model_v2',
1685
+ 'creative_create_model2',
2107
1686
  ],
2108
1687
  'required': [
2109
1688
  'account_id',
@@ -2123,15 +1702,15 @@ class CampaignApi(object):
2123
1702
  'openapi_types': {
2124
1703
  'account_id':
2125
1704
  (str,),
2126
- 'external_creative_create_model_v2':
2127
- (ExternalCreativeCreateModelV2,),
1705
+ 'creative_create_model2':
1706
+ (CreativeCreateModel2,),
2128
1707
  },
2129
1708
  'attribute_map': {
2130
1709
  'account_id': 'account-id',
2131
1710
  },
2132
1711
  'location_map': {
2133
1712
  'account_id': 'path',
2134
- 'external_creative_create_model_v2': 'body',
1713
+ 'creative_create_model2': 'body',
2135
1714
  },
2136
1715
  'collection_format_map': {
2137
1716
  }
@@ -2150,7 +1729,7 @@ class CampaignApi(object):
2150
1729
  )
2151
1730
  self.post_api_v2_external_account_creatives_search_by_account_id_endpoint = _Endpoint(
2152
1731
  settings={
2153
- 'response_type': (CreativeV2ListResponse,),
1732
+ 'response_type': (Creative2ListResponse,),
2154
1733
  'auth': [
2155
1734
  'oauth',
2156
1735
  'oauth'
@@ -2333,7 +1912,7 @@ class CampaignApi(object):
2333
1912
  )
2334
1913
  self.put_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
2335
1914
  settings={
2336
- 'response_type': (CreativeV2Response,),
1915
+ 'response_type': (Creative2Response,),
2337
1916
  'auth': [
2338
1917
  'oauth',
2339
1918
  'oauth'
@@ -2347,7 +1926,7 @@ class CampaignApi(object):
2347
1926
  'all': [
2348
1927
  'account_id',
2349
1928
  'creative_id',
2350
- 'external_creative_update_model_v2',
1929
+ 'creative_update_model2',
2351
1930
  ],
2352
1931
  'required': [
2353
1932
  'account_id',
@@ -2370,8 +1949,8 @@ class CampaignApi(object):
2370
1949
  (str,),
2371
1950
  'creative_id':
2372
1951
  (str,),
2373
- 'external_creative_update_model_v2':
2374
- (ExternalCreativeUpdateModelV2,),
1952
+ 'creative_update_model2':
1953
+ (CreativeUpdateModel2,),
2375
1954
  },
2376
1955
  'attribute_map': {
2377
1956
  'account_id': 'account-id',
@@ -2380,7 +1959,7 @@ class CampaignApi(object):
2380
1959
  'location_map': {
2381
1960
  'account_id': 'path',
2382
1961
  'creative_id': 'path',
2383
- 'external_creative_update_model_v2': 'body',
1962
+ 'creative_update_model2': 'body',
2384
1963
  },
2385
1964
  'collection_format_map': {
2386
1965
  }
@@ -2418,6 +1997,7 @@ class CampaignApi(object):
2418
1997
  'line_item_id',
2419
1998
  ],
2420
1999
  'nullable': [
2000
+ 'line_item_bid_multipliers_v2_request',
2421
2001
  ],
2422
2002
  'enum': [
2423
2003
  ],
@@ -2515,58 +2095,6 @@ class CampaignApi(object):
2515
2095
  },
2516
2096
  api_client=api_client
2517
2097
  )
2518
- self.submit_proposal_endpoint = _Endpoint(
2519
- settings={
2520
- 'response_type': (ProposalStatusModelResponse,),
2521
- 'auth': [
2522
- 'oauth',
2523
- 'oauth'
2524
- ],
2525
- 'endpoint_path': '/preview/retail-media/preferred-deal-line-items/{id}/proposal/submit',
2526
- 'operation_id': 'submit_proposal',
2527
- 'http_method': 'POST',
2528
- 'servers': None,
2529
- },
2530
- params_map={
2531
- 'all': [
2532
- 'id',
2533
- ],
2534
- 'required': [
2535
- 'id',
2536
- ],
2537
- 'nullable': [
2538
- ],
2539
- 'enum': [
2540
- ],
2541
- 'validation': [
2542
- ]
2543
- },
2544
- root_map={
2545
- 'validations': {
2546
- },
2547
- 'allowed_values': {
2548
- },
2549
- 'openapi_types': {
2550
- 'id':
2551
- (str,),
2552
- },
2553
- 'attribute_map': {
2554
- 'id': 'id',
2555
- },
2556
- 'location_map': {
2557
- 'id': 'path',
2558
- },
2559
- 'collection_format_map': {
2560
- }
2561
- },
2562
- headers_map={
2563
- 'accept': [
2564
- 'application/json'
2565
- ],
2566
- 'content_type': [],
2567
- },
2568
- api_client=api_client
2569
- )
2570
2098
  self.unpause_promoted_products_endpoint = _Endpoint(
2571
2099
  settings={
2572
2100
  'response_type': None,
@@ -2625,128 +2153,6 @@ class CampaignApi(object):
2625
2153
  },
2626
2154
  api_client=api_client
2627
2155
  )
2628
- self.update_campaign_budget_overrides_endpoint = _Endpoint(
2629
- settings={
2630
- 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,),
2631
- 'auth': [
2632
- 'oauth',
2633
- 'oauth'
2634
- ],
2635
- 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides',
2636
- 'operation_id': 'update_campaign_budget_overrides',
2637
- 'http_method': 'PUT',
2638
- 'servers': None,
2639
- },
2640
- params_map={
2641
- 'all': [
2642
- 'campaign_id',
2643
- 'value_resource_input_of_campaign_budget_overrides',
2644
- ],
2645
- 'required': [
2646
- 'campaign_id',
2647
- ],
2648
- 'nullable': [
2649
- ],
2650
- 'enum': [
2651
- ],
2652
- 'validation': [
2653
- ]
2654
- },
2655
- root_map={
2656
- 'validations': {
2657
- },
2658
- 'allowed_values': {
2659
- },
2660
- 'openapi_types': {
2661
- 'campaign_id':
2662
- (int,),
2663
- 'value_resource_input_of_campaign_budget_overrides':
2664
- (ValueResourceInputOfCampaignBudgetOverrides,),
2665
- },
2666
- 'attribute_map': {
2667
- 'campaign_id': 'campaignId',
2668
- },
2669
- 'location_map': {
2670
- 'campaign_id': 'path',
2671
- 'value_resource_input_of_campaign_budget_overrides': 'body',
2672
- },
2673
- 'collection_format_map': {
2674
- }
2675
- },
2676
- headers_map={
2677
- 'accept': [
2678
- 'application/json'
2679
- ],
2680
- 'content_type': [
2681
- 'application/json-patch+json',
2682
- 'application/json',
2683
- 'text/json',
2684
- 'application/*+json'
2685
- ]
2686
- },
2687
- api_client=api_client
2688
- )
2689
- self.update_line_item_budget_overrides_endpoint = _Endpoint(
2690
- settings={
2691
- 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,),
2692
- 'auth': [
2693
- 'oauth',
2694
- 'oauth'
2695
- ],
2696
- 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides',
2697
- 'operation_id': 'update_line_item_budget_overrides',
2698
- 'http_method': 'PUT',
2699
- 'servers': None,
2700
- },
2701
- params_map={
2702
- 'all': [
2703
- 'line_item_id',
2704
- 'value_resource_input_of_line_item_budget_overrides',
2705
- ],
2706
- 'required': [
2707
- 'line_item_id',
2708
- ],
2709
- 'nullable': [
2710
- ],
2711
- 'enum': [
2712
- ],
2713
- 'validation': [
2714
- ]
2715
- },
2716
- root_map={
2717
- 'validations': {
2718
- },
2719
- 'allowed_values': {
2720
- },
2721
- 'openapi_types': {
2722
- 'line_item_id':
2723
- (str,),
2724
- 'value_resource_input_of_line_item_budget_overrides':
2725
- (ValueResourceInputOfLineItemBudgetOverrides,),
2726
- },
2727
- 'attribute_map': {
2728
- 'line_item_id': 'lineItemId',
2729
- },
2730
- 'location_map': {
2731
- 'line_item_id': 'path',
2732
- 'value_resource_input_of_line_item_budget_overrides': 'body',
2733
- },
2734
- 'collection_format_map': {
2735
- }
2736
- },
2737
- headers_map={
2738
- 'accept': [
2739
- 'application/json'
2740
- ],
2741
- 'content_type': [
2742
- 'application/json-patch+json',
2743
- 'application/json',
2744
- 'text/json',
2745
- 'application/*+json'
2746
- ]
2747
- },
2748
- api_client=api_client
2749
- )
2750
2156
 
2751
2157
  def add_remove_keywords(
2752
2158
  self,
@@ -2914,527 +2320,21 @@ class CampaignApi(object):
2914
2320
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2915
2321
  kwargs['line_item_id'] = \
2916
2322
  line_item_id
2917
- return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
2918
-
2919
- def delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2920
- self,
2921
- line_item_id,
2922
- product_button_id,
2923
- **kwargs
2924
- ):
2925
- """delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2926
-
2927
- Delete a product button # noqa: E501
2928
- This method makes a synchronous HTTP request by default. To make an
2929
- asynchronous HTTP request, please pass async_req=True
2930
-
2931
- >>> thread = api.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(line_item_id, product_button_id, async_req=True)
2932
- >>> result = thread.get()
2933
-
2934
- Args:
2935
- line_item_id (str): Long external id of the associated line item
2936
- product_button_id (str): Sequential id of the product button
2937
-
2938
- Keyword Args:
2939
- _return_http_data_only (bool): response data without head status
2940
- code and headers. Default is True.
2941
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2942
- will be returned without reading/decoding response data.
2943
- Default is True.
2944
- _request_timeout (int/float/tuple): timeout setting for this request. If
2945
- one number provided, it will be total request timeout. It can also
2946
- be a pair (tuple) of (connection, read) timeouts.
2947
- Default is None.
2948
- _check_input_type (bool): specifies if type checking
2949
- should be done one the data sent to the server.
2950
- Default is True.
2951
- _check_return_type (bool): specifies if type checking
2952
- should be done one the data received from the server.
2953
- Default is True.
2954
- _spec_property_naming (bool): True if the variable names in the input data
2955
- are serialized names, as specified in the OpenAPI document.
2956
- False if the variable names in the input data
2957
- are pythonic names, e.g. snake case (default)
2958
- _content_type (str/None): force body content-type.
2959
- Default is None and content-type will be predicted by allowed
2960
- content-types and body.
2961
- _host_index (int/None): specifies the index of the server
2962
- that we want to use.
2963
- Default is read from the configuration.
2964
- _request_auths (list): set to override the auth_settings for an a single
2965
- request; this effectively ignores the authentication
2966
- in the spec for a single request.
2967
- Default is None
2968
- async_req (bool): execute request asynchronously
2969
-
2970
- Returns:
2971
- None
2972
- If the method is called asynchronously, returns the request
2973
- thread.
2974
- """
2975
- kwargs['async_req'] = kwargs.get(
2976
- 'async_req', False
2977
- )
2978
- kwargs['_return_http_data_only'] = kwargs.get(
2979
- '_return_http_data_only', True
2980
- )
2981
- kwargs['_preload_content'] = kwargs.get(
2982
- '_preload_content', True
2983
- )
2984
- kwargs['_request_timeout'] = kwargs.get(
2985
- '_request_timeout', None
2986
- )
2987
- kwargs['_check_input_type'] = kwargs.get(
2988
- '_check_input_type', True
2989
- )
2990
- kwargs['_check_return_type'] = kwargs.get(
2991
- '_check_return_type', True
2992
- )
2993
- kwargs['_spec_property_naming'] = kwargs.get(
2994
- '_spec_property_naming', False
2995
- )
2996
- kwargs['_content_type'] = kwargs.get(
2997
- '_content_type')
2998
- kwargs['_host_index'] = kwargs.get('_host_index')
2999
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3000
- kwargs['line_item_id'] = \
3001
- line_item_id
3002
- kwargs['product_button_id'] = \
3003
- product_button_id
3004
- return self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3005
-
3006
- def delete_promoted_products(
3007
- self,
3008
- line_item_id,
3009
- **kwargs
3010
- ):
3011
- """delete_promoted_products # noqa: E501
3012
-
3013
- Remove a collection of promoted products from a line item # noqa: E501
3014
- This method makes a synchronous HTTP request by default. To make an
3015
- asynchronous HTTP request, please pass async_req=True
3016
-
3017
- >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
3018
- >>> result = thread.get()
3019
-
3020
- Args:
3021
- line_item_id (str): ID of the line item
3022
-
3023
- Keyword Args:
3024
- promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
3025
- _return_http_data_only (bool): response data without head status
3026
- code and headers. Default is True.
3027
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3028
- will be returned without reading/decoding response data.
3029
- Default is True.
3030
- _request_timeout (int/float/tuple): timeout setting for this request. If
3031
- one number provided, it will be total request timeout. It can also
3032
- be a pair (tuple) of (connection, read) timeouts.
3033
- Default is None.
3034
- _check_input_type (bool): specifies if type checking
3035
- should be done one the data sent to the server.
3036
- Default is True.
3037
- _check_return_type (bool): specifies if type checking
3038
- should be done one the data received from the server.
3039
- Default is True.
3040
- _spec_property_naming (bool): True if the variable names in the input data
3041
- are serialized names, as specified in the OpenAPI document.
3042
- False if the variable names in the input data
3043
- are pythonic names, e.g. snake case (default)
3044
- _content_type (str/None): force body content-type.
3045
- Default is None and content-type will be predicted by allowed
3046
- content-types and body.
3047
- _host_index (int/None): specifies the index of the server
3048
- that we want to use.
3049
- Default is read from the configuration.
3050
- _request_auths (list): set to override the auth_settings for an a single
3051
- request; this effectively ignores the authentication
3052
- in the spec for a single request.
3053
- Default is None
3054
- async_req (bool): execute request asynchronously
3055
-
3056
- Returns:
3057
- None
3058
- If the method is called asynchronously, returns the request
3059
- thread.
3060
- """
3061
- kwargs['async_req'] = kwargs.get(
3062
- 'async_req', False
3063
- )
3064
- kwargs['_return_http_data_only'] = kwargs.get(
3065
- '_return_http_data_only', True
3066
- )
3067
- kwargs['_preload_content'] = kwargs.get(
3068
- '_preload_content', True
3069
- )
3070
- kwargs['_request_timeout'] = kwargs.get(
3071
- '_request_timeout', None
3072
- )
3073
- kwargs['_check_input_type'] = kwargs.get(
3074
- '_check_input_type', True
3075
- )
3076
- kwargs['_check_return_type'] = kwargs.get(
3077
- '_check_return_type', True
3078
- )
3079
- kwargs['_spec_property_naming'] = kwargs.get(
3080
- '_spec_property_naming', False
3081
- )
3082
- kwargs['_content_type'] = kwargs.get(
3083
- '_content_type')
3084
- kwargs['_host_index'] = kwargs.get('_host_index')
3085
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3086
- kwargs['line_item_id'] = \
3087
- line_item_id
3088
- return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
3089
-
3090
- def fetch_keywords(
3091
- self,
3092
- id,
3093
- **kwargs
3094
- ):
3095
- """fetch_keywords # noqa: E501
3096
-
3097
- Fetch keywords associated with the specified line item # noqa: E501
3098
- This method makes a synchronous HTTP request by default. To make an
3099
- asynchronous HTTP request, please pass async_req=True
3100
-
3101
- >>> thread = api.fetch_keywords(id, async_req=True)
3102
- >>> result = thread.get()
3103
-
3104
- Args:
3105
- id (str): ID of the line item
3106
-
3107
- Keyword Args:
3108
- _return_http_data_only (bool): response data without head status
3109
- code and headers. Default is True.
3110
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3111
- will be returned without reading/decoding response data.
3112
- Default is True.
3113
- _request_timeout (int/float/tuple): timeout setting for this request. If
3114
- one number provided, it will be total request timeout. It can also
3115
- be a pair (tuple) of (connection, read) timeouts.
3116
- Default is None.
3117
- _check_input_type (bool): specifies if type checking
3118
- should be done one the data sent to the server.
3119
- Default is True.
3120
- _check_return_type (bool): specifies if type checking
3121
- should be done one the data received from the server.
3122
- Default is True.
3123
- _spec_property_naming (bool): True if the variable names in the input data
3124
- are serialized names, as specified in the OpenAPI document.
3125
- False if the variable names in the input data
3126
- are pythonic names, e.g. snake case (default)
3127
- _content_type (str/None): force body content-type.
3128
- Default is None and content-type will be predicted by allowed
3129
- content-types and body.
3130
- _host_index (int/None): specifies the index of the server
3131
- that we want to use.
3132
- Default is read from the configuration.
3133
- _request_auths (list): set to override the auth_settings for an a single
3134
- request; this effectively ignores the authentication
3135
- in the spec for a single request.
3136
- Default is None
3137
- async_req (bool): execute request asynchronously
3138
-
3139
- Returns:
3140
- KeywordsModelResponse
3141
- If the method is called asynchronously, returns the request
3142
- thread.
3143
- """
3144
- kwargs['async_req'] = kwargs.get(
3145
- 'async_req', False
3146
- )
3147
- kwargs['_return_http_data_only'] = kwargs.get(
3148
- '_return_http_data_only', True
3149
- )
3150
- kwargs['_preload_content'] = kwargs.get(
3151
- '_preload_content', True
3152
- )
3153
- kwargs['_request_timeout'] = kwargs.get(
3154
- '_request_timeout', None
3155
- )
3156
- kwargs['_check_input_type'] = kwargs.get(
3157
- '_check_input_type', True
3158
- )
3159
- kwargs['_check_return_type'] = kwargs.get(
3160
- '_check_return_type', True
3161
- )
3162
- kwargs['_spec_property_naming'] = kwargs.get(
3163
- '_spec_property_naming', False
3164
- )
3165
- kwargs['_content_type'] = kwargs.get(
3166
- '_content_type')
3167
- kwargs['_host_index'] = kwargs.get('_host_index')
3168
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3169
- kwargs['id'] = \
3170
- id
3171
- return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
3172
-
3173
- def fetch_promoted_products(
3174
- self,
3175
- line_item_id,
3176
- **kwargs
3177
- ):
3178
- """fetch_promoted_products # noqa: E501
3179
-
3180
- Retrieve a page of promoted products for a line item # noqa: E501
3181
- This method makes a synchronous HTTP request by default. To make an
3182
- asynchronous HTTP request, please pass async_req=True
3183
-
3184
- >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
3185
- >>> result = thread.get()
3186
-
3187
- Args:
3188
- line_item_id (str): ID of the line item.
3189
-
3190
- Keyword Args:
3191
- offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
3192
- limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
3193
- 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]
3194
- _return_http_data_only (bool): response data without head status
3195
- code and headers. Default is True.
3196
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3197
- will be returned without reading/decoding response data.
3198
- Default is True.
3199
- _request_timeout (int/float/tuple): timeout setting for this request. If
3200
- one number provided, it will be total request timeout. It can also
3201
- be a pair (tuple) of (connection, read) timeouts.
3202
- Default is None.
3203
- _check_input_type (bool): specifies if type checking
3204
- should be done one the data sent to the server.
3205
- Default is True.
3206
- _check_return_type (bool): specifies if type checking
3207
- should be done one the data received from the server.
3208
- Default is True.
3209
- _spec_property_naming (bool): True if the variable names in the input data
3210
- are serialized names, as specified in the OpenAPI document.
3211
- False if the variable names in the input data
3212
- are pythonic names, e.g. snake case (default)
3213
- _content_type (str/None): force body content-type.
3214
- Default is None and content-type will be predicted by allowed
3215
- content-types and body.
3216
- _host_index (int/None): specifies the index of the server
3217
- that we want to use.
3218
- Default is read from the configuration.
3219
- _request_auths (list): set to override the auth_settings for an a single
3220
- request; this effectively ignores the authentication
3221
- in the spec for a single request.
3222
- Default is None
3223
- async_req (bool): execute request asynchronously
3224
-
3225
- Returns:
3226
- PromotedProductResourceCollectionOutcome
3227
- If the method is called asynchronously, returns the request
3228
- thread.
3229
- """
3230
- kwargs['async_req'] = kwargs.get(
3231
- 'async_req', False
3232
- )
3233
- kwargs['_return_http_data_only'] = kwargs.get(
3234
- '_return_http_data_only', True
3235
- )
3236
- kwargs['_preload_content'] = kwargs.get(
3237
- '_preload_content', True
3238
- )
3239
- kwargs['_request_timeout'] = kwargs.get(
3240
- '_request_timeout', None
3241
- )
3242
- kwargs['_check_input_type'] = kwargs.get(
3243
- '_check_input_type', True
3244
- )
3245
- kwargs['_check_return_type'] = kwargs.get(
3246
- '_check_return_type', True
3247
- )
3248
- kwargs['_spec_property_naming'] = kwargs.get(
3249
- '_spec_property_naming', False
3250
- )
3251
- kwargs['_content_type'] = kwargs.get(
3252
- '_content_type')
3253
- kwargs['_host_index'] = kwargs.get('_host_index')
3254
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3255
- kwargs['line_item_id'] = \
3256
- line_item_id
3257
- return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
3258
-
3259
- def fetch_proposal(
3260
- self,
3261
- id,
3262
- **kwargs
3263
- ):
3264
- """fetch_proposal # noqa: E501
3265
-
3266
- Includes the state of the proposal, the status of the booking and approval, as well as any comments explaining why it might have been rejected. # noqa: E501
3267
- This method makes a synchronous HTTP request by default. To make an
3268
- asynchronous HTTP request, please pass async_req=True
3269
-
3270
- >>> thread = api.fetch_proposal(id, async_req=True)
3271
- >>> result = thread.get()
3272
-
3273
- Args:
3274
- id (str): ID of the line item
3275
-
3276
- Keyword Args:
3277
- _return_http_data_only (bool): response data without head status
3278
- code and headers. Default is True.
3279
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3280
- will be returned without reading/decoding response data.
3281
- Default is True.
3282
- _request_timeout (int/float/tuple): timeout setting for this request. If
3283
- one number provided, it will be total request timeout. It can also
3284
- be a pair (tuple) of (connection, read) timeouts.
3285
- Default is None.
3286
- _check_input_type (bool): specifies if type checking
3287
- should be done one the data sent to the server.
3288
- Default is True.
3289
- _check_return_type (bool): specifies if type checking
3290
- should be done one the data received from the server.
3291
- Default is True.
3292
- _spec_property_naming (bool): True if the variable names in the input data
3293
- are serialized names, as specified in the OpenAPI document.
3294
- False if the variable names in the input data
3295
- are pythonic names, e.g. snake case (default)
3296
- _content_type (str/None): force body content-type.
3297
- Default is None and content-type will be predicted by allowed
3298
- content-types and body.
3299
- _host_index (int/None): specifies the index of the server
3300
- that we want to use.
3301
- Default is read from the configuration.
3302
- _request_auths (list): set to override the auth_settings for an a single
3303
- request; this effectively ignores the authentication
3304
- in the spec for a single request.
3305
- Default is None
3306
- async_req (bool): execute request asynchronously
3307
-
3308
- Returns:
3309
- ProposalStatusModelResponse
3310
- If the method is called asynchronously, returns the request
3311
- thread.
3312
- """
3313
- kwargs['async_req'] = kwargs.get(
3314
- 'async_req', False
3315
- )
3316
- kwargs['_return_http_data_only'] = kwargs.get(
3317
- '_return_http_data_only', True
3318
- )
3319
- kwargs['_preload_content'] = kwargs.get(
3320
- '_preload_content', True
3321
- )
3322
- kwargs['_request_timeout'] = kwargs.get(
3323
- '_request_timeout', None
3324
- )
3325
- kwargs['_check_input_type'] = kwargs.get(
3326
- '_check_input_type', True
3327
- )
3328
- kwargs['_check_return_type'] = kwargs.get(
3329
- '_check_return_type', True
3330
- )
3331
- kwargs['_spec_property_naming'] = kwargs.get(
3332
- '_spec_property_naming', False
3333
- )
3334
- kwargs['_content_type'] = kwargs.get(
3335
- '_content_type')
3336
- kwargs['_host_index'] = kwargs.get('_host_index')
3337
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3338
- kwargs['id'] = \
3339
- id
3340
- return self.fetch_proposal_endpoint.call_with_http_info(**kwargs)
3341
-
3342
- def get_api202210_external_line_item_product_buttons_by_line_item_id(
3343
- self,
3344
- line_item_id,
3345
- **kwargs
3346
- ):
3347
- """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
3348
-
3349
- Get all the product buttons associated with a line item # noqa: E501
3350
- This method makes a synchronous HTTP request by default. To make an
3351
- asynchronous HTTP request, please pass async_req=True
3352
-
3353
- >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
3354
- >>> result = thread.get()
3355
-
3356
- Args:
3357
- line_item_id (str): Long external id of the associated line item
3358
-
3359
- Keyword Args:
3360
- _return_http_data_only (bool): response data without head status
3361
- code and headers. Default is True.
3362
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3363
- will be returned without reading/decoding response data.
3364
- Default is True.
3365
- _request_timeout (int/float/tuple): timeout setting for this request. If
3366
- one number provided, it will be total request timeout. It can also
3367
- be a pair (tuple) of (connection, read) timeouts.
3368
- Default is None.
3369
- _check_input_type (bool): specifies if type checking
3370
- should be done one the data sent to the server.
3371
- Default is True.
3372
- _check_return_type (bool): specifies if type checking
3373
- should be done one the data received from the server.
3374
- Default is True.
3375
- _spec_property_naming (bool): True if the variable names in the input data
3376
- are serialized names, as specified in the OpenAPI document.
3377
- False if the variable names in the input data
3378
- are pythonic names, e.g. snake case (default)
3379
- _content_type (str/None): force body content-type.
3380
- Default is None and content-type will be predicted by allowed
3381
- content-types and body.
3382
- _host_index (int/None): specifies the index of the server
3383
- that we want to use.
3384
- Default is read from the configuration.
3385
- _request_auths (list): set to override the auth_settings for an a single
3386
- request; this effectively ignores the authentication
3387
- in the spec for a single request.
3388
- Default is None
3389
- async_req (bool): execute request asynchronously
3390
-
3391
- Returns:
3392
- ProductButtonListResponse
3393
- If the method is called asynchronously, returns the request
3394
- thread.
3395
- """
3396
- kwargs['async_req'] = kwargs.get(
3397
- 'async_req', False
3398
- )
3399
- kwargs['_return_http_data_only'] = kwargs.get(
3400
- '_return_http_data_only', True
3401
- )
3402
- kwargs['_preload_content'] = kwargs.get(
3403
- '_preload_content', True
3404
- )
3405
- kwargs['_request_timeout'] = kwargs.get(
3406
- '_request_timeout', None
3407
- )
3408
- kwargs['_check_input_type'] = kwargs.get(
3409
- '_check_input_type', True
3410
- )
3411
- kwargs['_check_return_type'] = kwargs.get(
3412
- '_check_return_type', True
3413
- )
3414
- kwargs['_spec_property_naming'] = kwargs.get(
3415
- '_spec_property_naming', False
3416
- )
3417
- kwargs['_content_type'] = kwargs.get(
3418
- '_content_type')
3419
- kwargs['_host_index'] = kwargs.get('_host_index')
3420
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3421
- kwargs['line_item_id'] = \
3422
- line_item_id
3423
- return self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
2323
+ return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
3424
2324
 
3425
- def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2325
+ def delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
3426
2326
  self,
3427
2327
  line_item_id,
3428
2328
  product_button_id,
3429
2329
  **kwargs
3430
2330
  ):
3431
- """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2331
+ """delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
3432
2332
 
3433
- Get a single product button # noqa: E501
2333
+ Delete a product button # noqa: E501
3434
2334
  This method makes a synchronous HTTP request by default. To make an
3435
2335
  asynchronous HTTP request, please pass async_req=True
3436
2336
 
3437
- >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(line_item_id, product_button_id, async_req=True)
2337
+ >>> thread = api.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(line_item_id, product_button_id, async_req=True)
3438
2338
  >>> result = thread.get()
3439
2339
 
3440
2340
  Args:
@@ -3474,7 +2374,7 @@ class CampaignApi(object):
3474
2374
  async_req (bool): execute request asynchronously
3475
2375
 
3476
2376
  Returns:
3477
- ProductButtonListResponse
2377
+ None
3478
2378
  If the method is called asynchronously, returns the request
3479
2379
  thread.
3480
2380
  """
@@ -3507,29 +2407,27 @@ class CampaignApi(object):
3507
2407
  line_item_id
3508
2408
  kwargs['product_button_id'] = \
3509
2409
  product_button_id
3510
- return self.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
2410
+ return self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3511
2411
 
3512
- def get_api_v1_external_account_brands_by_account_id(
2412
+ def delete_promoted_products(
3513
2413
  self,
3514
- account_id,
2414
+ line_item_id,
3515
2415
  **kwargs
3516
2416
  ):
3517
- """get_api_v1_external_account_brands_by_account_id # noqa: E501
2417
+ """delete_promoted_products # noqa: E501
3518
2418
 
3519
- Gets page of retailer objects that are associated with the given account # noqa: E501
2419
+ Remove a collection of promoted products from a line item # noqa: E501
3520
2420
  This method makes a synchronous HTTP request by default. To make an
3521
2421
  asynchronous HTTP request, please pass async_req=True
3522
2422
 
3523
- >>> thread = api.get_api_v1_external_account_brands_by_account_id(account_id, async_req=True)
2423
+ >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
3524
2424
  >>> result = thread.get()
3525
2425
 
3526
2426
  Args:
3527
- account_id (str): The given account id
2427
+ line_item_id (str): ID of the line item
3528
2428
 
3529
2429
  Keyword Args:
3530
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3531
- 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
3532
- 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
2430
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
3533
2431
  _return_http_data_only (bool): response data without head status
3534
2432
  code and headers. Default is True.
3535
2433
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3562,7 +2460,7 @@ class CampaignApi(object):
3562
2460
  async_req (bool): execute request asynchronously
3563
2461
 
3564
2462
  Returns:
3565
- JsonApiPageResponseOfBrand
2463
+ None
3566
2464
  If the method is called asynchronously, returns the request
3567
2465
  thread.
3568
2466
  """
@@ -3591,31 +2489,28 @@ class CampaignApi(object):
3591
2489
  '_content_type')
3592
2490
  kwargs['_host_index'] = kwargs.get('_host_index')
3593
2491
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3594
- kwargs['account_id'] = \
3595
- account_id
3596
- return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs)
2492
+ kwargs['line_item_id'] = \
2493
+ line_item_id
2494
+ return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
3597
2495
 
3598
- def get_api_v1_external_account_retailers_by_account_id(
2496
+ def fetch_keywords(
3599
2497
  self,
3600
- account_id,
2498
+ id,
3601
2499
  **kwargs
3602
2500
  ):
3603
- """get_api_v1_external_account_retailers_by_account_id # noqa: E501
2501
+ """fetch_keywords # noqa: E501
3604
2502
 
3605
- Gets page of retailer objects that are associated with the given account # noqa: E501
2503
+ Fetch keywords associated with the specified line item # noqa: E501
3606
2504
  This method makes a synchronous HTTP request by default. To make an
3607
2505
  asynchronous HTTP request, please pass async_req=True
3608
2506
 
3609
- >>> thread = api.get_api_v1_external_account_retailers_by_account_id(account_id, async_req=True)
2507
+ >>> thread = api.fetch_keywords(id, async_req=True)
3610
2508
  >>> result = thread.get()
3611
2509
 
3612
2510
  Args:
3613
- account_id (str): The given account id
2511
+ id (str): ID of the line item
3614
2512
 
3615
2513
  Keyword Args:
3616
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3617
- 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
3618
- 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
3619
2514
  _return_http_data_only (bool): response data without head status
3620
2515
  code and headers. Default is True.
3621
2516
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3648,7 +2543,7 @@ class CampaignApi(object):
3648
2543
  async_req (bool): execute request asynchronously
3649
2544
 
3650
2545
  Returns:
3651
- JsonApiPageResponseOfRetailer
2546
+ KeywordsModelResponse
3652
2547
  If the method is called asynchronously, returns the request
3653
2548
  thread.
3654
2549
  """
@@ -3677,30 +2572,31 @@ class CampaignApi(object):
3677
2572
  '_content_type')
3678
2573
  kwargs['_host_index'] = kwargs.get('_host_index')
3679
2574
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3680
- kwargs['account_id'] = \
3681
- account_id
3682
- return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
2575
+ kwargs['id'] = \
2576
+ id
2577
+ return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
3683
2578
 
3684
- def get_api_v1_external_retailer_brands_by_retailer_id(
2579
+ def fetch_promoted_products(
3685
2580
  self,
3686
- retailer_id,
2581
+ line_item_id,
3687
2582
  **kwargs
3688
2583
  ):
3689
- """get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
2584
+ """fetch_promoted_products # noqa: E501
3690
2585
 
3691
- Gets the brands for the given retailer # noqa: E501
2586
+ Retrieve a page of promoted products for a line item # noqa: E501
3692
2587
  This method makes a synchronous HTTP request by default. To make an
3693
2588
  asynchronous HTTP request, please pass async_req=True
3694
2589
 
3695
- >>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
2590
+ >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
3696
2591
  >>> result = thread.get()
3697
2592
 
3698
2593
  Args:
3699
- retailer_id (int): The retailer id for which brands should be fetched.
2594
+ line_item_id (str): ID of the line item.
3700
2595
 
3701
2596
  Keyword Args:
3702
- 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]
3703
- brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
2597
+ offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
2598
+ limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
2599
+ 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]
3704
2600
  _return_http_data_only (bool): response data without head status
3705
2601
  code and headers. Default is True.
3706
2602
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3733,7 +2629,7 @@ class CampaignApi(object):
3733
2629
  async_req (bool): execute request asynchronously
3734
2630
 
3735
2631
  Returns:
3736
- BrandPreviewListResponse
2632
+ PromotedProductResourceCollectionOutcome
3737
2633
  If the method is called asynchronously, returns the request
3738
2634
  thread.
3739
2635
  """
@@ -3762,28 +2658,26 @@ class CampaignApi(object):
3762
2658
  '_content_type')
3763
2659
  kwargs['_host_index'] = kwargs.get('_host_index')
3764
2660
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3765
- kwargs['retailer_id'] = \
3766
- retailer_id
3767
- return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
2661
+ kwargs['line_item_id'] = \
2662
+ line_item_id
2663
+ return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
3768
2664
 
3769
- def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
2665
+ def get_api202210_external_line_item_product_buttons_by_line_item_id(
3770
2666
  self,
3771
- retailer_id,
3772
- seller,
2667
+ line_item_id,
3773
2668
  **kwargs
3774
2669
  ):
3775
- """get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
2670
+ """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
3776
2671
 
3777
- Endpoint to get market place seller id and name # noqa: E501
2672
+ Get all the product buttons associated with a line item # noqa: E501
3778
2673
  This method makes a synchronous HTTP request by default. To make an
3779
2674
  asynchronous HTTP request, please pass async_req=True
3780
2675
 
3781
- >>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
2676
+ >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
3782
2677
  >>> result = thread.get()
3783
2678
 
3784
2679
  Args:
3785
- retailer_id (int): The retailer id for which seller should be fetched.
3786
- seller (str): The seller id or seller name which should be validated.
2680
+ line_item_id (str): Long external id of the associated line item
3787
2681
 
3788
2682
  Keyword Args:
3789
2683
  _return_http_data_only (bool): response data without head status
@@ -3818,7 +2712,7 @@ class CampaignApi(object):
3818
2712
  async_req (bool): execute request asynchronously
3819
2713
 
3820
2714
  Returns:
3821
- SellerPreviewResponse
2715
+ ProductButtonListResponse
3822
2716
  If the method is called asynchronously, returns the request
3823
2717
  thread.
3824
2718
  """
@@ -3847,31 +2741,30 @@ class CampaignApi(object):
3847
2741
  '_content_type')
3848
2742
  kwargs['_host_index'] = kwargs.get('_host_index')
3849
2743
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3850
- kwargs['retailer_id'] = \
3851
- retailer_id
3852
- kwargs['seller'] = \
3853
- seller
3854
- return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
2744
+ kwargs['line_item_id'] = \
2745
+ line_item_id
2746
+ return self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3855
2747
 
3856
- def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
2748
+ def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
3857
2749
  self,
3858
- retailer_id,
2750
+ line_item_id,
2751
+ product_button_id,
3859
2752
  **kwargs
3860
2753
  ):
3861
- """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
2754
+ """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
3862
2755
 
3863
- Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
2756
+ Get a single product button # noqa: E501
3864
2757
  This method makes a synchronous HTTP request by default. To make an
3865
2758
  asynchronous HTTP request, please pass async_req=True
3866
2759
 
3867
- >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
2760
+ >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(line_item_id, product_button_id, async_req=True)
3868
2761
  >>> result = thread.get()
3869
2762
 
3870
2763
  Args:
3871
- retailer_id (str): The retailer id
2764
+ line_item_id (str): Long external id of the associated line item
2765
+ product_button_id (str): Sequential id of the product button
3872
2766
 
3873
2767
  Keyword Args:
3874
- fields ([str]): The fields in the response that is to be included. [optional]
3875
2768
  _return_http_data_only (bool): response data without head status
3876
2769
  code and headers. Default is True.
3877
2770
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3904,7 +2797,7 @@ class CampaignApi(object):
3904
2797
  async_req (bool): execute request asynchronously
3905
2798
 
3906
2799
  Returns:
3907
- CpcRateCardPreviewResponse
2800
+ ProductButtonListResponse
3908
2801
  If the method is called asynchronously, returns the request
3909
2802
  thread.
3910
2803
  """
@@ -3933,28 +2826,32 @@ class CampaignApi(object):
3933
2826
  '_content_type')
3934
2827
  kwargs['_host_index'] = kwargs.get('_host_index')
3935
2828
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3936
- kwargs['retailer_id'] = \
3937
- retailer_id
3938
- return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
2829
+ kwargs['line_item_id'] = \
2830
+ line_item_id
2831
+ kwargs['product_button_id'] = \
2832
+ product_button_id
2833
+ return self.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3939
2834
 
3940
- def get_api_v1_external_retailer_placements_by_retailer_id(
2835
+ def get_api_v1_external_retailer_brands_by_retailer_id(
3941
2836
  self,
3942
2837
  retailer_id,
3943
2838
  **kwargs
3944
2839
  ):
3945
- """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
2840
+ """get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
3946
2841
 
3947
- Gets all placement information for the given retailer # noqa: E501
2842
+ Gets the brands for the given retailer # noqa: E501
3948
2843
  This method makes a synchronous HTTP request by default. To make an
3949
2844
  asynchronous HTTP request, please pass async_req=True
3950
2845
 
3951
- >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
2846
+ >>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
3952
2847
  >>> result = thread.get()
3953
2848
 
3954
2849
  Args:
3955
- retailer_id (str): The retailer id for which placements should be fetched.
2850
+ retailer_id (int): The retailer id for which brands should be fetched.
3956
2851
 
3957
2852
  Keyword Args:
2853
+ 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]
2854
+ brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
3958
2855
  _return_http_data_only (bool): response data without head status
3959
2856
  code and headers. Default is True.
3960
2857
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3987,7 +2884,7 @@ class CampaignApi(object):
3987
2884
  async_req (bool): execute request asynchronously
3988
2885
 
3989
2886
  Returns:
3990
- PlacementPreviewListResponse
2887
+ BrandPreviewListResponse
3991
2888
  If the method is called asynchronously, returns the request
3992
2889
  thread.
3993
2890
  """
@@ -4018,26 +2915,26 @@ class CampaignApi(object):
4018
2915
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4019
2916
  kwargs['retailer_id'] = \
4020
2917
  retailer_id
4021
- return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
2918
+ return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4022
2919
 
4023
- def get_api_v2_external_account_by_account_id_creativescreative_id(
2920
+ def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
4024
2921
  self,
4025
- account_id,
4026
- creative_id,
2922
+ retailer_id,
2923
+ seller,
4027
2924
  **kwargs
4028
2925
  ):
4029
- """get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
2926
+ """get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
4030
2927
 
4031
- Get the specified creative # noqa: E501
2928
+ Endpoint to get market place seller id and name # noqa: E501
4032
2929
  This method makes a synchronous HTTP request by default. To make an
4033
2930
  asynchronous HTTP request, please pass async_req=True
4034
2931
 
4035
- >>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
2932
+ >>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
4036
2933
  >>> result = thread.get()
4037
2934
 
4038
2935
  Args:
4039
- account_id (str): External account id to retrieve creatives for
4040
- creative_id (str): Creative to get
2936
+ retailer_id (int): The retailer id for which seller should be fetched.
2937
+ seller (str): The seller id or seller name which should be validated.
4041
2938
 
4042
2939
  Keyword Args:
4043
2940
  _return_http_data_only (bool): response data without head status
@@ -4072,7 +2969,7 @@ class CampaignApi(object):
4072
2969
  async_req (bool): execute request asynchronously
4073
2970
 
4074
2971
  Returns:
4075
- CreativeV2Response
2972
+ SellerPreviewResponse
4076
2973
  If the method is called asynchronously, returns the request
4077
2974
  thread.
4078
2975
  """
@@ -4101,33 +2998,31 @@ class CampaignApi(object):
4101
2998
  '_content_type')
4102
2999
  kwargs['_host_index'] = kwargs.get('_host_index')
4103
3000
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4104
- kwargs['account_id'] = \
4105
- account_id
4106
- kwargs['creative_id'] = \
4107
- creative_id
4108
- return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
3001
+ kwargs['retailer_id'] = \
3002
+ retailer_id
3003
+ kwargs['seller'] = \
3004
+ seller
3005
+ return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
4109
3006
 
4110
- def get_api_v2_external_campaign_preferred_line_items_by_campaign_id(
3007
+ def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
4111
3008
  self,
4112
- campaign_id,
3009
+ retailer_id,
4113
3010
  **kwargs
4114
3011
  ):
4115
- """get_api_v2_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
3012
+ """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
4116
3013
 
4117
- Gets page of preferred line item objects for the given campaign id # noqa: E501
3014
+ Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
4118
3015
  This method makes a synchronous HTTP request by default. To make an
4119
3016
  asynchronous HTTP request, please pass async_req=True
4120
3017
 
4121
- >>> thread = api.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
3018
+ >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
4122
3019
  >>> result = thread.get()
4123
3020
 
4124
3021
  Args:
4125
- campaign_id (str): The given campaign id
3022
+ retailer_id (str): The retailer id
4126
3023
 
4127
3024
  Keyword Args:
4128
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
4129
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
4130
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
3025
+ fields ([str]): The fields in the response that is to be included. [optional]
4131
3026
  _return_http_data_only (bool): response data without head status
4132
3027
  code and headers. Default is True.
4133
3028
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4160,7 +3055,7 @@ class CampaignApi(object):
4160
3055
  async_req (bool): execute request asynchronously
4161
3056
 
4162
3057
  Returns:
4163
- PreferredLineItemV2PagedListResponse
3058
+ CpcRateCardPreviewResponse
4164
3059
  If the method is called asynchronously, returns the request
4165
3060
  thread.
4166
3061
  """
@@ -4189,26 +3084,26 @@ class CampaignApi(object):
4189
3084
  '_content_type')
4190
3085
  kwargs['_host_index'] = kwargs.get('_host_index')
4191
3086
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4192
- kwargs['campaign_id'] = \
4193
- campaign_id
4194
- return self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
3087
+ kwargs['retailer_id'] = \
3088
+ retailer_id
3089
+ return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4195
3090
 
4196
- def get_api_v2_external_line_item_bid_multipliers_by_line_item_id(
3091
+ def get_api_v1_external_retailer_placements_by_retailer_id(
4197
3092
  self,
4198
- line_item_id,
3093
+ retailer_id,
4199
3094
  **kwargs
4200
3095
  ):
4201
- """get_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
3096
+ """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
4202
3097
 
4203
- Fetch all bid multipliers for a given line item # noqa: E501
3098
+ Gets all placement information for the given retailer # noqa: E501
4204
3099
  This method makes a synchronous HTTP request by default. To make an
4205
3100
  asynchronous HTTP request, please pass async_req=True
4206
3101
 
4207
- >>> thread = api.get_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
3102
+ >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
4208
3103
  >>> result = thread.get()
4209
3104
 
4210
3105
  Args:
4211
- line_item_id (str): External LineItemId for bid multiplier retrieval
3106
+ retailer_id (str): The retailer id for which placements should be fetched.
4212
3107
 
4213
3108
  Keyword Args:
4214
3109
  _return_http_data_only (bool): response data without head status
@@ -4243,7 +3138,7 @@ class CampaignApi(object):
4243
3138
  async_req (bool): execute request asynchronously
4244
3139
 
4245
3140
  Returns:
4246
- JsonApiSingleResponseOfLineItemBidMultipliersV2
3141
+ PlacementPreviewListResponse
4247
3142
  If the method is called asynchronously, returns the request
4248
3143
  thread.
4249
3144
  """
@@ -4272,26 +3167,28 @@ class CampaignApi(object):
4272
3167
  '_content_type')
4273
3168
  kwargs['_host_index'] = kwargs.get('_host_index')
4274
3169
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4275
- kwargs['line_item_id'] = \
4276
- line_item_id
4277
- return self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3170
+ kwargs['retailer_id'] = \
3171
+ retailer_id
3172
+ return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4278
3173
 
4279
- def get_api_v2_external_preferred_line_item_by_line_item_id(
3174
+ def get_api_v2_external_account_by_account_id_creativescreative_id(
4280
3175
  self,
4281
- line_item_id,
3176
+ account_id,
3177
+ creative_id,
4282
3178
  **kwargs
4283
3179
  ):
4284
- """get_api_v2_external_preferred_line_item_by_line_item_id # noqa: E501
3180
+ """get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
4285
3181
 
4286
- Gets the preferred line item for the given line item id # noqa: E501
3182
+ Get the specified creative # noqa: E501
4287
3183
  This method makes a synchronous HTTP request by default. To make an
4288
3184
  asynchronous HTTP request, please pass async_req=True
4289
3185
 
4290
- >>> thread = api.get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
3186
+ >>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
4291
3187
  >>> result = thread.get()
4292
3188
 
4293
3189
  Args:
4294
- line_item_id (str): The given line item id
3190
+ account_id (str): External account id to retrieve creatives for
3191
+ creative_id (str): Creative to get
4295
3192
 
4296
3193
  Keyword Args:
4297
3194
  _return_http_data_only (bool): response data without head status
@@ -4326,7 +3223,7 @@ class CampaignApi(object):
4326
3223
  async_req (bool): execute request asynchronously
4327
3224
 
4328
3225
  Returns:
4329
- PreferredLineItemV2Response
3226
+ Creative2Response
4330
3227
  If the method is called asynchronously, returns the request
4331
3228
  thread.
4332
3229
  """
@@ -4355,28 +3252,33 @@ class CampaignApi(object):
4355
3252
  '_content_type')
4356
3253
  kwargs['_host_index'] = kwargs.get('_host_index')
4357
3254
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4358
- kwargs['line_item_id'] = \
4359
- line_item_id
4360
- return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3255
+ kwargs['account_id'] = \
3256
+ account_id
3257
+ kwargs['creative_id'] = \
3258
+ creative_id
3259
+ return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
4361
3260
 
4362
- def get_campaign_budget_overrides(
3261
+ def get_api_v2_external_campaign_preferred_line_items_by_campaign_id(
4363
3262
  self,
4364
3263
  campaign_id,
4365
3264
  **kwargs
4366
3265
  ):
4367
- """get_campaign_budget_overrides # noqa: E501
3266
+ """get_api_v2_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
4368
3267
 
4369
- Get current campaign budget overrides by given external campaign id. # noqa: E501
3268
+ Gets page of preferred line item objects for the given campaign id # noqa: E501
4370
3269
  This method makes a synchronous HTTP request by default. To make an
4371
3270
  asynchronous HTTP request, please pass async_req=True
4372
3271
 
4373
- >>> thread = api.get_campaign_budget_overrides(campaign_id, async_req=True)
3272
+ >>> thread = api.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
4374
3273
  >>> result = thread.get()
4375
3274
 
4376
3275
  Args:
4377
- campaign_id (int): External campaign id.
3276
+ campaign_id (str): The given campaign id
4378
3277
 
4379
3278
  Keyword Args:
3279
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3280
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
3281
+ page_size (int): The maximum number of items you would like to receive in this request. [optional]
4380
3282
  _return_http_data_only (bool): response data without head status
4381
3283
  code and headers. Default is True.
4382
3284
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4409,7 +3311,7 @@ class CampaignApi(object):
4409
3311
  async_req (bool): execute request asynchronously
4410
3312
 
4411
3313
  Returns:
4412
- ValueResourceOutcomeOfCampaignBudgetOverrides
3314
+ PreferredLineItemV2PagedListResponse
4413
3315
  If the method is called asynchronously, returns the request
4414
3316
  thread.
4415
3317
  """
@@ -4440,29 +3342,26 @@ class CampaignApi(object):
4440
3342
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4441
3343
  kwargs['campaign_id'] = \
4442
3344
  campaign_id
4443
- return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
3345
+ return self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4444
3346
 
4445
- def get_insertion_order_history_change_data_capture_v2(
3347
+ def get_api_v2_external_line_item_bid_multipliers_by_line_item_id(
4446
3348
  self,
4447
- insertion_order_id,
3349
+ line_item_id,
4448
3350
  **kwargs
4449
3351
  ):
4450
- """get_insertion_order_history_change_data_capture_v2 # noqa: E501
3352
+ """get_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
4451
3353
 
4452
- Gets the balance's historical data change capture. # noqa: E501
3354
+ Fetch all bid multipliers for a given line item # noqa: E501
4453
3355
  This method makes a synchronous HTTP request by default. To make an
4454
3356
  asynchronous HTTP request, please pass async_req=True
4455
3357
 
4456
- >>> thread = api.get_insertion_order_history_change_data_capture_v2(insertion_order_id, async_req=True)
3358
+ >>> thread = api.get_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
4457
3359
  >>> result = thread.get()
4458
3360
 
4459
3361
  Args:
4460
- insertion_order_id (str): External insertion order id.
3362
+ line_item_id (str): External LineItemId for bid multiplier retrieval
4461
3363
 
4462
3364
  Keyword Args:
4463
- offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0
4464
- limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25
4465
- limit_to_change_types (str): Comma separated change types string that will be queried.. [optional]
4466
3365
  _return_http_data_only (bool): response data without head status
4467
3366
  code and headers. Default is True.
4468
3367
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4495,7 +3394,7 @@ class CampaignApi(object):
4495
3394
  async_req (bool): execute request asynchronously
4496
3395
 
4497
3396
  Returns:
4498
- PageOfInsertionOrderHistoryChangeDataCaptureV2
3397
+ JsonApiSingleResponseOfLineItemBidMultipliersV2
4499
3398
  If the method is called asynchronously, returns the request
4500
3399
  thread.
4501
3400
  """
@@ -4524,26 +3423,26 @@ class CampaignApi(object):
4524
3423
  '_content_type')
4525
3424
  kwargs['_host_index'] = kwargs.get('_host_index')
4526
3425
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4527
- kwargs['insertion_order_id'] = \
4528
- insertion_order_id
4529
- return self.get_insertion_order_history_change_data_capture_v2_endpoint.call_with_http_info(**kwargs)
3426
+ kwargs['line_item_id'] = \
3427
+ line_item_id
3428
+ return self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4530
3429
 
4531
- def get_line_item_budget_overrides(
3430
+ def get_api_v2_external_preferred_line_item_by_line_item_id(
4532
3431
  self,
4533
3432
  line_item_id,
4534
3433
  **kwargs
4535
3434
  ):
4536
- """get_line_item_budget_overrides # noqa: E501
3435
+ """get_api_v2_external_preferred_line_item_by_line_item_id # noqa: E501
4537
3436
 
4538
- Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501
3437
+ Gets the preferred line item for the given line item id # noqa: E501
4539
3438
  This method makes a synchronous HTTP request by default. To make an
4540
3439
  asynchronous HTTP request, please pass async_req=True
4541
3440
 
4542
- >>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True)
3441
+ >>> thread = api.get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
4543
3442
  >>> result = thread.get()
4544
3443
 
4545
3444
  Args:
4546
- line_item_id (str): The line item id to get budget overrides for.
3445
+ line_item_id (str): The given line item id
4547
3446
 
4548
3447
  Keyword Args:
4549
3448
  _return_http_data_only (bool): response data without head status
@@ -4578,7 +3477,7 @@ class CampaignApi(object):
4578
3477
  async_req (bool): execute request asynchronously
4579
3478
 
4580
3479
  Returns:
4581
- ValueResourceOutcomeOfLineItemBudgetOverrides
3480
+ PreferredLineItemV2Response
4582
3481
  If the method is called asynchronously, returns the request
4583
3482
  thread.
4584
3483
  """
@@ -4609,26 +3508,27 @@ class CampaignApi(object):
4609
3508
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4610
3509
  kwargs['line_item_id'] = \
4611
3510
  line_item_id
4612
- return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
3511
+ return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4613
3512
 
4614
- def get_recommended_keywords(
3513
+ def get_cpc_min_bids_by_sku_ids_v1(
4615
3514
  self,
4616
- external_line_item_id,
3515
+ retailer_id,
4617
3516
  **kwargs
4618
3517
  ):
4619
- """get_recommended_keywords # noqa: E501
3518
+ """get_cpc_min_bids_by_sku_ids_v1 # noqa: E501
4620
3519
 
4621
- Retrieves a collection of recommended keywords for a line item # noqa: E501
3520
+ Get overall and individual minimum bid amount for given retailer id and sku id list. # noqa: E501
4622
3521
  This method makes a synchronous HTTP request by default. To make an
4623
3522
  asynchronous HTTP request, please pass async_req=True
4624
3523
 
4625
- >>> thread = api.get_recommended_keywords(external_line_item_id, async_req=True)
3524
+ >>> thread = api.get_cpc_min_bids_by_sku_ids_v1(retailer_id, async_req=True)
4626
3525
  >>> result = thread.get()
4627
3526
 
4628
3527
  Args:
4629
- external_line_item_id (str): The external line item identifier
3528
+ retailer_id (int): Retailer Id.
4630
3529
 
4631
3530
  Keyword Args:
3531
+ value_resource_input_cpc_min_bids_request (ValueResourceInputCpcMinBidsRequest): Cpc minimum bid amount request object.. [optional]
4632
3532
  _return_http_data_only (bool): response data without head status
4633
3533
  code and headers. Default is True.
4634
3534
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4661,7 +3561,7 @@ class CampaignApi(object):
4661
3561
  async_req (bool): execute request asynchronously
4662
3562
 
4663
3563
  Returns:
4664
- ValueResourceOutcomeOfRecommendedKeywordsResult
3564
+ ValueResourceOutcomeCpcMinBidsResponse
4665
3565
  If the method is called asynchronously, returns the request
4666
3566
  thread.
4667
3567
  """
@@ -4690,33 +3590,28 @@ class CampaignApi(object):
4690
3590
  '_content_type')
4691
3591
  kwargs['_host_index'] = kwargs.get('_host_index')
4692
3592
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4693
- kwargs['external_line_item_id'] = \
4694
- external_line_item_id
4695
- return self.get_recommended_keywords_endpoint.call_with_http_info(**kwargs)
3593
+ kwargs['retailer_id'] = \
3594
+ retailer_id
3595
+ return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
4696
3596
 
4697
- def get_sku_by_product_id(
3597
+ def get_recommended_keywords(
4698
3598
  self,
4699
- account_id,
4700
- retailer_id,
3599
+ external_line_item_id,
4701
3600
  **kwargs
4702
3601
  ):
4703
- """get_sku_by_product_id # noqa: E501
3602
+ """get_recommended_keywords # noqa: E501
4704
3603
 
4705
- Gets a list of SKUs based on a privided list of Product Ids # noqa: E501
3604
+ Retrieves a collection of recommended keywords for a line item # noqa: E501
4706
3605
  This method makes a synchronous HTTP request by default. To make an
4707
3606
  asynchronous HTTP request, please pass async_req=True
4708
3607
 
4709
- >>> thread = api.get_sku_by_product_id(account_id, retailer_id, async_req=True)
3608
+ >>> thread = api.get_recommended_keywords(external_line_item_id, async_req=True)
4710
3609
  >>> result = thread.get()
4711
3610
 
4712
3611
  Args:
4713
- account_id (str): account id
4714
- retailer_id (int): retailer id
3612
+ external_line_item_id (str): The external line item identifier
4715
3613
 
4716
3614
  Keyword Args:
4717
- offset (int): skip a number of matches before retrning results, used with limit. [optional] if omitted the server will use the default value of 0
4718
- limit (int): max number of results to return. [optional] if omitted the server will use the default value of 100
4719
- sku_search_request (SkuSearchRequest): . [optional]
4720
3615
  _return_http_data_only (bool): response data without head status
4721
3616
  code and headers. Default is True.
4722
3617
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4749,7 +3644,7 @@ class CampaignApi(object):
4749
3644
  async_req (bool): execute request asynchronously
4750
3645
 
4751
3646
  Returns:
4752
- ResourceCollectionOutcomeOfSkuSearchResult
3647
+ ValueResourceOutcomeOfRecommendedKeywordsResult
4753
3648
  If the method is called asynchronously, returns the request
4754
3649
  thread.
4755
3650
  """
@@ -4778,11 +3673,9 @@ class CampaignApi(object):
4778
3673
  '_content_type')
4779
3674
  kwargs['_host_index'] = kwargs.get('_host_index')
4780
3675
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4781
- kwargs['account_id'] = \
4782
- account_id
4783
- kwargs['retailer_id'] = \
4784
- retailer_id
4785
- return self.get_sku_by_product_id_endpoint.call_with_http_info(**kwargs)
3676
+ kwargs['external_line_item_id'] = \
3677
+ external_line_item_id
3678
+ return self.get_recommended_keywords_endpoint.call_with_http_info(**kwargs)
4786
3679
 
4787
3680
  def pause_promoted_products(
4788
3681
  self,
@@ -5480,7 +4373,7 @@ class CampaignApi(object):
5480
4373
  account_id (str): External account id to create a creative for
5481
4374
 
5482
4375
  Keyword Args:
5483
- external_creative_create_model_v2 (ExternalCreativeCreateModelV2): The creative to create. [optional]
4376
+ creative_create_model2 (CreativeCreateModel2): The creative to create. [optional]
5484
4377
  _return_http_data_only (bool): response data without head status
5485
4378
  code and headers. Default is True.
5486
4379
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5513,7 +4406,7 @@ class CampaignApi(object):
5513
4406
  async_req (bool): execute request asynchronously
5514
4407
 
5515
4408
  Returns:
5516
- CreativeV2Response
4409
+ Creative2Response
5517
4410
  If the method is called asynchronously, returns the request
5518
4411
  thread.
5519
4412
  """
@@ -5597,7 +4490,7 @@ class CampaignApi(object):
5597
4490
  async_req (bool): execute request asynchronously
5598
4491
 
5599
4492
  Returns:
5600
- CreativeV2ListResponse
4493
+ Creative2ListResponse
5601
4494
  If the method is called asynchronously, returns the request
5602
4495
  thread.
5603
4496
  """
@@ -5825,7 +4718,7 @@ class CampaignApi(object):
5825
4718
  creative_id (str): Creative to update
5826
4719
 
5827
4720
  Keyword Args:
5828
- external_creative_update_model_v2 (ExternalCreativeUpdateModelV2): The creative to create. [optional]
4721
+ creative_update_model2 (CreativeUpdateModel2): The creative to create. [optional]
5829
4722
  _return_http_data_only (bool): response data without head status
5830
4723
  code and headers. Default is True.
5831
4724
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5858,7 +4751,7 @@ class CampaignApi(object):
5858
4751
  async_req (bool): execute request asynchronously
5859
4752
 
5860
4753
  Returns:
5861
- CreativeV2Response
4754
+ Creative2Response
5862
4755
  If the method is called asynchronously, returns the request
5863
4756
  thread.
5864
4757
  """
@@ -6061,89 +4954,6 @@ class CampaignApi(object):
6061
4954
  id
6062
4955
  return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
6063
4956
 
6064
- def submit_proposal(
6065
- self,
6066
- id,
6067
- **kwargs
6068
- ):
6069
- """submit_proposal # noqa: E501
6070
-
6071
- Only the components of the Line Item that are in a valid state will be reviewed. # noqa: E501
6072
- This method makes a synchronous HTTP request by default. To make an
6073
- asynchronous HTTP request, please pass async_req=True
6074
-
6075
- >>> thread = api.submit_proposal(id, async_req=True)
6076
- >>> result = thread.get()
6077
-
6078
- Args:
6079
- id (str): ID of the line item
6080
-
6081
- Keyword Args:
6082
- _return_http_data_only (bool): response data without head status
6083
- code and headers. Default is True.
6084
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6085
- will be returned without reading/decoding response data.
6086
- Default is True.
6087
- _request_timeout (int/float/tuple): timeout setting for this request. If
6088
- one number provided, it will be total request timeout. It can also
6089
- be a pair (tuple) of (connection, read) timeouts.
6090
- Default is None.
6091
- _check_input_type (bool): specifies if type checking
6092
- should be done one the data sent to the server.
6093
- Default is True.
6094
- _check_return_type (bool): specifies if type checking
6095
- should be done one the data received from the server.
6096
- Default is True.
6097
- _spec_property_naming (bool): True if the variable names in the input data
6098
- are serialized names, as specified in the OpenAPI document.
6099
- False if the variable names in the input data
6100
- are pythonic names, e.g. snake case (default)
6101
- _content_type (str/None): force body content-type.
6102
- Default is None and content-type will be predicted by allowed
6103
- content-types and body.
6104
- _host_index (int/None): specifies the index of the server
6105
- that we want to use.
6106
- Default is read from the configuration.
6107
- _request_auths (list): set to override the auth_settings for an a single
6108
- request; this effectively ignores the authentication
6109
- in the spec for a single request.
6110
- Default is None
6111
- async_req (bool): execute request asynchronously
6112
-
6113
- Returns:
6114
- ProposalStatusModelResponse
6115
- If the method is called asynchronously, returns the request
6116
- thread.
6117
- """
6118
- kwargs['async_req'] = kwargs.get(
6119
- 'async_req', False
6120
- )
6121
- kwargs['_return_http_data_only'] = kwargs.get(
6122
- '_return_http_data_only', True
6123
- )
6124
- kwargs['_preload_content'] = kwargs.get(
6125
- '_preload_content', True
6126
- )
6127
- kwargs['_request_timeout'] = kwargs.get(
6128
- '_request_timeout', None
6129
- )
6130
- kwargs['_check_input_type'] = kwargs.get(
6131
- '_check_input_type', True
6132
- )
6133
- kwargs['_check_return_type'] = kwargs.get(
6134
- '_check_return_type', True
6135
- )
6136
- kwargs['_spec_property_naming'] = kwargs.get(
6137
- '_spec_property_naming', False
6138
- )
6139
- kwargs['_content_type'] = kwargs.get(
6140
- '_content_type')
6141
- kwargs['_host_index'] = kwargs.get('_host_index')
6142
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6143
- kwargs['id'] = \
6144
- id
6145
- return self.submit_proposal_endpoint.call_with_http_info(**kwargs)
6146
-
6147
4957
  def unpause_promoted_products(
6148
4958
  self,
6149
4959
  line_item_id,
@@ -6228,171 +5038,3 @@ class CampaignApi(object):
6228
5038
  line_item_id
6229
5039
  return self.unpause_promoted_products_endpoint.call_with_http_info(**kwargs)
6230
5040
 
6231
- def update_campaign_budget_overrides(
6232
- self,
6233
- campaign_id,
6234
- **kwargs
6235
- ):
6236
- """update_campaign_budget_overrides # noqa: E501
6237
-
6238
- Update campaign budget overrides by given external campaign id and new campaign budget overrides settings. # noqa: E501
6239
- This method makes a synchronous HTTP request by default. To make an
6240
- asynchronous HTTP request, please pass async_req=True
6241
-
6242
- >>> thread = api.update_campaign_budget_overrides(campaign_id, async_req=True)
6243
- >>> result = thread.get()
6244
-
6245
- Args:
6246
- campaign_id (int): External campaign id.
6247
-
6248
- Keyword Args:
6249
- value_resource_input_of_campaign_budget_overrides (ValueResourceInputOfCampaignBudgetOverrides): New campaign budget overrides settings value resource input.. [optional]
6250
- _return_http_data_only (bool): response data without head status
6251
- code and headers. Default is True.
6252
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6253
- will be returned without reading/decoding response data.
6254
- Default is True.
6255
- _request_timeout (int/float/tuple): timeout setting for this request. If
6256
- one number provided, it will be total request timeout. It can also
6257
- be a pair (tuple) of (connection, read) timeouts.
6258
- Default is None.
6259
- _check_input_type (bool): specifies if type checking
6260
- should be done one the data sent to the server.
6261
- Default is True.
6262
- _check_return_type (bool): specifies if type checking
6263
- should be done one the data received from the server.
6264
- Default is True.
6265
- _spec_property_naming (bool): True if the variable names in the input data
6266
- are serialized names, as specified in the OpenAPI document.
6267
- False if the variable names in the input data
6268
- are pythonic names, e.g. snake case (default)
6269
- _content_type (str/None): force body content-type.
6270
- Default is None and content-type will be predicted by allowed
6271
- content-types and body.
6272
- _host_index (int/None): specifies the index of the server
6273
- that we want to use.
6274
- Default is read from the configuration.
6275
- _request_auths (list): set to override the auth_settings for an a single
6276
- request; this effectively ignores the authentication
6277
- in the spec for a single request.
6278
- Default is None
6279
- async_req (bool): execute request asynchronously
6280
-
6281
- Returns:
6282
- ValueResourceOutcomeOfCampaignBudgetOverrides
6283
- If the method is called asynchronously, returns the request
6284
- thread.
6285
- """
6286
- kwargs['async_req'] = kwargs.get(
6287
- 'async_req', False
6288
- )
6289
- kwargs['_return_http_data_only'] = kwargs.get(
6290
- '_return_http_data_only', True
6291
- )
6292
- kwargs['_preload_content'] = kwargs.get(
6293
- '_preload_content', True
6294
- )
6295
- kwargs['_request_timeout'] = kwargs.get(
6296
- '_request_timeout', None
6297
- )
6298
- kwargs['_check_input_type'] = kwargs.get(
6299
- '_check_input_type', True
6300
- )
6301
- kwargs['_check_return_type'] = kwargs.get(
6302
- '_check_return_type', True
6303
- )
6304
- kwargs['_spec_property_naming'] = kwargs.get(
6305
- '_spec_property_naming', False
6306
- )
6307
- kwargs['_content_type'] = kwargs.get(
6308
- '_content_type')
6309
- kwargs['_host_index'] = kwargs.get('_host_index')
6310
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6311
- kwargs['campaign_id'] = \
6312
- campaign_id
6313
- return self.update_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
6314
-
6315
- def update_line_item_budget_overrides(
6316
- self,
6317
- line_item_id,
6318
- **kwargs
6319
- ):
6320
- """update_line_item_budget_overrides # noqa: E501
6321
-
6322
- Update line item budget overrides by given external line item id and new line item budget overrides settings. # noqa: E501
6323
- This method makes a synchronous HTTP request by default. To make an
6324
- asynchronous HTTP request, please pass async_req=True
6325
-
6326
- >>> thread = api.update_line_item_budget_overrides(line_item_id, async_req=True)
6327
- >>> result = thread.get()
6328
-
6329
- Args:
6330
- line_item_id (str): Line item external id.
6331
-
6332
- Keyword Args:
6333
- value_resource_input_of_line_item_budget_overrides (ValueResourceInputOfLineItemBudgetOverrides): New line item budget overrides settings value resource input.. [optional]
6334
- _return_http_data_only (bool): response data without head status
6335
- code and headers. Default is True.
6336
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6337
- will be returned without reading/decoding response data.
6338
- Default is True.
6339
- _request_timeout (int/float/tuple): timeout setting for this request. If
6340
- one number provided, it will be total request timeout. It can also
6341
- be a pair (tuple) of (connection, read) timeouts.
6342
- Default is None.
6343
- _check_input_type (bool): specifies if type checking
6344
- should be done one the data sent to the server.
6345
- Default is True.
6346
- _check_return_type (bool): specifies if type checking
6347
- should be done one the data received from the server.
6348
- Default is True.
6349
- _spec_property_naming (bool): True if the variable names in the input data
6350
- are serialized names, as specified in the OpenAPI document.
6351
- False if the variable names in the input data
6352
- are pythonic names, e.g. snake case (default)
6353
- _content_type (str/None): force body content-type.
6354
- Default is None and content-type will be predicted by allowed
6355
- content-types and body.
6356
- _host_index (int/None): specifies the index of the server
6357
- that we want to use.
6358
- Default is read from the configuration.
6359
- _request_auths (list): set to override the auth_settings for an a single
6360
- request; this effectively ignores the authentication
6361
- in the spec for a single request.
6362
- Default is None
6363
- async_req (bool): execute request asynchronously
6364
-
6365
- Returns:
6366
- ValueResourceOutcomeOfLineItemBudgetOverrides
6367
- If the method is called asynchronously, returns the request
6368
- thread.
6369
- """
6370
- kwargs['async_req'] = kwargs.get(
6371
- 'async_req', False
6372
- )
6373
- kwargs['_return_http_data_only'] = kwargs.get(
6374
- '_return_http_data_only', True
6375
- )
6376
- kwargs['_preload_content'] = kwargs.get(
6377
- '_preload_content', True
6378
- )
6379
- kwargs['_request_timeout'] = kwargs.get(
6380
- '_request_timeout', None
6381
- )
6382
- kwargs['_check_input_type'] = kwargs.get(
6383
- '_check_input_type', True
6384
- )
6385
- kwargs['_check_return_type'] = kwargs.get(
6386
- '_check_return_type', True
6387
- )
6388
- kwargs['_spec_property_naming'] = kwargs.get(
6389
- '_spec_property_naming', False
6390
- )
6391
- kwargs['_content_type'] = kwargs.get(
6392
- '_content_type')
6393
- kwargs['_host_index'] = kwargs.get('_host_index')
6394
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6395
- kwargs['line_item_id'] = \
6396
- line_item_id
6397
- return self.update_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
6398
-