criteo-api-retailmedia-sdk 0.0.241029__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 (91) 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/balance_api.py +0 -159
  4. criteo_api_retailmedia_preview/api/campaign_api.py +127 -921
  5. criteo_api_retailmedia_preview/api/catalog_api.py +161 -0
  6. criteo_api_retailmedia_preview/api_client.py +4 -4
  7. criteo_api_retailmedia_preview/configuration.py +1 -1
  8. criteo_api_retailmedia_preview/model/async_accounts_report.py +40 -0
  9. criteo_api_retailmedia_preview/model/async_campaigns_report.py +40 -0
  10. criteo_api_retailmedia_preview/model/async_line_items_report.py +40 -0
  11. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +1 -1
  12. criteo_api_retailmedia_preview/model/brand_id_search_request.py +271 -0
  13. criteo_api_retailmedia_preview/model/{external_retailer.py → brand_id_search_result.py} +26 -26
  14. criteo_api_retailmedia_preview/model/category.py +3 -3
  15. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -18
  16. criteo_api_retailmedia_preview/model/{external_choice_variable_value.py → choice_variable_value.py} +4 -10
  17. criteo_api_retailmedia_preview/model/{external_color_variable_value.py → color_variable_value.py} +5 -11
  18. criteo_api_retailmedia_preview/model/{sku_search_request.py → cpc_min_bids_request.py} +11 -16
  19. criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture_v2.py → cpc_min_bids_response.py} +19 -21
  20. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +6 -6
  21. criteo_api_retailmedia_preview/model/{external_creative_v2.py → creative2.py} +23 -30
  22. criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → creative2_list_response.py} +9 -9
  23. criteo_api_retailmedia_preview/model/{resource_collection_outcome_of_sku_search_result.py → creative2_response.py} +9 -9
  24. criteo_api_retailmedia_preview/model/{external_creative_create_model_v2.py → creative_create_model2.py} +9 -16
  25. criteo_api_retailmedia_preview/model/{external_creative_update_model_v2.py → creative_update_model2.py} +9 -16
  26. criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → entity_resource_brand_id_search_result.py} +13 -13
  27. criteo_api_retailmedia_preview/model/{creative_v2_list_response.py → entity_resource_collection_outcome_brand_id_search_result.py} +17 -24
  28. 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
  29. criteo_api_retailmedia_preview/model/{entity_resource_of_retail_media_account.py → entity_resource_of_retail_media_child_account.py} +9 -9
  30. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +1 -1
  31. criteo_api_retailmedia_preview/model/{external_retail_media_account.py → external_retail_media_child_account.py} +4 -8
  32. criteo_api_retailmedia_preview/model/{external_files_variable_value.py → files_variable_value.py} +4 -10
  33. criteo_api_retailmedia_preview/model/{external_hyperlink_variable_value.py → hyperlink_variable_value.py} +5 -11
  34. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +1 -1
  35. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +1 -1
  36. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +1 -1
  37. criteo_api_retailmedia_preview/model/{add_funds_to_balance_v2_request.py → offset_page_metadata.py} +25 -15
  38. criteo_api_retailmedia_preview/model/{resource_of_sku_search_result.py → outcome.py} +15 -17
  39. criteo_api_retailmedia_preview/model/{external_page_type_environment.py → page_type_environment2.py} +4 -10
  40. criteo_api_retailmedia_preview/model/placement_preview.py +4 -0
  41. criteo_api_retailmedia_preview/model/report_ok_response.py +18 -18
  42. criteo_api_retailmedia_preview/model/{proposal_status_model_resource.py → resource_of_creative2.py} +14 -14
  43. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +1 -1
  44. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +1 -1
  45. criteo_api_retailmedia_preview/model/retail_media_seller.py +4 -0
  46. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +296 -0
  47. criteo_api_retailmedia_preview/model/seller_catalog_request.py +1 -1
  48. criteo_api_retailmedia_preview/model/{sku_search_request_body.py → seller_search.py} +18 -25
  49. criteo_api_retailmedia_preview/model/sku_data_preview.py +27 -27
  50. criteo_api_retailmedia_preview/model/{external_brand.py → sku_min_bid.py} +18 -22
  51. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +9 -13
  52. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +4 -0
  53. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +1 -11
  54. criteo_api_retailmedia_preview/model/sync_line_items_report.py +1 -11
  55. criteo_api_retailmedia_preview/model/{external_template_variable_value.py → template_variable_value.py} +36 -43
  56. criteo_api_retailmedia_preview/model/{external_text_variable_value.py → text_variable_value.py} +5 -11
  57. criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → value_resource_brand_id_search_request.py} +10 -10
  58. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +8 -8
  59. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +266 -0
  60. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +266 -0
  61. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +262 -0
  62. criteo_api_retailmedia_preview/model/value_resource_input_cpc_min_bids_request.py +262 -0
  63. criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → value_resource_input_of_seller_search.py} +8 -8
  64. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +2 -2
  65. criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → value_resource_of_seller_search.py} +13 -9
  66. criteo_api_retailmedia_preview/model/{proposal_status_model_response.py → value_resource_outcome_cpc_min_bids_response.py} +19 -19
  67. criteo_api_retailmedia_preview/model/{external_video_variable_value.py → video_variable_value.py} +4 -10
  68. criteo_api_retailmedia_preview/models/__init__.py +36 -49
  69. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/METADATA +14 -5
  70. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/RECORD +72 -85
  71. {criteo_api_retailmedia_sdk-0.0.241029.dist-info → criteo_api_retailmedia_sdk-0.0.250129.dist-info}/WHEEL +1 -1
  72. criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +0 -277
  73. criteo_api_retailmedia_preview/model/approval_status_model.py +0 -292
  74. criteo_api_retailmedia_preview/model/change_details_v2.py +0 -275
  75. criteo_api_retailmedia_preview/model/creative_v2_response.py +0 -281
  76. criteo_api_retailmedia_preview/model/external_account.py +0 -330
  77. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +0 -303
  78. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_account_and_account.py +0 -285
  79. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_brand_and_brand.py +0 -285
  80. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_retailer_and_retailer.py +0 -285
  81. criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +0 -295
  82. criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +0 -295
  83. criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +0 -295
  84. criteo_api_retailmedia_preview/model/negotiation_state_model.py +0 -293
  85. criteo_api_retailmedia_preview/model/proposal_status_model.py +0 -284
  86. criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +0 -277
  87. criteo_api_retailmedia_preview/model/resource_of_creative_v2.py +0 -277
  88. criteo_api_retailmedia_preview/model/retail_media_account.py +0 -301
  89. criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +0 -274
  90. criteo_api_retailmedia_preview/model/sku_search_result.py +0 -313
  91. {criteo_api_retailmedia_sdk-0.0.241029.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,18 +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
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
63
59
  from criteo_api_retailmedia_preview.model.value_resource_outcome_of_recommended_keywords_result import ValueResourceOutcomeOfRecommendedKeywordsResult
64
60
 
65
61
 
@@ -423,58 +419,6 @@ class CampaignApi(object):
423
419
  },
424
420
  api_client=api_client
425
421
  )
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
422
  self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint = _Endpoint(
479
423
  settings={
480
424
  'response_type': (ProductButtonListResponse,),
@@ -585,146 +529,6 @@ class CampaignApi(object):
585
529
  },
586
530
  api_client=api_client
587
531
  )
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
532
  self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
729
533
  settings={
730
534
  'response_type': (BrandPreviewListResponse,),
@@ -971,7 +775,7 @@ class CampaignApi(object):
971
775
  )
972
776
  self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
973
777
  settings={
974
- 'response_type': (CreativeV2Response,),
778
+ 'response_type': (Creative2Response,),
975
779
  'auth': [
976
780
  'oauth',
977
781
  'oauth'
@@ -1203,82 +1007,66 @@ class CampaignApi(object):
1203
1007
  },
1204
1008
  api_client=api_client
1205
1009
  )
1206
- self.get_insertion_order_history_change_data_capture_v2_endpoint = _Endpoint(
1010
+ self.get_cpc_min_bids_by_sku_ids_v1_endpoint = _Endpoint(
1207
1011
  settings={
1208
- 'response_type': (PageOfInsertionOrderHistoryChangeDataCaptureV2,),
1012
+ 'response_type': (ValueResourceOutcomeCpcMinBidsResponse,),
1209
1013
  'auth': [
1210
1014
  'oauth',
1211
1015
  'oauth'
1212
1016
  ],
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',
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',
1216
1020
  'servers': None,
1217
1021
  },
1218
1022
  params_map={
1219
1023
  'all': [
1220
- 'insertion_order_id',
1221
- 'offset',
1222
- 'limit',
1223
- 'limit_to_change_types',
1024
+ 'retailer_id',
1025
+ 'value_resource_input_cpc_min_bids_request',
1224
1026
  ],
1225
1027
  'required': [
1226
- 'insertion_order_id',
1028
+ 'retailer_id',
1227
1029
  ],
1228
1030
  'nullable': [
1229
1031
  ],
1230
1032
  'enum': [
1231
1033
  ],
1232
1034
  'validation': [
1233
- 'offset',
1234
- 'limit',
1235
1035
  ]
1236
1036
  },
1237
1037
  root_map={
1238
1038
  '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
1039
  },
1250
1040
  'allowed_values': {
1251
1041
  },
1252
1042
  'openapi_types': {
1253
- 'insertion_order_id':
1254
- (str,),
1255
- 'offset':
1256
- (int,),
1257
- 'limit':
1043
+ 'retailer_id':
1258
1044
  (int,),
1259
- 'limit_to_change_types':
1260
- (str,),
1045
+ 'value_resource_input_cpc_min_bids_request':
1046
+ (ValueResourceInputCpcMinBidsRequest,),
1261
1047
  },
1262
1048
  'attribute_map': {
1263
- 'insertion_order_id': 'insertionOrderId',
1264
- 'offset': 'offset',
1265
- 'limit': 'limit',
1266
- 'limit_to_change_types': 'limitToChangeTypes',
1049
+ 'retailer_id': 'retailerId',
1267
1050
  },
1268
1051
  'location_map': {
1269
- 'insertion_order_id': 'path',
1270
- 'offset': 'query',
1271
- 'limit': 'query',
1272
- 'limit_to_change_types': 'query',
1052
+ 'retailer_id': 'path',
1053
+ 'value_resource_input_cpc_min_bids_request': 'body',
1273
1054
  },
1274
1055
  'collection_format_map': {
1275
1056
  }
1276
1057
  },
1277
1058
  headers_map={
1278
1059
  'accept': [
1279
- 'application/json'
1060
+ 'text/plain',
1061
+ 'application/json',
1062
+ 'text/json'
1280
1063
  ],
1281
- 'content_type': [],
1064
+ 'content_type': [
1065
+ 'application/json-patch+json',
1066
+ 'application/json',
1067
+ 'text/json',
1068
+ 'application/*+json'
1069
+ ]
1282
1070
  },
1283
1071
  api_client=api_client
1284
1072
  )
@@ -1334,142 +1122,40 @@ class CampaignApi(object):
1334
1122
  },
1335
1123
  api_client=api_client
1336
1124
  )
1337
- self.get_sku_by_product_id_endpoint = _Endpoint(
1125
+ self.pause_promoted_products_endpoint = _Endpoint(
1338
1126
  settings={
1339
- 'response_type': (ResourceCollectionOutcomeOfSkuSearchResult,),
1127
+ 'response_type': None,
1340
1128
  'auth': [
1341
1129
  'oauth',
1342
1130
  'oauth'
1343
1131
  ],
1344
- 'endpoint_path': '/preview/retail-media/catalogs/sku/search/accounts/{accountId}/retailers/{retailerId}/by-id',
1345
- 'operation_id': 'get_sku_by_product_id',
1132
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1133
+ 'operation_id': 'pause_promoted_products',
1346
1134
  'http_method': 'POST',
1347
1135
  'servers': None,
1348
1136
  },
1349
1137
  params_map={
1350
1138
  'all': [
1351
- 'account_id',
1352
- 'retailer_id',
1353
- 'offset',
1354
- 'limit',
1355
- 'sku_search_request',
1139
+ 'line_item_id',
1140
+ 'promoted_product_resource_collection_input',
1356
1141
  ],
1357
1142
  'required': [
1358
- 'account_id',
1359
- 'retailer_id',
1143
+ 'line_item_id',
1360
1144
  ],
1361
1145
  'nullable': [
1362
1146
  ],
1363
1147
  'enum': [
1364
1148
  ],
1365
1149
  'validation': [
1366
- 'account_id',
1367
- 'retailer_id',
1368
- 'offset',
1369
- 'limit',
1370
1150
  ]
1371
1151
  },
1372
1152
  root_map={
1373
1153
  '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
1154
  },
1396
1155
  'allowed_values': {
1397
1156
  },
1398
1157
  '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':
1158
+ 'line_item_id':
1473
1159
  (str,),
1474
1160
  'promoted_product_resource_collection_input':
1475
1161
  (PromotedProductResourceCollectionInput,),
@@ -1632,6 +1318,7 @@ class CampaignApi(object):
1632
1318
  'account_id',
1633
1319
  ],
1634
1320
  'nullable': [
1321
+ 'json_api_request_of_seller_catalog_request',
1635
1322
  ],
1636
1323
  'enum': [
1637
1324
  ],
@@ -1982,7 +1669,7 @@ class CampaignApi(object):
1982
1669
  )
1983
1670
  self.post_api_v2_external_account_creatives_by_account_id_endpoint = _Endpoint(
1984
1671
  settings={
1985
- 'response_type': (CreativeV2Response,),
1672
+ 'response_type': (Creative2Response,),
1986
1673
  'auth': [
1987
1674
  'oauth',
1988
1675
  'oauth'
@@ -1995,7 +1682,7 @@ class CampaignApi(object):
1995
1682
  params_map={
1996
1683
  'all': [
1997
1684
  'account_id',
1998
- 'external_creative_create_model_v2',
1685
+ 'creative_create_model2',
1999
1686
  ],
2000
1687
  'required': [
2001
1688
  'account_id',
@@ -2015,15 +1702,15 @@ class CampaignApi(object):
2015
1702
  'openapi_types': {
2016
1703
  'account_id':
2017
1704
  (str,),
2018
- 'external_creative_create_model_v2':
2019
- (ExternalCreativeCreateModelV2,),
1705
+ 'creative_create_model2':
1706
+ (CreativeCreateModel2,),
2020
1707
  },
2021
1708
  'attribute_map': {
2022
1709
  'account_id': 'account-id',
2023
1710
  },
2024
1711
  'location_map': {
2025
1712
  'account_id': 'path',
2026
- 'external_creative_create_model_v2': 'body',
1713
+ 'creative_create_model2': 'body',
2027
1714
  },
2028
1715
  'collection_format_map': {
2029
1716
  }
@@ -2042,7 +1729,7 @@ class CampaignApi(object):
2042
1729
  )
2043
1730
  self.post_api_v2_external_account_creatives_search_by_account_id_endpoint = _Endpoint(
2044
1731
  settings={
2045
- 'response_type': (CreativeV2ListResponse,),
1732
+ 'response_type': (Creative2ListResponse,),
2046
1733
  'auth': [
2047
1734
  'oauth',
2048
1735
  'oauth'
@@ -2225,7 +1912,7 @@ class CampaignApi(object):
2225
1912
  )
2226
1913
  self.put_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
2227
1914
  settings={
2228
- 'response_type': (CreativeV2Response,),
1915
+ 'response_type': (Creative2Response,),
2229
1916
  'auth': [
2230
1917
  'oauth',
2231
1918
  'oauth'
@@ -2239,7 +1926,7 @@ class CampaignApi(object):
2239
1926
  'all': [
2240
1927
  'account_id',
2241
1928
  'creative_id',
2242
- 'external_creative_update_model_v2',
1929
+ 'creative_update_model2',
2243
1930
  ],
2244
1931
  'required': [
2245
1932
  'account_id',
@@ -2262,8 +1949,8 @@ class CampaignApi(object):
2262
1949
  (str,),
2263
1950
  'creative_id':
2264
1951
  (str,),
2265
- 'external_creative_update_model_v2':
2266
- (ExternalCreativeUpdateModelV2,),
1952
+ 'creative_update_model2':
1953
+ (CreativeUpdateModel2,),
2267
1954
  },
2268
1955
  'attribute_map': {
2269
1956
  'account_id': 'account-id',
@@ -2272,7 +1959,7 @@ class CampaignApi(object):
2272
1959
  'location_map': {
2273
1960
  'account_id': 'path',
2274
1961
  'creative_id': 'path',
2275
- 'external_creative_update_model_v2': 'body',
1962
+ 'creative_update_model2': 'body',
2276
1963
  },
2277
1964
  'collection_format_map': {
2278
1965
  }
@@ -2310,6 +1997,7 @@ class CampaignApi(object):
2310
1997
  'line_item_id',
2311
1998
  ],
2312
1999
  'nullable': [
2000
+ 'line_item_bid_multipliers_v2_request',
2313
2001
  ],
2314
2002
  'enum': [
2315
2003
  ],
@@ -2407,58 +2095,6 @@ class CampaignApi(object):
2407
2095
  },
2408
2096
  api_client=api_client
2409
2097
  )
2410
- self.submit_proposal_endpoint = _Endpoint(
2411
- settings={
2412
- 'response_type': (ProposalStatusModelResponse,),
2413
- 'auth': [
2414
- 'oauth',
2415
- 'oauth'
2416
- ],
2417
- 'endpoint_path': '/preview/retail-media/preferred-deal-line-items/{id}/proposal/submit',
2418
- 'operation_id': 'submit_proposal',
2419
- 'http_method': 'POST',
2420
- 'servers': None,
2421
- },
2422
- params_map={
2423
- 'all': [
2424
- 'id',
2425
- ],
2426
- 'required': [
2427
- 'id',
2428
- ],
2429
- 'nullable': [
2430
- ],
2431
- 'enum': [
2432
- ],
2433
- 'validation': [
2434
- ]
2435
- },
2436
- root_map={
2437
- 'validations': {
2438
- },
2439
- 'allowed_values': {
2440
- },
2441
- 'openapi_types': {
2442
- 'id':
2443
- (str,),
2444
- },
2445
- 'attribute_map': {
2446
- 'id': 'id',
2447
- },
2448
- 'location_map': {
2449
- 'id': 'path',
2450
- },
2451
- 'collection_format_map': {
2452
- }
2453
- },
2454
- headers_map={
2455
- 'accept': [
2456
- 'application/json'
2457
- ],
2458
- 'content_type': [],
2459
- },
2460
- api_client=api_client
2461
- )
2462
2098
  self.unpause_promoted_products_endpoint = _Endpoint(
2463
2099
  settings={
2464
2100
  'response_type': None,
@@ -2738,262 +2374,7 @@ class CampaignApi(object):
2738
2374
  async_req (bool): execute request asynchronously
2739
2375
 
2740
2376
  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)
2775
-
2776
- def delete_promoted_products(
2777
- self,
2778
- line_item_id,
2779
- **kwargs
2780
- ):
2781
- """delete_promoted_products # noqa: E501
2782
-
2783
- Remove a collection of promoted products from a line item # noqa: E501
2784
- This method makes a synchronous HTTP request by default. To make an
2785
- asynchronous HTTP request, please pass async_req=True
2786
-
2787
- >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
2788
- >>> result = thread.get()
2789
-
2790
- Args:
2791
- line_item_id (str): ID of the line item
2792
-
2793
- Keyword Args:
2794
- promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
2795
- _return_http_data_only (bool): response data without head status
2796
- code and headers. Default is True.
2797
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2798
- will be returned without reading/decoding response data.
2799
- Default is True.
2800
- _request_timeout (int/float/tuple): timeout setting for this request. If
2801
- one number provided, it will be total request timeout. It can also
2802
- be a pair (tuple) of (connection, read) timeouts.
2803
- Default is None.
2804
- _check_input_type (bool): specifies if type checking
2805
- should be done one the data sent to the server.
2806
- Default is True.
2807
- _check_return_type (bool): specifies if type checking
2808
- should be done one the data received from the server.
2809
- Default is True.
2810
- _spec_property_naming (bool): True if the variable names in the input data
2811
- are serialized names, as specified in the OpenAPI document.
2812
- False if the variable names in the input data
2813
- are pythonic names, e.g. snake case (default)
2814
- _content_type (str/None): force body content-type.
2815
- Default is None and content-type will be predicted by allowed
2816
- content-types and body.
2817
- _host_index (int/None): specifies the index of the server
2818
- that we want to use.
2819
- Default is read from the configuration.
2820
- _request_auths (list): set to override the auth_settings for an a single
2821
- request; this effectively ignores the authentication
2822
- in the spec for a single request.
2823
- Default is None
2824
- async_req (bool): execute request asynchronously
2825
-
2826
- Returns:
2827
- None
2828
- If the method is called asynchronously, returns the request
2829
- thread.
2830
- """
2831
- kwargs['async_req'] = kwargs.get(
2832
- 'async_req', False
2833
- )
2834
- kwargs['_return_http_data_only'] = kwargs.get(
2835
- '_return_http_data_only', True
2836
- )
2837
- kwargs['_preload_content'] = kwargs.get(
2838
- '_preload_content', True
2839
- )
2840
- kwargs['_request_timeout'] = kwargs.get(
2841
- '_request_timeout', None
2842
- )
2843
- kwargs['_check_input_type'] = kwargs.get(
2844
- '_check_input_type', True
2845
- )
2846
- kwargs['_check_return_type'] = kwargs.get(
2847
- '_check_return_type', True
2848
- )
2849
- kwargs['_spec_property_naming'] = kwargs.get(
2850
- '_spec_property_naming', False
2851
- )
2852
- kwargs['_content_type'] = kwargs.get(
2853
- '_content_type')
2854
- kwargs['_host_index'] = kwargs.get('_host_index')
2855
- 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)
2859
-
2860
- def fetch_keywords(
2861
- self,
2862
- id,
2863
- **kwargs
2864
- ):
2865
- """fetch_keywords # noqa: E501
2866
-
2867
- Fetch keywords associated with the specified line item # noqa: E501
2868
- This method makes a synchronous HTTP request by default. To make an
2869
- asynchronous HTTP request, please pass async_req=True
2870
-
2871
- >>> thread = api.fetch_keywords(id, async_req=True)
2872
- >>> result = thread.get()
2873
-
2874
- Args:
2875
- id (str): ID of the line item
2876
-
2877
- Keyword Args:
2878
- _return_http_data_only (bool): response data without head status
2879
- code and headers. Default is True.
2880
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2881
- will be returned without reading/decoding response data.
2882
- Default is True.
2883
- _request_timeout (int/float/tuple): timeout setting for this request. If
2884
- one number provided, it will be total request timeout. It can also
2885
- be a pair (tuple) of (connection, read) timeouts.
2886
- Default is None.
2887
- _check_input_type (bool): specifies if type checking
2888
- should be done one the data sent to the server.
2889
- Default is True.
2890
- _check_return_type (bool): specifies if type checking
2891
- should be done one the data received from the server.
2892
- Default is True.
2893
- _spec_property_naming (bool): True if the variable names in the input data
2894
- are serialized names, as specified in the OpenAPI document.
2895
- False if the variable names in the input data
2896
- are pythonic names, e.g. snake case (default)
2897
- _content_type (str/None): force body content-type.
2898
- Default is None and content-type will be predicted by allowed
2899
- content-types and body.
2900
- _host_index (int/None): specifies the index of the server
2901
- that we want to use.
2902
- Default is read from the configuration.
2903
- _request_auths (list): set to override the auth_settings for an a single
2904
- request; this effectively ignores the authentication
2905
- in the spec for a single request.
2906
- Default is None
2907
- async_req (bool): execute request asynchronously
2908
-
2909
- Returns:
2910
- KeywordsModelResponse
2911
- If the method is called asynchronously, returns the request
2912
- thread.
2913
- """
2914
- kwargs['async_req'] = kwargs.get(
2915
- 'async_req', False
2916
- )
2917
- kwargs['_return_http_data_only'] = kwargs.get(
2918
- '_return_http_data_only', True
2919
- )
2920
- kwargs['_preload_content'] = kwargs.get(
2921
- '_preload_content', True
2922
- )
2923
- kwargs['_request_timeout'] = kwargs.get(
2924
- '_request_timeout', None
2925
- )
2926
- kwargs['_check_input_type'] = kwargs.get(
2927
- '_check_input_type', True
2928
- )
2929
- kwargs['_check_return_type'] = kwargs.get(
2930
- '_check_return_type', True
2931
- )
2932
- kwargs['_spec_property_naming'] = kwargs.get(
2933
- '_spec_property_naming', False
2934
- )
2935
- kwargs['_content_type'] = kwargs.get(
2936
- '_content_type')
2937
- kwargs['_host_index'] = kwargs.get('_host_index')
2938
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2939
- kwargs['id'] = \
2940
- id
2941
- return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
2942
-
2943
- def fetch_promoted_products(
2944
- self,
2945
- line_item_id,
2946
- **kwargs
2947
- ):
2948
- """fetch_promoted_products # noqa: E501
2949
-
2950
- Retrieve a page of promoted products for a line item # noqa: E501
2951
- This method makes a synchronous HTTP request by default. To make an
2952
- asynchronous HTTP request, please pass async_req=True
2953
-
2954
- >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
2955
- >>> result = thread.get()
2956
-
2957
- Args:
2958
- line_item_id (str): ID of the line item.
2959
-
2960
- 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
- _return_http_data_only (bool): response data without head status
2965
- code and headers. Default is True.
2966
- _preload_content (bool): if False, the urllib3.HTTPResponse object
2967
- will be returned without reading/decoding response data.
2968
- Default is True.
2969
- _request_timeout (int/float/tuple): timeout setting for this request. If
2970
- one number provided, it will be total request timeout. It can also
2971
- be a pair (tuple) of (connection, read) timeouts.
2972
- Default is None.
2973
- _check_input_type (bool): specifies if type checking
2974
- should be done one the data sent to the server.
2975
- Default is True.
2976
- _check_return_type (bool): specifies if type checking
2977
- should be done one the data received from the server.
2978
- Default is True.
2979
- _spec_property_naming (bool): True if the variable names in the input data
2980
- are serialized names, as specified in the OpenAPI document.
2981
- False if the variable names in the input data
2982
- are pythonic names, e.g. snake case (default)
2983
- _content_type (str/None): force body content-type.
2984
- Default is None and content-type will be predicted by allowed
2985
- content-types and body.
2986
- _host_index (int/None): specifies the index of the server
2987
- that we want to use.
2988
- Default is read from the configuration.
2989
- _request_auths (list): set to override the auth_settings for an a single
2990
- request; this effectively ignores the authentication
2991
- in the spec for a single request.
2992
- Default is None
2993
- async_req (bool): execute request asynchronously
2994
-
2995
- Returns:
2996
- PromotedProductResourceCollectionOutcome
2377
+ None
2997
2378
  If the method is called asynchronously, returns the request
2998
2379
  thread.
2999
2380
  """
@@ -3024,26 +2405,29 @@ class CampaignApi(object):
3024
2405
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3025
2406
  kwargs['line_item_id'] = \
3026
2407
  line_item_id
3027
- return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
2408
+ kwargs['product_button_id'] = \
2409
+ product_button_id
2410
+ return self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3028
2411
 
3029
- def fetch_proposal(
2412
+ def delete_promoted_products(
3030
2413
  self,
3031
- id,
2414
+ line_item_id,
3032
2415
  **kwargs
3033
2416
  ):
3034
- """fetch_proposal # noqa: E501
2417
+ """delete_promoted_products # noqa: E501
3035
2418
 
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
2419
+ Remove a collection of promoted products from a line item # noqa: E501
3037
2420
  This method makes a synchronous HTTP request by default. To make an
3038
2421
  asynchronous HTTP request, please pass async_req=True
3039
2422
 
3040
- >>> thread = api.fetch_proposal(id, async_req=True)
2423
+ >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
3041
2424
  >>> result = thread.get()
3042
2425
 
3043
2426
  Args:
3044
- id (str): ID of the line item
2427
+ line_item_id (str): ID of the line item
3045
2428
 
3046
2429
  Keyword Args:
2430
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
3047
2431
  _return_http_data_only (bool): response data without head status
3048
2432
  code and headers. Default is True.
3049
2433
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3076,7 +2460,7 @@ class CampaignApi(object):
3076
2460
  async_req (bool): execute request asynchronously
3077
2461
 
3078
2462
  Returns:
3079
- ProposalStatusModelResponse
2463
+ None
3080
2464
  If the method is called asynchronously, returns the request
3081
2465
  thread.
3082
2466
  """
@@ -3105,26 +2489,26 @@ class CampaignApi(object):
3105
2489
  '_content_type')
3106
2490
  kwargs['_host_index'] = kwargs.get('_host_index')
3107
2491
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3108
- kwargs['id'] = \
3109
- id
3110
- return self.fetch_proposal_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)
3111
2495
 
3112
- def get_api202210_external_line_item_product_buttons_by_line_item_id(
2496
+ def fetch_keywords(
3113
2497
  self,
3114
- line_item_id,
2498
+ id,
3115
2499
  **kwargs
3116
2500
  ):
3117
- """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
2501
+ """fetch_keywords # noqa: E501
3118
2502
 
3119
- Get all the product buttons associated with a line item # noqa: E501
2503
+ Fetch keywords associated with the specified line item # noqa: E501
3120
2504
  This method makes a synchronous HTTP request by default. To make an
3121
2505
  asynchronous HTTP request, please pass async_req=True
3122
2506
 
3123
- >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
2507
+ >>> thread = api.fetch_keywords(id, async_req=True)
3124
2508
  >>> result = thread.get()
3125
2509
 
3126
2510
  Args:
3127
- line_item_id (str): Long external id of the associated line item
2511
+ id (str): ID of the line item
3128
2512
 
3129
2513
  Keyword Args:
3130
2514
  _return_http_data_only (bool): response data without head status
@@ -3159,7 +2543,7 @@ class CampaignApi(object):
3159
2543
  async_req (bool): execute request asynchronously
3160
2544
 
3161
2545
  Returns:
3162
- ProductButtonListResponse
2546
+ KeywordsModelResponse
3163
2547
  If the method is called asynchronously, returns the request
3164
2548
  thread.
3165
2549
  """
@@ -3188,30 +2572,31 @@ class CampaignApi(object):
3188
2572
  '_content_type')
3189
2573
  kwargs['_host_index'] = kwargs.get('_host_index')
3190
2574
  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)
2575
+ kwargs['id'] = \
2576
+ id
2577
+ return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
3194
2578
 
3195
- def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2579
+ def fetch_promoted_products(
3196
2580
  self,
3197
2581
  line_item_id,
3198
- product_button_id,
3199
2582
  **kwargs
3200
2583
  ):
3201
- """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2584
+ """fetch_promoted_products # noqa: E501
3202
2585
 
3203
- Get a single product button # noqa: E501
2586
+ Retrieve a page of promoted products for a line item # noqa: E501
3204
2587
  This method makes a synchronous HTTP request by default. To make an
3205
2588
  asynchronous HTTP request, please pass async_req=True
3206
2589
 
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)
2590
+ >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
3208
2591
  >>> result = thread.get()
3209
2592
 
3210
2593
  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
2594
+ line_item_id (str): ID of the line item.
3213
2595
 
3214
2596
  Keyword Args:
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]
3215
2600
  _return_http_data_only (bool): response data without head status
3216
2601
  code and headers. Default is True.
3217
2602
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3244,7 +2629,7 @@ class CampaignApi(object):
3244
2629
  async_req (bool): execute request asynchronously
3245
2630
 
3246
2631
  Returns:
3247
- ProductButtonListResponse
2632
+ PromotedProductResourceCollectionOutcome
3248
2633
  If the method is called asynchronously, returns the request
3249
2634
  thread.
3250
2635
  """
@@ -3275,31 +2660,26 @@ class CampaignApi(object):
3275
2660
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3276
2661
  kwargs['line_item_id'] = \
3277
2662
  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)
2663
+ return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
3281
2664
 
3282
- def get_api_v1_external_account_brands_by_account_id(
2665
+ def get_api202210_external_line_item_product_buttons_by_line_item_id(
3283
2666
  self,
3284
- account_id,
2667
+ line_item_id,
3285
2668
  **kwargs
3286
2669
  ):
3287
- """get_api_v1_external_account_brands_by_account_id # noqa: E501
2670
+ """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
3288
2671
 
3289
- Gets page of retailer objects that are associated with the given account # noqa: E501
2672
+ Get all the product buttons associated with a line item # noqa: E501
3290
2673
  This method makes a synchronous HTTP request by default. To make an
3291
2674
  asynchronous HTTP request, please pass async_req=True
3292
2675
 
3293
- >>> thread = api.get_api_v1_external_account_brands_by_account_id(account_id, async_req=True)
2676
+ >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
3294
2677
  >>> result = thread.get()
3295
2678
 
3296
2679
  Args:
3297
- account_id (str): The given account id
2680
+ line_item_id (str): Long external id of the associated line item
3298
2681
 
3299
2682
  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
2683
  _return_http_data_only (bool): response data without head status
3304
2684
  code and headers. Default is True.
3305
2685
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3332,7 +2712,7 @@ class CampaignApi(object):
3332
2712
  async_req (bool): execute request asynchronously
3333
2713
 
3334
2714
  Returns:
3335
- JsonApiPageResponseOfBrand
2715
+ ProductButtonListResponse
3336
2716
  If the method is called asynchronously, returns the request
3337
2717
  thread.
3338
2718
  """
@@ -3361,31 +2741,30 @@ class CampaignApi(object):
3361
2741
  '_content_type')
3362
2742
  kwargs['_host_index'] = kwargs.get('_host_index')
3363
2743
  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)
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)
3367
2747
 
3368
- def get_api_v1_external_account_retailers_by_account_id(
2748
+ def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
3369
2749
  self,
3370
- account_id,
2750
+ line_item_id,
2751
+ product_button_id,
3371
2752
  **kwargs
3372
2753
  ):
3373
- """get_api_v1_external_account_retailers_by_account_id # noqa: E501
2754
+ """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
3374
2755
 
3375
- Gets page of retailer objects that are associated with the given account # noqa: E501
2756
+ Get a single product button # noqa: E501
3376
2757
  This method makes a synchronous HTTP request by default. To make an
3377
2758
  asynchronous HTTP request, please pass async_req=True
3378
2759
 
3379
- >>> thread = api.get_api_v1_external_account_retailers_by_account_id(account_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)
3380
2761
  >>> result = thread.get()
3381
2762
 
3382
2763
  Args:
3383
- account_id (str): The given account 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
3384
2766
 
3385
2767
  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
2768
  _return_http_data_only (bool): response data without head status
3390
2769
  code and headers. Default is True.
3391
2770
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3418,7 +2797,7 @@ class CampaignApi(object):
3418
2797
  async_req (bool): execute request asynchronously
3419
2798
 
3420
2799
  Returns:
3421
- JsonApiPageResponseOfRetailer
2800
+ ProductButtonListResponse
3422
2801
  If the method is called asynchronously, returns the request
3423
2802
  thread.
3424
2803
  """
@@ -3447,9 +2826,11 @@ class CampaignApi(object):
3447
2826
  '_content_type')
3448
2827
  kwargs['_host_index'] = kwargs.get('_host_index')
3449
2828
  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)
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)
3453
2834
 
3454
2835
  def get_api_v1_external_retailer_brands_by_retailer_id(
3455
2836
  self,
@@ -3842,7 +3223,7 @@ class CampaignApi(object):
3842
3223
  async_req (bool): execute request asynchronously
3843
3224
 
3844
3225
  Returns:
3845
- CreativeV2Response
3226
+ Creative2Response
3846
3227
  If the method is called asynchronously, returns the request
3847
3228
  thread.
3848
3229
  """
@@ -4129,27 +3510,25 @@ class CampaignApi(object):
4129
3510
  line_item_id
4130
3511
  return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4131
3512
 
4132
- def get_insertion_order_history_change_data_capture_v2(
3513
+ def get_cpc_min_bids_by_sku_ids_v1(
4133
3514
  self,
4134
- insertion_order_id,
3515
+ retailer_id,
4135
3516
  **kwargs
4136
3517
  ):
4137
- """get_insertion_order_history_change_data_capture_v2 # noqa: E501
3518
+ """get_cpc_min_bids_by_sku_ids_v1 # noqa: E501
4138
3519
 
4139
- Gets the balance's historical data change capture. # noqa: E501
3520
+ Get overall and individual minimum bid amount for given retailer id and sku id list. # noqa: E501
4140
3521
  This method makes a synchronous HTTP request by default. To make an
4141
3522
  asynchronous HTTP request, please pass async_req=True
4142
3523
 
4143
- >>> thread = api.get_insertion_order_history_change_data_capture_v2(insertion_order_id, async_req=True)
3524
+ >>> thread = api.get_cpc_min_bids_by_sku_ids_v1(retailer_id, async_req=True)
4144
3525
  >>> result = thread.get()
4145
3526
 
4146
3527
  Args:
4147
- insertion_order_id (str): External insertion order id.
3528
+ retailer_id (int): Retailer Id.
4148
3529
 
4149
3530
  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]
3531
+ value_resource_input_cpc_min_bids_request (ValueResourceInputCpcMinBidsRequest): Cpc minimum bid amount request object.. [optional]
4153
3532
  _return_http_data_only (bool): response data without head status
4154
3533
  code and headers. Default is True.
4155
3534
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4182,7 +3561,7 @@ class CampaignApi(object):
4182
3561
  async_req (bool): execute request asynchronously
4183
3562
 
4184
3563
  Returns:
4185
- PageOfInsertionOrderHistoryChangeDataCaptureV2
3564
+ ValueResourceOutcomeCpcMinBidsResponse
4186
3565
  If the method is called asynchronously, returns the request
4187
3566
  thread.
4188
3567
  """
@@ -4211,9 +3590,9 @@ class CampaignApi(object):
4211
3590
  '_content_type')
4212
3591
  kwargs['_host_index'] = kwargs.get('_host_index')
4213
3592
  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)
3593
+ kwargs['retailer_id'] = \
3594
+ retailer_id
3595
+ return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
4217
3596
 
4218
3597
  def get_recommended_keywords(
4219
3598
  self,
@@ -4298,96 +3677,6 @@ class CampaignApi(object):
4298
3677
  external_line_item_id
4299
3678
  return self.get_recommended_keywords_endpoint.call_with_http_info(**kwargs)
4300
3679
 
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
3680
  def pause_promoted_products(
4392
3681
  self,
4393
3682
  line_item_id,
@@ -5084,7 +4373,7 @@ class CampaignApi(object):
5084
4373
  account_id (str): External account id to create a creative for
5085
4374
 
5086
4375
  Keyword Args:
5087
- external_creative_create_model_v2 (ExternalCreativeCreateModelV2): The creative to create. [optional]
4376
+ creative_create_model2 (CreativeCreateModel2): The creative to create. [optional]
5088
4377
  _return_http_data_only (bool): response data without head status
5089
4378
  code and headers. Default is True.
5090
4379
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5117,7 +4406,7 @@ class CampaignApi(object):
5117
4406
  async_req (bool): execute request asynchronously
5118
4407
 
5119
4408
  Returns:
5120
- CreativeV2Response
4409
+ Creative2Response
5121
4410
  If the method is called asynchronously, returns the request
5122
4411
  thread.
5123
4412
  """
@@ -5201,7 +4490,7 @@ class CampaignApi(object):
5201
4490
  async_req (bool): execute request asynchronously
5202
4491
 
5203
4492
  Returns:
5204
- CreativeV2ListResponse
4493
+ Creative2ListResponse
5205
4494
  If the method is called asynchronously, returns the request
5206
4495
  thread.
5207
4496
  """
@@ -5429,7 +4718,7 @@ class CampaignApi(object):
5429
4718
  creative_id (str): Creative to update
5430
4719
 
5431
4720
  Keyword Args:
5432
- external_creative_update_model_v2 (ExternalCreativeUpdateModelV2): The creative to create. [optional]
4721
+ creative_update_model2 (CreativeUpdateModel2): The creative to create. [optional]
5433
4722
  _return_http_data_only (bool): response data without head status
5434
4723
  code and headers. Default is True.
5435
4724
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5462,7 +4751,7 @@ class CampaignApi(object):
5462
4751
  async_req (bool): execute request asynchronously
5463
4752
 
5464
4753
  Returns:
5465
- CreativeV2Response
4754
+ Creative2Response
5466
4755
  If the method is called asynchronously, returns the request
5467
4756
  thread.
5468
4757
  """
@@ -5665,89 +4954,6 @@ class CampaignApi(object):
5665
4954
  id
5666
4955
  return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
5667
4956
 
5668
- def submit_proposal(
5669
- self,
5670
- id,
5671
- **kwargs
5672
- ):
5673
- """submit_proposal # noqa: E501
5674
-
5675
- Only the components of the Line Item that are in a valid state will be reviewed. # noqa: E501
5676
- This method makes a synchronous HTTP request by default. To make an
5677
- asynchronous HTTP request, please pass async_req=True
5678
-
5679
- >>> thread = api.submit_proposal(id, async_req=True)
5680
- >>> result = thread.get()
5681
-
5682
- Args:
5683
- id (str): ID of the line item
5684
-
5685
- Keyword Args:
5686
- _return_http_data_only (bool): response data without head status
5687
- code and headers. Default is True.
5688
- _preload_content (bool): if False, the urllib3.HTTPResponse object
5689
- will be returned without reading/decoding response data.
5690
- Default is True.
5691
- _request_timeout (int/float/tuple): timeout setting for this request. If
5692
- one number provided, it will be total request timeout. It can also
5693
- be a pair (tuple) of (connection, read) timeouts.
5694
- Default is None.
5695
- _check_input_type (bool): specifies if type checking
5696
- should be done one the data sent to the server.
5697
- Default is True.
5698
- _check_return_type (bool): specifies if type checking
5699
- should be done one the data received from the server.
5700
- Default is True.
5701
- _spec_property_naming (bool): True if the variable names in the input data
5702
- are serialized names, as specified in the OpenAPI document.
5703
- False if the variable names in the input data
5704
- are pythonic names, e.g. snake case (default)
5705
- _content_type (str/None): force body content-type.
5706
- Default is None and content-type will be predicted by allowed
5707
- content-types and body.
5708
- _host_index (int/None): specifies the index of the server
5709
- that we want to use.
5710
- Default is read from the configuration.
5711
- _request_auths (list): set to override the auth_settings for an a single
5712
- request; this effectively ignores the authentication
5713
- in the spec for a single request.
5714
- Default is None
5715
- async_req (bool): execute request asynchronously
5716
-
5717
- Returns:
5718
- ProposalStatusModelResponse
5719
- If the method is called asynchronously, returns the request
5720
- thread.
5721
- """
5722
- kwargs['async_req'] = kwargs.get(
5723
- 'async_req', False
5724
- )
5725
- kwargs['_return_http_data_only'] = kwargs.get(
5726
- '_return_http_data_only', True
5727
- )
5728
- kwargs['_preload_content'] = kwargs.get(
5729
- '_preload_content', True
5730
- )
5731
- kwargs['_request_timeout'] = kwargs.get(
5732
- '_request_timeout', None
5733
- )
5734
- kwargs['_check_input_type'] = kwargs.get(
5735
- '_check_input_type', True
5736
- )
5737
- kwargs['_check_return_type'] = kwargs.get(
5738
- '_check_return_type', True
5739
- )
5740
- kwargs['_spec_property_naming'] = kwargs.get(
5741
- '_spec_property_naming', False
5742
- )
5743
- kwargs['_content_type'] = kwargs.get(
5744
- '_content_type')
5745
- kwargs['_host_index'] = kwargs.get('_host_index')
5746
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5747
- kwargs['id'] = \
5748
- id
5749
- return self.submit_proposal_endpoint.call_with_http_info(**kwargs)
5750
-
5751
4957
  def unpause_promoted_products(
5752
4958
  self,
5753
4959
  line_item_id,