criteo-api-retailmedia-sdk 0.0.241029__py3-none-any.whl → 0.0.250205__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.

Files changed (99) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +23 -324
  3. criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
  4. criteo_api_retailmedia_preview/api/balance_api.py +0 -159
  5. criteo_api_retailmedia_preview/api/campaign_api.py +226 -859
  6. criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +0 -1
  7. criteo_api_retailmedia_preview/api_client.py +4 -4
  8. criteo_api_retailmedia_preview/configuration.py +1 -1
  9. criteo_api_retailmedia_preview/model/async_accounts_report.py +44 -0
  10. criteo_api_retailmedia_preview/model/async_campaigns_report.py +44 -0
  11. criteo_api_retailmedia_preview/model/{retail_media_contactlist_amendment_attributes.py → async_fill_rate_report.py} +80 -31
  12. criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → async_fill_rate_report_request.py} +8 -8
  13. criteo_api_retailmedia_preview/model/{http_validation_error.py → async_fill_rate_report_resource.py} +13 -9
  14. criteo_api_retailmedia_preview/model/async_line_items_report.py +44 -0
  15. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
  16. criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → brand_id_search_request.py} +21 -20
  17. criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
  18. criteo_api_retailmedia_preview/model/category.py +3 -3
  19. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
  20. criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
  21. criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
  22. criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
  23. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
  24. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
  25. criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
  26. criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  27. criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
  28. criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
  29. criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
  30. criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
  31. criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → entity_resource_collection_outcome_brand_id_search_result.py} +17 -24
  32. criteo_api_retailmedia_preview/model/{entity_resource_collection_outcome_of_retail_media_account.py → entity_resource_collection_outcome_of_retail_media_child_account.py} +15 -9
  33. criteo_api_retailmedia_preview/model/{entity_resource_of_retail_media_account.py → entity_resource_of_retail_media_child_account.py} +9 -9
  34. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
  35. criteo_api_retailmedia_preview/model/{external_retail_media_account.py → external_retail_media_child_account.py} +4 -8
  36. criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
  37. criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
  38. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
  39. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
  40. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
  41. criteo_api_retailmedia_preview/model/message.py +5 -5
  42. criteo_api_retailmedia_preview/model/offset_page_metadata.py +279 -0
  43. criteo_api_retailmedia_preview/model/outcome.py +268 -0
  44. criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  45. criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
  46. criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
  47. criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  48. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  49. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
  50. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment.py +31 -18
  51. criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
  52. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +296 -0
  53. criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
  54. criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
  55. criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
  56. criteo_api_retailmedia_preview/model/{external_brand.py → sku_min_bid.py} +18 -22
  57. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
  58. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
  59. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
  60. criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
  61. criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
  62. criteo_api_retailmedia_preview/model/{location_inner.py → text_variable_value.py} +9 -11
  63. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
  64. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
  65. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +266 -0
  66. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +266 -0
  67. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +262 -0
  68. criteo_api_retailmedia_preview/model/{external_text_variable_value.py → value_resource_input_cpc_min_bids_request.py} +13 -14
  69. criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_of_seller_search.py} +8 -8
  70. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
  71. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → value_resource_of_seller_search.py} +13 -9
  72. criteo_api_retailmedia_preview/model/{proposal_status_model_response.py → value_resource_outcome_cpc_min_bids_response.py} +19 -19
  73. criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  74. criteo_api_retailmedia_preview/models/__init__.py +39 -54
  75. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/METADATA +14 -5
  76. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/RECORD +78 -93
  77. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/WHEEL +1 -1
  78. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
  79. criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
  80. criteo_api_retailmedia_preview/model/botmessage.py +0 -329
  81. criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
  82. criteo_api_retailmedia_preview/model/creative_v2_response.py +0 -281
  83. criteo_api_retailmedia_preview/model/external_account.py +0 -330
  84. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
  85. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_account_and_account.py +0 -285
  86. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +0 -285
  87. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +0 -285
  88. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
  89. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
  90. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
  91. criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
  92. criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
  93. criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +0 -277
  94. criteo_api_retailmedia_preview/model/resource_of_creative_v2.py +0 -277
  95. criteo_api_retailmedia_preview/model/retail_media_account.py +0 -301
  96. criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -274
  97. criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
  98. criteo_api_retailmedia_preview/model/validation_error.py +0 -287
  99. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250205.dist-info}/top_level.txt +0 -0
@@ -24,19 +24,17 @@ 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
31
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result import EntityResourceCollectionOutcomeBrandIdSearchResult
33
32
  from criteo_api_retailmedia_preview.model.json_api_request_of_seller_catalog_request import JsonApiRequestOfSellerCatalogRequest
34
33
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus
35
34
  from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2
36
35
  from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
37
36
  from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request
38
37
  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
38
  from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
41
39
  from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
42
40
  from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
@@ -48,18 +46,18 @@ from criteo_api_retailmedia_preview.model.product_button_request import ProductB
48
46
  from criteo_api_retailmedia_preview.model.product_resource_outcome import ProductResourceOutcome
49
47
  from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput
50
48
  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
49
  from criteo_api_retailmedia_preview.model.resource_outcome import ResourceOutcome
54
50
  from criteo_api_retailmedia_preview.model.seller_preview_response import SellerPreviewResponse
55
51
  from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
56
52
  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
53
  from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
59
54
  from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_request import SkuSearchRequestSlimPreviewRequest
60
55
  from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
61
56
  from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
62
57
  from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
58
+ from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
59
+ from criteo_api_retailmedia_preview.model.value_resource_input_cpc_min_bids_request import ValueResourceInputCpcMinBidsRequest
60
+ from criteo_api_retailmedia_preview.model.value_resource_outcome_cpc_min_bids_response import ValueResourceOutcomeCpcMinBidsResponse
63
61
  from criteo_api_retailmedia_preview.model.value_resource_outcome_of_recommended_keywords_result import ValueResourceOutcomeOfRecommendedKeywordsResult
64
62
 
65
63
 
@@ -423,58 +421,6 @@ class CampaignApi(object):
423
421
  },
424
422
  api_client=api_client
425
423
  )
426
- self.fetch_proposal_endpoint = _Endpoint(
427
- settings={
428
- 'response_type': (ProposalStatusModelResponse,),
429
- 'auth': [
430
- 'oauth',
431
- 'oauth'
432
- ],
433
- 'endpoint_path': '/preview/retail-media/preferred-deal-line-items/{id}/proposal',
434
- 'operation_id': 'fetch_proposal',
435
- 'http_method': 'GET',
436
- 'servers': None,
437
- },
438
- params_map={
439
- 'all': [
440
- 'id',
441
- ],
442
- 'required': [
443
- 'id',
444
- ],
445
- 'nullable': [
446
- ],
447
- 'enum': [
448
- ],
449
- 'validation': [
450
- ]
451
- },
452
- root_map={
453
- 'validations': {
454
- },
455
- 'allowed_values': {
456
- },
457
- 'openapi_types': {
458
- 'id':
459
- (str,),
460
- },
461
- 'attribute_map': {
462
- 'id': 'id',
463
- },
464
- 'location_map': {
465
- 'id': 'path',
466
- },
467
- 'collection_format_map': {
468
- }
469
- },
470
- headers_map={
471
- 'accept': [
472
- 'application/json'
473
- ],
474
- 'content_type': [],
475
- },
476
- api_client=api_client
477
- )
478
424
  self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint = _Endpoint(
479
425
  settings={
480
426
  'response_type': (ProductButtonListResponse,),
@@ -585,146 +531,6 @@ class CampaignApi(object):
585
531
  },
586
532
  api_client=api_client
587
533
  )
588
- self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint(
589
- settings={
590
- 'response_type': (JsonApiPageResponseOfBrand,),
591
- 'auth': [
592
- 'oauth',
593
- 'oauth'
594
- ],
595
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/brands',
596
- 'operation_id': 'get_api_v1_external_account_brands_by_account_id',
597
- 'http_method': 'GET',
598
- 'servers': None,
599
- },
600
- params_map={
601
- 'all': [
602
- 'account_id',
603
- 'limit_to_id',
604
- 'page_index',
605
- 'page_size',
606
- ],
607
- 'required': [
608
- 'account_id',
609
- ],
610
- 'nullable': [
611
- ],
612
- 'enum': [
613
- ],
614
- 'validation': [
615
- ]
616
- },
617
- root_map={
618
- 'validations': {
619
- },
620
- 'allowed_values': {
621
- },
622
- 'openapi_types': {
623
- 'account_id':
624
- (str,),
625
- 'limit_to_id':
626
- ([str],),
627
- 'page_index':
628
- (int,),
629
- 'page_size':
630
- (int,),
631
- },
632
- 'attribute_map': {
633
- 'account_id': 'accountId',
634
- 'limit_to_id': 'limitToId',
635
- 'page_index': 'pageIndex',
636
- 'page_size': 'pageSize',
637
- },
638
- 'location_map': {
639
- 'account_id': 'path',
640
- 'limit_to_id': 'query',
641
- 'page_index': 'query',
642
- 'page_size': 'query',
643
- },
644
- 'collection_format_map': {
645
- 'limit_to_id': 'multi',
646
- }
647
- },
648
- headers_map={
649
- 'accept': [
650
- 'text/plain',
651
- 'application/json',
652
- 'text/json'
653
- ],
654
- 'content_type': [],
655
- },
656
- api_client=api_client
657
- )
658
- self.get_api_v1_external_account_retailers_by_account_id_endpoint = _Endpoint(
659
- settings={
660
- 'response_type': (JsonApiPageResponseOfRetailer,),
661
- 'auth': [
662
- 'oauth',
663
- 'oauth'
664
- ],
665
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/retailers',
666
- 'operation_id': 'get_api_v1_external_account_retailers_by_account_id',
667
- 'http_method': 'GET',
668
- 'servers': None,
669
- },
670
- params_map={
671
- 'all': [
672
- 'account_id',
673
- 'limit_to_id',
674
- 'page_index',
675
- 'page_size',
676
- ],
677
- 'required': [
678
- 'account_id',
679
- ],
680
- 'nullable': [
681
- ],
682
- 'enum': [
683
- ],
684
- 'validation': [
685
- ]
686
- },
687
- root_map={
688
- 'validations': {
689
- },
690
- 'allowed_values': {
691
- },
692
- 'openapi_types': {
693
- 'account_id':
694
- (str,),
695
- 'limit_to_id':
696
- ([str],),
697
- 'page_index':
698
- (int,),
699
- 'page_size':
700
- (int,),
701
- },
702
- 'attribute_map': {
703
- 'account_id': 'accountId',
704
- 'limit_to_id': 'limitToId',
705
- 'page_index': 'pageIndex',
706
- 'page_size': 'pageSize',
707
- },
708
- 'location_map': {
709
- 'account_id': 'path',
710
- 'limit_to_id': 'query',
711
- 'page_index': 'query',
712
- 'page_size': 'query',
713
- },
714
- 'collection_format_map': {
715
- 'limit_to_id': 'multi',
716
- }
717
- },
718
- headers_map={
719
- 'accept': [
720
- 'text/plain',
721
- 'application/json',
722
- 'text/json'
723
- ],
724
- 'content_type': [],
725
- },
726
- api_client=api_client
727
- )
728
534
  self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
729
535
  settings={
730
536
  'response_type': (BrandPreviewListResponse,),
@@ -971,7 +777,7 @@ class CampaignApi(object):
971
777
  )
972
778
  self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
973
779
  settings={
974
- 'response_type': (CreativeV2Response,),
780
+ 'response_type': (Creative2Response,),
975
781
  'auth': [
976
782
  'oauth',
977
783
  'oauth'
@@ -1203,82 +1009,66 @@ class CampaignApi(object):
1203
1009
  },
1204
1010
  api_client=api_client
1205
1011
  )
1206
- self.get_insertion_order_history_change_data_capture_v2_endpoint = _Endpoint(
1012
+ self.get_cpc_min_bids_by_sku_ids_v1_endpoint = _Endpoint(
1207
1013
  settings={
1208
- 'response_type': (PageOfInsertionOrderHistoryChangeDataCaptureV2,),
1014
+ 'response_type': (ValueResourceOutcomeCpcMinBidsResponse,),
1209
1015
  'auth': [
1210
1016
  'oauth',
1211
1017
  'oauth'
1212
1018
  ],
1213
- 'endpoint_path': '/preview/retail-media/insertion-order-history/{insertionOrderId}/change-data-capture',
1214
- 'operation_id': 'get_insertion_order_history_change_data_capture_v2',
1215
- 'http_method': 'GET',
1019
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/cpc-min-bids',
1020
+ 'operation_id': 'get_cpc_min_bids_by_sku_ids_v1',
1021
+ 'http_method': 'POST',
1216
1022
  'servers': None,
1217
1023
  },
1218
1024
  params_map={
1219
1025
  'all': [
1220
- 'insertion_order_id',
1221
- 'offset',
1222
- 'limit',
1223
- 'limit_to_change_types',
1026
+ 'retailer_id',
1027
+ 'value_resource_input_cpc_min_bids_request',
1224
1028
  ],
1225
1029
  'required': [
1226
- 'insertion_order_id',
1030
+ 'retailer_id',
1227
1031
  ],
1228
1032
  'nullable': [
1229
1033
  ],
1230
1034
  'enum': [
1231
1035
  ],
1232
1036
  'validation': [
1233
- 'offset',
1234
- 'limit',
1235
1037
  ]
1236
1038
  },
1237
1039
  root_map={
1238
1040
  'validations': {
1239
- ('offset',): {
1240
-
1241
- 'inclusive_maximum': 2147483647,
1242
- 'inclusive_minimum': 0,
1243
- },
1244
- ('limit',): {
1245
-
1246
- 'inclusive_maximum': 100,
1247
- 'inclusive_minimum': 1,
1248
- },
1249
1041
  },
1250
1042
  'allowed_values': {
1251
1043
  },
1252
1044
  'openapi_types': {
1253
- 'insertion_order_id':
1254
- (str,),
1255
- 'offset':
1256
- (int,),
1257
- 'limit':
1045
+ 'retailer_id':
1258
1046
  (int,),
1259
- 'limit_to_change_types':
1260
- (str,),
1047
+ 'value_resource_input_cpc_min_bids_request':
1048
+ (ValueResourceInputCpcMinBidsRequest,),
1261
1049
  },
1262
1050
  'attribute_map': {
1263
- 'insertion_order_id': 'insertionOrderId',
1264
- 'offset': 'offset',
1265
- 'limit': 'limit',
1266
- 'limit_to_change_types': 'limitToChangeTypes',
1051
+ 'retailer_id': 'retailerId',
1267
1052
  },
1268
1053
  'location_map': {
1269
- 'insertion_order_id': 'path',
1270
- 'offset': 'query',
1271
- 'limit': 'query',
1272
- 'limit_to_change_types': 'query',
1054
+ 'retailer_id': 'path',
1055
+ 'value_resource_input_cpc_min_bids_request': 'body',
1273
1056
  },
1274
1057
  'collection_format_map': {
1275
1058
  }
1276
1059
  },
1277
1060
  headers_map={
1278
1061
  'accept': [
1279
- 'application/json'
1062
+ 'text/plain',
1063
+ 'application/json',
1064
+ 'text/json'
1280
1065
  ],
1281
- 'content_type': [],
1066
+ 'content_type': [
1067
+ 'application/json-patch+json',
1068
+ 'application/json',
1069
+ 'text/json',
1070
+ 'application/*+json'
1071
+ ]
1282
1072
  },
1283
1073
  api_client=api_client
1284
1074
  )
@@ -1334,142 +1124,40 @@ class CampaignApi(object):
1334
1124
  },
1335
1125
  api_client=api_client
1336
1126
  )
1337
- self.get_sku_by_product_id_endpoint = _Endpoint(
1127
+ self.pause_promoted_products_endpoint = _Endpoint(
1338
1128
  settings={
1339
- 'response_type': (ResourceCollectionOutcomeOfSkuSearchResult,),
1129
+ 'response_type': None,
1340
1130
  'auth': [
1341
1131
  'oauth',
1342
1132
  'oauth'
1343
1133
  ],
1344
- 'endpoint_path': '/preview/retail-media/catalogs/sku/search/accounts/{accountId}/retailers/{retailerId}/by-id',
1345
- 'operation_id': 'get_sku_by_product_id',
1134
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1135
+ 'operation_id': 'pause_promoted_products',
1346
1136
  'http_method': 'POST',
1347
1137
  'servers': None,
1348
1138
  },
1349
1139
  params_map={
1350
1140
  'all': [
1351
- 'account_id',
1352
- 'retailer_id',
1353
- 'offset',
1354
- 'limit',
1355
- 'sku_search_request',
1141
+ 'line_item_id',
1142
+ 'promoted_product_resource_collection_input',
1356
1143
  ],
1357
1144
  'required': [
1358
- 'account_id',
1359
- 'retailer_id',
1145
+ 'line_item_id',
1360
1146
  ],
1361
1147
  'nullable': [
1362
1148
  ],
1363
1149
  'enum': [
1364
1150
  ],
1365
1151
  'validation': [
1366
- 'account_id',
1367
- 'retailer_id',
1368
- 'offset',
1369
- 'limit',
1370
1152
  ]
1371
1153
  },
1372
1154
  root_map={
1373
1155
  'validations': {
1374
- ('account_id',): {
1375
-
1376
- 'regex': {
1377
- 'pattern': r'^\d+$', # noqa: E501
1378
- },
1379
- },
1380
- ('retailer_id',): {
1381
-
1382
- 'inclusive_maximum': 2147483647,
1383
- 'inclusive_minimum': 1,
1384
- },
1385
- ('offset',): {
1386
-
1387
- 'inclusive_maximum': 2147483647,
1388
- 'inclusive_minimum': 0,
1389
- },
1390
- ('limit',): {
1391
-
1392
- 'inclusive_maximum': 2147483647,
1393
- 'inclusive_minimum': 1,
1394
- },
1395
1156
  },
1396
1157
  'allowed_values': {
1397
1158
  },
1398
1159
  'openapi_types': {
1399
- 'account_id':
1400
- (str,),
1401
- 'retailer_id':
1402
- (int,),
1403
- 'offset':
1404
- (int,),
1405
- 'limit':
1406
- (int,),
1407
- 'sku_search_request':
1408
- (SkuSearchRequest,),
1409
- },
1410
- 'attribute_map': {
1411
- 'account_id': 'accountId',
1412
- 'retailer_id': 'retailerId',
1413
- 'offset': 'offset',
1414
- 'limit': 'limit',
1415
- },
1416
- 'location_map': {
1417
- 'account_id': 'path',
1418
- 'retailer_id': 'path',
1419
- 'offset': 'query',
1420
- 'limit': 'query',
1421
- 'sku_search_request': 'body',
1422
- },
1423
- 'collection_format_map': {
1424
- }
1425
- },
1426
- headers_map={
1427
- 'accept': [
1428
- 'application/json'
1429
- ],
1430
- 'content_type': [
1431
- 'application/json-patch+json',
1432
- 'application/json',
1433
- 'text/json',
1434
- 'application/*+json'
1435
- ]
1436
- },
1437
- api_client=api_client
1438
- )
1439
- self.pause_promoted_products_endpoint = _Endpoint(
1440
- settings={
1441
- 'response_type': None,
1442
- 'auth': [
1443
- 'oauth',
1444
- 'oauth'
1445
- ],
1446
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1447
- 'operation_id': 'pause_promoted_products',
1448
- 'http_method': 'POST',
1449
- 'servers': None,
1450
- },
1451
- params_map={
1452
- 'all': [
1453
- 'line_item_id',
1454
- 'promoted_product_resource_collection_input',
1455
- ],
1456
- 'required': [
1457
- 'line_item_id',
1458
- ],
1459
- 'nullable': [
1460
- ],
1461
- 'enum': [
1462
- ],
1463
- 'validation': [
1464
- ]
1465
- },
1466
- root_map={
1467
- 'validations': {
1468
- },
1469
- 'allowed_values': {
1470
- },
1471
- 'openapi_types': {
1472
- 'line_item_id':
1160
+ 'line_item_id':
1473
1161
  (str,),
1474
1162
  'promoted_product_resource_collection_input':
1475
1163
  (PromotedProductResourceCollectionInput,),
@@ -1632,6 +1320,7 @@ class CampaignApi(object):
1632
1320
  'account_id',
1633
1321
  ],
1634
1322
  'nullable': [
1323
+ 'json_api_request_of_seller_catalog_request',
1635
1324
  ],
1636
1325
  'enum': [
1637
1326
  ],
@@ -1982,7 +1671,7 @@ class CampaignApi(object):
1982
1671
  )
1983
1672
  self.post_api_v2_external_account_creatives_by_account_id_endpoint = _Endpoint(
1984
1673
  settings={
1985
- 'response_type': (CreativeV2Response,),
1674
+ 'response_type': (Creative2Response,),
1986
1675
  'auth': [
1987
1676
  'oauth',
1988
1677
  'oauth'
@@ -1995,7 +1684,7 @@ class CampaignApi(object):
1995
1684
  params_map={
1996
1685
  'all': [
1997
1686
  'account_id',
1998
- 'external_creative_create_model_v2',
1687
+ 'creative_create_model2',
1999
1688
  ],
2000
1689
  'required': [
2001
1690
  'account_id',
@@ -2015,15 +1704,15 @@ class CampaignApi(object):
2015
1704
  'openapi_types': {
2016
1705
  'account_id':
2017
1706
  (str,),
2018
- 'external_creative_create_model_v2':
2019
- (ExternalCreativeCreateModelV2,),
1707
+ 'creative_create_model2':
1708
+ (CreativeCreateModel2,),
2020
1709
  },
2021
1710
  'attribute_map': {
2022
1711
  'account_id': 'account-id',
2023
1712
  },
2024
1713
  'location_map': {
2025
1714
  'account_id': 'path',
2026
- 'external_creative_create_model_v2': 'body',
1715
+ 'creative_create_model2': 'body',
2027
1716
  },
2028
1717
  'collection_format_map': {
2029
1718
  }
@@ -2042,7 +1731,7 @@ class CampaignApi(object):
2042
1731
  )
2043
1732
  self.post_api_v2_external_account_creatives_search_by_account_id_endpoint = _Endpoint(
2044
1733
  settings={
2045
- 'response_type': (CreativeV2ListResponse,),
1734
+ 'response_type': (Creative2ListResponse,),
2046
1735
  'auth': [
2047
1736
  'oauth',
2048
1737
  'oauth'
@@ -2225,7 +1914,7 @@ class CampaignApi(object):
2225
1914
  )
2226
1915
  self.put_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
2227
1916
  settings={
2228
- 'response_type': (CreativeV2Response,),
1917
+ 'response_type': (Creative2Response,),
2229
1918
  'auth': [
2230
1919
  'oauth',
2231
1920
  'oauth'
@@ -2239,7 +1928,7 @@ class CampaignApi(object):
2239
1928
  'all': [
2240
1929
  'account_id',
2241
1930
  'creative_id',
2242
- 'external_creative_update_model_v2',
1931
+ 'creative_update_model2',
2243
1932
  ],
2244
1933
  'required': [
2245
1934
  'account_id',
@@ -2262,8 +1951,8 @@ class CampaignApi(object):
2262
1951
  (str,),
2263
1952
  'creative_id':
2264
1953
  (str,),
2265
- 'external_creative_update_model_v2':
2266
- (ExternalCreativeUpdateModelV2,),
1954
+ 'creative_update_model2':
1955
+ (CreativeUpdateModel2,),
2267
1956
  },
2268
1957
  'attribute_map': {
2269
1958
  'account_id': 'account-id',
@@ -2272,7 +1961,7 @@ class CampaignApi(object):
2272
1961
  'location_map': {
2273
1962
  'account_id': 'path',
2274
1963
  'creative_id': 'path',
2275
- 'external_creative_update_model_v2': 'body',
1964
+ 'creative_update_model2': 'body',
2276
1965
  },
2277
1966
  'collection_format_map': {
2278
1967
  }
@@ -2310,6 +1999,7 @@ class CampaignApi(object):
2310
1999
  'line_item_id',
2311
2000
  ],
2312
2001
  'nullable': [
2002
+ 'line_item_bid_multipliers_v2_request',
2313
2003
  ],
2314
2004
  'enum': [
2315
2005
  ],
@@ -2349,79 +2039,100 @@ class CampaignApi(object):
2349
2039
  },
2350
2040
  api_client=api_client
2351
2041
  )
2352
- self.set_keyword_bids_endpoint = _Endpoint(
2042
+ self.search_brands_by_name_async_v1_endpoint = _Endpoint(
2353
2043
  settings={
2354
- 'response_type': (ResourceOutcome,),
2044
+ 'response_type': (EntityResourceCollectionOutcomeBrandIdSearchResult,),
2355
2045
  'auth': [
2356
2046
  'oauth',
2357
2047
  'oauth'
2358
2048
  ],
2359
- 'endpoint_path': '/preview/retail-media/line-items/{id}/keywords/set-bid',
2360
- 'operation_id': 'set_keyword_bids',
2049
+ 'endpoint_path': '/preview/retail-media/brands/search',
2050
+ 'operation_id': 'search_brands_by_name_async_v1',
2361
2051
  'http_method': 'POST',
2362
2052
  'servers': None,
2363
2053
  },
2364
2054
  params_map={
2365
2055
  'all': [
2366
- 'id',
2367
- 'set_bids_model_request',
2368
- ],
2369
- 'required': [
2370
- 'id',
2056
+ 'offset',
2057
+ 'limit',
2058
+ 'value_resource_input_brand_id_search_request',
2371
2059
  ],
2060
+ 'required': [],
2372
2061
  'nullable': [
2373
2062
  ],
2374
2063
  'enum': [
2375
2064
  ],
2376
2065
  'validation': [
2066
+ 'offset',
2067
+ 'limit',
2377
2068
  ]
2378
2069
  },
2379
2070
  root_map={
2380
2071
  'validations': {
2072
+ ('offset',): {
2073
+
2074
+ 'inclusive_maximum': 2147483647,
2075
+ 'inclusive_minimum': 0,
2076
+ },
2077
+ ('limit',): {
2078
+
2079
+ 'inclusive_maximum': 100,
2080
+ 'inclusive_minimum': 1,
2081
+ },
2381
2082
  },
2382
2083
  'allowed_values': {
2383
2084
  },
2384
2085
  'openapi_types': {
2385
- 'id':
2386
- (str,),
2387
- 'set_bids_model_request':
2388
- (SetBidsModelRequest,),
2086
+ 'offset':
2087
+ (int,),
2088
+ 'limit':
2089
+ (int,),
2090
+ 'value_resource_input_brand_id_search_request':
2091
+ (ValueResourceInputBrandIdSearchRequest,),
2389
2092
  },
2390
2093
  'attribute_map': {
2391
- 'id': 'id',
2094
+ 'offset': 'offset',
2095
+ 'limit': 'limit',
2392
2096
  },
2393
2097
  'location_map': {
2394
- 'id': 'path',
2395
- 'set_bids_model_request': 'body',
2098
+ 'offset': 'query',
2099
+ 'limit': 'query',
2100
+ 'value_resource_input_brand_id_search_request': 'body',
2396
2101
  },
2397
2102
  'collection_format_map': {
2398
2103
  }
2399
2104
  },
2400
2105
  headers_map={
2401
2106
  'accept': [
2402
- 'application/json'
2107
+ 'text/plain',
2108
+ 'application/json',
2109
+ 'text/json'
2403
2110
  ],
2404
2111
  'content_type': [
2405
- 'application/json'
2112
+ 'application/json-patch+json',
2113
+ 'application/json',
2114
+ 'text/json',
2115
+ 'application/*+json'
2406
2116
  ]
2407
2117
  },
2408
2118
  api_client=api_client
2409
2119
  )
2410
- self.submit_proposal_endpoint = _Endpoint(
2120
+ self.set_keyword_bids_endpoint = _Endpoint(
2411
2121
  settings={
2412
- 'response_type': (ProposalStatusModelResponse,),
2122
+ 'response_type': (ResourceOutcome,),
2413
2123
  'auth': [
2414
2124
  'oauth',
2415
2125
  'oauth'
2416
2126
  ],
2417
- 'endpoint_path': '/preview/retail-media/preferred-deal-line-items/{id}/proposal/submit',
2418
- 'operation_id': 'submit_proposal',
2127
+ 'endpoint_path': '/preview/retail-media/line-items/{id}/keywords/set-bid',
2128
+ 'operation_id': 'set_keyword_bids',
2419
2129
  'http_method': 'POST',
2420
2130
  'servers': None,
2421
2131
  },
2422
2132
  params_map={
2423
2133
  'all': [
2424
2134
  'id',
2135
+ 'set_bids_model_request',
2425
2136
  ],
2426
2137
  'required': [
2427
2138
  'id',
@@ -2441,12 +2152,15 @@ class CampaignApi(object):
2441
2152
  'openapi_types': {
2442
2153
  'id':
2443
2154
  (str,),
2155
+ 'set_bids_model_request':
2156
+ (SetBidsModelRequest,),
2444
2157
  },
2445
2158
  'attribute_map': {
2446
2159
  'id': 'id',
2447
2160
  },
2448
2161
  'location_map': {
2449
2162
  'id': 'path',
2163
+ 'set_bids_model_request': 'body',
2450
2164
  },
2451
2165
  'collection_format_map': {
2452
2166
  }
@@ -2455,7 +2169,9 @@ class CampaignApi(object):
2455
2169
  'accept': [
2456
2170
  'application/json'
2457
2171
  ],
2458
- 'content_type': [],
2172
+ 'content_type': [
2173
+ 'application/json'
2174
+ ]
2459
2175
  },
2460
2176
  api_client=api_client
2461
2177
  )
@@ -2514,284 +2230,29 @@ class CampaignApi(object):
2514
2230
  'content_type': [
2515
2231
  'application/json'
2516
2232
  ]
2517
- },
2518
- api_client=api_client
2519
- )
2520
-
2521
- def add_remove_keywords(
2522
- self,
2523
- id,
2524
- **kwargs
2525
- ):
2526
- """add_remove_keywords # noqa: E501
2527
-
2528
- Add or Remove keywords from the line item in bulk # noqa: E501
2529
- This method makes a synchronous HTTP request by default. To make an
2530
- asynchronous HTTP request, please pass async_req=True
2531
-
2532
- >>> thread = api.add_remove_keywords(id, async_req=True)
2533
- >>> result = thread.get()
2534
-
2535
- Args:
2536
- id (str): ID of the line item
2537
-
2538
- Keyword Args:
2539
- add_remove_keywords_model_request (AddRemoveKeywordsModelRequest): [optional]
2540
- _return_http_data_only (bool): response data without head status
2541
- code and headers. Default is True.
2542
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2543
- will be returned without reading/decoding response data.
2544
- Default is True.
2545
- _request_timeout (int/float/tuple): timeout setting for this request. If
2546
- one number provided, it will be total request timeout. It can also
2547
- be a pair (tuple) of (connection, read) timeouts.
2548
- Default is None.
2549
- _check_input_type (bool): specifies if type checking
2550
- should be done one the data sent to the server.
2551
- Default is True.
2552
- _check_return_type (bool): specifies if type checking
2553
- should be done one the data received from the server.
2554
- Default is True.
2555
- _spec_property_naming (bool): True if the variable names in the input data
2556
- are serialized names, as specified in the OpenAPI document.
2557
- False if the variable names in the input data
2558
- are pythonic names, e.g. snake case (default)
2559
- _content_type (str/None): force body content-type.
2560
- Default is None and content-type will be predicted by allowed
2561
- content-types and body.
2562
- _host_index (int/None): specifies the index of the server
2563
- that we want to use.
2564
- Default is read from the configuration.
2565
- _request_auths (list): set to override the auth_settings for an a single
2566
- request; this effectively ignores the authentication
2567
- in the spec for a single request.
2568
- Default is None
2569
- async_req (bool): execute request asynchronously
2570
-
2571
- Returns:
2572
- ResourceOutcome
2573
- If the method is called asynchronously, returns the request
2574
- thread.
2575
- """
2576
- kwargs['async_req'] = kwargs.get(
2577
- 'async_req', False
2578
- )
2579
- kwargs['_return_http_data_only'] = kwargs.get(
2580
- '_return_http_data_only', True
2581
- )
2582
- kwargs['_preload_content'] = kwargs.get(
2583
- '_preload_content', True
2584
- )
2585
- kwargs['_request_timeout'] = kwargs.get(
2586
- '_request_timeout', None
2587
- )
2588
- kwargs['_check_input_type'] = kwargs.get(
2589
- '_check_input_type', True
2590
- )
2591
- kwargs['_check_return_type'] = kwargs.get(
2592
- '_check_return_type', True
2593
- )
2594
- kwargs['_spec_property_naming'] = kwargs.get(
2595
- '_spec_property_naming', False
2596
- )
2597
- kwargs['_content_type'] = kwargs.get(
2598
- '_content_type')
2599
- kwargs['_host_index'] = kwargs.get('_host_index')
2600
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2601
- kwargs['id'] = \
2602
- id
2603
- return self.add_remove_keywords_endpoint.call_with_http_info(**kwargs)
2604
-
2605
- def append_promoted_products(
2606
- self,
2607
- line_item_id,
2608
- **kwargs
2609
- ):
2610
- """append_promoted_products # noqa: E501
2611
-
2612
- Append a collection of promoted products to a line item # noqa: E501
2613
- This method makes a synchronous HTTP request by default. To make an
2614
- asynchronous HTTP request, please pass async_req=True
2615
-
2616
- >>> thread = api.append_promoted_products(line_item_id, async_req=True)
2617
- >>> result = thread.get()
2618
-
2619
- Args:
2620
- line_item_id (str): ID of the line item
2621
-
2622
- Keyword Args:
2623
- promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
2624
- _return_http_data_only (bool): response data without head status
2625
- code and headers. Default is True.
2626
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2627
- will be returned without reading/decoding response data.
2628
- Default is True.
2629
- _request_timeout (int/float/tuple): timeout setting for this request. If
2630
- one number provided, it will be total request timeout. It can also
2631
- be a pair (tuple) of (connection, read) timeouts.
2632
- Default is None.
2633
- _check_input_type (bool): specifies if type checking
2634
- should be done one the data sent to the server.
2635
- Default is True.
2636
- _check_return_type (bool): specifies if type checking
2637
- should be done one the data received from the server.
2638
- Default is True.
2639
- _spec_property_naming (bool): True if the variable names in the input data
2640
- are serialized names, as specified in the OpenAPI document.
2641
- False if the variable names in the input data
2642
- are pythonic names, e.g. snake case (default)
2643
- _content_type (str/None): force body content-type.
2644
- Default is None and content-type will be predicted by allowed
2645
- content-types and body.
2646
- _host_index (int/None): specifies the index of the server
2647
- that we want to use.
2648
- Default is read from the configuration.
2649
- _request_auths (list): set to override the auth_settings for an a single
2650
- request; this effectively ignores the authentication
2651
- in the spec for a single request.
2652
- Default is None
2653
- async_req (bool): execute request asynchronously
2654
-
2655
- Returns:
2656
- None
2657
- If the method is called asynchronously, returns the request
2658
- thread.
2659
- """
2660
- kwargs['async_req'] = kwargs.get(
2661
- 'async_req', False
2662
- )
2663
- kwargs['_return_http_data_only'] = kwargs.get(
2664
- '_return_http_data_only', True
2665
- )
2666
- kwargs['_preload_content'] = kwargs.get(
2667
- '_preload_content', True
2668
- )
2669
- kwargs['_request_timeout'] = kwargs.get(
2670
- '_request_timeout', None
2671
- )
2672
- kwargs['_check_input_type'] = kwargs.get(
2673
- '_check_input_type', True
2674
- )
2675
- kwargs['_check_return_type'] = kwargs.get(
2676
- '_check_return_type', True
2677
- )
2678
- kwargs['_spec_property_naming'] = kwargs.get(
2679
- '_spec_property_naming', False
2680
- )
2681
- kwargs['_content_type'] = kwargs.get(
2682
- '_content_type')
2683
- kwargs['_host_index'] = kwargs.get('_host_index')
2684
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2685
- kwargs['line_item_id'] = \
2686
- line_item_id
2687
- return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
2688
-
2689
- def delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2690
- self,
2691
- line_item_id,
2692
- product_button_id,
2693
- **kwargs
2694
- ):
2695
- """delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2696
-
2697
- Delete a product button # noqa: E501
2698
- This method makes a synchronous HTTP request by default. To make an
2699
- asynchronous HTTP request, please pass async_req=True
2700
-
2701
- >>> 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)
2702
- >>> result = thread.get()
2703
-
2704
- Args:
2705
- line_item_id (str): Long external id of the associated line item
2706
- product_button_id (str): Sequential id of the product button
2707
-
2708
- Keyword Args:
2709
- _return_http_data_only (bool): response data without head status
2710
- code and headers. Default is True.
2711
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2712
- will be returned without reading/decoding response data.
2713
- Default is True.
2714
- _request_timeout (int/float/tuple): timeout setting for this request. If
2715
- one number provided, it will be total request timeout. It can also
2716
- be a pair (tuple) of (connection, read) timeouts.
2717
- Default is None.
2718
- _check_input_type (bool): specifies if type checking
2719
- should be done one the data sent to the server.
2720
- Default is True.
2721
- _check_return_type (bool): specifies if type checking
2722
- should be done one the data received from the server.
2723
- Default is True.
2724
- _spec_property_naming (bool): True if the variable names in the input data
2725
- are serialized names, as specified in the OpenAPI document.
2726
- False if the variable names in the input data
2727
- are pythonic names, e.g. snake case (default)
2728
- _content_type (str/None): force body content-type.
2729
- Default is None and content-type will be predicted by allowed
2730
- content-types and body.
2731
- _host_index (int/None): specifies the index of the server
2732
- that we want to use.
2733
- Default is read from the configuration.
2734
- _request_auths (list): set to override the auth_settings for an a single
2735
- request; this effectively ignores the authentication
2736
- in the spec for a single request.
2737
- Default is None
2738
- async_req (bool): execute request asynchronously
2739
-
2740
- Returns:
2741
- None
2742
- If the method is called asynchronously, returns the request
2743
- thread.
2744
- """
2745
- kwargs['async_req'] = kwargs.get(
2746
- 'async_req', False
2747
- )
2748
- kwargs['_return_http_data_only'] = kwargs.get(
2749
- '_return_http_data_only', True
2750
- )
2751
- kwargs['_preload_content'] = kwargs.get(
2752
- '_preload_content', True
2753
- )
2754
- kwargs['_request_timeout'] = kwargs.get(
2755
- '_request_timeout', None
2756
- )
2757
- kwargs['_check_input_type'] = kwargs.get(
2758
- '_check_input_type', True
2759
- )
2760
- kwargs['_check_return_type'] = kwargs.get(
2761
- '_check_return_type', True
2762
- )
2763
- kwargs['_spec_property_naming'] = kwargs.get(
2764
- '_spec_property_naming', False
2765
- )
2766
- kwargs['_content_type'] = kwargs.get(
2767
- '_content_type')
2768
- kwargs['_host_index'] = kwargs.get('_host_index')
2769
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2770
- kwargs['line_item_id'] = \
2771
- line_item_id
2772
- kwargs['product_button_id'] = \
2773
- product_button_id
2774
- return self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
2233
+ },
2234
+ api_client=api_client
2235
+ )
2775
2236
 
2776
- def delete_promoted_products(
2237
+ def add_remove_keywords(
2777
2238
  self,
2778
- line_item_id,
2239
+ id,
2779
2240
  **kwargs
2780
2241
  ):
2781
- """delete_promoted_products # noqa: E501
2242
+ """add_remove_keywords # noqa: E501
2782
2243
 
2783
- Remove a collection of promoted products from a line item # noqa: E501
2244
+ Add or Remove keywords from the line item in bulk # noqa: E501
2784
2245
  This method makes a synchronous HTTP request by default. To make an
2785
2246
  asynchronous HTTP request, please pass async_req=True
2786
2247
 
2787
- >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
2248
+ >>> thread = api.add_remove_keywords(id, async_req=True)
2788
2249
  >>> result = thread.get()
2789
2250
 
2790
2251
  Args:
2791
- line_item_id (str): ID of the line item
2252
+ id (str): ID of the line item
2792
2253
 
2793
2254
  Keyword Args:
2794
- promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
2255
+ add_remove_keywords_model_request (AddRemoveKeywordsModelRequest): [optional]
2795
2256
  _return_http_data_only (bool): response data without head status
2796
2257
  code and headers. Default is True.
2797
2258
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2824,7 +2285,7 @@ class CampaignApi(object):
2824
2285
  async_req (bool): execute request asynchronously
2825
2286
 
2826
2287
  Returns:
2827
- None
2288
+ ResourceOutcome
2828
2289
  If the method is called asynchronously, returns the request
2829
2290
  thread.
2830
2291
  """
@@ -2853,28 +2314,29 @@ class CampaignApi(object):
2853
2314
  '_content_type')
2854
2315
  kwargs['_host_index'] = kwargs.get('_host_index')
2855
2316
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2856
- kwargs['line_item_id'] = \
2857
- line_item_id
2858
- return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
2317
+ kwargs['id'] = \
2318
+ id
2319
+ return self.add_remove_keywords_endpoint.call_with_http_info(**kwargs)
2859
2320
 
2860
- def fetch_keywords(
2321
+ def append_promoted_products(
2861
2322
  self,
2862
- id,
2323
+ line_item_id,
2863
2324
  **kwargs
2864
2325
  ):
2865
- """fetch_keywords # noqa: E501
2326
+ """append_promoted_products # noqa: E501
2866
2327
 
2867
- Fetch keywords associated with the specified line item # noqa: E501
2328
+ Append a collection of promoted products to a line item # noqa: E501
2868
2329
  This method makes a synchronous HTTP request by default. To make an
2869
2330
  asynchronous HTTP request, please pass async_req=True
2870
2331
 
2871
- >>> thread = api.fetch_keywords(id, async_req=True)
2332
+ >>> thread = api.append_promoted_products(line_item_id, async_req=True)
2872
2333
  >>> result = thread.get()
2873
2334
 
2874
2335
  Args:
2875
- id (str): ID of the line item
2336
+ line_item_id (str): ID of the line item
2876
2337
 
2877
2338
  Keyword Args:
2339
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
2878
2340
  _return_http_data_only (bool): response data without head status
2879
2341
  code and headers. Default is True.
2880
2342
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2907,7 +2369,7 @@ class CampaignApi(object):
2907
2369
  async_req (bool): execute request asynchronously
2908
2370
 
2909
2371
  Returns:
2910
- KeywordsModelResponse
2372
+ None
2911
2373
  If the method is called asynchronously, returns the request
2912
2374
  thread.
2913
2375
  """
@@ -2936,31 +2398,30 @@ class CampaignApi(object):
2936
2398
  '_content_type')
2937
2399
  kwargs['_host_index'] = kwargs.get('_host_index')
2938
2400
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2939
- kwargs['id'] = \
2940
- id
2941
- return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
2401
+ kwargs['line_item_id'] = \
2402
+ line_item_id
2403
+ return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
2942
2404
 
2943
- def fetch_promoted_products(
2405
+ def delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2944
2406
  self,
2945
2407
  line_item_id,
2408
+ product_button_id,
2946
2409
  **kwargs
2947
2410
  ):
2948
- """fetch_promoted_products # noqa: E501
2411
+ """delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2949
2412
 
2950
- Retrieve a page of promoted products for a line item # noqa: E501
2413
+ Delete a product button # noqa: E501
2951
2414
  This method makes a synchronous HTTP request by default. To make an
2952
2415
  asynchronous HTTP request, please pass async_req=True
2953
2416
 
2954
- >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
2417
+ >>> 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)
2955
2418
  >>> result = thread.get()
2956
2419
 
2957
2420
  Args:
2958
- line_item_id (str): ID of the line item.
2421
+ line_item_id (str): Long external id of the associated line item
2422
+ product_button_id (str): Sequential id of the product button
2959
2423
 
2960
2424
  Keyword Args:
2961
- offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
2962
- limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
2963
- 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]
2964
2425
  _return_http_data_only (bool): response data without head status
2965
2426
  code and headers. Default is True.
2966
2427
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2993,7 +2454,7 @@ class CampaignApi(object):
2993
2454
  async_req (bool): execute request asynchronously
2994
2455
 
2995
2456
  Returns:
2996
- PromotedProductResourceCollectionOutcome
2457
+ None
2997
2458
  If the method is called asynchronously, returns the request
2998
2459
  thread.
2999
2460
  """
@@ -3024,26 +2485,29 @@ class CampaignApi(object):
3024
2485
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3025
2486
  kwargs['line_item_id'] = \
3026
2487
  line_item_id
3027
- return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
2488
+ kwargs['product_button_id'] = \
2489
+ product_button_id
2490
+ return self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3028
2491
 
3029
- def fetch_proposal(
2492
+ def delete_promoted_products(
3030
2493
  self,
3031
- id,
2494
+ line_item_id,
3032
2495
  **kwargs
3033
2496
  ):
3034
- """fetch_proposal # noqa: E501
2497
+ """delete_promoted_products # noqa: E501
3035
2498
 
3036
- 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
2499
+ Remove a collection of promoted products from a line item # noqa: E501
3037
2500
  This method makes a synchronous HTTP request by default. To make an
3038
2501
  asynchronous HTTP request, please pass async_req=True
3039
2502
 
3040
- >>> thread = api.fetch_proposal(id, async_req=True)
2503
+ >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
3041
2504
  >>> result = thread.get()
3042
2505
 
3043
2506
  Args:
3044
- id (str): ID of the line item
2507
+ line_item_id (str): ID of the line item
3045
2508
 
3046
2509
  Keyword Args:
2510
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
3047
2511
  _return_http_data_only (bool): response data without head status
3048
2512
  code and headers. Default is True.
3049
2513
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3076,7 +2540,7 @@ class CampaignApi(object):
3076
2540
  async_req (bool): execute request asynchronously
3077
2541
 
3078
2542
  Returns:
3079
- ProposalStatusModelResponse
2543
+ None
3080
2544
  If the method is called asynchronously, returns the request
3081
2545
  thread.
3082
2546
  """
@@ -3105,26 +2569,26 @@ class CampaignApi(object):
3105
2569
  '_content_type')
3106
2570
  kwargs['_host_index'] = kwargs.get('_host_index')
3107
2571
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3108
- kwargs['id'] = \
3109
- id
3110
- return self.fetch_proposal_endpoint.call_with_http_info(**kwargs)
2572
+ kwargs['line_item_id'] = \
2573
+ line_item_id
2574
+ return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
3111
2575
 
3112
- def get_api202210_external_line_item_product_buttons_by_line_item_id(
2576
+ def fetch_keywords(
3113
2577
  self,
3114
- line_item_id,
2578
+ id,
3115
2579
  **kwargs
3116
2580
  ):
3117
- """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
2581
+ """fetch_keywords # noqa: E501
3118
2582
 
3119
- Get all the product buttons associated with a line item # noqa: E501
2583
+ Fetch keywords associated with the specified line item # noqa: E501
3120
2584
  This method makes a synchronous HTTP request by default. To make an
3121
2585
  asynchronous HTTP request, please pass async_req=True
3122
2586
 
3123
- >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
2587
+ >>> thread = api.fetch_keywords(id, async_req=True)
3124
2588
  >>> result = thread.get()
3125
2589
 
3126
2590
  Args:
3127
- line_item_id (str): Long external id of the associated line item
2591
+ id (str): ID of the line item
3128
2592
 
3129
2593
  Keyword Args:
3130
2594
  _return_http_data_only (bool): response data without head status
@@ -3159,7 +2623,7 @@ class CampaignApi(object):
3159
2623
  async_req (bool): execute request asynchronously
3160
2624
 
3161
2625
  Returns:
3162
- ProductButtonListResponse
2626
+ KeywordsModelResponse
3163
2627
  If the method is called asynchronously, returns the request
3164
2628
  thread.
3165
2629
  """
@@ -3188,30 +2652,31 @@ class CampaignApi(object):
3188
2652
  '_content_type')
3189
2653
  kwargs['_host_index'] = kwargs.get('_host_index')
3190
2654
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3191
- kwargs['line_item_id'] = \
3192
- line_item_id
3193
- return self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
2655
+ kwargs['id'] = \
2656
+ id
2657
+ return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
3194
2658
 
3195
- def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2659
+ def fetch_promoted_products(
3196
2660
  self,
3197
2661
  line_item_id,
3198
- product_button_id,
3199
2662
  **kwargs
3200
2663
  ):
3201
- """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2664
+ """fetch_promoted_products # noqa: E501
3202
2665
 
3203
- Get a single product button # noqa: E501
2666
+ Retrieve a page of promoted products for a line item # noqa: E501
3204
2667
  This method makes a synchronous HTTP request by default. To make an
3205
2668
  asynchronous HTTP request, please pass async_req=True
3206
2669
 
3207
- >>> 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)
2670
+ >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
3208
2671
  >>> result = thread.get()
3209
2672
 
3210
2673
  Args:
3211
- line_item_id (str): Long external id of the associated line item
3212
- product_button_id (str): Sequential id of the product button
2674
+ line_item_id (str): ID of the line item.
3213
2675
 
3214
2676
  Keyword Args:
2677
+ offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
2678
+ limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
2679
+ 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]
3215
2680
  _return_http_data_only (bool): response data without head status
3216
2681
  code and headers. Default is True.
3217
2682
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3244,7 +2709,7 @@ class CampaignApi(object):
3244
2709
  async_req (bool): execute request asynchronously
3245
2710
 
3246
2711
  Returns:
3247
- ProductButtonListResponse
2712
+ PromotedProductResourceCollectionOutcome
3248
2713
  If the method is called asynchronously, returns the request
3249
2714
  thread.
3250
2715
  """
@@ -3275,31 +2740,26 @@ class CampaignApi(object):
3275
2740
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3276
2741
  kwargs['line_item_id'] = \
3277
2742
  line_item_id
3278
- kwargs['product_button_id'] = \
3279
- product_button_id
3280
- return self.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
2743
+ return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
3281
2744
 
3282
- def get_api_v1_external_account_brands_by_account_id(
2745
+ def get_api202210_external_line_item_product_buttons_by_line_item_id(
3283
2746
  self,
3284
- account_id,
2747
+ line_item_id,
3285
2748
  **kwargs
3286
2749
  ):
3287
- """get_api_v1_external_account_brands_by_account_id # noqa: E501
2750
+ """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
3288
2751
 
3289
- Gets page of retailer objects that are associated with the given account # noqa: E501
2752
+ Get all the product buttons associated with a line item # noqa: E501
3290
2753
  This method makes a synchronous HTTP request by default. To make an
3291
2754
  asynchronous HTTP request, please pass async_req=True
3292
2755
 
3293
- >>> thread = api.get_api_v1_external_account_brands_by_account_id(account_id, async_req=True)
2756
+ >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
3294
2757
  >>> result = thread.get()
3295
2758
 
3296
2759
  Args:
3297
- account_id (str): The given account id
2760
+ line_item_id (str): Long external id of the associated line item
3298
2761
 
3299
2762
  Keyword Args:
3300
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3301
- 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
3302
- 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
3303
2763
  _return_http_data_only (bool): response data without head status
3304
2764
  code and headers. Default is True.
3305
2765
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3332,7 +2792,7 @@ class CampaignApi(object):
3332
2792
  async_req (bool): execute request asynchronously
3333
2793
 
3334
2794
  Returns:
3335
- JsonApiPageResponseOfBrand
2795
+ ProductButtonListResponse
3336
2796
  If the method is called asynchronously, returns the request
3337
2797
  thread.
3338
2798
  """
@@ -3361,31 +2821,30 @@ class CampaignApi(object):
3361
2821
  '_content_type')
3362
2822
  kwargs['_host_index'] = kwargs.get('_host_index')
3363
2823
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3364
- kwargs['account_id'] = \
3365
- account_id
3366
- return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs)
2824
+ kwargs['line_item_id'] = \
2825
+ line_item_id
2826
+ return self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3367
2827
 
3368
- def get_api_v1_external_account_retailers_by_account_id(
2828
+ def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
3369
2829
  self,
3370
- account_id,
2830
+ line_item_id,
2831
+ product_button_id,
3371
2832
  **kwargs
3372
2833
  ):
3373
- """get_api_v1_external_account_retailers_by_account_id # noqa: E501
2834
+ """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
3374
2835
 
3375
- Gets page of retailer objects that are associated with the given account # noqa: E501
2836
+ Get a single product button # noqa: E501
3376
2837
  This method makes a synchronous HTTP request by default. To make an
3377
2838
  asynchronous HTTP request, please pass async_req=True
3378
2839
 
3379
- >>> thread = api.get_api_v1_external_account_retailers_by_account_id(account_id, async_req=True)
2840
+ >>> 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)
3380
2841
  >>> result = thread.get()
3381
2842
 
3382
2843
  Args:
3383
- account_id (str): The given account id
2844
+ line_item_id (str): Long external id of the associated line item
2845
+ product_button_id (str): Sequential id of the product button
3384
2846
 
3385
2847
  Keyword Args:
3386
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3387
- 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
3388
- 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
3389
2848
  _return_http_data_only (bool): response data without head status
3390
2849
  code and headers. Default is True.
3391
2850
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3418,7 +2877,7 @@ class CampaignApi(object):
3418
2877
  async_req (bool): execute request asynchronously
3419
2878
 
3420
2879
  Returns:
3421
- JsonApiPageResponseOfRetailer
2880
+ ProductButtonListResponse
3422
2881
  If the method is called asynchronously, returns the request
3423
2882
  thread.
3424
2883
  """
@@ -3447,9 +2906,11 @@ class CampaignApi(object):
3447
2906
  '_content_type')
3448
2907
  kwargs['_host_index'] = kwargs.get('_host_index')
3449
2908
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3450
- kwargs['account_id'] = \
3451
- account_id
3452
- return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
2909
+ kwargs['line_item_id'] = \
2910
+ line_item_id
2911
+ kwargs['product_button_id'] = \
2912
+ product_button_id
2913
+ return self.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3453
2914
 
3454
2915
  def get_api_v1_external_retailer_brands_by_retailer_id(
3455
2916
  self,
@@ -3842,7 +3303,7 @@ class CampaignApi(object):
3842
3303
  async_req (bool): execute request asynchronously
3843
3304
 
3844
3305
  Returns:
3845
- CreativeV2Response
3306
+ Creative2Response
3846
3307
  If the method is called asynchronously, returns the request
3847
3308
  thread.
3848
3309
  """
@@ -4129,27 +3590,25 @@ class CampaignApi(object):
4129
3590
  line_item_id
4130
3591
  return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4131
3592
 
4132
- def get_insertion_order_history_change_data_capture_v2(
3593
+ def get_cpc_min_bids_by_sku_ids_v1(
4133
3594
  self,
4134
- insertion_order_id,
3595
+ retailer_id,
4135
3596
  **kwargs
4136
3597
  ):
4137
- """get_insertion_order_history_change_data_capture_v2 # noqa: E501
3598
+ """get_cpc_min_bids_by_sku_ids_v1 # noqa: E501
4138
3599
 
4139
- Gets the balance's historical data change capture. # noqa: E501
3600
+ Get overall and individual minimum bid amount for given retailer id and sku id list. # noqa: E501
4140
3601
  This method makes a synchronous HTTP request by default. To make an
4141
3602
  asynchronous HTTP request, please pass async_req=True
4142
3603
 
4143
- >>> thread = api.get_insertion_order_history_change_data_capture_v2(insertion_order_id, async_req=True)
3604
+ >>> thread = api.get_cpc_min_bids_by_sku_ids_v1(retailer_id, async_req=True)
4144
3605
  >>> result = thread.get()
4145
3606
 
4146
3607
  Args:
4147
- insertion_order_id (str): External insertion order id.
3608
+ retailer_id (int): Retailer Id.
4148
3609
 
4149
3610
  Keyword Args:
4150
- offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0
4151
- limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25
4152
- limit_to_change_types (str): Comma separated change types string that will be queried.. [optional]
3611
+ value_resource_input_cpc_min_bids_request (ValueResourceInputCpcMinBidsRequest): Cpc minimum bid amount request object.. [optional]
4153
3612
  _return_http_data_only (bool): response data without head status
4154
3613
  code and headers. Default is True.
4155
3614
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4182,7 +3641,7 @@ class CampaignApi(object):
4182
3641
  async_req (bool): execute request asynchronously
4183
3642
 
4184
3643
  Returns:
4185
- PageOfInsertionOrderHistoryChangeDataCaptureV2
3644
+ ValueResourceOutcomeCpcMinBidsResponse
4186
3645
  If the method is called asynchronously, returns the request
4187
3646
  thread.
4188
3647
  """
@@ -4211,9 +3670,9 @@ class CampaignApi(object):
4211
3670
  '_content_type')
4212
3671
  kwargs['_host_index'] = kwargs.get('_host_index')
4213
3672
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4214
- kwargs['insertion_order_id'] = \
4215
- insertion_order_id
4216
- return self.get_insertion_order_history_change_data_capture_v2_endpoint.call_with_http_info(**kwargs)
3673
+ kwargs['retailer_id'] = \
3674
+ retailer_id
3675
+ return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
4217
3676
 
4218
3677
  def get_recommended_keywords(
4219
3678
  self,
@@ -4298,96 +3757,6 @@ class CampaignApi(object):
4298
3757
  external_line_item_id
4299
3758
  return self.get_recommended_keywords_endpoint.call_with_http_info(**kwargs)
4300
3759
 
4301
- def get_sku_by_product_id(
4302
- self,
4303
- account_id,
4304
- retailer_id,
4305
- **kwargs
4306
- ):
4307
- """get_sku_by_product_id # noqa: E501
4308
-
4309
- Gets a list of SKUs based on a privided list of Product Ids # noqa: E501
4310
- This method makes a synchronous HTTP request by default. To make an
4311
- asynchronous HTTP request, please pass async_req=True
4312
-
4313
- >>> thread = api.get_sku_by_product_id(account_id, retailer_id, async_req=True)
4314
- >>> result = thread.get()
4315
-
4316
- Args:
4317
- account_id (str): account id
4318
- retailer_id (int): retailer id
4319
-
4320
- Keyword Args:
4321
- 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
4322
- limit (int): max number of results to return. [optional] if omitted the server will use the default value of 100
4323
- sku_search_request (SkuSearchRequest): . [optional]
4324
- _return_http_data_only (bool): response data without head status
4325
- code and headers. Default is True.
4326
- _preload_content (bool): if False, the urllib3.HTTPResponse object
4327
- will be returned without reading/decoding response data.
4328
- Default is True.
4329
- _request_timeout (int/float/tuple): timeout setting for this request. If
4330
- one number provided, it will be total request timeout. It can also
4331
- be a pair (tuple) of (connection, read) timeouts.
4332
- Default is None.
4333
- _check_input_type (bool): specifies if type checking
4334
- should be done one the data sent to the server.
4335
- Default is True.
4336
- _check_return_type (bool): specifies if type checking
4337
- should be done one the data received from the server.
4338
- Default is True.
4339
- _spec_property_naming (bool): True if the variable names in the input data
4340
- are serialized names, as specified in the OpenAPI document.
4341
- False if the variable names in the input data
4342
- are pythonic names, e.g. snake case (default)
4343
- _content_type (str/None): force body content-type.
4344
- Default is None and content-type will be predicted by allowed
4345
- content-types and body.
4346
- _host_index (int/None): specifies the index of the server
4347
- that we want to use.
4348
- Default is read from the configuration.
4349
- _request_auths (list): set to override the auth_settings for an a single
4350
- request; this effectively ignores the authentication
4351
- in the spec for a single request.
4352
- Default is None
4353
- async_req (bool): execute request asynchronously
4354
-
4355
- Returns:
4356
- ResourceCollectionOutcomeOfSkuSearchResult
4357
- If the method is called asynchronously, returns the request
4358
- thread.
4359
- """
4360
- kwargs['async_req'] = kwargs.get(
4361
- 'async_req', False
4362
- )
4363
- kwargs['_return_http_data_only'] = kwargs.get(
4364
- '_return_http_data_only', True
4365
- )
4366
- kwargs['_preload_content'] = kwargs.get(
4367
- '_preload_content', True
4368
- )
4369
- kwargs['_request_timeout'] = kwargs.get(
4370
- '_request_timeout', None
4371
- )
4372
- kwargs['_check_input_type'] = kwargs.get(
4373
- '_check_input_type', True
4374
- )
4375
- kwargs['_check_return_type'] = kwargs.get(
4376
- '_check_return_type', True
4377
- )
4378
- kwargs['_spec_property_naming'] = kwargs.get(
4379
- '_spec_property_naming', False
4380
- )
4381
- kwargs['_content_type'] = kwargs.get(
4382
- '_content_type')
4383
- kwargs['_host_index'] = kwargs.get('_host_index')
4384
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4385
- kwargs['account_id'] = \
4386
- account_id
4387
- kwargs['retailer_id'] = \
4388
- retailer_id
4389
- return self.get_sku_by_product_id_endpoint.call_with_http_info(**kwargs)
4390
-
4391
3760
  def pause_promoted_products(
4392
3761
  self,
4393
3762
  line_item_id,
@@ -5084,7 +4453,7 @@ class CampaignApi(object):
5084
4453
  account_id (str): External account id to create a creative for
5085
4454
 
5086
4455
  Keyword Args:
5087
- external_creative_create_model_v2 (ExternalCreativeCreateModelV2): The creative to create. [optional]
4456
+ creative_create_model2 (CreativeCreateModel2): The creative to create. [optional]
5088
4457
  _return_http_data_only (bool): response data without head status
5089
4458
  code and headers. Default is True.
5090
4459
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5117,7 +4486,7 @@ class CampaignApi(object):
5117
4486
  async_req (bool): execute request asynchronously
5118
4487
 
5119
4488
  Returns:
5120
- CreativeV2Response
4489
+ Creative2Response
5121
4490
  If the method is called asynchronously, returns the request
5122
4491
  thread.
5123
4492
  """
@@ -5201,7 +4570,7 @@ class CampaignApi(object):
5201
4570
  async_req (bool): execute request asynchronously
5202
4571
 
5203
4572
  Returns:
5204
- CreativeV2ListResponse
4573
+ Creative2ListResponse
5205
4574
  If the method is called asynchronously, returns the request
5206
4575
  thread.
5207
4576
  """
@@ -5429,7 +4798,7 @@ class CampaignApi(object):
5429
4798
  creative_id (str): Creative to update
5430
4799
 
5431
4800
  Keyword Args:
5432
- external_creative_update_model_v2 (ExternalCreativeUpdateModelV2): The creative to create. [optional]
4801
+ creative_update_model2 (CreativeUpdateModel2): The creative to create. [optional]
5433
4802
  _return_http_data_only (bool): response data without head status
5434
4803
  code and headers. Default is True.
5435
4804
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5462,7 +4831,7 @@ class CampaignApi(object):
5462
4831
  async_req (bool): execute request asynchronously
5463
4832
 
5464
4833
  Returns:
5465
- CreativeV2Response
4834
+ Creative2Response
5466
4835
  If the method is called asynchronously, returns the request
5467
4836
  thread.
5468
4837
  """
@@ -5581,25 +4950,24 @@ class CampaignApi(object):
5581
4950
  line_item_id
5582
4951
  return self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5583
4952
 
5584
- def set_keyword_bids(
4953
+ def search_brands_by_name_async_v1(
5585
4954
  self,
5586
- id,
5587
4955
  **kwargs
5588
4956
  ):
5589
- """set_keyword_bids # noqa: E501
4957
+ """search_brands_by_name_async_v1 # noqa: E501
5590
4958
 
5591
- Set bid overrides for associated keywords to the given line item in bulk # noqa: E501
4959
+ Search for brands given a retailer ID and search term. # noqa: E501
5592
4960
  This method makes a synchronous HTTP request by default. To make an
5593
4961
  asynchronous HTTP request, please pass async_req=True
5594
4962
 
5595
- >>> thread = api.set_keyword_bids(id, async_req=True)
4963
+ >>> thread = api.search_brands_by_name_async_v1(async_req=True)
5596
4964
  >>> result = thread.get()
5597
4965
 
5598
- Args:
5599
- id (str): ID of the line item
5600
4966
 
5601
4967
  Keyword Args:
5602
- set_bids_model_request (SetBidsModelRequest): [optional]
4968
+ offset (int): offset of paginated results. [optional] if omitted the server will use the default value of 0
4969
+ limit (int): the number of brands to return. [optional] if omitted the server will use the default value of 25
4970
+ value_resource_input_brand_id_search_request (ValueResourceInputBrandIdSearchRequest): BrandIdSearchRequest which contains the request parameters. [optional]
5603
4971
  _return_http_data_only (bool): response data without head status
5604
4972
  code and headers. Default is True.
5605
4973
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5632,7 +5000,7 @@ class CampaignApi(object):
5632
5000
  async_req (bool): execute request asynchronously
5633
5001
 
5634
5002
  Returns:
5635
- ResourceOutcome
5003
+ EntityResourceCollectionOutcomeBrandIdSearchResult
5636
5004
  If the method is called asynchronously, returns the request
5637
5005
  thread.
5638
5006
  """
@@ -5661,28 +5029,27 @@ class CampaignApi(object):
5661
5029
  '_content_type')
5662
5030
  kwargs['_host_index'] = kwargs.get('_host_index')
5663
5031
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5664
- kwargs['id'] = \
5665
- id
5666
- return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
5032
+ return self.search_brands_by_name_async_v1_endpoint.call_with_http_info(**kwargs)
5667
5033
 
5668
- def submit_proposal(
5034
+ def set_keyword_bids(
5669
5035
  self,
5670
5036
  id,
5671
5037
  **kwargs
5672
5038
  ):
5673
- """submit_proposal # noqa: E501
5039
+ """set_keyword_bids # noqa: E501
5674
5040
 
5675
- Only the components of the Line Item that are in a valid state will be reviewed. # noqa: E501
5041
+ Set bid overrides for associated keywords to the given line item in bulk # noqa: E501
5676
5042
  This method makes a synchronous HTTP request by default. To make an
5677
5043
  asynchronous HTTP request, please pass async_req=True
5678
5044
 
5679
- >>> thread = api.submit_proposal(id, async_req=True)
5045
+ >>> thread = api.set_keyword_bids(id, async_req=True)
5680
5046
  >>> result = thread.get()
5681
5047
 
5682
5048
  Args:
5683
5049
  id (str): ID of the line item
5684
5050
 
5685
5051
  Keyword Args:
5052
+ set_bids_model_request (SetBidsModelRequest): [optional]
5686
5053
  _return_http_data_only (bool): response data without head status
5687
5054
  code and headers. Default is True.
5688
5055
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5715,7 +5082,7 @@ class CampaignApi(object):
5715
5082
  async_req (bool): execute request asynchronously
5716
5083
 
5717
5084
  Returns:
5718
- ProposalStatusModelResponse
5085
+ ResourceOutcome
5719
5086
  If the method is called asynchronously, returns the request
5720
5087
  thread.
5721
5088
  """
@@ -5746,7 +5113,7 @@ class CampaignApi(object):
5746
5113
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5747
5114
  kwargs['id'] = \
5748
5115
  id
5749
- return self.submit_proposal_endpoint.call_with_http_info(**kwargs)
5116
+ return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
5750
5117
 
5751
5118
  def unpause_promoted_products(
5752
5119
  self,