criteo-api-retailmedia-sdk 0.0.240207__py3-none-any.whl → 0.0.240515__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 (131) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +181 -35
  3. criteo_api_retailmedia_preview/api/analytics_api.py +142 -0
  4. criteo_api_retailmedia_preview/api/audience_api.py +284 -0
  5. criteo_api_retailmedia_preview/api/campaign_api.py +1678 -902
  6. criteo_api_retailmedia_preview/api/catalog_api.py +312 -0
  7. criteo_api_retailmedia_preview/api_client.py +4 -4
  8. criteo_api_retailmedia_preview/apis/__init__.py +1 -0
  9. criteo_api_retailmedia_preview/configuration.py +1 -1
  10. criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keyword_model.py → add_remove_keyword_model.py} +12 -19
  11. criteo_api_retailmedia_preview/model/add_remove_keywords_model.py +262 -0
  12. criteo_api_retailmedia_preview/model/add_remove_keywords_model_request.py +262 -0
  13. criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +270 -0
  14. criteo_api_retailmedia_preview/model/approval_status_model.py +292 -0
  15. criteo_api_retailmedia_preview/model/async_accounts_report.py +421 -0
  16. criteo_api_retailmedia_preview/model/{external_catalog_request_preview.py → async_accounts_report_request.py} +13 -10
  17. criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +273 -0
  18. criteo_api_retailmedia_preview/model/async_campaigns_report.py +74 -59
  19. criteo_api_retailmedia_preview/model/async_line_items_report.py +74 -60
  20. criteo_api_retailmedia_preview/model/audience_error.py +310 -0
  21. criteo_api_retailmedia_preview/model/{template_variable.py → audience_warning.py} +48 -46
  22. criteo_api_retailmedia_preview/model/{hyperlink_variable_value.py → batch_accepted_response.py} +11 -11
  23. criteo_api_retailmedia_preview/model/change_details.py +275 -0
  24. criteo_api_retailmedia_preview/model/{creative202210_list_response.py → creative_v2_list_response.py} +16 -16
  25. criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_int64.py → creative_v2_response.py} +16 -9
  26. criteo_api_retailmedia_preview/model/custom_attribute.py +275 -0
  27. criteo_api_retailmedia_preview/model/error_code_response.py +281 -0
  28. criteo_api_retailmedia_preview/model/export_report_column.py +2 -2
  29. criteo_api_retailmedia_preview/model/{choice_variable_value.py → external_choice_variable_value.py} +3 -3
  30. criteo_api_retailmedia_preview/model/{color_variable_value.py → external_color_variable_value.py} +8 -14
  31. criteo_api_retailmedia_preview/model/{creative_update_model202207.py → external_creative_create_model_v2.py} +11 -11
  32. criteo_api_retailmedia_preview/model/{creative_create_model202207.py → external_creative_update_model_v2.py} +11 -11
  33. criteo_api_retailmedia_preview/model/{creative202210.py → external_creative_v2.py} +34 -28
  34. criteo_api_retailmedia_preview/model/{files_variable_value.py → external_files_variable_value.py} +4 -3
  35. criteo_api_retailmedia_preview/model/{text_variable_specification.py → external_hyperlink_variable_value.py} +7 -7
  36. criteo_api_retailmedia_preview/model/{line_item_bid_multipliers.py → external_line_item_bid_multipliers_v2.py} +41 -29
  37. criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +280 -0
  38. criteo_api_retailmedia_preview/model/external_line_item_page_category_v2.py +273 -0
  39. criteo_api_retailmedia_preview/model/{choice_variable_specification.py → external_line_item_page_v2.py} +36 -21
  40. criteo_api_retailmedia_preview/model/{page_type_environment.py → external_page_type_environment.py} +15 -9
  41. criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +345 -0
  42. criteo_api_retailmedia_preview/model/{external_catalog_status.py → external_preferred_line_item_update_model_v2.py} +70 -47
  43. criteo_api_retailmedia_preview/model/{template.py → external_preferred_line_item_v2.py} +93 -70
  44. criteo_api_retailmedia_preview/model/{template_variable_value.py → external_template_variable_value.py} +36 -30
  45. criteo_api_retailmedia_preview/model/{text_variable_value.py → external_text_variable_value.py} +8 -14
  46. criteo_api_retailmedia_preview/model/external_video_variable_value.py +293 -0
  47. criteo_api_retailmedia_preview/model/{choice_option.py → fail_response.py} +21 -19
  48. criteo_api_retailmedia_preview/model/{retail_media_externalv1_input_keywords_model.py → input_keywords_model.py} +4 -16
  49. criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model.py → input_resource_of_preferred_line_item_create_model_v2.py} +13 -11
  50. criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture.py +303 -0
  51. criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model.py → installment.py} +13 -11
  52. criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_and_line_item_bid_multipliers.py → json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py} +8 -8
  53. criteo_api_retailmedia_preview/model/{json_api_single_response_of_line_item_bid_multipliers.py → json_api_single_response_of_line_item_bid_multipliers_v2.py} +14 -14
  54. criteo_api_retailmedia_preview/model/{retail_media_externalv1_keyword_data_model.py → keyword_data_model.py} +19 -37
  55. criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model.py → keywords_model.py} +9 -18
  56. criteo_api_retailmedia_preview/model/keywords_model_resource.py +270 -0
  57. criteo_api_retailmedia_preview/model/keywords_model_response.py +274 -0
  58. criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_request.py → line_item_bid_multipliers_v2_request.py} +8 -8
  59. criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_response.py → line_item_bid_multipliers_v2_response.py} +16 -16
  60. criteo_api_retailmedia_preview/model/line_item_product_status.py +291 -0
  61. criteo_api_retailmedia_preview/model/loyalty_points.py +271 -0
  62. criteo_api_retailmedia_preview/model/match_type_model.py +291 -0
  63. criteo_api_retailmedia_preview/model/metadata.py +273 -0
  64. criteo_api_retailmedia_preview/model/negotiation_state_model.py +293 -0
  65. criteo_api_retailmedia_preview/model/page_of_insertion_order_history_change_data_capture.py +276 -0
  66. criteo_api_retailmedia_preview/model/{json_api_request_of_catalog_request_preview.py → preferred_line_item_create_model_v2_request.py} +8 -8
  67. criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_request.py → preferred_line_item_update_model_v2_request.py} +8 -8
  68. criteo_api_retailmedia_preview/model/{creative202210_response.py → preferred_line_item_v2_paged_list_response.py} +22 -16
  69. criteo_api_retailmedia_preview/model/{template_response.py → preferred_line_item_v2_response.py} +16 -16
  70. criteo_api_retailmedia_preview/model/price.py +267 -0
  71. criteo_api_retailmedia_preview/model/product.py +626 -0
  72. criteo_api_retailmedia_preview/model/product_importer_error.py +299 -0
  73. criteo_api_retailmedia_preview/model/product_importer_warning.py +299 -0
  74. criteo_api_retailmedia_preview/model/product_metadata.py +269 -0
  75. criteo_api_retailmedia_preview/model/product_resource_outcome.py +266 -0
  76. criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_response.py → product_shipping.py} +33 -25
  77. criteo_api_retailmedia_preview/model/product_shipping_dimension.py +267 -0
  78. criteo_api_retailmedia_preview/model/product_shipping_weight.py +267 -0
  79. criteo_api_retailmedia_preview/model/product_tax.py +283 -0
  80. criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +267 -0
  81. criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +267 -0
  82. criteo_api_retailmedia_preview/model/{section.py → products_custom_batch_request.py} +13 -19
  83. criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +305 -0
  84. criteo_api_retailmedia_preview/model/promoted_product.py +270 -0
  85. criteo_api_retailmedia_preview/model/promoted_product_resource.py +270 -0
  86. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_input.py +262 -0
  87. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +278 -0
  88. criteo_api_retailmedia_preview/model/{retail_media_externalv1_proposal_status_model.py → proposal_status_model.py} +22 -50
  89. criteo_api_retailmedia_preview/model/proposal_status_model_resource.py +270 -0
  90. criteo_api_retailmedia_preview/model/{template_list_response.py → proposal_status_model_response.py} +20 -27
  91. criteo_api_retailmedia_preview/model/report_detail_error.py +299 -0
  92. criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_request.py → report_detail_errors.py} +23 -11
  93. criteo_api_retailmedia_preview/model/{retail_media_externalv1_keywords_model_resource.py → report_ok_response.py} +56 -21
  94. criteo_api_retailmedia_preview/model/{resource_of_creative202210.py → resource_of_creative_v2.py} +8 -8
  95. criteo_api_retailmedia_preview/model/{resource_of_template.py → resource_of_line_item_bid_multipliers_v2.py} +8 -8
  96. criteo_api_retailmedia_preview/model/{retail_media_externalv1_add_remove_keywords_model_resource.py → resource_of_preferred_line_item_update_model_v2.py} +16 -22
  97. criteo_api_retailmedia_preview/model/{resource_of_line_item_bid_multipliers.py → resource_of_preferred_line_item_v2.py} +9 -9
  98. criteo_api_retailmedia_preview/model/resource_outcome.py +268 -0
  99. criteo_api_retailmedia_preview/model/retail_media_account.py +6 -6
  100. criteo_api_retailmedia_preview/model/retail_media_brands.py +257 -0
  101. criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_catalog_request_and_catalog_request_preview.py → retail_media_contactlist_amendment.py} +16 -16
  102. criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bids_model_resource.py → retail_media_contactlist_amendment_attributes.py} +34 -25
  103. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_request.py +275 -0
  104. criteo_api_retailmedia_preview/model/{json_api_single_response_of_catalog_status.py → retail_media_contactlist_operation.py} +24 -20
  105. criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py → retail_media_contactlist_operation_response_attributes.py} +14 -18
  106. criteo_api_retailmedia_preview/model/retail_media_contactlist_operation_response_attributes_attributes.py +297 -0
  107. criteo_api_retailmedia_preview/model/review_state_model.py +294 -0
  108. criteo_api_retailmedia_preview/model/{retail_media_externalv1_problem_details.py → rmca_common_problem.py} +41 -30
  109. criteo_api_retailmedia_preview/model/{retail_media_externalv1_set_bid_model.py → set_bid_model.py} +4 -10
  110. criteo_api_retailmedia_preview/model/set_bids_model.py +262 -0
  111. criteo_api_retailmedia_preview/model/set_bids_model_request.py +262 -0
  112. criteo_api_retailmedia_preview/model/set_bids_model_resource.py +270 -0
  113. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +47 -45
  114. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +68 -53
  115. criteo_api_retailmedia_preview/model/sync_line_items_report.py +70 -56
  116. criteo_api_retailmedia_preview/model/value_resource_collection_input_of_retail_media_seller.py +262 -0
  117. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brand_account_creation.py +262 -0
  118. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brands.py +262 -0
  119. criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation.py +262 -0
  120. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brand_account_creation.py +266 -0
  121. criteo_api_retailmedia_preview/model/{value_resource_of_int64.py → value_resource_of_retail_media_brands.py} +11 -6
  122. criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation.py +266 -0
  123. criteo_api_retailmedia_preview/models/__init__.py +106 -55
  124. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/METADATA +3 -3
  125. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/RECORD +127 -75
  126. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/WHEEL +1 -1
  127. criteo_api_retailmedia_preview/model/files_variables_specification.py +0 -290
  128. criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_resource.py +0 -283
  129. criteo_api_retailmedia_preview/model/retail_media_externalv1_proposal_status_model_response.py +0 -285
  130. criteo_api_retailmedia_preview/model/retail_media_externalv1_resource_outcome.py +0 -279
  131. {criteo_api_retailmedia_sdk-0.0.240207.dist-info → criteo_api_retailmedia_sdk-0.0.240515.dist-info}/top_level.txt +0 -0
@@ -21,31 +21,37 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
21
21
  none_type,
22
22
  validate_and_convert_types
23
23
  )
24
+ from criteo_api_retailmedia_preview.model.add_remove_keywords_model_request import AddRemoveKeywordsModelRequest
24
25
  from criteo_api_retailmedia_preview.model.brand_preview_list_response import BrandPreviewListResponse
25
26
  from criteo_api_retailmedia_preview.model.cpc_rate_card_preview_response import CpcRateCardPreviewResponse
26
- from criteo_api_retailmedia_preview.model.creative202210_list_response import Creative202210ListResponse
27
- from criteo_api_retailmedia_preview.model.creative202210_response import Creative202210Response
28
- from criteo_api_retailmedia_preview.model.creative_create_model202207 import CreativeCreateModel202207
29
- from criteo_api_retailmedia_preview.model.creative_update_model202207 import CreativeUpdateModel202207
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
30
31
  from criteo_api_retailmedia_preview.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
31
32
  from criteo_api_retailmedia_preview.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
32
33
  from criteo_api_retailmedia_preview.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer
33
- from criteo_api_retailmedia_preview.model.json_api_request_of_catalog_request_preview import JsonApiRequestOfCatalogRequestPreview
34
- from criteo_api_retailmedia_preview.model.json_api_single_response_of_catalog_status import JsonApiSingleResponseOfCatalogStatus
35
- from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers import JsonApiSingleResponseOfLineItemBidMultipliers
36
- from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_request import LineItemBidMultipliersRequest
37
- from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_response import LineItemBidMultipliersResponse
34
+ from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2
35
+ from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
36
+ from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request
37
+ from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response
38
+ from criteo_api_retailmedia_preview.model.page_of_insertion_order_history_change_data_capture import PageOfInsertionOrderHistoryChangeDataCapture
38
39
  from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
40
+ from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
41
+ from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
42
+ from criteo_api_retailmedia_preview.model.preferred_line_item_v2_paged_list_response import PreferredLineItemV2PagedListResponse
43
+ from criteo_api_retailmedia_preview.model.preferred_line_item_v2_response import PreferredLineItemV2Response
39
44
  from criteo_api_retailmedia_preview.model.product_button_list_request import ProductButtonListRequest
40
45
  from criteo_api_retailmedia_preview.model.product_button_list_response import ProductButtonListResponse
41
46
  from criteo_api_retailmedia_preview.model.product_button_request import ProductButtonRequest
47
+ from criteo_api_retailmedia_preview.model.product_resource_outcome import ProductResourceOutcome
48
+ from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput
49
+ from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome
50
+ from criteo_api_retailmedia_preview.model.proposal_status_model_response import ProposalStatusModelResponse
42
51
  from criteo_api_retailmedia_preview.model.resource_collection_outcome_of_sku_search_result import ResourceCollectionOutcomeOfSkuSearchResult
43
- from criteo_api_retailmedia_preview.model.retail_media_externalv1_add_remove_keywords_model_request import RetailMediaExternalv1AddRemoveKeywordsModelRequest
44
- from criteo_api_retailmedia_preview.model.retail_media_externalv1_keywords_model_response import RetailMediaExternalv1KeywordsModelResponse
45
- from criteo_api_retailmedia_preview.model.retail_media_externalv1_proposal_status_model_response import RetailMediaExternalv1ProposalStatusModelResponse
46
- from criteo_api_retailmedia_preview.model.retail_media_externalv1_resource_outcome import RetailMediaExternalv1ResourceOutcome
47
- from criteo_api_retailmedia_preview.model.retail_media_externalv1_set_bids_model_request import RetailMediaExternalv1SetBidsModelRequest
52
+ from criteo_api_retailmedia_preview.model.resource_outcome import ResourceOutcome
48
53
  from criteo_api_retailmedia_preview.model.seller_preview_response import SellerPreviewResponse
54
+ from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
49
55
  from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
50
56
  from criteo_api_retailmedia_preview.model.sku_search_request import SkuSearchRequest
51
57
  from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
@@ -53,8 +59,6 @@ from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_reques
53
59
  from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
54
60
  from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
55
61
  from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
56
- from criteo_api_retailmedia_preview.model.template_list_response import TemplateListResponse
57
- from criteo_api_retailmedia_preview.model.template_response import TemplateResponse
58
62
  from criteo_api_retailmedia_preview.model.value_resource_input_of_campaign_budget_overrides import ValueResourceInputOfCampaignBudgetOverrides
59
63
  from criteo_api_retailmedia_preview.model.value_resource_input_of_line_item_budget_overrides import ValueResourceInputOfLineItemBudgetOverrides
60
64
  from criteo_api_retailmedia_preview.model.value_resource_outcome_of_campaign_budget_overrides import ValueResourceOutcomeOfCampaignBudgetOverrides
@@ -75,7 +79,7 @@ class CampaignApi(object):
75
79
  self.api_client = api_client
76
80
  self.add_remove_keywords_endpoint = _Endpoint(
77
81
  settings={
78
- 'response_type': (RetailMediaExternalv1ResourceOutcome,),
82
+ 'response_type': (ResourceOutcome,),
79
83
  'auth': [
80
84
  'oauth',
81
85
  'oauth'
@@ -88,7 +92,7 @@ class CampaignApi(object):
88
92
  params_map={
89
93
  'all': [
90
94
  'id',
91
- 'retail_media_externalv1_add_remove_keywords_model_request',
95
+ 'add_remove_keywords_model_request',
92
96
  ],
93
97
  'required': [
94
98
  'id',
@@ -108,24 +112,22 @@ class CampaignApi(object):
108
112
  'openapi_types': {
109
113
  'id':
110
114
  (str,),
111
- 'retail_media_externalv1_add_remove_keywords_model_request':
112
- (RetailMediaExternalv1AddRemoveKeywordsModelRequest,),
115
+ 'add_remove_keywords_model_request':
116
+ (AddRemoveKeywordsModelRequest,),
113
117
  },
114
118
  'attribute_map': {
115
119
  'id': 'id',
116
120
  },
117
121
  'location_map': {
118
122
  'id': 'path',
119
- 'retail_media_externalv1_add_remove_keywords_model_request': 'body',
123
+ 'add_remove_keywords_model_request': 'body',
120
124
  },
121
125
  'collection_format_map': {
122
126
  }
123
127
  },
124
128
  headers_map={
125
129
  'accept': [
126
- 'text/plain',
127
- 'application/json',
128
- 'text/json'
130
+ 'application/json'
129
131
  ],
130
132
  'content_type': [
131
133
  'application/json'
@@ -133,26 +135,25 @@ class CampaignApi(object):
133
135
  },
134
136
  api_client=api_client
135
137
  )
136
- self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint = _Endpoint(
138
+ self.append_promoted_products_endpoint = _Endpoint(
137
139
  settings={
138
140
  'response_type': None,
139
141
  'auth': [
140
142
  'oauth',
141
143
  'oauth'
142
144
  ],
143
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
144
- 'operation_id': 'delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id',
145
- 'http_method': 'DELETE',
145
+ 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/products/append',
146
+ 'operation_id': 'append_promoted_products',
147
+ 'http_method': 'POST',
146
148
  'servers': None,
147
149
  },
148
150
  params_map={
149
151
  'all': [
150
152
  'line_item_id',
151
- 'product_button_id',
153
+ 'promoted_product_resource_collection_input',
152
154
  ],
153
155
  'required': [
154
156
  'line_item_id',
155
- 'product_button_id',
156
157
  ],
157
158
  'nullable': [
158
159
  ],
@@ -169,44 +170,49 @@ class CampaignApi(object):
169
170
  'openapi_types': {
170
171
  'line_item_id':
171
172
  (str,),
172
- 'product_button_id':
173
- (str,),
173
+ 'promoted_product_resource_collection_input':
174
+ (PromotedProductResourceCollectionInput,),
174
175
  },
175
176
  'attribute_map': {
176
- 'line_item_id': 'line-item-id',
177
- 'product_button_id': 'product-button-id',
177
+ 'line_item_id': 'lineItemId',
178
178
  },
179
179
  'location_map': {
180
180
  'line_item_id': 'path',
181
- 'product_button_id': 'path',
181
+ 'promoted_product_resource_collection_input': 'body',
182
182
  },
183
183
  'collection_format_map': {
184
184
  }
185
185
  },
186
186
  headers_map={
187
- 'accept': [],
188
- 'content_type': [],
187
+ 'accept': [
188
+ 'application/json'
189
+ ],
190
+ 'content_type': [
191
+ 'application/json'
192
+ ]
189
193
  },
190
194
  api_client=api_client
191
195
  )
192
- self.fetch_keywords_endpoint = _Endpoint(
196
+ self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint = _Endpoint(
193
197
  settings={
194
- 'response_type': (RetailMediaExternalv1KeywordsModelResponse,),
198
+ 'response_type': None,
195
199
  'auth': [
196
200
  'oauth',
197
201
  'oauth'
198
202
  ],
199
- 'endpoint_path': '/preview/retail-media/line-items/{id}/keywords',
200
- 'operation_id': 'fetch_keywords',
201
- 'http_method': 'GET',
203
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
204
+ 'operation_id': 'delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id',
205
+ 'http_method': 'DELETE',
202
206
  'servers': None,
203
207
  },
204
208
  params_map={
205
209
  'all': [
206
- 'id',
210
+ 'line_item_id',
211
+ 'product_button_id',
207
212
  ],
208
213
  'required': [
209
- 'id',
214
+ 'line_item_id',
215
+ 'product_button_id',
210
216
  ],
211
217
  'nullable': [
212
218
  ],
@@ -221,46 +227,47 @@ class CampaignApi(object):
221
227
  'allowed_values': {
222
228
  },
223
229
  'openapi_types': {
224
- 'id':
230
+ 'line_item_id':
231
+ (str,),
232
+ 'product_button_id':
225
233
  (str,),
226
234
  },
227
235
  'attribute_map': {
228
- 'id': 'id',
236
+ 'line_item_id': 'line-item-id',
237
+ 'product_button_id': 'product-button-id',
229
238
  },
230
239
  'location_map': {
231
- 'id': 'path',
240
+ 'line_item_id': 'path',
241
+ 'product_button_id': 'path',
232
242
  },
233
243
  'collection_format_map': {
234
244
  }
235
245
  },
236
246
  headers_map={
237
- 'accept': [
238
- 'text/plain',
239
- 'application/json',
240
- 'text/json'
241
- ],
247
+ 'accept': [],
242
248
  'content_type': [],
243
249
  },
244
250
  api_client=api_client
245
251
  )
246
- self.fetch_proposal_endpoint = _Endpoint(
252
+ self.delete_promoted_products_endpoint = _Endpoint(
247
253
  settings={
248
- 'response_type': (RetailMediaExternalv1ProposalStatusModelResponse,),
254
+ 'response_type': None,
249
255
  'auth': [
250
256
  'oauth',
251
257
  'oauth'
252
258
  ],
253
- 'endpoint_path': '/preview/retail-media/preferred-deal-line-items/{id}/proposal',
254
- 'operation_id': 'fetch_proposal',
255
- 'http_method': 'GET',
259
+ 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/products/delete',
260
+ 'operation_id': 'delete_promoted_products',
261
+ 'http_method': 'POST',
256
262
  'servers': None,
257
263
  },
258
264
  params_map={
259
265
  'all': [
260
- 'id',
266
+ 'line_item_id',
267
+ 'promoted_product_resource_collection_input',
261
268
  ],
262
269
  'required': [
263
- 'id',
270
+ 'line_item_id',
264
271
  ],
265
272
  'nullable': [
266
273
  ],
@@ -275,48 +282,49 @@ class CampaignApi(object):
275
282
  'allowed_values': {
276
283
  },
277
284
  'openapi_types': {
278
- 'id':
285
+ 'line_item_id':
279
286
  (str,),
287
+ 'promoted_product_resource_collection_input':
288
+ (PromotedProductResourceCollectionInput,),
280
289
  },
281
290
  'attribute_map': {
282
- 'id': 'id',
291
+ 'line_item_id': 'lineItemId',
283
292
  },
284
293
  'location_map': {
285
- 'id': 'path',
294
+ 'line_item_id': 'path',
295
+ 'promoted_product_resource_collection_input': 'body',
286
296
  },
287
297
  'collection_format_map': {
288
298
  }
289
299
  },
290
300
  headers_map={
291
301
  'accept': [
292
- 'text/plain',
293
- 'application/json',
294
- 'text/json'
302
+ 'application/json'
295
303
  ],
296
- 'content_type': [],
304
+ 'content_type': [
305
+ 'application/json'
306
+ ]
297
307
  },
298
308
  api_client=api_client
299
309
  )
300
- self.get_api202207_external_retailer_by_retailer_id_templatestemplate_id_endpoint = _Endpoint(
310
+ self.fetch_keywords_endpoint = _Endpoint(
301
311
  settings={
302
- 'response_type': (TemplateResponse,),
312
+ 'response_type': (KeywordsModelResponse,),
303
313
  'auth': [
304
314
  'oauth',
305
315
  'oauth'
306
316
  ],
307
- 'endpoint_path': '/preview/retail-media/retailers/{retailer-id}/templates/{template-id}',
308
- 'operation_id': 'get_api202207_external_retailer_by_retailer_id_templatestemplate_id',
317
+ 'endpoint_path': '/preview/retail-media/line-items/{id}/keywords',
318
+ 'operation_id': 'fetch_keywords',
309
319
  'http_method': 'GET',
310
320
  'servers': None,
311
321
  },
312
322
  params_map={
313
323
  'all': [
314
- 'retailer_id',
315
- 'template_id',
324
+ 'id',
316
325
  ],
317
326
  'required': [
318
- 'retailer_id',
319
- 'template_id',
327
+ 'id',
320
328
  ],
321
329
  'nullable': [
322
330
  ],
@@ -331,18 +339,14 @@ class CampaignApi(object):
331
339
  'allowed_values': {
332
340
  },
333
341
  'openapi_types': {
334
- 'retailer_id':
335
- (int,),
336
- 'template_id':
337
- (int,),
342
+ 'id':
343
+ (str,),
338
344
  },
339
345
  'attribute_map': {
340
- 'retailer_id': 'retailer-id',
341
- 'template_id': 'template-id',
346
+ 'id': 'id',
342
347
  },
343
348
  'location_map': {
344
- 'retailer_id': 'path',
345
- 'template_id': 'path',
349
+ 'id': 'path',
346
350
  },
347
351
  'collection_format_map': {
348
352
  }
@@ -355,24 +359,27 @@ class CampaignApi(object):
355
359
  },
356
360
  api_client=api_client
357
361
  )
358
- self.get_api202207_external_retailer_templates_by_retailer_id_endpoint = _Endpoint(
362
+ self.fetch_promoted_products_endpoint = _Endpoint(
359
363
  settings={
360
- 'response_type': (TemplateListResponse,),
364
+ 'response_type': (PromotedProductResourceCollectionOutcome,),
361
365
  'auth': [
362
366
  'oauth',
363
367
  'oauth'
364
368
  ],
365
- 'endpoint_path': '/preview/retail-media/retailers/{retailer-id}/templates',
366
- 'operation_id': 'get_api202207_external_retailer_templates_by_retailer_id',
369
+ 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/products',
370
+ 'operation_id': 'fetch_promoted_products',
367
371
  'http_method': 'GET',
368
372
  'servers': None,
369
373
  },
370
374
  params_map={
371
375
  'all': [
372
- 'retailer_id',
376
+ 'line_item_id',
377
+ 'offset',
378
+ 'limit',
379
+ 'fields',
373
380
  ],
374
381
  'required': [
375
- 'retailer_id',
382
+ 'line_item_id',
376
383
  ],
377
384
  'nullable': [
378
385
  ],
@@ -387,14 +394,26 @@ class CampaignApi(object):
387
394
  'allowed_values': {
388
395
  },
389
396
  'openapi_types': {
390
- 'retailer_id':
397
+ 'line_item_id':
398
+ (str,),
399
+ 'offset':
400
+ (int,),
401
+ 'limit':
391
402
  (int,),
403
+ 'fields':
404
+ (str,),
392
405
  },
393
406
  'attribute_map': {
394
- 'retailer_id': 'retailer-id',
407
+ 'line_item_id': 'lineItemId',
408
+ 'offset': 'offset',
409
+ 'limit': 'limit',
410
+ 'fields': 'fields',
395
411
  },
396
412
  'location_map': {
397
- 'retailer_id': 'path',
413
+ 'line_item_id': 'path',
414
+ 'offset': 'query',
415
+ 'limit': 'query',
416
+ 'fields': 'query',
398
417
  },
399
418
  'collection_format_map': {
400
419
  }
@@ -407,26 +426,24 @@ class CampaignApi(object):
407
426
  },
408
427
  api_client=api_client
409
428
  )
410
- self.get_api202210_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
429
+ self.fetch_proposal_endpoint = _Endpoint(
411
430
  settings={
412
- 'response_type': (Creative202210Response,),
431
+ 'response_type': (ProposalStatusModelResponse,),
413
432
  'auth': [
414
433
  'oauth',
415
434
  'oauth'
416
435
  ],
417
- 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives/{creative-id}',
418
- 'operation_id': 'get_api202210_external_account_by_account_id_creativescreative_id',
436
+ 'endpoint_path': '/preview/retail-media/preferred-deal-line-items/{id}/proposal',
437
+ 'operation_id': 'fetch_proposal',
419
438
  'http_method': 'GET',
420
439
  'servers': None,
421
440
  },
422
441
  params_map={
423
442
  'all': [
424
- 'account_id',
425
- 'creative_id',
443
+ 'id',
426
444
  ],
427
445
  'required': [
428
- 'account_id',
429
- 'creative_id',
446
+ 'id',
430
447
  ],
431
448
  'nullable': [
432
449
  ],
@@ -441,18 +458,14 @@ class CampaignApi(object):
441
458
  'allowed_values': {
442
459
  },
443
460
  'openapi_types': {
444
- 'account_id':
445
- (str,),
446
- 'creative_id':
461
+ 'id':
447
462
  (str,),
448
463
  },
449
464
  'attribute_map': {
450
- 'account_id': 'account-id',
451
- 'creative_id': 'creative-id',
465
+ 'id': 'id',
452
466
  },
453
467
  'location_map': {
454
- 'account_id': 'path',
455
- 'creative_id': 'path',
468
+ 'id': 'path',
456
469
  },
457
470
  'collection_format_map': {
458
471
  }
@@ -575,24 +588,27 @@ class CampaignApi(object):
575
588
  },
576
589
  api_client=api_client
577
590
  )
578
- self.get_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint(
591
+ self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint(
579
592
  settings={
580
- 'response_type': (JsonApiSingleResponseOfLineItemBidMultipliers,),
593
+ 'response_type': (JsonApiPageResponseOfBrand,),
581
594
  'auth': [
582
595
  'oauth',
583
596
  'oauth'
584
597
  ],
585
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/bid-multipliers',
586
- 'operation_id': 'get_api202301_external_line_item_bid_multipliers_by_line_item_id',
598
+ 'endpoint_path': '/preview/retail-media/accounts/{accountId}/brands',
599
+ 'operation_id': 'get_api_v1_external_account_brands_by_account_id',
587
600
  'http_method': 'GET',
588
601
  'servers': None,
589
602
  },
590
603
  params_map={
591
604
  'all': [
592
- 'line_item_id',
605
+ 'account_id',
606
+ 'limit_to_id',
607
+ 'page_index',
608
+ 'page_size',
593
609
  ],
594
610
  'required': [
595
- 'line_item_id',
611
+ 'account_id',
596
612
  ],
597
613
  'nullable': [
598
614
  ],
@@ -607,46 +623,60 @@ class CampaignApi(object):
607
623
  'allowed_values': {
608
624
  },
609
625
  'openapi_types': {
610
- 'line_item_id':
626
+ 'account_id':
611
627
  (str,),
628
+ 'limit_to_id':
629
+ ([str],),
630
+ 'page_index':
631
+ (int,),
632
+ 'page_size':
633
+ (int,),
612
634
  },
613
635
  'attribute_map': {
614
- 'line_item_id': 'line-item-id',
636
+ 'account_id': 'accountId',
637
+ 'limit_to_id': 'limitToId',
638
+ 'page_index': 'pageIndex',
639
+ 'page_size': 'pageSize',
615
640
  },
616
641
  'location_map': {
617
- 'line_item_id': 'path',
642
+ 'account_id': 'path',
643
+ 'limit_to_id': 'query',
644
+ 'page_index': 'query',
645
+ 'page_size': 'query',
618
646
  },
619
647
  'collection_format_map': {
648
+ 'limit_to_id': 'multi',
620
649
  }
621
650
  },
622
651
  headers_map={
623
652
  'accept': [
624
- 'text/plain',
625
- 'application/json',
626
- 'text/json'
653
+ 'application/json'
627
654
  ],
628
655
  'content_type': [],
629
656
  },
630
657
  api_client=api_client
631
658
  )
632
- self.get_api_v0_external_catalog_output_by_catalog_id_endpoint = _Endpoint(
659
+ self.get_api_v1_external_account_retailers_by_account_id_endpoint = _Endpoint(
633
660
  settings={
634
- 'response_type': None,
661
+ 'response_type': (JsonApiPageResponseOfRetailer,),
635
662
  'auth': [
636
663
  'oauth',
637
664
  'oauth'
638
665
  ],
639
- 'endpoint_path': '/preview/retail-media/catalogs/{catalogId}/output',
640
- 'operation_id': 'get_api_v0_external_catalog_output_by_catalog_id',
666
+ 'endpoint_path': '/preview/retail-media/accounts/{accountId}/retailers',
667
+ 'operation_id': 'get_api_v1_external_account_retailers_by_account_id',
641
668
  'http_method': 'GET',
642
669
  'servers': None,
643
670
  },
644
671
  params_map={
645
672
  'all': [
646
- 'catalog_id',
673
+ 'account_id',
674
+ 'limit_to_id',
675
+ 'page_index',
676
+ 'page_size',
647
677
  ],
648
678
  'required': [
649
- 'catalog_id',
679
+ 'account_id',
650
680
  ],
651
681
  'nullable': [
652
682
  ],
@@ -661,46 +691,58 @@ class CampaignApi(object):
661
691
  'allowed_values': {
662
692
  },
663
693
  'openapi_types': {
664
- 'catalog_id':
694
+ 'account_id':
665
695
  (str,),
696
+ 'limit_to_id':
697
+ ([str],),
698
+ 'page_index':
699
+ (int,),
700
+ 'page_size':
701
+ (int,),
666
702
  },
667
703
  'attribute_map': {
668
- 'catalog_id': 'catalogId',
704
+ 'account_id': 'accountId',
705
+ 'limit_to_id': 'limitToId',
706
+ 'page_index': 'pageIndex',
707
+ 'page_size': 'pageSize',
669
708
  },
670
709
  'location_map': {
671
- 'catalog_id': 'path',
710
+ 'account_id': 'path',
711
+ 'limit_to_id': 'query',
712
+ 'page_index': 'query',
713
+ 'page_size': 'query',
672
714
  },
673
715
  'collection_format_map': {
716
+ 'limit_to_id': 'multi',
674
717
  }
675
718
  },
676
719
  headers_map={
677
720
  'accept': [
678
- 'application/x-json-stream',
679
721
  'application/json'
680
722
  ],
681
723
  'content_type': [],
682
724
  },
683
725
  api_client=api_client
684
726
  )
685
- self.get_api_v0_external_catalog_status_by_catalog_id_endpoint = _Endpoint(
727
+ self.get_api_v1_external_accounts_endpoint = _Endpoint(
686
728
  settings={
687
- 'response_type': (JsonApiSingleResponseOfCatalogStatus,),
729
+ 'response_type': (JsonApiPageResponseOfAccount,),
688
730
  'auth': [
689
731
  'oauth',
690
732
  'oauth'
691
733
  ],
692
- 'endpoint_path': '/preview/retail-media/catalogs/{catalogId}/status',
693
- 'operation_id': 'get_api_v0_external_catalog_status_by_catalog_id',
734
+ 'endpoint_path': '/preview/retail-media/accounts',
735
+ 'operation_id': 'get_api_v1_external_accounts',
694
736
  'http_method': 'GET',
695
737
  'servers': None,
696
738
  },
697
739
  params_map={
698
740
  'all': [
699
- 'catalog_id',
700
- ],
701
- 'required': [
702
- 'catalog_id',
741
+ 'limit_to_id',
742
+ 'page_index',
743
+ 'page_size',
703
744
  ],
745
+ 'required': [],
704
746
  'nullable': [
705
747
  ],
706
748
  'enum': [
@@ -714,16 +756,25 @@ class CampaignApi(object):
714
756
  'allowed_values': {
715
757
  },
716
758
  'openapi_types': {
717
- 'catalog_id':
718
- (str,),
759
+ 'limit_to_id':
760
+ ([str],),
761
+ 'page_index':
762
+ (int,),
763
+ 'page_size':
764
+ (int,),
719
765
  },
720
766
  'attribute_map': {
721
- 'catalog_id': 'catalogId',
767
+ 'limit_to_id': 'limitToId',
768
+ 'page_index': 'pageIndex',
769
+ 'page_size': 'pageSize',
722
770
  },
723
771
  'location_map': {
724
- 'catalog_id': 'path',
772
+ 'limit_to_id': 'query',
773
+ 'page_index': 'query',
774
+ 'page_size': 'query',
725
775
  },
726
776
  'collection_format_map': {
777
+ 'limit_to_id': 'multi',
727
778
  }
728
779
  },
729
780
  headers_map={
@@ -734,31 +785,32 @@ class CampaignApi(object):
734
785
  },
735
786
  api_client=api_client
736
787
  )
737
- self.get_api_v1_external_account_brands_by_account_id_endpoint = _Endpoint(
788
+ self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
738
789
  settings={
739
- 'response_type': (JsonApiPageResponseOfBrand,),
790
+ 'response_type': (BrandPreviewListResponse,),
740
791
  'auth': [
741
792
  'oauth',
742
793
  'oauth'
743
794
  ],
744
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/brands',
745
- 'operation_id': 'get_api_v1_external_account_brands_by_account_id',
795
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/brands',
796
+ 'operation_id': 'get_api_v1_external_retailer_brands_by_retailer_id',
746
797
  'http_method': 'GET',
747
798
  'servers': None,
748
799
  },
749
800
  params_map={
750
801
  'all': [
751
- 'account_id',
752
- 'limit_to_id',
753
- 'page_index',
754
- 'page_size',
802
+ 'retailer_id',
803
+ 'sku_stock_type_filter',
804
+ 'brand_type',
755
805
  ],
756
806
  'required': [
757
- 'account_id',
807
+ 'retailer_id',
758
808
  ],
759
809
  'nullable': [
760
810
  ],
761
811
  'enum': [
812
+ 'sku_stock_type_filter',
813
+ 'brand_type',
762
814
  ],
763
815
  'validation': [
764
816
  ]
@@ -767,31 +819,38 @@ class CampaignApi(object):
767
819
  'validations': {
768
820
  },
769
821
  'allowed_values': {
770
- },
771
- 'openapi_types': {
772
- 'account_id':
773
- (str,),
774
- 'limit_to_id':
775
- ([str],),
776
- 'page_index':
777
- (int,),
778
- 'page_size':
779
- (int,),
780
- },
822
+ ('sku_stock_type_filter',): {
823
+
824
+ "FIRST-PARTY": "first-party",
825
+ "THIRD-PARTY": "third-party",
826
+ "FIRST-AND-THIRD-PARTY": "first-and-third-party"
827
+ },
828
+ ('brand_type',): {
829
+
830
+ "ALL": "all",
831
+ "UC": "uc",
832
+ "RETAILER": "retailer"
833
+ },
834
+ },
835
+ 'openapi_types': {
836
+ 'retailer_id':
837
+ (int,),
838
+ 'sku_stock_type_filter':
839
+ (str,),
840
+ 'brand_type':
841
+ (str,),
842
+ },
781
843
  'attribute_map': {
782
- 'account_id': 'accountId',
783
- 'limit_to_id': 'limitToId',
784
- 'page_index': 'pageIndex',
785
- 'page_size': 'pageSize',
844
+ 'retailer_id': 'retailerId',
845
+ 'sku_stock_type_filter': 'sku-stock-type-filter',
846
+ 'brand_type': 'brand-type',
786
847
  },
787
848
  'location_map': {
788
- 'account_id': 'path',
789
- 'limit_to_id': 'query',
790
- 'page_index': 'query',
791
- 'page_size': 'query',
849
+ 'retailer_id': 'path',
850
+ 'sku_stock_type_filter': 'query',
851
+ 'brand_type': 'query',
792
852
  },
793
853
  'collection_format_map': {
794
- 'limit_to_id': 'multi',
795
854
  }
796
855
  },
797
856
  headers_map={
@@ -802,27 +861,26 @@ class CampaignApi(object):
802
861
  },
803
862
  api_client=api_client
804
863
  )
805
- self.get_api_v1_external_account_retailers_by_account_id_endpoint = _Endpoint(
864
+ self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint = _Endpoint(
806
865
  settings={
807
- 'response_type': (JsonApiPageResponseOfRetailer,),
866
+ 'response_type': (SellerPreviewResponse,),
808
867
  'auth': [
809
868
  'oauth',
810
869
  'oauth'
811
870
  ],
812
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/retailers',
813
- 'operation_id': 'get_api_v1_external_account_retailers_by_account_id',
871
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/sellers/{seller}',
872
+ 'operation_id': 'get_api_v1_external_retailer_by_retailer_id_seller_by_seller',
814
873
  'http_method': 'GET',
815
874
  'servers': None,
816
875
  },
817
876
  params_map={
818
877
  'all': [
819
- 'account_id',
820
- 'limit_to_id',
821
- 'page_index',
822
- 'page_size',
878
+ 'retailer_id',
879
+ 'seller',
823
880
  ],
824
881
  'required': [
825
- 'account_id',
882
+ 'retailer_id',
883
+ 'seller',
826
884
  ],
827
885
  'nullable': [
828
886
  ],
@@ -837,29 +895,20 @@ class CampaignApi(object):
837
895
  'allowed_values': {
838
896
  },
839
897
  'openapi_types': {
840
- 'account_id':
841
- (str,),
842
- 'limit_to_id':
843
- ([str],),
844
- 'page_index':
845
- (int,),
846
- 'page_size':
898
+ 'retailer_id':
847
899
  (int,),
900
+ 'seller':
901
+ (str,),
848
902
  },
849
903
  'attribute_map': {
850
- 'account_id': 'accountId',
851
- 'limit_to_id': 'limitToId',
852
- 'page_index': 'pageIndex',
853
- 'page_size': 'pageSize',
904
+ 'retailer_id': 'retailerId',
905
+ 'seller': 'seller',
854
906
  },
855
907
  'location_map': {
856
- 'account_id': 'path',
857
- 'limit_to_id': 'query',
858
- 'page_index': 'query',
859
- 'page_size': 'query',
908
+ 'retailer_id': 'path',
909
+ 'seller': 'path',
860
910
  },
861
911
  'collection_format_map': {
862
- 'limit_to_id': 'multi',
863
912
  }
864
913
  },
865
914
  headers_map={
@@ -870,25 +919,26 @@ class CampaignApi(object):
870
919
  },
871
920
  api_client=api_client
872
921
  )
873
- self.get_api_v1_external_accounts_endpoint = _Endpoint(
922
+ self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint = _Endpoint(
874
923
  settings={
875
- 'response_type': (JsonApiPageResponseOfAccount,),
924
+ 'response_type': (CpcRateCardPreviewResponse,),
876
925
  'auth': [
877
926
  'oauth',
878
927
  'oauth'
879
928
  ],
880
- 'endpoint_path': '/preview/retail-media/accounts',
881
- 'operation_id': 'get_api_v1_external_accounts',
929
+ 'endpoint_path': '/preview/retail-media/retailers/{retailer-id}/cpc-rates',
930
+ 'operation_id': 'get_api_v1_external_retailer_category_cpc_rates_by_retailer_id',
882
931
  'http_method': 'GET',
883
932
  'servers': None,
884
933
  },
885
934
  params_map={
886
935
  'all': [
887
- 'limit_to_id',
888
- 'page_index',
889
- 'page_size',
936
+ 'retailer_id',
937
+ 'fields',
938
+ ],
939
+ 'required': [
940
+ 'retailer_id',
890
941
  ],
891
- 'required': [],
892
942
  'nullable': [
893
943
  ],
894
944
  'enum': [
@@ -902,25 +952,21 @@ class CampaignApi(object):
902
952
  'allowed_values': {
903
953
  },
904
954
  'openapi_types': {
905
- 'limit_to_id':
955
+ 'retailer_id':
956
+ (str,),
957
+ 'fields':
906
958
  ([str],),
907
- 'page_index':
908
- (int,),
909
- 'page_size':
910
- (int,),
911
959
  },
912
960
  'attribute_map': {
913
- 'limit_to_id': 'limitToId',
914
- 'page_index': 'pageIndex',
915
- 'page_size': 'pageSize',
961
+ 'retailer_id': 'retailer-id',
962
+ 'fields': 'fields',
916
963
  },
917
964
  'location_map': {
918
- 'limit_to_id': 'query',
919
- 'page_index': 'query',
920
- 'page_size': 'query',
965
+ 'retailer_id': 'path',
966
+ 'fields': 'query',
921
967
  },
922
968
  'collection_format_map': {
923
- 'limit_to_id': 'multi',
969
+ 'fields': 'multi',
924
970
  }
925
971
  },
926
972
  headers_map={
@@ -931,23 +977,21 @@ class CampaignApi(object):
931
977
  },
932
978
  api_client=api_client
933
979
  )
934
- self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
980
+ self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint = _Endpoint(
935
981
  settings={
936
- 'response_type': (BrandPreviewListResponse,),
982
+ 'response_type': (PlacementPreviewListResponse,),
937
983
  'auth': [
938
984
  'oauth',
939
985
  'oauth'
940
986
  ],
941
- 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/brands',
942
- 'operation_id': 'get_api_v1_external_retailer_brands_by_retailer_id',
987
+ 'endpoint_path': '/preview/retail-media/retailers/{retailer-id}/placements',
988
+ 'operation_id': 'get_api_v1_external_retailer_placements_by_retailer_id',
943
989
  'http_method': 'GET',
944
990
  'servers': None,
945
991
  },
946
992
  params_map={
947
993
  'all': [
948
994
  'retailer_id',
949
- 'sku_stock_type_filter',
950
- 'brand_type',
951
995
  ],
952
996
  'required': [
953
997
  'retailer_id',
@@ -955,8 +999,6 @@ class CampaignApi(object):
955
999
  'nullable': [
956
1000
  ],
957
1001
  'enum': [
958
- 'sku_stock_type_filter',
959
- 'brand_type',
960
1002
  ],
961
1003
  'validation': [
962
1004
  ]
@@ -965,36 +1007,16 @@ class CampaignApi(object):
965
1007
  'validations': {
966
1008
  },
967
1009
  'allowed_values': {
968
- ('sku_stock_type_filter',): {
969
-
970
- "FIRST-PARTY": "first-party",
971
- "THIRD-PARTY": "third-party",
972
- "FIRST-AND-THIRD-PARTY": "first-and-third-party"
973
- },
974
- ('brand_type',): {
975
-
976
- "ALL": "all",
977
- "UC": "uc",
978
- "RETAILER": "retailer"
979
- },
980
1010
  },
981
1011
  'openapi_types': {
982
1012
  'retailer_id':
983
- (int,),
984
- 'sku_stock_type_filter':
985
- (str,),
986
- 'brand_type':
987
1013
  (str,),
988
1014
  },
989
1015
  'attribute_map': {
990
- 'retailer_id': 'retailerId',
991
- 'sku_stock_type_filter': 'sku-stock-type-filter',
992
- 'brand_type': 'brand-type',
1016
+ 'retailer_id': 'retailer-id',
993
1017
  },
994
1018
  'location_map': {
995
1019
  'retailer_id': 'path',
996
- 'sku_stock_type_filter': 'query',
997
- 'brand_type': 'query',
998
1020
  },
999
1021
  'collection_format_map': {
1000
1022
  }
@@ -1007,26 +1029,26 @@ class CampaignApi(object):
1007
1029
  },
1008
1030
  api_client=api_client
1009
1031
  )
1010
- self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint = _Endpoint(
1032
+ self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
1011
1033
  settings={
1012
- 'response_type': (SellerPreviewResponse,),
1034
+ 'response_type': (CreativeV2Response,),
1013
1035
  'auth': [
1014
1036
  'oauth',
1015
1037
  'oauth'
1016
1038
  ],
1017
- 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/sellers/{seller}',
1018
- 'operation_id': 'get_api_v1_external_retailer_by_retailer_id_seller_by_seller',
1039
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives/{creative-id}',
1040
+ 'operation_id': 'get_api_v2_external_account_by_account_id_creativescreative_id',
1019
1041
  'http_method': 'GET',
1020
1042
  'servers': None,
1021
1043
  },
1022
1044
  params_map={
1023
1045
  'all': [
1024
- 'retailer_id',
1025
- 'seller',
1046
+ 'account_id',
1047
+ 'creative_id',
1026
1048
  ],
1027
1049
  'required': [
1028
- 'retailer_id',
1029
- 'seller',
1050
+ 'account_id',
1051
+ 'creative_id',
1030
1052
  ],
1031
1053
  'nullable': [
1032
1054
  ],
@@ -1041,49 +1063,53 @@ class CampaignApi(object):
1041
1063
  'allowed_values': {
1042
1064
  },
1043
1065
  'openapi_types': {
1044
- 'retailer_id':
1045
- (int,),
1046
- 'seller':
1066
+ 'account_id':
1067
+ (str,),
1068
+ 'creative_id':
1047
1069
  (str,),
1048
1070
  },
1049
1071
  'attribute_map': {
1050
- 'retailer_id': 'retailerId',
1051
- 'seller': 'seller',
1072
+ 'account_id': 'account-id',
1073
+ 'creative_id': 'creative-id',
1052
1074
  },
1053
1075
  'location_map': {
1054
- 'retailer_id': 'path',
1055
- 'seller': 'path',
1076
+ 'account_id': 'path',
1077
+ 'creative_id': 'path',
1056
1078
  },
1057
1079
  'collection_format_map': {
1058
1080
  }
1059
1081
  },
1060
1082
  headers_map={
1061
1083
  'accept': [
1062
- 'application/json'
1084
+ 'text/plain',
1085
+ 'application/json',
1086
+ 'text/json'
1063
1087
  ],
1064
1088
  'content_type': [],
1065
1089
  },
1066
1090
  api_client=api_client
1067
1091
  )
1068
- self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint = _Endpoint(
1092
+ self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
1069
1093
  settings={
1070
- 'response_type': (CpcRateCardPreviewResponse,),
1094
+ 'response_type': (PreferredLineItemV2PagedListResponse,),
1071
1095
  'auth': [
1072
1096
  'oauth',
1073
1097
  'oauth'
1074
1098
  ],
1075
- 'endpoint_path': '/preview/retail-media/retailers/{retailer-id}/cpc-rates',
1076
- 'operation_id': 'get_api_v1_external_retailer_category_cpc_rates_by_retailer_id',
1099
+ 'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
1100
+ 'operation_id': 'get_api_v2_external_campaign_preferred_line_items_by_campaign_id',
1077
1101
  'http_method': 'GET',
1078
1102
  'servers': None,
1079
1103
  },
1080
1104
  params_map={
1081
1105
  'all': [
1082
- 'retailer_id',
1083
- 'fields',
1106
+ 'campaign_id',
1107
+ 'limit_to_id',
1108
+ 'page_index',
1109
+ 'page_size',
1084
1110
  ],
1085
1111
  'required': [
1086
- 'retailer_id',
1112
+ 'campaign_id',
1087
1113
  ],
1088
1114
  'nullable': [
1089
1115
  ],
@@ -1098,21 +1124,29 @@ class CampaignApi(object):
1098
1124
  'allowed_values': {
1099
1125
  },
1100
1126
  'openapi_types': {
1101
- 'retailer_id':
1127
+ 'campaign_id':
1102
1128
  (str,),
1103
- 'fields':
1129
+ 'limit_to_id':
1104
1130
  ([str],),
1131
+ 'page_index':
1132
+ (int,),
1133
+ 'page_size':
1134
+ (int,),
1105
1135
  },
1106
1136
  'attribute_map': {
1107
- 'retailer_id': 'retailer-id',
1108
- 'fields': 'fields',
1137
+ 'campaign_id': 'campaign-id',
1138
+ 'limit_to_id': 'limitToId',
1139
+ 'page_index': 'pageIndex',
1140
+ 'page_size': 'pageSize',
1109
1141
  },
1110
1142
  'location_map': {
1111
- 'retailer_id': 'path',
1112
- 'fields': 'query',
1143
+ 'campaign_id': 'path',
1144
+ 'limit_to_id': 'query',
1145
+ 'page_index': 'query',
1146
+ 'page_size': 'query',
1113
1147
  },
1114
1148
  'collection_format_map': {
1115
- 'fields': 'multi',
1149
+ 'limit_to_id': 'multi',
1116
1150
  }
1117
1151
  },
1118
1152
  headers_map={
@@ -1123,24 +1157,24 @@ class CampaignApi(object):
1123
1157
  },
1124
1158
  api_client=api_client
1125
1159
  )
1126
- self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint = _Endpoint(
1160
+ self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint(
1127
1161
  settings={
1128
- 'response_type': (PlacementPreviewListResponse,),
1162
+ 'response_type': (JsonApiSingleResponseOfLineItemBidMultipliersV2,),
1129
1163
  'auth': [
1130
1164
  'oauth',
1131
1165
  'oauth'
1132
1166
  ],
1133
- 'endpoint_path': '/preview/retail-media/retailers/{retailer-id}/placements',
1134
- 'operation_id': 'get_api_v1_external_retailer_placements_by_retailer_id',
1167
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/bid-multipliers',
1168
+ 'operation_id': 'get_api_v2_external_line_item_bid_multipliers_by_line_item_id',
1135
1169
  'http_method': 'GET',
1136
1170
  'servers': None,
1137
1171
  },
1138
1172
  params_map={
1139
1173
  'all': [
1140
- 'retailer_id',
1174
+ 'line_item_id',
1141
1175
  ],
1142
1176
  'required': [
1143
- 'retailer_id',
1177
+ 'line_item_id',
1144
1178
  ],
1145
1179
  'nullable': [
1146
1180
  ],
@@ -1155,44 +1189,46 @@ class CampaignApi(object):
1155
1189
  'allowed_values': {
1156
1190
  },
1157
1191
  'openapi_types': {
1158
- 'retailer_id':
1192
+ 'line_item_id':
1159
1193
  (str,),
1160
1194
  },
1161
1195
  'attribute_map': {
1162
- 'retailer_id': 'retailer-id',
1196
+ 'line_item_id': 'line-item-id',
1163
1197
  },
1164
1198
  'location_map': {
1165
- 'retailer_id': 'path',
1199
+ 'line_item_id': 'path',
1166
1200
  },
1167
1201
  'collection_format_map': {
1168
1202
  }
1169
1203
  },
1170
1204
  headers_map={
1171
1205
  'accept': [
1172
- 'application/json'
1206
+ 'text/plain',
1207
+ 'application/json',
1208
+ 'text/json'
1173
1209
  ],
1174
1210
  'content_type': [],
1175
1211
  },
1176
1212
  api_client=api_client
1177
1213
  )
1178
- self.get_campaign_budget_overrides_endpoint = _Endpoint(
1214
+ self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
1179
1215
  settings={
1180
- 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,),
1216
+ 'response_type': (PreferredLineItemV2Response,),
1181
1217
  'auth': [
1182
1218
  'oauth',
1183
1219
  'oauth'
1184
1220
  ],
1185
- 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides',
1186
- 'operation_id': 'get_campaign_budget_overrides',
1221
+ 'endpoint_path': '/preview/retail-media/preferred-line-items/{line-item-id}',
1222
+ 'operation_id': 'get_api_v2_external_preferred_line_item_by_line_item_id',
1187
1223
  'http_method': 'GET',
1188
1224
  'servers': None,
1189
1225
  },
1190
1226
  params_map={
1191
1227
  'all': [
1192
- 'campaign_id',
1228
+ 'line_item_id',
1193
1229
  ],
1194
1230
  'required': [
1195
- 'campaign_id',
1231
+ 'line_item_id',
1196
1232
  ],
1197
1233
  'nullable': [
1198
1234
  ],
@@ -1207,14 +1243,14 @@ class CampaignApi(object):
1207
1243
  'allowed_values': {
1208
1244
  },
1209
1245
  'openapi_types': {
1210
- 'campaign_id':
1211
- (int,),
1246
+ 'line_item_id':
1247
+ (str,),
1212
1248
  },
1213
1249
  'attribute_map': {
1214
- 'campaign_id': 'campaignId',
1250
+ 'line_item_id': 'line-item-id',
1215
1251
  },
1216
1252
  'location_map': {
1217
- 'campaign_id': 'path',
1253
+ 'line_item_id': 'path',
1218
1254
  },
1219
1255
  'collection_format_map': {
1220
1256
  }
@@ -1227,21 +1263,152 @@ class CampaignApi(object):
1227
1263
  },
1228
1264
  api_client=api_client
1229
1265
  )
1230
- self.get_line_item_budget_overrides_endpoint = _Endpoint(
1266
+ self.get_campaign_budget_overrides_endpoint = _Endpoint(
1231
1267
  settings={
1232
- 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,),
1268
+ 'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,),
1233
1269
  'auth': [
1234
1270
  'oauth',
1235
1271
  'oauth'
1236
1272
  ],
1237
- 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides',
1238
- 'operation_id': 'get_line_item_budget_overrides',
1273
+ 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/campaign-budget-overrides',
1274
+ 'operation_id': 'get_campaign_budget_overrides',
1239
1275
  'http_method': 'GET',
1240
1276
  'servers': None,
1241
1277
  },
1242
1278
  params_map={
1243
1279
  'all': [
1244
- 'line_item_id',
1280
+ 'campaign_id',
1281
+ ],
1282
+ 'required': [
1283
+ 'campaign_id',
1284
+ ],
1285
+ 'nullable': [
1286
+ ],
1287
+ 'enum': [
1288
+ ],
1289
+ 'validation': [
1290
+ ]
1291
+ },
1292
+ root_map={
1293
+ 'validations': {
1294
+ },
1295
+ 'allowed_values': {
1296
+ },
1297
+ 'openapi_types': {
1298
+ 'campaign_id':
1299
+ (int,),
1300
+ },
1301
+ 'attribute_map': {
1302
+ 'campaign_id': 'campaignId',
1303
+ },
1304
+ 'location_map': {
1305
+ 'campaign_id': 'path',
1306
+ },
1307
+ 'collection_format_map': {
1308
+ }
1309
+ },
1310
+ headers_map={
1311
+ 'accept': [
1312
+ 'application/json'
1313
+ ],
1314
+ 'content_type': [],
1315
+ },
1316
+ api_client=api_client
1317
+ )
1318
+ self.get_insertion_order_history_change_data_capture_endpoint = _Endpoint(
1319
+ settings={
1320
+ 'response_type': (PageOfInsertionOrderHistoryChangeDataCapture,),
1321
+ 'auth': [
1322
+ 'oauth',
1323
+ 'oauth'
1324
+ ],
1325
+ 'endpoint_path': '/preview/retail-media/insertion-order-history/{insertionOrderId}/change-data-capture',
1326
+ 'operation_id': 'get_insertion_order_history_change_data_capture',
1327
+ 'http_method': 'GET',
1328
+ 'servers': None,
1329
+ },
1330
+ params_map={
1331
+ 'all': [
1332
+ 'insertion_order_id',
1333
+ 'offset',
1334
+ 'limit',
1335
+ 'limit_to_change_types',
1336
+ ],
1337
+ 'required': [
1338
+ 'insertion_order_id',
1339
+ ],
1340
+ 'nullable': [
1341
+ ],
1342
+ 'enum': [
1343
+ ],
1344
+ 'validation': [
1345
+ 'offset',
1346
+ 'limit',
1347
+ ]
1348
+ },
1349
+ root_map={
1350
+ 'validations': {
1351
+ ('offset',): {
1352
+
1353
+ 'inclusive_maximum': 2147483647,
1354
+ 'inclusive_minimum': 0,
1355
+ },
1356
+ ('limit',): {
1357
+
1358
+ 'inclusive_maximum': 100,
1359
+ 'inclusive_minimum': 1,
1360
+ },
1361
+ },
1362
+ 'allowed_values': {
1363
+ },
1364
+ 'openapi_types': {
1365
+ 'insertion_order_id':
1366
+ (str,),
1367
+ 'offset':
1368
+ (int,),
1369
+ 'limit':
1370
+ (int,),
1371
+ 'limit_to_change_types':
1372
+ (str,),
1373
+ },
1374
+ 'attribute_map': {
1375
+ 'insertion_order_id': 'insertionOrderId',
1376
+ 'offset': 'offset',
1377
+ 'limit': 'limit',
1378
+ 'limit_to_change_types': 'limitToChangeTypes',
1379
+ },
1380
+ 'location_map': {
1381
+ 'insertion_order_id': 'path',
1382
+ 'offset': 'query',
1383
+ 'limit': 'query',
1384
+ 'limit_to_change_types': 'query',
1385
+ },
1386
+ 'collection_format_map': {
1387
+ }
1388
+ },
1389
+ headers_map={
1390
+ 'accept': [
1391
+ 'application/json'
1392
+ ],
1393
+ 'content_type': [],
1394
+ },
1395
+ api_client=api_client
1396
+ )
1397
+ self.get_line_item_budget_overrides_endpoint = _Endpoint(
1398
+ settings={
1399
+ 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,),
1400
+ 'auth': [
1401
+ 'oauth',
1402
+ 'oauth'
1403
+ ],
1404
+ 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides',
1405
+ 'operation_id': 'get_line_item_budget_overrides',
1406
+ 'http_method': 'GET',
1407
+ 'servers': None,
1408
+ },
1409
+ params_map={
1410
+ 'all': [
1411
+ 'line_item_id',
1245
1412
  ],
1246
1413
  'required': [
1247
1414
  'line_item_id',
@@ -1433,25 +1600,25 @@ class CampaignApi(object):
1433
1600
  },
1434
1601
  api_client=api_client
1435
1602
  )
1436
- self.post_api202210_external_account_creatives_by_account_id_endpoint = _Endpoint(
1603
+ self.pause_promoted_products_endpoint = _Endpoint(
1437
1604
  settings={
1438
- 'response_type': (Creative202210Response,),
1605
+ 'response_type': None,
1439
1606
  'auth': [
1440
1607
  'oauth',
1441
1608
  'oauth'
1442
1609
  ],
1443
- 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives',
1444
- 'operation_id': 'post_api202210_external_account_creatives_by_account_id',
1610
+ 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/products/pause',
1611
+ 'operation_id': 'pause_promoted_products',
1445
1612
  'http_method': 'POST',
1446
1613
  'servers': None,
1447
1614
  },
1448
1615
  params_map={
1449
1616
  'all': [
1450
- 'account_id',
1451
- 'creative_create_model202207',
1617
+ 'line_item_id',
1618
+ 'promoted_product_resource_collection_input',
1452
1619
  ],
1453
1620
  'required': [
1454
- 'account_id',
1621
+ 'line_item_id',
1455
1622
  ],
1456
1623
  'nullable': [
1457
1624
  ],
@@ -1466,17 +1633,17 @@ class CampaignApi(object):
1466
1633
  'allowed_values': {
1467
1634
  },
1468
1635
  'openapi_types': {
1469
- 'account_id':
1636
+ 'line_item_id':
1470
1637
  (str,),
1471
- 'creative_create_model202207':
1472
- (CreativeCreateModel202207,),
1638
+ 'promoted_product_resource_collection_input':
1639
+ (PromotedProductResourceCollectionInput,),
1473
1640
  },
1474
1641
  'attribute_map': {
1475
- 'account_id': 'account-id',
1642
+ 'line_item_id': 'lineItemId',
1476
1643
  },
1477
1644
  'location_map': {
1478
- 'account_id': 'path',
1479
- 'creative_create_model202207': 'body',
1645
+ 'line_item_id': 'path',
1646
+ 'promoted_product_resource_collection_input': 'body',
1480
1647
  },
1481
1648
  'collection_format_map': {
1482
1649
  }
@@ -1491,25 +1658,26 @@ class CampaignApi(object):
1491
1658
  },
1492
1659
  api_client=api_client
1493
1660
  )
1494
- self.post_api202210_external_account_creatives_search_by_account_id_endpoint = _Endpoint(
1661
+ self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
1495
1662
  settings={
1496
- 'response_type': (Creative202210ListResponse,),
1663
+ 'response_type': (PreferredLineItemV2Response,),
1497
1664
  'auth': [
1498
1665
  'oauth',
1499
1666
  'oauth'
1500
1667
  ],
1501
- 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives/search',
1502
- 'operation_id': 'post_api202210_external_account_creatives_search_by_account_id',
1668
+ 'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
1669
+ 'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id',
1503
1670
  'http_method': 'POST',
1504
1671
  'servers': None,
1505
1672
  },
1506
1673
  params_map={
1507
1674
  'all': [
1508
- 'account_id',
1509
- 'creative_ids',
1675
+ 'campaign_id',
1676
+ 'preferred_line_item_create_model_v2_request',
1510
1677
  ],
1511
1678
  'required': [
1512
- 'account_id',
1679
+ 'campaign_id',
1680
+ 'preferred_line_item_create_model_v2_request',
1513
1681
  ],
1514
1682
  'nullable': [
1515
1683
  ],
@@ -1524,28 +1692,28 @@ class CampaignApi(object):
1524
1692
  'allowed_values': {
1525
1693
  },
1526
1694
  'openapi_types': {
1527
- 'account_id':
1695
+ 'campaign_id':
1528
1696
  (str,),
1529
- 'creative_ids':
1530
- ([str],),
1697
+ 'preferred_line_item_create_model_v2_request':
1698
+ (PreferredLineItemCreateModelV2Request,),
1531
1699
  },
1532
1700
  'attribute_map': {
1533
- 'account_id': 'account-id',
1534
- 'creative_ids': 'creative-ids',
1701
+ 'campaign_id': 'campaign-id',
1535
1702
  },
1536
1703
  'location_map': {
1537
- 'account_id': 'path',
1538
- 'creative_ids': 'query',
1704
+ 'campaign_id': 'path',
1705
+ 'preferred_line_item_create_model_v2_request': 'body',
1539
1706
  },
1540
1707
  'collection_format_map': {
1541
- 'creative_ids': 'multi',
1542
1708
  }
1543
1709
  },
1544
1710
  headers_map={
1545
1711
  'accept': [
1546
1712
  'application/json'
1547
1713
  ],
1548
- 'content_type': [],
1714
+ 'content_type': [
1715
+ 'application/json'
1716
+ ]
1549
1717
  },
1550
1718
  api_client=api_client
1551
1719
  )
@@ -1607,64 +1775,6 @@ class CampaignApi(object):
1607
1775
  },
1608
1776
  api_client=api_client
1609
1777
  )
1610
- self.post_api_v0_external_account_catalogs_by_account_id_endpoint = _Endpoint(
1611
- settings={
1612
- 'response_type': (JsonApiSingleResponseOfCatalogStatus,),
1613
- 'auth': [
1614
- 'oauth',
1615
- 'oauth'
1616
- ],
1617
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/catalogs',
1618
- 'operation_id': 'post_api_v0_external_account_catalogs_by_account_id',
1619
- 'http_method': 'POST',
1620
- 'servers': None,
1621
- },
1622
- params_map={
1623
- 'all': [
1624
- 'account_id',
1625
- 'json_api_request_of_catalog_request_preview',
1626
- ],
1627
- 'required': [
1628
- 'account_id',
1629
- ],
1630
- 'nullable': [
1631
- ],
1632
- 'enum': [
1633
- ],
1634
- 'validation': [
1635
- ]
1636
- },
1637
- root_map={
1638
- 'validations': {
1639
- },
1640
- 'allowed_values': {
1641
- },
1642
- 'openapi_types': {
1643
- 'account_id':
1644
- (str,),
1645
- 'json_api_request_of_catalog_request_preview':
1646
- (JsonApiRequestOfCatalogRequestPreview,),
1647
- },
1648
- 'attribute_map': {
1649
- 'account_id': 'accountId',
1650
- },
1651
- 'location_map': {
1652
- 'account_id': 'path',
1653
- 'json_api_request_of_catalog_request_preview': 'body',
1654
- },
1655
- 'collection_format_map': {
1656
- }
1657
- },
1658
- headers_map={
1659
- 'accept': [
1660
- 'application/json'
1661
- ],
1662
- 'content_type': [
1663
- 'application/json'
1664
- ]
1665
- },
1666
- api_client=api_client
1667
- )
1668
1778
  self.post_api_v1_external_catalogs_sku_retrieval_endpoint = _Endpoint(
1669
1779
  settings={
1670
1780
  'response_type': (SkuDataPreviewListResponse,),
@@ -1974,27 +2084,25 @@ class CampaignApi(object):
1974
2084
  },
1975
2085
  api_client=api_client
1976
2086
  )
1977
- self.put_api202210_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
2087
+ self.post_api_v2_external_account_creatives_by_account_id_endpoint = _Endpoint(
1978
2088
  settings={
1979
- 'response_type': (Creative202210Response,),
2089
+ 'response_type': (CreativeV2Response,),
1980
2090
  'auth': [
1981
2091
  'oauth',
1982
2092
  'oauth'
1983
2093
  ],
1984
- 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives/{creative-id}',
1985
- 'operation_id': 'put_api202210_external_account_by_account_id_creativescreative_id',
1986
- 'http_method': 'PUT',
2094
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives',
2095
+ 'operation_id': 'post_api_v2_external_account_creatives_by_account_id',
2096
+ 'http_method': 'POST',
1987
2097
  'servers': None,
1988
2098
  },
1989
2099
  params_map={
1990
2100
  'all': [
1991
2101
  'account_id',
1992
- 'creative_id',
1993
- 'creative_update_model202207',
2102
+ 'external_creative_create_model_v2',
1994
2103
  ],
1995
2104
  'required': [
1996
2105
  'account_id',
1997
- 'creative_id',
1998
2106
  ],
1999
2107
  'nullable': [
2000
2108
  ],
@@ -2011,26 +2119,24 @@ class CampaignApi(object):
2011
2119
  'openapi_types': {
2012
2120
  'account_id':
2013
2121
  (str,),
2014
- 'creative_id':
2015
- (str,),
2016
- 'creative_update_model202207':
2017
- (CreativeUpdateModel202207,),
2122
+ 'external_creative_create_model_v2':
2123
+ (ExternalCreativeCreateModelV2,),
2018
2124
  },
2019
2125
  'attribute_map': {
2020
2126
  'account_id': 'account-id',
2021
- 'creative_id': 'creative-id',
2022
2127
  },
2023
2128
  'location_map': {
2024
2129
  'account_id': 'path',
2025
- 'creative_id': 'path',
2026
- 'creative_update_model202207': 'body',
2130
+ 'external_creative_create_model_v2': 'body',
2027
2131
  },
2028
2132
  'collection_format_map': {
2029
2133
  }
2030
2134
  },
2031
2135
  headers_map={
2032
2136
  'accept': [
2033
- 'application/json'
2137
+ 'text/plain',
2138
+ 'application/json',
2139
+ 'text/json'
2034
2140
  ],
2035
2141
  'content_type': [
2036
2142
  'application/json'
@@ -2038,27 +2144,25 @@ class CampaignApi(object):
2038
2144
  },
2039
2145
  api_client=api_client
2040
2146
  )
2041
- self.put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint = _Endpoint(
2147
+ self.post_api_v2_external_account_creatives_search_by_account_id_endpoint = _Endpoint(
2042
2148
  settings={
2043
- 'response_type': (ProductButtonListResponse,),
2149
+ 'response_type': (CreativeV2ListResponse,),
2044
2150
  'auth': [
2045
2151
  'oauth',
2046
2152
  'oauth'
2047
2153
  ],
2048
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
2049
- 'operation_id': 'put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id',
2050
- 'http_method': 'PUT',
2154
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives/search',
2155
+ 'operation_id': 'post_api_v2_external_account_creatives_search_by_account_id',
2156
+ 'http_method': 'POST',
2051
2157
  'servers': None,
2052
2158
  },
2053
2159
  params_map={
2054
2160
  'all': [
2055
- 'line_item_id',
2056
- 'product_button_id',
2057
- 'product_button_request',
2161
+ 'account_id',
2162
+ 'creative_ids',
2058
2163
  ],
2059
2164
  'required': [
2060
- 'line_item_id',
2061
- 'product_button_id',
2165
+ 'account_id',
2062
2166
  ],
2063
2167
  'nullable': [
2064
2168
  ],
@@ -2073,54 +2177,53 @@ class CampaignApi(object):
2073
2177
  'allowed_values': {
2074
2178
  },
2075
2179
  'openapi_types': {
2076
- 'line_item_id':
2077
- (str,),
2078
- 'product_button_id':
2180
+ 'account_id':
2079
2181
  (str,),
2080
- 'product_button_request':
2081
- (ProductButtonRequest,),
2182
+ 'creative_ids':
2183
+ ([str],),
2082
2184
  },
2083
2185
  'attribute_map': {
2084
- 'line_item_id': 'line-item-id',
2085
- 'product_button_id': 'product-button-id',
2186
+ 'account_id': 'account-id',
2187
+ 'creative_ids': 'creative-ids',
2086
2188
  },
2087
2189
  'location_map': {
2088
- 'line_item_id': 'path',
2089
- 'product_button_id': 'path',
2090
- 'product_button_request': 'body',
2190
+ 'account_id': 'path',
2191
+ 'creative_ids': 'query',
2091
2192
  },
2092
2193
  'collection_format_map': {
2194
+ 'creative_ids': 'multi',
2093
2195
  }
2094
2196
  },
2095
2197
  headers_map={
2096
2198
  'accept': [
2097
- 'application/json'
2199
+ 'text/plain',
2200
+ 'application/json',
2201
+ 'text/json'
2098
2202
  ],
2099
- 'content_type': [
2100
- 'application/json'
2101
- ]
2203
+ 'content_type': [],
2102
2204
  },
2103
2205
  api_client=api_client
2104
2206
  )
2105
- self.put_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint(
2207
+ self.put_api202110_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
2106
2208
  settings={
2107
- 'response_type': (LineItemBidMultipliersResponse,),
2209
+ 'response_type': (PreferredLineItemV2Response,),
2108
2210
  'auth': [
2109
2211
  'oauth',
2110
2212
  'oauth'
2111
2213
  ],
2112
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/bid-multipliers',
2113
- 'operation_id': 'put_api202301_external_line_item_bid_multipliers_by_line_item_id',
2214
+ 'endpoint_path': '/preview/retail-media/preferred-line-items/{line-item-id}',
2215
+ 'operation_id': 'put_api202110_external_preferred_line_item_by_line_item_id',
2114
2216
  'http_method': 'PUT',
2115
2217
  'servers': None,
2116
2218
  },
2117
2219
  params_map={
2118
2220
  'all': [
2119
2221
  'line_item_id',
2120
- 'line_item_bid_multipliers_request',
2222
+ 'preferred_line_item_update_model_v2_request',
2121
2223
  ],
2122
2224
  'required': [
2123
2225
  'line_item_id',
2226
+ 'preferred_line_item_update_model_v2_request',
2124
2227
  ],
2125
2228
  'nullable': [
2126
2229
  ],
@@ -2137,22 +2240,210 @@ class CampaignApi(object):
2137
2240
  'openapi_types': {
2138
2241
  'line_item_id':
2139
2242
  (str,),
2140
- 'line_item_bid_multipliers_request':
2141
- (LineItemBidMultipliersRequest,),
2243
+ 'preferred_line_item_update_model_v2_request':
2244
+ (PreferredLineItemUpdateModelV2Request,),
2142
2245
  },
2143
2246
  'attribute_map': {
2144
2247
  'line_item_id': 'line-item-id',
2145
2248
  },
2146
2249
  'location_map': {
2147
2250
  'line_item_id': 'path',
2148
- 'line_item_bid_multipliers_request': 'body',
2251
+ 'preferred_line_item_update_model_v2_request': 'body',
2149
2252
  },
2150
2253
  'collection_format_map': {
2151
2254
  }
2152
2255
  },
2153
2256
  headers_map={
2154
2257
  'accept': [
2155
- 'text/plain',
2258
+ 'application/json'
2259
+ ],
2260
+ 'content_type': [
2261
+ 'application/json'
2262
+ ]
2263
+ },
2264
+ api_client=api_client
2265
+ )
2266
+ self.put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint = _Endpoint(
2267
+ settings={
2268
+ 'response_type': (ProductButtonListResponse,),
2269
+ 'auth': [
2270
+ 'oauth',
2271
+ 'oauth'
2272
+ ],
2273
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
2274
+ 'operation_id': 'put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id',
2275
+ 'http_method': 'PUT',
2276
+ 'servers': None,
2277
+ },
2278
+ params_map={
2279
+ 'all': [
2280
+ 'line_item_id',
2281
+ 'product_button_id',
2282
+ 'product_button_request',
2283
+ ],
2284
+ 'required': [
2285
+ 'line_item_id',
2286
+ 'product_button_id',
2287
+ ],
2288
+ 'nullable': [
2289
+ ],
2290
+ 'enum': [
2291
+ ],
2292
+ 'validation': [
2293
+ ]
2294
+ },
2295
+ root_map={
2296
+ 'validations': {
2297
+ },
2298
+ 'allowed_values': {
2299
+ },
2300
+ 'openapi_types': {
2301
+ 'line_item_id':
2302
+ (str,),
2303
+ 'product_button_id':
2304
+ (str,),
2305
+ 'product_button_request':
2306
+ (ProductButtonRequest,),
2307
+ },
2308
+ 'attribute_map': {
2309
+ 'line_item_id': 'line-item-id',
2310
+ 'product_button_id': 'product-button-id',
2311
+ },
2312
+ 'location_map': {
2313
+ 'line_item_id': 'path',
2314
+ 'product_button_id': 'path',
2315
+ 'product_button_request': 'body',
2316
+ },
2317
+ 'collection_format_map': {
2318
+ }
2319
+ },
2320
+ headers_map={
2321
+ 'accept': [
2322
+ 'application/json'
2323
+ ],
2324
+ 'content_type': [
2325
+ 'application/json'
2326
+ ]
2327
+ },
2328
+ api_client=api_client
2329
+ )
2330
+ self.put_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
2331
+ settings={
2332
+ 'response_type': (CreativeV2Response,),
2333
+ 'auth': [
2334
+ 'oauth',
2335
+ 'oauth'
2336
+ ],
2337
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/creatives/{creative-id}',
2338
+ 'operation_id': 'put_api_v2_external_account_by_account_id_creativescreative_id',
2339
+ 'http_method': 'PUT',
2340
+ 'servers': None,
2341
+ },
2342
+ params_map={
2343
+ 'all': [
2344
+ 'account_id',
2345
+ 'creative_id',
2346
+ 'external_creative_update_model_v2',
2347
+ ],
2348
+ 'required': [
2349
+ 'account_id',
2350
+ 'creative_id',
2351
+ ],
2352
+ 'nullable': [
2353
+ ],
2354
+ 'enum': [
2355
+ ],
2356
+ 'validation': [
2357
+ ]
2358
+ },
2359
+ root_map={
2360
+ 'validations': {
2361
+ },
2362
+ 'allowed_values': {
2363
+ },
2364
+ 'openapi_types': {
2365
+ 'account_id':
2366
+ (str,),
2367
+ 'creative_id':
2368
+ (str,),
2369
+ 'external_creative_update_model_v2':
2370
+ (ExternalCreativeUpdateModelV2,),
2371
+ },
2372
+ 'attribute_map': {
2373
+ 'account_id': 'account-id',
2374
+ 'creative_id': 'creative-id',
2375
+ },
2376
+ 'location_map': {
2377
+ 'account_id': 'path',
2378
+ 'creative_id': 'path',
2379
+ 'external_creative_update_model_v2': 'body',
2380
+ },
2381
+ 'collection_format_map': {
2382
+ }
2383
+ },
2384
+ headers_map={
2385
+ 'accept': [
2386
+ 'text/plain',
2387
+ 'application/json',
2388
+ 'text/json'
2389
+ ],
2390
+ 'content_type': [
2391
+ 'application/json'
2392
+ ]
2393
+ },
2394
+ api_client=api_client
2395
+ )
2396
+ self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint(
2397
+ settings={
2398
+ 'response_type': (LineItemBidMultipliersV2Response,),
2399
+ 'auth': [
2400
+ 'oauth',
2401
+ 'oauth'
2402
+ ],
2403
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/bid-multipliers',
2404
+ 'operation_id': 'put_api_v2_external_line_item_bid_multipliers_by_line_item_id',
2405
+ 'http_method': 'PUT',
2406
+ 'servers': None,
2407
+ },
2408
+ params_map={
2409
+ 'all': [
2410
+ 'line_item_id',
2411
+ 'line_item_bid_multipliers_v2_request',
2412
+ ],
2413
+ 'required': [
2414
+ 'line_item_id',
2415
+ ],
2416
+ 'nullable': [
2417
+ ],
2418
+ 'enum': [
2419
+ ],
2420
+ 'validation': [
2421
+ ]
2422
+ },
2423
+ root_map={
2424
+ 'validations': {
2425
+ },
2426
+ 'allowed_values': {
2427
+ },
2428
+ 'openapi_types': {
2429
+ 'line_item_id':
2430
+ (str,),
2431
+ 'line_item_bid_multipliers_v2_request':
2432
+ (LineItemBidMultipliersV2Request,),
2433
+ },
2434
+ 'attribute_map': {
2435
+ 'line_item_id': 'line-item-id',
2436
+ },
2437
+ 'location_map': {
2438
+ 'line_item_id': 'path',
2439
+ 'line_item_bid_multipliers_v2_request': 'body',
2440
+ },
2441
+ 'collection_format_map': {
2442
+ }
2443
+ },
2444
+ headers_map={
2445
+ 'accept': [
2446
+ 'text/plain',
2156
2447
  'application/json',
2157
2448
  'text/json'
2158
2449
  ],
@@ -2164,7 +2455,7 @@ class CampaignApi(object):
2164
2455
  )
2165
2456
  self.set_keyword_bids_endpoint = _Endpoint(
2166
2457
  settings={
2167
- 'response_type': (RetailMediaExternalv1ResourceOutcome,),
2458
+ 'response_type': (ResourceOutcome,),
2168
2459
  'auth': [
2169
2460
  'oauth',
2170
2461
  'oauth'
@@ -2177,7 +2468,7 @@ class CampaignApi(object):
2177
2468
  params_map={
2178
2469
  'all': [
2179
2470
  'id',
2180
- 'retail_media_externalv1_set_bids_model_request',
2471
+ 'set_bids_model_request',
2181
2472
  ],
2182
2473
  'required': [
2183
2474
  'id',
@@ -2197,24 +2488,22 @@ class CampaignApi(object):
2197
2488
  'openapi_types': {
2198
2489
  'id':
2199
2490
  (str,),
2200
- 'retail_media_externalv1_set_bids_model_request':
2201
- (RetailMediaExternalv1SetBidsModelRequest,),
2491
+ 'set_bids_model_request':
2492
+ (SetBidsModelRequest,),
2202
2493
  },
2203
2494
  'attribute_map': {
2204
2495
  'id': 'id',
2205
2496
  },
2206
2497
  'location_map': {
2207
2498
  'id': 'path',
2208
- 'retail_media_externalv1_set_bids_model_request': 'body',
2499
+ 'set_bids_model_request': 'body',
2209
2500
  },
2210
2501
  'collection_format_map': {
2211
2502
  }
2212
2503
  },
2213
2504
  headers_map={
2214
2505
  'accept': [
2215
- 'text/plain',
2216
- 'application/json',
2217
- 'text/json'
2506
+ 'application/json'
2218
2507
  ],
2219
2508
  'content_type': [
2220
2509
  'application/json'
@@ -2224,7 +2513,7 @@ class CampaignApi(object):
2224
2513
  )
2225
2514
  self.submit_proposal_endpoint = _Endpoint(
2226
2515
  settings={
2227
- 'response_type': (RetailMediaExternalv1ProposalStatusModelResponse,),
2516
+ 'response_type': (ProposalStatusModelResponse,),
2228
2517
  'auth': [
2229
2518
  'oauth',
2230
2519
  'oauth'
@@ -2268,14 +2557,70 @@ class CampaignApi(object):
2268
2557
  },
2269
2558
  headers_map={
2270
2559
  'accept': [
2271
- 'text/plain',
2272
- 'application/json',
2273
- 'text/json'
2560
+ 'application/json'
2274
2561
  ],
2275
2562
  'content_type': [],
2276
2563
  },
2277
2564
  api_client=api_client
2278
2565
  )
2566
+ self.unpause_promoted_products_endpoint = _Endpoint(
2567
+ settings={
2568
+ 'response_type': None,
2569
+ 'auth': [
2570
+ 'oauth',
2571
+ 'oauth'
2572
+ ],
2573
+ 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/products/unpause',
2574
+ 'operation_id': 'unpause_promoted_products',
2575
+ 'http_method': 'POST',
2576
+ 'servers': None,
2577
+ },
2578
+ params_map={
2579
+ 'all': [
2580
+ 'line_item_id',
2581
+ 'promoted_product_resource_collection_input',
2582
+ ],
2583
+ 'required': [
2584
+ 'line_item_id',
2585
+ ],
2586
+ 'nullable': [
2587
+ ],
2588
+ 'enum': [
2589
+ ],
2590
+ 'validation': [
2591
+ ]
2592
+ },
2593
+ root_map={
2594
+ 'validations': {
2595
+ },
2596
+ 'allowed_values': {
2597
+ },
2598
+ 'openapi_types': {
2599
+ 'line_item_id':
2600
+ (str,),
2601
+ 'promoted_product_resource_collection_input':
2602
+ (PromotedProductResourceCollectionInput,),
2603
+ },
2604
+ 'attribute_map': {
2605
+ 'line_item_id': 'lineItemId',
2606
+ },
2607
+ 'location_map': {
2608
+ 'line_item_id': 'path',
2609
+ 'promoted_product_resource_collection_input': 'body',
2610
+ },
2611
+ 'collection_format_map': {
2612
+ }
2613
+ },
2614
+ headers_map={
2615
+ 'accept': [
2616
+ 'application/json'
2617
+ ],
2618
+ 'content_type': [
2619
+ 'application/json'
2620
+ ]
2621
+ },
2622
+ api_client=api_client
2623
+ )
2279
2624
  self.update_campaign_budget_overrides_endpoint = _Endpoint(
2280
2625
  settings={
2281
2626
  'response_type': (ValueResourceOutcomeOfCampaignBudgetOverrides,),
@@ -2337,87 +2682,425 @@ class CampaignApi(object):
2337
2682
  },
2338
2683
  api_client=api_client
2339
2684
  )
2340
- self.update_line_item_budget_overrides_endpoint = _Endpoint(
2341
- settings={
2342
- 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,),
2343
- 'auth': [
2344
- 'oauth',
2345
- 'oauth'
2346
- ],
2347
- 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides',
2348
- 'operation_id': 'update_line_item_budget_overrides',
2349
- 'http_method': 'PUT',
2350
- 'servers': None,
2351
- },
2352
- params_map={
2353
- 'all': [
2354
- 'line_item_id',
2355
- 'value_resource_input_of_line_item_budget_overrides',
2356
- ],
2357
- 'required': [
2358
- 'line_item_id',
2359
- ],
2360
- 'nullable': [
2361
- ],
2362
- 'enum': [
2363
- ],
2364
- 'validation': [
2365
- ]
2366
- },
2367
- root_map={
2368
- 'validations': {
2369
- },
2370
- 'allowed_values': {
2371
- },
2372
- 'openapi_types': {
2373
- 'line_item_id':
2374
- (str,),
2375
- 'value_resource_input_of_line_item_budget_overrides':
2376
- (ValueResourceInputOfLineItemBudgetOverrides,),
2377
- },
2378
- 'attribute_map': {
2379
- 'line_item_id': 'lineItemId',
2380
- },
2381
- 'location_map': {
2382
- 'line_item_id': 'path',
2383
- 'value_resource_input_of_line_item_budget_overrides': 'body',
2384
- },
2385
- 'collection_format_map': {
2386
- }
2387
- },
2388
- headers_map={
2389
- 'accept': [
2390
- 'application/json'
2391
- ],
2392
- 'content_type': [
2393
- 'application/json-patch+json',
2394
- 'application/json',
2395
- 'text/json',
2396
- 'application/*+json'
2397
- ]
2398
- },
2399
- api_client=api_client
2685
+ self.update_line_item_budget_overrides_endpoint = _Endpoint(
2686
+ settings={
2687
+ 'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,),
2688
+ 'auth': [
2689
+ 'oauth',
2690
+ 'oauth'
2691
+ ],
2692
+ 'endpoint_path': '/preview/retail-media/line-items/{lineItemId}/line-item-budget-overrides',
2693
+ 'operation_id': 'update_line_item_budget_overrides',
2694
+ 'http_method': 'PUT',
2695
+ 'servers': None,
2696
+ },
2697
+ params_map={
2698
+ 'all': [
2699
+ 'line_item_id',
2700
+ 'value_resource_input_of_line_item_budget_overrides',
2701
+ ],
2702
+ 'required': [
2703
+ 'line_item_id',
2704
+ ],
2705
+ 'nullable': [
2706
+ ],
2707
+ 'enum': [
2708
+ ],
2709
+ 'validation': [
2710
+ ]
2711
+ },
2712
+ root_map={
2713
+ 'validations': {
2714
+ },
2715
+ 'allowed_values': {
2716
+ },
2717
+ 'openapi_types': {
2718
+ 'line_item_id':
2719
+ (str,),
2720
+ 'value_resource_input_of_line_item_budget_overrides':
2721
+ (ValueResourceInputOfLineItemBudgetOverrides,),
2722
+ },
2723
+ 'attribute_map': {
2724
+ 'line_item_id': 'lineItemId',
2725
+ },
2726
+ 'location_map': {
2727
+ 'line_item_id': 'path',
2728
+ 'value_resource_input_of_line_item_budget_overrides': 'body',
2729
+ },
2730
+ 'collection_format_map': {
2731
+ }
2732
+ },
2733
+ headers_map={
2734
+ 'accept': [
2735
+ 'application/json'
2736
+ ],
2737
+ 'content_type': [
2738
+ 'application/json-patch+json',
2739
+ 'application/json',
2740
+ 'text/json',
2741
+ 'application/*+json'
2742
+ ]
2743
+ },
2744
+ api_client=api_client
2745
+ )
2746
+
2747
+ def add_remove_keywords(
2748
+ self,
2749
+ id,
2750
+ **kwargs
2751
+ ):
2752
+ """add_remove_keywords # noqa: E501
2753
+
2754
+ Add or Remove keywords from the line item in bulk # noqa: E501
2755
+ This method makes a synchronous HTTP request by default. To make an
2756
+ asynchronous HTTP request, please pass async_req=True
2757
+
2758
+ >>> thread = api.add_remove_keywords(id, async_req=True)
2759
+ >>> result = thread.get()
2760
+
2761
+ Args:
2762
+ id (str): ID of the line item
2763
+
2764
+ Keyword Args:
2765
+ add_remove_keywords_model_request (AddRemoveKeywordsModelRequest): [optional]
2766
+ _return_http_data_only (bool): response data without head status
2767
+ code and headers. Default is True.
2768
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
2769
+ will be returned without reading/decoding response data.
2770
+ Default is True.
2771
+ _request_timeout (int/float/tuple): timeout setting for this request. If
2772
+ one number provided, it will be total request timeout. It can also
2773
+ be a pair (tuple) of (connection, read) timeouts.
2774
+ Default is None.
2775
+ _check_input_type (bool): specifies if type checking
2776
+ should be done one the data sent to the server.
2777
+ Default is True.
2778
+ _check_return_type (bool): specifies if type checking
2779
+ should be done one the data received from the server.
2780
+ Default is True.
2781
+ _spec_property_naming (bool): True if the variable names in the input data
2782
+ are serialized names, as specified in the OpenAPI document.
2783
+ False if the variable names in the input data
2784
+ are pythonic names, e.g. snake case (default)
2785
+ _content_type (str/None): force body content-type.
2786
+ Default is None and content-type will be predicted by allowed
2787
+ content-types and body.
2788
+ _host_index (int/None): specifies the index of the server
2789
+ that we want to use.
2790
+ Default is read from the configuration.
2791
+ _request_auths (list): set to override the auth_settings for an a single
2792
+ request; this effectively ignores the authentication
2793
+ in the spec for a single request.
2794
+ Default is None
2795
+ async_req (bool): execute request asynchronously
2796
+
2797
+ Returns:
2798
+ ResourceOutcome
2799
+ If the method is called asynchronously, returns the request
2800
+ thread.
2801
+ """
2802
+ kwargs['async_req'] = kwargs.get(
2803
+ 'async_req', False
2804
+ )
2805
+ kwargs['_return_http_data_only'] = kwargs.get(
2806
+ '_return_http_data_only', True
2807
+ )
2808
+ kwargs['_preload_content'] = kwargs.get(
2809
+ '_preload_content', True
2810
+ )
2811
+ kwargs['_request_timeout'] = kwargs.get(
2812
+ '_request_timeout', None
2813
+ )
2814
+ kwargs['_check_input_type'] = kwargs.get(
2815
+ '_check_input_type', True
2816
+ )
2817
+ kwargs['_check_return_type'] = kwargs.get(
2818
+ '_check_return_type', True
2819
+ )
2820
+ kwargs['_spec_property_naming'] = kwargs.get(
2821
+ '_spec_property_naming', False
2822
+ )
2823
+ kwargs['_content_type'] = kwargs.get(
2824
+ '_content_type')
2825
+ kwargs['_host_index'] = kwargs.get('_host_index')
2826
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2827
+ kwargs['id'] = \
2828
+ id
2829
+ return self.add_remove_keywords_endpoint.call_with_http_info(**kwargs)
2830
+
2831
+ def append_promoted_products(
2832
+ self,
2833
+ line_item_id,
2834
+ **kwargs
2835
+ ):
2836
+ """append_promoted_products # noqa: E501
2837
+
2838
+ Append a collection of promoted products to a line item # noqa: E501
2839
+ This method makes a synchronous HTTP request by default. To make an
2840
+ asynchronous HTTP request, please pass async_req=True
2841
+
2842
+ >>> thread = api.append_promoted_products(line_item_id, async_req=True)
2843
+ >>> result = thread.get()
2844
+
2845
+ Args:
2846
+ line_item_id (str): ID of the line item
2847
+
2848
+ Keyword Args:
2849
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
2850
+ _return_http_data_only (bool): response data without head status
2851
+ code and headers. Default is True.
2852
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
2853
+ will be returned without reading/decoding response data.
2854
+ Default is True.
2855
+ _request_timeout (int/float/tuple): timeout setting for this request. If
2856
+ one number provided, it will be total request timeout. It can also
2857
+ be a pair (tuple) of (connection, read) timeouts.
2858
+ Default is None.
2859
+ _check_input_type (bool): specifies if type checking
2860
+ should be done one the data sent to the server.
2861
+ Default is True.
2862
+ _check_return_type (bool): specifies if type checking
2863
+ should be done one the data received from the server.
2864
+ Default is True.
2865
+ _spec_property_naming (bool): True if the variable names in the input data
2866
+ are serialized names, as specified in the OpenAPI document.
2867
+ False if the variable names in the input data
2868
+ are pythonic names, e.g. snake case (default)
2869
+ _content_type (str/None): force body content-type.
2870
+ Default is None and content-type will be predicted by allowed
2871
+ content-types and body.
2872
+ _host_index (int/None): specifies the index of the server
2873
+ that we want to use.
2874
+ Default is read from the configuration.
2875
+ _request_auths (list): set to override the auth_settings for an a single
2876
+ request; this effectively ignores the authentication
2877
+ in the spec for a single request.
2878
+ Default is None
2879
+ async_req (bool): execute request asynchronously
2880
+
2881
+ Returns:
2882
+ None
2883
+ If the method is called asynchronously, returns the request
2884
+ thread.
2885
+ """
2886
+ kwargs['async_req'] = kwargs.get(
2887
+ 'async_req', False
2888
+ )
2889
+ kwargs['_return_http_data_only'] = kwargs.get(
2890
+ '_return_http_data_only', True
2891
+ )
2892
+ kwargs['_preload_content'] = kwargs.get(
2893
+ '_preload_content', True
2894
+ )
2895
+ kwargs['_request_timeout'] = kwargs.get(
2896
+ '_request_timeout', None
2897
+ )
2898
+ kwargs['_check_input_type'] = kwargs.get(
2899
+ '_check_input_type', True
2900
+ )
2901
+ kwargs['_check_return_type'] = kwargs.get(
2902
+ '_check_return_type', True
2903
+ )
2904
+ kwargs['_spec_property_naming'] = kwargs.get(
2905
+ '_spec_property_naming', False
2906
+ )
2907
+ kwargs['_content_type'] = kwargs.get(
2908
+ '_content_type')
2909
+ kwargs['_host_index'] = kwargs.get('_host_index')
2910
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2911
+ kwargs['line_item_id'] = \
2912
+ line_item_id
2913
+ return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
2914
+
2915
+ def delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2916
+ self,
2917
+ line_item_id,
2918
+ product_button_id,
2919
+ **kwargs
2920
+ ):
2921
+ """delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2922
+
2923
+ Delete a product button # noqa: E501
2924
+ This method makes a synchronous HTTP request by default. To make an
2925
+ asynchronous HTTP request, please pass async_req=True
2926
+
2927
+ >>> 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)
2928
+ >>> result = thread.get()
2929
+
2930
+ Args:
2931
+ line_item_id (str): Long external id of the associated line item
2932
+ product_button_id (str): Sequential id of the product button
2933
+
2934
+ Keyword Args:
2935
+ _return_http_data_only (bool): response data without head status
2936
+ code and headers. Default is True.
2937
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
2938
+ will be returned without reading/decoding response data.
2939
+ Default is True.
2940
+ _request_timeout (int/float/tuple): timeout setting for this request. If
2941
+ one number provided, it will be total request timeout. It can also
2942
+ be a pair (tuple) of (connection, read) timeouts.
2943
+ Default is None.
2944
+ _check_input_type (bool): specifies if type checking
2945
+ should be done one the data sent to the server.
2946
+ Default is True.
2947
+ _check_return_type (bool): specifies if type checking
2948
+ should be done one the data received from the server.
2949
+ Default is True.
2950
+ _spec_property_naming (bool): True if the variable names in the input data
2951
+ are serialized names, as specified in the OpenAPI document.
2952
+ False if the variable names in the input data
2953
+ are pythonic names, e.g. snake case (default)
2954
+ _content_type (str/None): force body content-type.
2955
+ Default is None and content-type will be predicted by allowed
2956
+ content-types and body.
2957
+ _host_index (int/None): specifies the index of the server
2958
+ that we want to use.
2959
+ Default is read from the configuration.
2960
+ _request_auths (list): set to override the auth_settings for an a single
2961
+ request; this effectively ignores the authentication
2962
+ in the spec for a single request.
2963
+ Default is None
2964
+ async_req (bool): execute request asynchronously
2965
+
2966
+ Returns:
2967
+ None
2968
+ If the method is called asynchronously, returns the request
2969
+ thread.
2970
+ """
2971
+ kwargs['async_req'] = kwargs.get(
2972
+ 'async_req', False
2973
+ )
2974
+ kwargs['_return_http_data_only'] = kwargs.get(
2975
+ '_return_http_data_only', True
2976
+ )
2977
+ kwargs['_preload_content'] = kwargs.get(
2978
+ '_preload_content', True
2979
+ )
2980
+ kwargs['_request_timeout'] = kwargs.get(
2981
+ '_request_timeout', None
2982
+ )
2983
+ kwargs['_check_input_type'] = kwargs.get(
2984
+ '_check_input_type', True
2985
+ )
2986
+ kwargs['_check_return_type'] = kwargs.get(
2987
+ '_check_return_type', True
2988
+ )
2989
+ kwargs['_spec_property_naming'] = kwargs.get(
2990
+ '_spec_property_naming', False
2991
+ )
2992
+ kwargs['_content_type'] = kwargs.get(
2993
+ '_content_type')
2994
+ kwargs['_host_index'] = kwargs.get('_host_index')
2995
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2996
+ kwargs['line_item_id'] = \
2997
+ line_item_id
2998
+ kwargs['product_button_id'] = \
2999
+ product_button_id
3000
+ return self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3001
+
3002
+ def delete_promoted_products(
3003
+ self,
3004
+ line_item_id,
3005
+ **kwargs
3006
+ ):
3007
+ """delete_promoted_products # noqa: E501
3008
+
3009
+ Remove a collection of promoted products from a line item # noqa: E501
3010
+ This method makes a synchronous HTTP request by default. To make an
3011
+ asynchronous HTTP request, please pass async_req=True
3012
+
3013
+ >>> thread = api.delete_promoted_products(line_item_id, async_req=True)
3014
+ >>> result = thread.get()
3015
+
3016
+ Args:
3017
+ line_item_id (str): ID of the line item
3018
+
3019
+ Keyword Args:
3020
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
3021
+ _return_http_data_only (bool): response data without head status
3022
+ code and headers. Default is True.
3023
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
3024
+ will be returned without reading/decoding response data.
3025
+ Default is True.
3026
+ _request_timeout (int/float/tuple): timeout setting for this request. If
3027
+ one number provided, it will be total request timeout. It can also
3028
+ be a pair (tuple) of (connection, read) timeouts.
3029
+ Default is None.
3030
+ _check_input_type (bool): specifies if type checking
3031
+ should be done one the data sent to the server.
3032
+ Default is True.
3033
+ _check_return_type (bool): specifies if type checking
3034
+ should be done one the data received from the server.
3035
+ Default is True.
3036
+ _spec_property_naming (bool): True if the variable names in the input data
3037
+ are serialized names, as specified in the OpenAPI document.
3038
+ False if the variable names in the input data
3039
+ are pythonic names, e.g. snake case (default)
3040
+ _content_type (str/None): force body content-type.
3041
+ Default is None and content-type will be predicted by allowed
3042
+ content-types and body.
3043
+ _host_index (int/None): specifies the index of the server
3044
+ that we want to use.
3045
+ Default is read from the configuration.
3046
+ _request_auths (list): set to override the auth_settings for an a single
3047
+ request; this effectively ignores the authentication
3048
+ in the spec for a single request.
3049
+ Default is None
3050
+ async_req (bool): execute request asynchronously
3051
+
3052
+ Returns:
3053
+ None
3054
+ If the method is called asynchronously, returns the request
3055
+ thread.
3056
+ """
3057
+ kwargs['async_req'] = kwargs.get(
3058
+ 'async_req', False
3059
+ )
3060
+ kwargs['_return_http_data_only'] = kwargs.get(
3061
+ '_return_http_data_only', True
3062
+ )
3063
+ kwargs['_preload_content'] = kwargs.get(
3064
+ '_preload_content', True
3065
+ )
3066
+ kwargs['_request_timeout'] = kwargs.get(
3067
+ '_request_timeout', None
3068
+ )
3069
+ kwargs['_check_input_type'] = kwargs.get(
3070
+ '_check_input_type', True
2400
3071
  )
3072
+ kwargs['_check_return_type'] = kwargs.get(
3073
+ '_check_return_type', True
3074
+ )
3075
+ kwargs['_spec_property_naming'] = kwargs.get(
3076
+ '_spec_property_naming', False
3077
+ )
3078
+ kwargs['_content_type'] = kwargs.get(
3079
+ '_content_type')
3080
+ kwargs['_host_index'] = kwargs.get('_host_index')
3081
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3082
+ kwargs['line_item_id'] = \
3083
+ line_item_id
3084
+ return self.delete_promoted_products_endpoint.call_with_http_info(**kwargs)
2401
3085
 
2402
- def add_remove_keywords(
3086
+ def fetch_keywords(
2403
3087
  self,
2404
3088
  id,
2405
3089
  **kwargs
2406
3090
  ):
2407
- """add_remove_keywords # noqa: E501
3091
+ """fetch_keywords # noqa: E501
2408
3092
 
2409
- Add or Remove keywords from the associated line item in bulk # noqa: E501
3093
+ Fetch keywords associated with the specified line item # noqa: E501
2410
3094
  This method makes a synchronous HTTP request by default. To make an
2411
3095
  asynchronous HTTP request, please pass async_req=True
2412
3096
 
2413
- >>> thread = api.add_remove_keywords(id, async_req=True)
3097
+ >>> thread = api.fetch_keywords(id, async_req=True)
2414
3098
  >>> result = thread.get()
2415
3099
 
2416
3100
  Args:
2417
- id (str): Long external id of the associated line item
3101
+ id (str): ID of the line item
2418
3102
 
2419
3103
  Keyword Args:
2420
- retail_media_externalv1_add_remove_keywords_model_request (RetailMediaExternalv1AddRemoveKeywordsModelRequest): Object containing keywords to be added or removed. [optional]
2421
3104
  _return_http_data_only (bool): response data without head status
2422
3105
  code and headers. Default is True.
2423
3106
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2450,7 +3133,7 @@ class CampaignApi(object):
2450
3133
  async_req (bool): execute request asynchronously
2451
3134
 
2452
3135
  Returns:
2453
- RetailMediaExternalv1ResourceOutcome
3136
+ KeywordsModelResponse
2454
3137
  If the method is called asynchronously, returns the request
2455
3138
  thread.
2456
3139
  """
@@ -2481,28 +3164,29 @@ class CampaignApi(object):
2481
3164
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2482
3165
  kwargs['id'] = \
2483
3166
  id
2484
- return self.add_remove_keywords_endpoint.call_with_http_info(**kwargs)
3167
+ return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
2485
3168
 
2486
- def delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
3169
+ def fetch_promoted_products(
2487
3170
  self,
2488
3171
  line_item_id,
2489
- product_button_id,
2490
3172
  **kwargs
2491
3173
  ):
2492
- """delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
3174
+ """fetch_promoted_products # noqa: E501
2493
3175
 
2494
- Delete a product button # noqa: E501
3176
+ Retrieve a page of promoted products for a line item # noqa: E501
2495
3177
  This method makes a synchronous HTTP request by default. To make an
2496
3178
  asynchronous HTTP request, please pass async_req=True
2497
3179
 
2498
- >>> 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)
3180
+ >>> thread = api.fetch_promoted_products(line_item_id, async_req=True)
2499
3181
  >>> result = thread.get()
2500
3182
 
2501
3183
  Args:
2502
- line_item_id (str): Long external id of the associated line item
2503
- product_button_id (str): Sequential id of the product button
3184
+ line_item_id (str): ID of the line item.
2504
3185
 
2505
3186
  Keyword Args:
3187
+ offset (int): Offset of the first item to fetch. Defaults to zero.. [optional]
3188
+ limit (int): Maximum page size to fetch. Defaults to 500.. [optional]
3189
+ 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]
2506
3190
  _return_http_data_only (bool): response data without head status
2507
3191
  code and headers. Default is True.
2508
3192
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2535,7 +3219,7 @@ class CampaignApi(object):
2535
3219
  async_req (bool): execute request asynchronously
2536
3220
 
2537
3221
  Returns:
2538
- None
3222
+ PromotedProductResourceCollectionOutcome
2539
3223
  If the method is called asynchronously, returns the request
2540
3224
  thread.
2541
3225
  """
@@ -2566,26 +3250,24 @@ class CampaignApi(object):
2566
3250
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2567
3251
  kwargs['line_item_id'] = \
2568
3252
  line_item_id
2569
- kwargs['product_button_id'] = \
2570
- product_button_id
2571
- return self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3253
+ return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
2572
3254
 
2573
- def fetch_keywords(
3255
+ def fetch_proposal(
2574
3256
  self,
2575
3257
  id,
2576
3258
  **kwargs
2577
3259
  ):
2578
- """fetch_keywords # noqa: E501
3260
+ """fetch_proposal # noqa: E501
2579
3261
 
2580
- Fetch keywords associated with the specified line item # noqa: E501
3262
+ 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
2581
3263
  This method makes a synchronous HTTP request by default. To make an
2582
3264
  asynchronous HTTP request, please pass async_req=True
2583
3265
 
2584
- >>> thread = api.fetch_keywords(id, async_req=True)
3266
+ >>> thread = api.fetch_proposal(id, async_req=True)
2585
3267
  >>> result = thread.get()
2586
3268
 
2587
3269
  Args:
2588
- id (str): Long external id of the associated line item
3270
+ id (str): ID of the line item
2589
3271
 
2590
3272
  Keyword Args:
2591
3273
  _return_http_data_only (bool): response data without head status
@@ -2620,7 +3302,7 @@ class CampaignApi(object):
2620
3302
  async_req (bool): execute request asynchronously
2621
3303
 
2622
3304
  Returns:
2623
- RetailMediaExternalv1KeywordsModelResponse
3305
+ ProposalStatusModelResponse
2624
3306
  If the method is called asynchronously, returns the request
2625
3307
  thread.
2626
3308
  """
@@ -2651,24 +3333,24 @@ class CampaignApi(object):
2651
3333
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2652
3334
  kwargs['id'] = \
2653
3335
  id
2654
- return self.fetch_keywords_endpoint.call_with_http_info(**kwargs)
3336
+ return self.fetch_proposal_endpoint.call_with_http_info(**kwargs)
2655
3337
 
2656
- def fetch_proposal(
3338
+ def get_api202210_external_line_item_product_buttons_by_line_item_id(
2657
3339
  self,
2658
- id,
3340
+ line_item_id,
2659
3341
  **kwargs
2660
3342
  ):
2661
- """fetch_proposal # noqa: E501
3343
+ """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
2662
3344
 
2663
- Fetch the status of a proposal to modify a Preferred Deal Line Item. # noqa: E501
3345
+ Get all the product buttons associated with a line item # noqa: E501
2664
3346
  This method makes a synchronous HTTP request by default. To make an
2665
3347
  asynchronous HTTP request, please pass async_req=True
2666
3348
 
2667
- >>> thread = api.fetch_proposal(id, async_req=True)
3349
+ >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
2668
3350
  >>> result = thread.get()
2669
3351
 
2670
3352
  Args:
2671
- id (str): The external id of a line item.
3353
+ line_item_id (str): Long external id of the associated line item
2672
3354
 
2673
3355
  Keyword Args:
2674
3356
  _return_http_data_only (bool): response data without head status
@@ -2703,7 +3385,7 @@ class CampaignApi(object):
2703
3385
  async_req (bool): execute request asynchronously
2704
3386
 
2705
3387
  Returns:
2706
- RetailMediaExternalv1ProposalStatusModelResponse
3388
+ ProductButtonListResponse
2707
3389
  If the method is called asynchronously, returns the request
2708
3390
  thread.
2709
3391
  """
@@ -2732,28 +3414,28 @@ class CampaignApi(object):
2732
3414
  '_content_type')
2733
3415
  kwargs['_host_index'] = kwargs.get('_host_index')
2734
3416
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2735
- kwargs['id'] = \
2736
- id
2737
- return self.fetch_proposal_endpoint.call_with_http_info(**kwargs)
3417
+ kwargs['line_item_id'] = \
3418
+ line_item_id
3419
+ return self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
2738
3420
 
2739
- def get_api202207_external_retailer_by_retailer_id_templatestemplate_id(
3421
+ def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2740
3422
  self,
2741
- retailer_id,
2742
- template_id,
3423
+ line_item_id,
3424
+ product_button_id,
2743
3425
  **kwargs
2744
3426
  ):
2745
- """get_api202207_external_retailer_by_retailer_id_templatestemplate_id # noqa: E501
3427
+ """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
2746
3428
 
2747
- Gets the template for the specified retailer id and template id # noqa: E501
3429
+ Get a single product button # noqa: E501
2748
3430
  This method makes a synchronous HTTP request by default. To make an
2749
3431
  asynchronous HTTP request, please pass async_req=True
2750
3432
 
2751
- >>> thread = api.get_api202207_external_retailer_by_retailer_id_templatestemplate_id(retailer_id, template_id, async_req=True)
3433
+ >>> 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)
2752
3434
  >>> result = thread.get()
2753
3435
 
2754
3436
  Args:
2755
- retailer_id (int): Retailer Id
2756
- template_id (int): Template Id
3437
+ line_item_id (str): Long external id of the associated line item
3438
+ product_button_id (str): Sequential id of the product button
2757
3439
 
2758
3440
  Keyword Args:
2759
3441
  _return_http_data_only (bool): response data without head status
@@ -2788,7 +3470,7 @@ class CampaignApi(object):
2788
3470
  async_req (bool): execute request asynchronously
2789
3471
 
2790
3472
  Returns:
2791
- TemplateResponse
3473
+ ProductButtonListResponse
2792
3474
  If the method is called asynchronously, returns the request
2793
3475
  thread.
2794
3476
  """
@@ -2817,30 +3499,119 @@ class CampaignApi(object):
2817
3499
  '_content_type')
2818
3500
  kwargs['_host_index'] = kwargs.get('_host_index')
2819
3501
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2820
- kwargs['retailer_id'] = \
2821
- retailer_id
2822
- kwargs['template_id'] = \
2823
- template_id
2824
- return self.get_api202207_external_retailer_by_retailer_id_templatestemplate_id_endpoint.call_with_http_info(**kwargs)
3502
+ kwargs['line_item_id'] = \
3503
+ line_item_id
3504
+ kwargs['product_button_id'] = \
3505
+ product_button_id
3506
+ return self.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
2825
3507
 
2826
- def get_api202207_external_retailer_templates_by_retailer_id(
3508
+ def get_api_v1_external_account_brands_by_account_id(
2827
3509
  self,
2828
- retailer_id,
3510
+ account_id,
3511
+ **kwargs
3512
+ ):
3513
+ """get_api_v1_external_account_brands_by_account_id # noqa: E501
3514
+
3515
+ Gets page of retailer objects that are associated with the given account # noqa: E501
3516
+ This method makes a synchronous HTTP request by default. To make an
3517
+ asynchronous HTTP request, please pass async_req=True
3518
+
3519
+ >>> thread = api.get_api_v1_external_account_brands_by_account_id(account_id, async_req=True)
3520
+ >>> result = thread.get()
3521
+
3522
+ Args:
3523
+ account_id (str): The given account id
3524
+
3525
+ Keyword Args:
3526
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3527
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
3528
+ page_size (int): The maximum number of items you would like to receive in this request. [optional]
3529
+ _return_http_data_only (bool): response data without head status
3530
+ code and headers. Default is True.
3531
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
3532
+ will be returned without reading/decoding response data.
3533
+ Default is True.
3534
+ _request_timeout (int/float/tuple): timeout setting for this request. If
3535
+ one number provided, it will be total request timeout. It can also
3536
+ be a pair (tuple) of (connection, read) timeouts.
3537
+ Default is None.
3538
+ _check_input_type (bool): specifies if type checking
3539
+ should be done one the data sent to the server.
3540
+ Default is True.
3541
+ _check_return_type (bool): specifies if type checking
3542
+ should be done one the data received from the server.
3543
+ Default is True.
3544
+ _spec_property_naming (bool): True if the variable names in the input data
3545
+ are serialized names, as specified in the OpenAPI document.
3546
+ False if the variable names in the input data
3547
+ are pythonic names, e.g. snake case (default)
3548
+ _content_type (str/None): force body content-type.
3549
+ Default is None and content-type will be predicted by allowed
3550
+ content-types and body.
3551
+ _host_index (int/None): specifies the index of the server
3552
+ that we want to use.
3553
+ Default is read from the configuration.
3554
+ _request_auths (list): set to override the auth_settings for an a single
3555
+ request; this effectively ignores the authentication
3556
+ in the spec for a single request.
3557
+ Default is None
3558
+ async_req (bool): execute request asynchronously
3559
+
3560
+ Returns:
3561
+ JsonApiPageResponseOfBrand
3562
+ If the method is called asynchronously, returns the request
3563
+ thread.
3564
+ """
3565
+ kwargs['async_req'] = kwargs.get(
3566
+ 'async_req', False
3567
+ )
3568
+ kwargs['_return_http_data_only'] = kwargs.get(
3569
+ '_return_http_data_only', True
3570
+ )
3571
+ kwargs['_preload_content'] = kwargs.get(
3572
+ '_preload_content', True
3573
+ )
3574
+ kwargs['_request_timeout'] = kwargs.get(
3575
+ '_request_timeout', None
3576
+ )
3577
+ kwargs['_check_input_type'] = kwargs.get(
3578
+ '_check_input_type', True
3579
+ )
3580
+ kwargs['_check_return_type'] = kwargs.get(
3581
+ '_check_return_type', True
3582
+ )
3583
+ kwargs['_spec_property_naming'] = kwargs.get(
3584
+ '_spec_property_naming', False
3585
+ )
3586
+ kwargs['_content_type'] = kwargs.get(
3587
+ '_content_type')
3588
+ kwargs['_host_index'] = kwargs.get('_host_index')
3589
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3590
+ kwargs['account_id'] = \
3591
+ account_id
3592
+ return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs)
3593
+
3594
+ def get_api_v1_external_account_retailers_by_account_id(
3595
+ self,
3596
+ account_id,
2829
3597
  **kwargs
2830
3598
  ):
2831
- """get_api202207_external_retailer_templates_by_retailer_id # noqa: E501
3599
+ """get_api_v1_external_account_retailers_by_account_id # noqa: E501
2832
3600
 
2833
- Get retailer creative templates # noqa: E501
3601
+ Gets page of retailer objects that are associated with the given account # noqa: E501
2834
3602
  This method makes a synchronous HTTP request by default. To make an
2835
3603
  asynchronous HTTP request, please pass async_req=True
2836
3604
 
2837
- >>> thread = api.get_api202207_external_retailer_templates_by_retailer_id(retailer_id, async_req=True)
3605
+ >>> thread = api.get_api_v1_external_account_retailers_by_account_id(account_id, async_req=True)
2838
3606
  >>> result = thread.get()
2839
3607
 
2840
3608
  Args:
2841
- retailer_id (int): External retailer id to retrieve creative templates for
3609
+ account_id (str): The given account id
2842
3610
 
2843
3611
  Keyword Args:
3612
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3613
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
3614
+ page_size (int): The maximum number of items you would like to receive in this request. [optional]
2844
3615
  _return_http_data_only (bool): response data without head status
2845
3616
  code and headers. Default is True.
2846
3617
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2873,7 +3644,7 @@ class CampaignApi(object):
2873
3644
  async_req (bool): execute request asynchronously
2874
3645
 
2875
3646
  Returns:
2876
- TemplateListResponse
3647
+ JsonApiPageResponseOfRetailer
2877
3648
  If the method is called asynchronously, returns the request
2878
3649
  thread.
2879
3650
  """
@@ -2902,30 +3673,28 @@ class CampaignApi(object):
2902
3673
  '_content_type')
2903
3674
  kwargs['_host_index'] = kwargs.get('_host_index')
2904
3675
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2905
- kwargs['retailer_id'] = \
2906
- retailer_id
2907
- return self.get_api202207_external_retailer_templates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3676
+ kwargs['account_id'] = \
3677
+ account_id
3678
+ return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
2908
3679
 
2909
- def get_api202210_external_account_by_account_id_creativescreative_id(
3680
+ def get_api_v1_external_accounts(
2910
3681
  self,
2911
- account_id,
2912
- creative_id,
2913
3682
  **kwargs
2914
3683
  ):
2915
- """get_api202210_external_account_by_account_id_creativescreative_id # noqa: E501
3684
+ """get_api_v1_external_accounts # noqa: E501
2916
3685
 
2917
- Get the specified creative # noqa: E501
3686
+ Gets page of account objects that the current user can access # noqa: E501
2918
3687
  This method makes a synchronous HTTP request by default. To make an
2919
3688
  asynchronous HTTP request, please pass async_req=True
2920
3689
 
2921
- >>> thread = api.get_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
3690
+ >>> thread = api.get_api_v1_external_accounts(async_req=True)
2922
3691
  >>> result = thread.get()
2923
3692
 
2924
- Args:
2925
- account_id (str): External account id to retrieve creatives for
2926
- creative_id (str): Creative to get
2927
3693
 
2928
3694
  Keyword Args:
3695
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3696
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
3697
+ page_size (int): The maximum number of items you would like to receive in this request. [optional]
2929
3698
  _return_http_data_only (bool): response data without head status
2930
3699
  code and headers. Default is True.
2931
3700
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -2958,7 +3727,7 @@ class CampaignApi(object):
2958
3727
  async_req (bool): execute request asynchronously
2959
3728
 
2960
3729
  Returns:
2961
- Creative202210Response
3730
+ JsonApiPageResponseOfAccount
2962
3731
  If the method is called asynchronously, returns the request
2963
3732
  thread.
2964
3733
  """
@@ -2987,30 +3756,28 @@ class CampaignApi(object):
2987
3756
  '_content_type')
2988
3757
  kwargs['_host_index'] = kwargs.get('_host_index')
2989
3758
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2990
- kwargs['account_id'] = \
2991
- account_id
2992
- kwargs['creative_id'] = \
2993
- creative_id
2994
- return self.get_api202210_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
3759
+ return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
2995
3760
 
2996
- def get_api202210_external_line_item_product_buttons_by_line_item_id(
3761
+ def get_api_v1_external_retailer_brands_by_retailer_id(
2997
3762
  self,
2998
- line_item_id,
3763
+ retailer_id,
2999
3764
  **kwargs
3000
3765
  ):
3001
- """get_api202210_external_line_item_product_buttons_by_line_item_id # noqa: E501
3766
+ """get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
3002
3767
 
3003
- Get all the product buttons associated with a line item # noqa: E501
3768
+ Gets the brands for the given retailer # noqa: E501
3004
3769
  This method makes a synchronous HTTP request by default. To make an
3005
3770
  asynchronous HTTP request, please pass async_req=True
3006
3771
 
3007
- >>> thread = api.get_api202210_external_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
3772
+ >>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
3008
3773
  >>> result = thread.get()
3009
3774
 
3010
3775
  Args:
3011
- line_item_id (str): Long external id of the associated line item
3776
+ retailer_id (int): The retailer id for which brands should be fetched.
3012
3777
 
3013
3778
  Keyword Args:
3779
+ sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
3780
+ brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
3014
3781
  _return_http_data_only (bool): response data without head status
3015
3782
  code and headers. Default is True.
3016
3783
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3043,7 +3810,7 @@ class CampaignApi(object):
3043
3810
  async_req (bool): execute request asynchronously
3044
3811
 
3045
3812
  Returns:
3046
- ProductButtonListResponse
3813
+ BrandPreviewListResponse
3047
3814
  If the method is called asynchronously, returns the request
3048
3815
  thread.
3049
3816
  """
@@ -3072,28 +3839,28 @@ class CampaignApi(object):
3072
3839
  '_content_type')
3073
3840
  kwargs['_host_index'] = kwargs.get('_host_index')
3074
3841
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3075
- kwargs['line_item_id'] = \
3076
- line_item_id
3077
- return self.get_api202210_external_line_item_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3842
+ kwargs['retailer_id'] = \
3843
+ retailer_id
3844
+ return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3078
3845
 
3079
- def get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
3846
+ def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
3080
3847
  self,
3081
- line_item_id,
3082
- product_button_id,
3848
+ retailer_id,
3849
+ seller,
3083
3850
  **kwargs
3084
3851
  ):
3085
- """get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
3852
+ """get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
3086
3853
 
3087
- Get a single product button # noqa: E501
3854
+ Endpoint to get market place seller id and name # noqa: E501
3088
3855
  This method makes a synchronous HTTP request by default. To make an
3089
3856
  asynchronous HTTP request, please pass async_req=True
3090
3857
 
3091
- >>> 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)
3858
+ >>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
3092
3859
  >>> result = thread.get()
3093
3860
 
3094
3861
  Args:
3095
- line_item_id (str): Long external id of the associated line item
3096
- product_button_id (str): Sequential id of the product button
3862
+ retailer_id (int): The retailer id for which seller should be fetched.
3863
+ seller (str): The seller id or seller name which should be validated.
3097
3864
 
3098
3865
  Keyword Args:
3099
3866
  _return_http_data_only (bool): response data without head status
@@ -3128,7 +3895,7 @@ class CampaignApi(object):
3128
3895
  async_req (bool): execute request asynchronously
3129
3896
 
3130
3897
  Returns:
3131
- ProductButtonListResponse
3898
+ SellerPreviewResponse
3132
3899
  If the method is called asynchronously, returns the request
3133
3900
  thread.
3134
3901
  """
@@ -3157,30 +3924,31 @@ class CampaignApi(object):
3157
3924
  '_content_type')
3158
3925
  kwargs['_host_index'] = kwargs.get('_host_index')
3159
3926
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3160
- kwargs['line_item_id'] = \
3161
- line_item_id
3162
- kwargs['product_button_id'] = \
3163
- product_button_id
3164
- return self.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
3927
+ kwargs['retailer_id'] = \
3928
+ retailer_id
3929
+ kwargs['seller'] = \
3930
+ seller
3931
+ return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
3165
3932
 
3166
- def get_api202301_external_line_item_bid_multipliers_by_line_item_id(
3933
+ def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
3167
3934
  self,
3168
- line_item_id,
3935
+ retailer_id,
3169
3936
  **kwargs
3170
3937
  ):
3171
- """get_api202301_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
3938
+ """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
3172
3939
 
3173
- Get bid multipliers by line item # noqa: E501
3940
+ Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
3174
3941
  This method makes a synchronous HTTP request by default. To make an
3175
3942
  asynchronous HTTP request, please pass async_req=True
3176
3943
 
3177
- >>> thread = api.get_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
3944
+ >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
3178
3945
  >>> result = thread.get()
3179
3946
 
3180
3947
  Args:
3181
- line_item_id (str): Long external id of the associated line item
3948
+ retailer_id (str): The retailer id
3182
3949
 
3183
3950
  Keyword Args:
3951
+ fields ([str]): The fields in the response that is to be included. [optional]
3184
3952
  _return_http_data_only (bool): response data without head status
3185
3953
  code and headers. Default is True.
3186
3954
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3213,7 +3981,7 @@ class CampaignApi(object):
3213
3981
  async_req (bool): execute request asynchronously
3214
3982
 
3215
3983
  Returns:
3216
- JsonApiSingleResponseOfLineItemBidMultipliers
3984
+ CpcRateCardPreviewResponse
3217
3985
  If the method is called asynchronously, returns the request
3218
3986
  thread.
3219
3987
  """
@@ -3242,26 +4010,26 @@ class CampaignApi(object):
3242
4010
  '_content_type')
3243
4011
  kwargs['_host_index'] = kwargs.get('_host_index')
3244
4012
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3245
- kwargs['line_item_id'] = \
3246
- line_item_id
3247
- return self.get_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4013
+ kwargs['retailer_id'] = \
4014
+ retailer_id
4015
+ return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3248
4016
 
3249
- def get_api_v0_external_catalog_output_by_catalog_id(
4017
+ def get_api_v1_external_retailer_placements_by_retailer_id(
3250
4018
  self,
3251
- catalog_id,
4019
+ retailer_id,
3252
4020
  **kwargs
3253
4021
  ):
3254
- """get_api_v0_external_catalog_output_by_catalog_id # noqa: E501
4022
+ """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
3255
4023
 
3256
- Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of CatalogProduct json objects. # noqa: E501
4024
+ Gets all placement information for the given retailer # noqa: E501
3257
4025
  This method makes a synchronous HTTP request by default. To make an
3258
4026
  asynchronous HTTP request, please pass async_req=True
3259
4027
 
3260
- >>> thread = api.get_api_v0_external_catalog_output_by_catalog_id(catalog_id, async_req=True)
4028
+ >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
3261
4029
  >>> result = thread.get()
3262
4030
 
3263
4031
  Args:
3264
- catalog_id (str): A catalog ID returned from an account catalog request.
4032
+ retailer_id (str): The retailer id for which placements should be fetched.
3265
4033
 
3266
4034
  Keyword Args:
3267
4035
  _return_http_data_only (bool): response data without head status
@@ -3296,7 +4064,7 @@ class CampaignApi(object):
3296
4064
  async_req (bool): execute request asynchronously
3297
4065
 
3298
4066
  Returns:
3299
- None
4067
+ PlacementPreviewListResponse
3300
4068
  If the method is called asynchronously, returns the request
3301
4069
  thread.
3302
4070
  """
@@ -3325,26 +4093,28 @@ class CampaignApi(object):
3325
4093
  '_content_type')
3326
4094
  kwargs['_host_index'] = kwargs.get('_host_index')
3327
4095
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3328
- kwargs['catalog_id'] = \
3329
- catalog_id
3330
- return self.get_api_v0_external_catalog_output_by_catalog_id_endpoint.call_with_http_info(**kwargs)
4096
+ kwargs['retailer_id'] = \
4097
+ retailer_id
4098
+ return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3331
4099
 
3332
- def get_api_v0_external_catalog_status_by_catalog_id(
4100
+ def get_api_v2_external_account_by_account_id_creativescreative_id(
3333
4101
  self,
3334
- catalog_id,
4102
+ account_id,
4103
+ creative_id,
3335
4104
  **kwargs
3336
4105
  ):
3337
- """get_api_v0_external_catalog_status_by_catalog_id # noqa: E501
4106
+ """get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
3338
4107
 
3339
- Check the status of a catalog request. # noqa: E501
4108
+ Get the specified creative # noqa: E501
3340
4109
  This method makes a synchronous HTTP request by default. To make an
3341
4110
  asynchronous HTTP request, please pass async_req=True
3342
4111
 
3343
- >>> thread = api.get_api_v0_external_catalog_status_by_catalog_id(catalog_id, async_req=True)
4112
+ >>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
3344
4113
  >>> result = thread.get()
3345
4114
 
3346
4115
  Args:
3347
- catalog_id (str): A catalog ID returned from an account catalog request.
4116
+ account_id (str): External account id to retrieve creatives for
4117
+ creative_id (str): Creative to get
3348
4118
 
3349
4119
  Keyword Args:
3350
4120
  _return_http_data_only (bool): response data without head status
@@ -3379,7 +4149,7 @@ class CampaignApi(object):
3379
4149
  async_req (bool): execute request asynchronously
3380
4150
 
3381
4151
  Returns:
3382
- JsonApiSingleResponseOfCatalogStatus
4152
+ CreativeV2Response
3383
4153
  If the method is called asynchronously, returns the request
3384
4154
  thread.
3385
4155
  """
@@ -3408,26 +4178,28 @@ class CampaignApi(object):
3408
4178
  '_content_type')
3409
4179
  kwargs['_host_index'] = kwargs.get('_host_index')
3410
4180
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3411
- kwargs['catalog_id'] = \
3412
- catalog_id
3413
- return self.get_api_v0_external_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs)
4181
+ kwargs['account_id'] = \
4182
+ account_id
4183
+ kwargs['creative_id'] = \
4184
+ creative_id
4185
+ return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
3414
4186
 
3415
- def get_api_v1_external_account_brands_by_account_id(
4187
+ def get_api_v2_external_campaign_preferred_line_items_by_campaign_id(
3416
4188
  self,
3417
- account_id,
4189
+ campaign_id,
3418
4190
  **kwargs
3419
4191
  ):
3420
- """get_api_v1_external_account_brands_by_account_id # noqa: E501
4192
+ """get_api_v2_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
3421
4193
 
3422
- Gets page of retailer objects that are associated with the given account # noqa: E501
4194
+ Gets page of preferred line item objects for the given campaign id # noqa: E501
3423
4195
  This method makes a synchronous HTTP request by default. To make an
3424
4196
  asynchronous HTTP request, please pass async_req=True
3425
4197
 
3426
- >>> thread = api.get_api_v1_external_account_brands_by_account_id(account_id, async_req=True)
4198
+ >>> thread = api.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
3427
4199
  >>> result = thread.get()
3428
4200
 
3429
4201
  Args:
3430
- account_id (str): The given account id
4202
+ campaign_id (str): The given campaign id
3431
4203
 
3432
4204
  Keyword Args:
3433
4205
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
@@ -3465,7 +4237,7 @@ class CampaignApi(object):
3465
4237
  async_req (bool): execute request asynchronously
3466
4238
 
3467
4239
  Returns:
3468
- JsonApiPageResponseOfBrand
4240
+ PreferredLineItemV2PagedListResponse
3469
4241
  If the method is called asynchronously, returns the request
3470
4242
  thread.
3471
4243
  """
@@ -3494,31 +4266,28 @@ class CampaignApi(object):
3494
4266
  '_content_type')
3495
4267
  kwargs['_host_index'] = kwargs.get('_host_index')
3496
4268
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3497
- kwargs['account_id'] = \
3498
- account_id
3499
- return self.get_api_v1_external_account_brands_by_account_id_endpoint.call_with_http_info(**kwargs)
4269
+ kwargs['campaign_id'] = \
4270
+ campaign_id
4271
+ return self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
3500
4272
 
3501
- def get_api_v1_external_account_retailers_by_account_id(
4273
+ def get_api_v2_external_line_item_bid_multipliers_by_line_item_id(
3502
4274
  self,
3503
- account_id,
4275
+ line_item_id,
3504
4276
  **kwargs
3505
4277
  ):
3506
- """get_api_v1_external_account_retailers_by_account_id # noqa: E501
4278
+ """get_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
3507
4279
 
3508
- Gets page of retailer objects that are associated with the given account # noqa: E501
4280
+ Fetch all bid multipliers for a given line item # noqa: E501
3509
4281
  This method makes a synchronous HTTP request by default. To make an
3510
4282
  asynchronous HTTP request, please pass async_req=True
3511
4283
 
3512
- >>> thread = api.get_api_v1_external_account_retailers_by_account_id(account_id, async_req=True)
4284
+ >>> thread = api.get_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
3513
4285
  >>> result = thread.get()
3514
4286
 
3515
4287
  Args:
3516
- account_id (str): The given account id
4288
+ line_item_id (str): External LineItemId for bid multiplier retrieval
3517
4289
 
3518
4290
  Keyword Args:
3519
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3520
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
3521
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
3522
4291
  _return_http_data_only (bool): response data without head status
3523
4292
  code and headers. Default is True.
3524
4293
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3551,7 +4320,7 @@ class CampaignApi(object):
3551
4320
  async_req (bool): execute request asynchronously
3552
4321
 
3553
4322
  Returns:
3554
- JsonApiPageResponseOfRetailer
4323
+ JsonApiSingleResponseOfLineItemBidMultipliersV2
3555
4324
  If the method is called asynchronously, returns the request
3556
4325
  thread.
3557
4326
  """
@@ -3580,28 +4349,28 @@ class CampaignApi(object):
3580
4349
  '_content_type')
3581
4350
  kwargs['_host_index'] = kwargs.get('_host_index')
3582
4351
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3583
- kwargs['account_id'] = \
3584
- account_id
3585
- return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
4352
+ kwargs['line_item_id'] = \
4353
+ line_item_id
4354
+ return self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3586
4355
 
3587
- def get_api_v1_external_accounts(
4356
+ def get_api_v2_external_preferred_line_item_by_line_item_id(
3588
4357
  self,
4358
+ line_item_id,
3589
4359
  **kwargs
3590
4360
  ):
3591
- """get_api_v1_external_accounts # noqa: E501
4361
+ """get_api_v2_external_preferred_line_item_by_line_item_id # noqa: E501
3592
4362
 
3593
- Gets page of account objects that the current user can access # noqa: E501
4363
+ Gets the preferred line item for the given line item id # noqa: E501
3594
4364
  This method makes a synchronous HTTP request by default. To make an
3595
4365
  asynchronous HTTP request, please pass async_req=True
3596
4366
 
3597
- >>> thread = api.get_api_v1_external_accounts(async_req=True)
4367
+ >>> thread = api.get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
3598
4368
  >>> result = thread.get()
3599
4369
 
4370
+ Args:
4371
+ line_item_id (str): The given line item id
3600
4372
 
3601
4373
  Keyword Args:
3602
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3603
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
3604
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
3605
4374
  _return_http_data_only (bool): response data without head status
3606
4375
  code and headers. Default is True.
3607
4376
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3634,7 +4403,7 @@ class CampaignApi(object):
3634
4403
  async_req (bool): execute request asynchronously
3635
4404
 
3636
4405
  Returns:
3637
- JsonApiPageResponseOfAccount
4406
+ PreferredLineItemV2Response
3638
4407
  If the method is called asynchronously, returns the request
3639
4408
  thread.
3640
4409
  """
@@ -3663,28 +4432,28 @@ class CampaignApi(object):
3663
4432
  '_content_type')
3664
4433
  kwargs['_host_index'] = kwargs.get('_host_index')
3665
4434
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3666
- return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
4435
+ kwargs['line_item_id'] = \
4436
+ line_item_id
4437
+ return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3667
4438
 
3668
- def get_api_v1_external_retailer_brands_by_retailer_id(
4439
+ def get_campaign_budget_overrides(
3669
4440
  self,
3670
- retailer_id,
4441
+ campaign_id,
3671
4442
  **kwargs
3672
4443
  ):
3673
- """get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
4444
+ """get_campaign_budget_overrides # noqa: E501
3674
4445
 
3675
- Gets the brands for the given retailer # noqa: E501
4446
+ Get current campaign budget overrides by given external campaign id. # noqa: E501
3676
4447
  This method makes a synchronous HTTP request by default. To make an
3677
4448
  asynchronous HTTP request, please pass async_req=True
3678
4449
 
3679
- >>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
4450
+ >>> thread = api.get_campaign_budget_overrides(campaign_id, async_req=True)
3680
4451
  >>> result = thread.get()
3681
4452
 
3682
4453
  Args:
3683
- retailer_id (int): The retailer id for which brands should be fetched.
4454
+ campaign_id (int): External campaign id.
3684
4455
 
3685
4456
  Keyword Args:
3686
- sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
3687
- brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
3688
4457
  _return_http_data_only (bool): response data without head status
3689
4458
  code and headers. Default is True.
3690
4459
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3717,7 +4486,7 @@ class CampaignApi(object):
3717
4486
  async_req (bool): execute request asynchronously
3718
4487
 
3719
4488
  Returns:
3720
- BrandPreviewListResponse
4489
+ ValueResourceOutcomeOfCampaignBudgetOverrides
3721
4490
  If the method is called asynchronously, returns the request
3722
4491
  thread.
3723
4492
  """
@@ -3746,30 +4515,31 @@ class CampaignApi(object):
3746
4515
  '_content_type')
3747
4516
  kwargs['_host_index'] = kwargs.get('_host_index')
3748
4517
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3749
- kwargs['retailer_id'] = \
3750
- retailer_id
3751
- return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4518
+ kwargs['campaign_id'] = \
4519
+ campaign_id
4520
+ return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
3752
4521
 
3753
- def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
4522
+ def get_insertion_order_history_change_data_capture(
3754
4523
  self,
3755
- retailer_id,
3756
- seller,
4524
+ insertion_order_id,
3757
4525
  **kwargs
3758
4526
  ):
3759
- """get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
4527
+ """get_insertion_order_history_change_data_capture # noqa: E501
3760
4528
 
3761
- Endpoint to get market place seller id and name # noqa: E501
4529
+ Gets the balance's historical data change capture. # noqa: E501
3762
4530
  This method makes a synchronous HTTP request by default. To make an
3763
4531
  asynchronous HTTP request, please pass async_req=True
3764
4532
 
3765
- >>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
4533
+ >>> thread = api.get_insertion_order_history_change_data_capture(insertion_order_id, async_req=True)
3766
4534
  >>> result = thread.get()
3767
4535
 
3768
4536
  Args:
3769
- retailer_id (int): The retailer id for which seller should be fetched.
3770
- seller (str): The seller id or seller name which should be validated.
4537
+ insertion_order_id (str): External insertion order id.
3771
4538
 
3772
4539
  Keyword Args:
4540
+ offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0
4541
+ limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25
4542
+ limit_to_change_types (str): Comma separated change types string that will be queried.. [optional]
3773
4543
  _return_http_data_only (bool): response data without head status
3774
4544
  code and headers. Default is True.
3775
4545
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3802,7 +4572,7 @@ class CampaignApi(object):
3802
4572
  async_req (bool): execute request asynchronously
3803
4573
 
3804
4574
  Returns:
3805
- SellerPreviewResponse
4575
+ PageOfInsertionOrderHistoryChangeDataCapture
3806
4576
  If the method is called asynchronously, returns the request
3807
4577
  thread.
3808
4578
  """
@@ -3831,31 +4601,28 @@ class CampaignApi(object):
3831
4601
  '_content_type')
3832
4602
  kwargs['_host_index'] = kwargs.get('_host_index')
3833
4603
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3834
- kwargs['retailer_id'] = \
3835
- retailer_id
3836
- kwargs['seller'] = \
3837
- seller
3838
- return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
4604
+ kwargs['insertion_order_id'] = \
4605
+ insertion_order_id
4606
+ return self.get_insertion_order_history_change_data_capture_endpoint.call_with_http_info(**kwargs)
3839
4607
 
3840
- def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
4608
+ def get_line_item_budget_overrides(
3841
4609
  self,
3842
- retailer_id,
4610
+ line_item_id,
3843
4611
  **kwargs
3844
4612
  ):
3845
- """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
4613
+ """get_line_item_budget_overrides # noqa: E501
3846
4614
 
3847
- Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
4615
+ Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501
3848
4616
  This method makes a synchronous HTTP request by default. To make an
3849
4617
  asynchronous HTTP request, please pass async_req=True
3850
4618
 
3851
- >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
4619
+ >>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True)
3852
4620
  >>> result = thread.get()
3853
4621
 
3854
4622
  Args:
3855
- retailer_id (str): The retailer id
4623
+ line_item_id (str): The line item id to get budget overrides for.
3856
4624
 
3857
4625
  Keyword Args:
3858
- fields ([str]): The fields in the response that is to be included. [optional]
3859
4626
  _return_http_data_only (bool): response data without head status
3860
4627
  code and headers. Default is True.
3861
4628
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3888,7 +4655,7 @@ class CampaignApi(object):
3888
4655
  async_req (bool): execute request asynchronously
3889
4656
 
3890
4657
  Returns:
3891
- CpcRateCardPreviewResponse
4658
+ ValueResourceOutcomeOfLineItemBudgetOverrides
3892
4659
  If the method is called asynchronously, returns the request
3893
4660
  thread.
3894
4661
  """
@@ -3917,26 +4684,26 @@ class CampaignApi(object):
3917
4684
  '_content_type')
3918
4685
  kwargs['_host_index'] = kwargs.get('_host_index')
3919
4686
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3920
- kwargs['retailer_id'] = \
3921
- retailer_id
3922
- return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4687
+ kwargs['line_item_id'] = \
4688
+ line_item_id
4689
+ return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
3923
4690
 
3924
- def get_api_v1_external_retailer_placements_by_retailer_id(
4691
+ def get_recommended_keywords(
3925
4692
  self,
3926
- retailer_id,
4693
+ external_line_item_id,
3927
4694
  **kwargs
3928
4695
  ):
3929
- """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
4696
+ """get_recommended_keywords # noqa: E501
3930
4697
 
3931
- Gets all placement information for the given retailer # noqa: E501
4698
+ Retrieves a collection of recommended keywords for a line item # noqa: E501
3932
4699
  This method makes a synchronous HTTP request by default. To make an
3933
4700
  asynchronous HTTP request, please pass async_req=True
3934
4701
 
3935
- >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
4702
+ >>> thread = api.get_recommended_keywords(external_line_item_id, async_req=True)
3936
4703
  >>> result = thread.get()
3937
4704
 
3938
4705
  Args:
3939
- retailer_id (str): The retailer id for which placements should be fetched.
4706
+ external_line_item_id (str): The external line item identifier
3940
4707
 
3941
4708
  Keyword Args:
3942
4709
  _return_http_data_only (bool): response data without head status
@@ -3971,7 +4738,7 @@ class CampaignApi(object):
3971
4738
  async_req (bool): execute request asynchronously
3972
4739
 
3973
4740
  Returns:
3974
- PlacementPreviewListResponse
4741
+ ValueResourceOutcomeOfRecommendedKeywordsResult
3975
4742
  If the method is called asynchronously, returns the request
3976
4743
  thread.
3977
4744
  """
@@ -4000,28 +4767,33 @@ class CampaignApi(object):
4000
4767
  '_content_type')
4001
4768
  kwargs['_host_index'] = kwargs.get('_host_index')
4002
4769
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4003
- kwargs['retailer_id'] = \
4004
- retailer_id
4005
- return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4770
+ kwargs['external_line_item_id'] = \
4771
+ external_line_item_id
4772
+ return self.get_recommended_keywords_endpoint.call_with_http_info(**kwargs)
4006
4773
 
4007
- def get_campaign_budget_overrides(
4774
+ def get_sku_by_product_id(
4008
4775
  self,
4009
- campaign_id,
4776
+ account_id,
4777
+ retailer_id,
4010
4778
  **kwargs
4011
4779
  ):
4012
- """get_campaign_budget_overrides # noqa: E501
4780
+ """get_sku_by_product_id # noqa: E501
4013
4781
 
4014
- Get current campaign budget overrides by given external campaign id. # noqa: E501
4782
+ Gets a list of SKUs based on a privided list of Product Ids # noqa: E501
4015
4783
  This method makes a synchronous HTTP request by default. To make an
4016
4784
  asynchronous HTTP request, please pass async_req=True
4017
4785
 
4018
- >>> thread = api.get_campaign_budget_overrides(campaign_id, async_req=True)
4786
+ >>> thread = api.get_sku_by_product_id(account_id, retailer_id, async_req=True)
4019
4787
  >>> result = thread.get()
4020
4788
 
4021
4789
  Args:
4022
- campaign_id (int): External campaign id.
4790
+ account_id (str): account id
4791
+ retailer_id (int): retailer id
4023
4792
 
4024
4793
  Keyword Args:
4794
+ 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
4795
+ limit (int): max number of results to return. [optional] if omitted the server will use the default value of 100
4796
+ sku_search_request (SkuSearchRequest): . [optional]
4025
4797
  _return_http_data_only (bool): response data without head status
4026
4798
  code and headers. Default is True.
4027
4799
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4054,7 +4826,7 @@ class CampaignApi(object):
4054
4826
  async_req (bool): execute request asynchronously
4055
4827
 
4056
4828
  Returns:
4057
- ValueResourceOutcomeOfCampaignBudgetOverrides
4829
+ ResourceCollectionOutcomeOfSkuSearchResult
4058
4830
  If the method is called asynchronously, returns the request
4059
4831
  thread.
4060
4832
  """
@@ -4081,30 +4853,33 @@ class CampaignApi(object):
4081
4853
  )
4082
4854
  kwargs['_content_type'] = kwargs.get(
4083
4855
  '_content_type')
4084
- kwargs['_host_index'] = kwargs.get('_host_index')
4085
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4086
- kwargs['campaign_id'] = \
4087
- campaign_id
4088
- return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
4856
+ kwargs['_host_index'] = kwargs.get('_host_index')
4857
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4858
+ kwargs['account_id'] = \
4859
+ account_id
4860
+ kwargs['retailer_id'] = \
4861
+ retailer_id
4862
+ return self.get_sku_by_product_id_endpoint.call_with_http_info(**kwargs)
4089
4863
 
4090
- def get_line_item_budget_overrides(
4864
+ def pause_promoted_products(
4091
4865
  self,
4092
4866
  line_item_id,
4093
4867
  **kwargs
4094
4868
  ):
4095
- """get_line_item_budget_overrides # noqa: E501
4869
+ """pause_promoted_products # noqa: E501
4096
4870
 
4097
- Gets a collection of monthly and daily budget overrides for the provided line item. # noqa: E501
4871
+ Pause a collection of promoted products associated with a line item # noqa: E501
4098
4872
  This method makes a synchronous HTTP request by default. To make an
4099
4873
  asynchronous HTTP request, please pass async_req=True
4100
4874
 
4101
- >>> thread = api.get_line_item_budget_overrides(line_item_id, async_req=True)
4875
+ >>> thread = api.pause_promoted_products(line_item_id, async_req=True)
4102
4876
  >>> result = thread.get()
4103
4877
 
4104
4878
  Args:
4105
- line_item_id (str): The line item id to get budget overrides for.
4879
+ line_item_id (str): ID of the line item
4106
4880
 
4107
4881
  Keyword Args:
4882
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
4108
4883
  _return_http_data_only (bool): response data without head status
4109
4884
  code and headers. Default is True.
4110
4885
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4137,7 +4912,7 @@ class CampaignApi(object):
4137
4912
  async_req (bool): execute request asynchronously
4138
4913
 
4139
4914
  Returns:
4140
- ValueResourceOutcomeOfLineItemBudgetOverrides
4915
+ None
4141
4916
  If the method is called asynchronously, returns the request
4142
4917
  thread.
4143
4918
  """
@@ -4168,24 +4943,26 @@ class CampaignApi(object):
4168
4943
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4169
4944
  kwargs['line_item_id'] = \
4170
4945
  line_item_id
4171
- return self.get_line_item_budget_overrides_endpoint.call_with_http_info(**kwargs)
4946
+ return self.pause_promoted_products_endpoint.call_with_http_info(**kwargs)
4172
4947
 
4173
- def get_recommended_keywords(
4948
+ def post_api202110_external_campaign_preferred_line_items_by_campaign_id(
4174
4949
  self,
4175
- external_line_item_id,
4950
+ campaign_id,
4951
+ preferred_line_item_create_model_v2_request,
4176
4952
  **kwargs
4177
4953
  ):
4178
- """get_recommended_keywords # noqa: E501
4954
+ """post_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
4179
4955
 
4180
- Retrieves a collection of recommended keywords for a line item # noqa: E501
4956
+ Creates a new preferred line item with the specified settings # noqa: E501
4181
4957
  This method makes a synchronous HTTP request by default. To make an
4182
4958
  asynchronous HTTP request, please pass async_req=True
4183
4959
 
4184
- >>> thread = api.get_recommended_keywords(external_line_item_id, async_req=True)
4960
+ >>> thread = api.post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, preferred_line_item_create_model_v2_request, async_req=True)
4185
4961
  >>> result = thread.get()
4186
4962
 
4187
4963
  Args:
4188
- external_line_item_id (str): The external line item identifier
4964
+ campaign_id (str): The given campaign id
4965
+ preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with
4189
4966
 
4190
4967
  Keyword Args:
4191
4968
  _return_http_data_only (bool): response data without head status
@@ -4220,7 +4997,7 @@ class CampaignApi(object):
4220
4997
  async_req (bool): execute request asynchronously
4221
4998
 
4222
4999
  Returns:
4223
- ValueResourceOutcomeOfRecommendedKeywordsResult
5000
+ PreferredLineItemV2Response
4224
5001
  If the method is called asynchronously, returns the request
4225
5002
  thread.
4226
5003
  """
@@ -4249,33 +5026,31 @@ class CampaignApi(object):
4249
5026
  '_content_type')
4250
5027
  kwargs['_host_index'] = kwargs.get('_host_index')
4251
5028
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4252
- kwargs['external_line_item_id'] = \
4253
- external_line_item_id
4254
- return self.get_recommended_keywords_endpoint.call_with_http_info(**kwargs)
5029
+ kwargs['campaign_id'] = \
5030
+ campaign_id
5031
+ kwargs['preferred_line_item_create_model_v2_request'] = \
5032
+ preferred_line_item_create_model_v2_request
5033
+ return self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4255
5034
 
4256
- def get_sku_by_product_id(
5035
+ def post_api202210_external_line_item_product_buttons_create_by_line_item_id(
4257
5036
  self,
4258
- account_id,
4259
- retailer_id,
5037
+ line_item_id,
4260
5038
  **kwargs
4261
5039
  ):
4262
- """get_sku_by_product_id # noqa: E501
5040
+ """post_api202210_external_line_item_product_buttons_create_by_line_item_id # noqa: E501
4263
5041
 
4264
- Gets a list of SKUs based on a privided list of Product Ids # noqa: E501
5042
+ Append new product buttons to a line item # noqa: E501
4265
5043
  This method makes a synchronous HTTP request by default. To make an
4266
5044
  asynchronous HTTP request, please pass async_req=True
4267
5045
 
4268
- >>> thread = api.get_sku_by_product_id(account_id, retailer_id, async_req=True)
5046
+ >>> thread = api.post_api202210_external_line_item_product_buttons_create_by_line_item_id(line_item_id, async_req=True)
4269
5047
  >>> result = thread.get()
4270
5048
 
4271
5049
  Args:
4272
- account_id (str): account id
4273
- retailer_id (int): retailer id
5050
+ line_item_id (str): Long external id of the associated line item
4274
5051
 
4275
5052
  Keyword Args:
4276
- 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
4277
- limit (int): max number of results to return. [optional] if omitted the server will use the default value of 100
4278
- sku_search_request (SkuSearchRequest): . [optional]
5053
+ product_button_list_request (ProductButtonListRequest): List of product buttons to append to the specified line item. [optional]
4279
5054
  _return_http_data_only (bool): response data without head status
4280
5055
  code and headers. Default is True.
4281
5056
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4308,7 +5083,7 @@ class CampaignApi(object):
4308
5083
  async_req (bool): execute request asynchronously
4309
5084
 
4310
5085
  Returns:
4311
- ResourceCollectionOutcomeOfSkuSearchResult
5086
+ ProductButtonListResponse
4312
5087
  If the method is called asynchronously, returns the request
4313
5088
  thread.
4314
5089
  """
@@ -4337,31 +5112,28 @@ class CampaignApi(object):
4337
5112
  '_content_type')
4338
5113
  kwargs['_host_index'] = kwargs.get('_host_index')
4339
5114
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4340
- kwargs['account_id'] = \
4341
- account_id
4342
- kwargs['retailer_id'] = \
4343
- retailer_id
4344
- return self.get_sku_by_product_id_endpoint.call_with_http_info(**kwargs)
5115
+ kwargs['line_item_id'] = \
5116
+ line_item_id
5117
+ return self.post_api202210_external_line_item_product_buttons_create_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4345
5118
 
4346
- def post_api202210_external_account_creatives_by_account_id(
5119
+ def post_api_v1_external_catalogs_sku_retrieval(
4347
5120
  self,
4348
- account_id,
4349
5121
  **kwargs
4350
5122
  ):
4351
- """post_api202210_external_account_creatives_by_account_id # noqa: E501
5123
+ """post_api_v1_external_catalogs_sku_retrieval # noqa: E501
4352
5124
 
4353
- Create a creative for an account # noqa: E501
5125
+ Endpoint to search skus by text, retailer and sellers/brands. # noqa: E501
4354
5126
  This method makes a synchronous HTTP request by default. To make an
4355
5127
  asynchronous HTTP request, please pass async_req=True
4356
5128
 
4357
- >>> thread = api.post_api202210_external_account_creatives_by_account_id(account_id, async_req=True)
5129
+ >>> thread = api.post_api_v1_external_catalogs_sku_retrieval(async_req=True)
4358
5130
  >>> result = thread.get()
4359
5131
 
4360
- Args:
4361
- account_id (str): External account id to create a creative for
4362
5132
 
4363
5133
  Keyword Args:
4364
- creative_create_model202207 (CreativeCreateModel202207): The creative to create. [optional]
5134
+ page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
5135
+ page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
5136
+ request_body ([str]): The list of SKU keys to retrieve sku information. [optional]
4365
5137
  _return_http_data_only (bool): response data without head status
4366
5138
  code and headers. Default is True.
4367
5139
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4394,7 +5166,7 @@ class CampaignApi(object):
4394
5166
  async_req (bool): execute request asynchronously
4395
5167
 
4396
5168
  Returns:
4397
- Creative202210Response
5169
+ SkuDataPreviewListResponse
4398
5170
  If the method is called asynchronously, returns the request
4399
5171
  thread.
4400
5172
  """
@@ -4423,29 +5195,26 @@ class CampaignApi(object):
4423
5195
  '_content_type')
4424
5196
  kwargs['_host_index'] = kwargs.get('_host_index')
4425
5197
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4426
- kwargs['account_id'] = \
4427
- account_id
4428
- return self.post_api202210_external_account_creatives_by_account_id_endpoint.call_with_http_info(**kwargs)
5198
+ return self.post_api_v1_external_catalogs_sku_retrieval_endpoint.call_with_http_info(**kwargs)
4429
5199
 
4430
- def post_api202210_external_account_creatives_search_by_account_id(
5200
+ def post_api_v1_external_catalogs_sku_search(
4431
5201
  self,
4432
- account_id,
4433
5202
  **kwargs
4434
5203
  ):
4435
- """post_api202210_external_account_creatives_search_by_account_id # noqa: E501
5204
+ """post_api_v1_external_catalogs_sku_search # noqa: E501
4436
5205
 
4437
- Get account creatives # noqa: E501
5206
+ Endpoint to search skus by text, retailer and sellers/brands. # noqa: E501
4438
5207
  This method makes a synchronous HTTP request by default. To make an
4439
5208
  asynchronous HTTP request, please pass async_req=True
4440
5209
 
4441
- >>> thread = api.post_api202210_external_account_creatives_search_by_account_id(account_id, async_req=True)
5210
+ >>> thread = api.post_api_v1_external_catalogs_sku_search(async_req=True)
4442
5211
  >>> result = thread.get()
4443
5212
 
4444
- Args:
4445
- account_id (str): External account id to retrieve creatives for
4446
5213
 
4447
5214
  Keyword Args:
4448
- creative_ids ([str]): Creatives to filter by. [optional]
5215
+ page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
5216
+ page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
5217
+ sku_search_request_preview_request (SkuSearchRequestPreviewRequest): . [optional]
4449
5218
  _return_http_data_only (bool): response data without head status
4450
5219
  code and headers. Default is True.
4451
5220
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4478,7 +5247,7 @@ class CampaignApi(object):
4478
5247
  async_req (bool): execute request asynchronously
4479
5248
 
4480
5249
  Returns:
4481
- Creative202210ListResponse
5250
+ SkuDataPreviewListResponse
4482
5251
  If the method is called asynchronously, returns the request
4483
5252
  thread.
4484
5253
  """
@@ -4507,29 +5276,31 @@ class CampaignApi(object):
4507
5276
  '_content_type')
4508
5277
  kwargs['_host_index'] = kwargs.get('_host_index')
4509
5278
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4510
- kwargs['account_id'] = \
4511
- account_id
4512
- return self.post_api202210_external_account_creatives_search_by_account_id_endpoint.call_with_http_info(**kwargs)
5279
+ return self.post_api_v1_external_catalogs_sku_search_endpoint.call_with_http_info(**kwargs)
4513
5280
 
4514
- def post_api202210_external_line_item_product_buttons_create_by_line_item_id(
5281
+ def post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(
4515
5282
  self,
4516
- line_item_id,
5283
+ account_id,
5284
+ retailer_id,
4517
5285
  **kwargs
4518
5286
  ):
4519
- """post_api202210_external_line_item_product_buttons_create_by_line_item_id # noqa: E501
5287
+ """post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id # noqa: E501
4520
5288
 
4521
- Append new product buttons to a line item # noqa: E501
5289
+ Endpoint to search skus by text, account and retailer with an option to filter by brands id's. # noqa: E501
4522
5290
  This method makes a synchronous HTTP request by default. To make an
4523
5291
  asynchronous HTTP request, please pass async_req=True
4524
5292
 
4525
- >>> thread = api.post_api202210_external_line_item_product_buttons_create_by_line_item_id(line_item_id, async_req=True)
5293
+ >>> thread = api.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(account_id, retailer_id, async_req=True)
4526
5294
  >>> result = thread.get()
4527
5295
 
4528
5296
  Args:
4529
- line_item_id (str): Long external id of the associated line item
5297
+ account_id (str): The account for which skus should be searched for.
5298
+ retailer_id (str): The client id/retailer id for which skus should be searched for.
4530
5299
 
4531
5300
  Keyword Args:
4532
- product_button_list_request (ProductButtonListRequest): List of product buttons to append to the specified line item. [optional]
5301
+ offset (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
5302
+ limit (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
5303
+ sku_search_request_slim_preview_request (SkuSearchRequestSlimPreviewRequest): . [optional]
4533
5304
  _return_http_data_only (bool): response data without head status
4534
5305
  code and headers. Default is True.
4535
5306
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4562,7 +5333,7 @@ class CampaignApi(object):
4562
5333
  async_req (bool): execute request asynchronously
4563
5334
 
4564
5335
  Returns:
4565
- ProductButtonListResponse
5336
+ SkuSlimDataPreviewListResponse
4566
5337
  If the method is called asynchronously, returns the request
4567
5338
  thread.
4568
5339
  """
@@ -4591,29 +5362,34 @@ class CampaignApi(object):
4591
5362
  '_content_type')
4592
5363
  kwargs['_host_index'] = kwargs.get('_host_index')
4593
5364
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4594
- kwargs['line_item_id'] = \
4595
- line_item_id
4596
- return self.post_api202210_external_line_item_product_buttons_create_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5365
+ kwargs['account_id'] = \
5366
+ account_id
5367
+ kwargs['retailer_id'] = \
5368
+ retailer_id
5369
+ return self.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id_endpoint.call_with_http_info(**kwargs)
4597
5370
 
4598
- def post_api_v0_external_account_catalogs_by_account_id(
5371
+ def post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id(
4599
5372
  self,
4600
- account_id,
5373
+ retailer_id,
4601
5374
  **kwargs
4602
5375
  ):
4603
- """post_api_v0_external_account_catalogs_by_account_id # noqa: E501
5376
+ """post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id # noqa: E501
4604
5377
 
4605
- Create a request for a Catalog available to the indicated account. # noqa: E501
5378
+ Endpoint to search skus by text for a retailer with an option to filter by brands id's. # noqa: E501
4606
5379
  This method makes a synchronous HTTP request by default. To make an
4607
5380
  asynchronous HTTP request, please pass async_req=True
4608
5381
 
4609
- >>> thread = api.post_api_v0_external_account_catalogs_by_account_id(account_id, async_req=True)
5382
+ >>> thread = api.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id(retailer_id, async_req=True)
4610
5383
  >>> result = thread.get()
4611
5384
 
4612
5385
  Args:
4613
- account_id (str): The account to request the catalog for.
5386
+ retailer_id (str): The client id/retailer id for which skus should be searched for.
4614
5387
 
4615
5388
  Keyword Args:
4616
- json_api_request_of_catalog_request_preview (JsonApiRequestOfCatalogRequestPreview): [optional]
5389
+ x_origin_account (str): The account id of the initiator of the call.. [optional]
5390
+ offset (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
5391
+ limit (int): The maximum number of results to return with each call. Must be greater than zero and less than 1500. 10,000 records deep is the max limit.. [optional] if omitted the server will use the default value of 100
5392
+ sku_search_request_slim_v2_preview_request (SkuSearchRequestSlimV2PreviewRequest): . [optional]
4617
5393
  _return_http_data_only (bool): response data without head status
4618
5394
  code and headers. Default is True.
4619
5395
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4646,7 +5422,7 @@ class CampaignApi(object):
4646
5422
  async_req (bool): execute request asynchronously
4647
5423
 
4648
5424
  Returns:
4649
- JsonApiSingleResponseOfCatalogStatus
5425
+ SkuSlimDataV2ListResponse
4650
5426
  If the method is called asynchronously, returns the request
4651
5427
  thread.
4652
5428
  """
@@ -4675,28 +5451,29 @@ class CampaignApi(object):
4675
5451
  '_content_type')
4676
5452
  kwargs['_host_index'] = kwargs.get('_host_index')
4677
5453
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4678
- kwargs['account_id'] = \
4679
- account_id
4680
- return self.post_api_v0_external_account_catalogs_by_account_id_endpoint.call_with_http_info(**kwargs)
5454
+ kwargs['retailer_id'] = \
5455
+ retailer_id
5456
+ return self.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4681
5457
 
4682
- def post_api_v1_external_catalogs_sku_retrieval(
5458
+ def post_api_v2_external_account_creatives_by_account_id(
4683
5459
  self,
5460
+ account_id,
4684
5461
  **kwargs
4685
5462
  ):
4686
- """post_api_v1_external_catalogs_sku_retrieval # noqa: E501
5463
+ """post_api_v2_external_account_creatives_by_account_id # noqa: E501
4687
5464
 
4688
- Endpoint to search skus by text, retailer and sellers/brands. # noqa: E501
5465
+ Create a creative for an account # noqa: E501
4689
5466
  This method makes a synchronous HTTP request by default. To make an
4690
5467
  asynchronous HTTP request, please pass async_req=True
4691
5468
 
4692
- >>> thread = api.post_api_v1_external_catalogs_sku_retrieval(async_req=True)
5469
+ >>> thread = api.post_api_v2_external_account_creatives_by_account_id(account_id, async_req=True)
4693
5470
  >>> result = thread.get()
4694
5471
 
5472
+ Args:
5473
+ account_id (str): External account id to create a creative for
4695
5474
 
4696
5475
  Keyword Args:
4697
- page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
4698
- page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
4699
- request_body ([str]): The list of SKU keys to retrieve sku information. [optional]
5476
+ external_creative_create_model_v2 (ExternalCreativeCreateModelV2): The creative to create. [optional]
4700
5477
  _return_http_data_only (bool): response data without head status
4701
5478
  code and headers. Default is True.
4702
5479
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4729,7 +5506,7 @@ class CampaignApi(object):
4729
5506
  async_req (bool): execute request asynchronously
4730
5507
 
4731
5508
  Returns:
4732
- SkuDataPreviewListResponse
5509
+ CreativeV2Response
4733
5510
  If the method is called asynchronously, returns the request
4734
5511
  thread.
4735
5512
  """
@@ -4758,26 +5535,29 @@ class CampaignApi(object):
4758
5535
  '_content_type')
4759
5536
  kwargs['_host_index'] = kwargs.get('_host_index')
4760
5537
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4761
- return self.post_api_v1_external_catalogs_sku_retrieval_endpoint.call_with_http_info(**kwargs)
5538
+ kwargs['account_id'] = \
5539
+ account_id
5540
+ return self.post_api_v2_external_account_creatives_by_account_id_endpoint.call_with_http_info(**kwargs)
4762
5541
 
4763
- def post_api_v1_external_catalogs_sku_search(
5542
+ def post_api_v2_external_account_creatives_search_by_account_id(
4764
5543
  self,
5544
+ account_id,
4765
5545
  **kwargs
4766
5546
  ):
4767
- """post_api_v1_external_catalogs_sku_search # noqa: E501
5547
+ """post_api_v2_external_account_creatives_search_by_account_id # noqa: E501
4768
5548
 
4769
- Endpoint to search skus by text, retailer and sellers/brands. # noqa: E501
5549
+ Get account creatives # noqa: E501
4770
5550
  This method makes a synchronous HTTP request by default. To make an
4771
5551
  asynchronous HTTP request, please pass async_req=True
4772
5552
 
4773
- >>> thread = api.post_api_v1_external_catalogs_sku_search(async_req=True)
5553
+ >>> thread = api.post_api_v2_external_account_creatives_search_by_account_id(account_id, async_req=True)
4774
5554
  >>> result = thread.get()
4775
5555
 
5556
+ Args:
5557
+ account_id (str): External account id to retrieve creatives for
4776
5558
 
4777
5559
  Keyword Args:
4778
- page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
4779
- page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
4780
- sku_search_request_preview_request (SkuSearchRequestPreviewRequest): . [optional]
5560
+ creative_ids ([str]): Creatives to filter by. [optional]
4781
5561
  _return_http_data_only (bool): response data without head status
4782
5562
  code and headers. Default is True.
4783
5563
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4810,7 +5590,7 @@ class CampaignApi(object):
4810
5590
  async_req (bool): execute request asynchronously
4811
5591
 
4812
5592
  Returns:
4813
- SkuDataPreviewListResponse
5593
+ CreativeV2ListResponse
4814
5594
  If the method is called asynchronously, returns the request
4815
5595
  thread.
4816
5596
  """
@@ -4839,31 +5619,30 @@ class CampaignApi(object):
4839
5619
  '_content_type')
4840
5620
  kwargs['_host_index'] = kwargs.get('_host_index')
4841
5621
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4842
- return self.post_api_v1_external_catalogs_sku_search_endpoint.call_with_http_info(**kwargs)
5622
+ kwargs['account_id'] = \
5623
+ account_id
5624
+ return self.post_api_v2_external_account_creatives_search_by_account_id_endpoint.call_with_http_info(**kwargs)
4843
5625
 
4844
- def post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(
5626
+ def put_api202110_external_preferred_line_item_by_line_item_id(
4845
5627
  self,
4846
- account_id,
4847
- retailer_id,
5628
+ line_item_id,
5629
+ preferred_line_item_update_model_v2_request,
4848
5630
  **kwargs
4849
5631
  ):
4850
- """post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id # noqa: E501
5632
+ """put_api202110_external_preferred_line_item_by_line_item_id # noqa: E501
4851
5633
 
4852
- Endpoint to search skus by text, account and retailer with an option to filter by brands id's. # noqa: E501
5634
+ Updates the preferred line item for the given line item id # noqa: E501
4853
5635
  This method makes a synchronous HTTP request by default. To make an
4854
5636
  asynchronous HTTP request, please pass async_req=True
4855
5637
 
4856
- >>> thread = api.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(account_id, retailer_id, async_req=True)
5638
+ >>> thread = api.put_api202110_external_preferred_line_item_by_line_item_id(line_item_id, preferred_line_item_update_model_v2_request, async_req=True)
4857
5639
  >>> result = thread.get()
4858
5640
 
4859
5641
  Args:
4860
- account_id (str): The account for which skus should be searched for.
4861
- retailer_id (str): The client id/retailer id for which skus should be searched for.
5642
+ line_item_id (str): The given line item id
5643
+ preferred_line_item_update_model_v2_request (PreferredLineItemUpdateModelV2Request): The line item settings to create a line item with
4862
5644
 
4863
5645
  Keyword Args:
4864
- offset (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
4865
- limit (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
4866
- sku_search_request_slim_preview_request (SkuSearchRequestSlimPreviewRequest): . [optional]
4867
5646
  _return_http_data_only (bool): response data without head status
4868
5647
  code and headers. Default is True.
4869
5648
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4896,7 +5675,7 @@ class CampaignApi(object):
4896
5675
  async_req (bool): execute request asynchronously
4897
5676
 
4898
5677
  Returns:
4899
- SkuSlimDataPreviewListResponse
5678
+ PreferredLineItemV2Response
4900
5679
  If the method is called asynchronously, returns the request
4901
5680
  thread.
4902
5681
  """
@@ -4925,34 +5704,33 @@ class CampaignApi(object):
4925
5704
  '_content_type')
4926
5705
  kwargs['_host_index'] = kwargs.get('_host_index')
4927
5706
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4928
- kwargs['account_id'] = \
4929
- account_id
4930
- kwargs['retailer_id'] = \
4931
- retailer_id
4932
- return self.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id_endpoint.call_with_http_info(**kwargs)
5707
+ kwargs['line_item_id'] = \
5708
+ line_item_id
5709
+ kwargs['preferred_line_item_update_model_v2_request'] = \
5710
+ preferred_line_item_update_model_v2_request
5711
+ return self.put_api202110_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4933
5712
 
4934
- def post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id(
5713
+ def put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
4935
5714
  self,
4936
- retailer_id,
5715
+ line_item_id,
5716
+ product_button_id,
4937
5717
  **kwargs
4938
5718
  ):
4939
- """post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id # noqa: E501
5719
+ """put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
4940
5720
 
4941
- Endpoint to search skus by text for a retailer with an option to filter by brands id's. # noqa: E501
5721
+ Update a product button # noqa: E501
4942
5722
  This method makes a synchronous HTTP request by default. To make an
4943
5723
  asynchronous HTTP request, please pass async_req=True
4944
5724
 
4945
- >>> thread = api.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id(retailer_id, async_req=True)
5725
+ >>> thread = api.put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(line_item_id, product_button_id, async_req=True)
4946
5726
  >>> result = thread.get()
4947
5727
 
4948
5728
  Args:
4949
- retailer_id (str): The client id/retailer id for which skus should be searched for.
5729
+ line_item_id (str): Long external id of the associated line item
5730
+ product_button_id (str): Sequential id of the product button
4950
5731
 
4951
5732
  Keyword Args:
4952
- x_origin_account (str): The account id of the initiator of the call.. [optional]
4953
- offset (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
4954
- limit (int): The maximum number of results to return with each call. Must be greater than zero and less than 1500. 10,000 records deep is the max limit.. [optional] if omitted the server will use the default value of 100
4955
- sku_search_request_slim_v2_preview_request (SkuSearchRequestSlimV2PreviewRequest): . [optional]
5733
+ product_button_request (ProductButtonRequest): Details of the updated product button. [optional]
4956
5734
  _return_http_data_only (bool): response data without head status
4957
5735
  code and headers. Default is True.
4958
5736
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4985,7 +5763,7 @@ class CampaignApi(object):
4985
5763
  async_req (bool): execute request asynchronously
4986
5764
 
4987
5765
  Returns:
4988
- SkuSlimDataV2ListResponse
5766
+ ProductButtonListResponse
4989
5767
  If the method is called asynchronously, returns the request
4990
5768
  thread.
4991
5769
  """
@@ -5014,23 +5792,25 @@ class CampaignApi(object):
5014
5792
  '_content_type')
5015
5793
  kwargs['_host_index'] = kwargs.get('_host_index')
5016
5794
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5017
- kwargs['retailer_id'] = \
5018
- retailer_id
5019
- return self.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id_endpoint.call_with_http_info(**kwargs)
5795
+ kwargs['line_item_id'] = \
5796
+ line_item_id
5797
+ kwargs['product_button_id'] = \
5798
+ product_button_id
5799
+ return self.put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
5020
5800
 
5021
- def put_api202210_external_account_by_account_id_creativescreative_id(
5801
+ def put_api_v2_external_account_by_account_id_creativescreative_id(
5022
5802
  self,
5023
5803
  account_id,
5024
5804
  creative_id,
5025
5805
  **kwargs
5026
5806
  ):
5027
- """put_api202210_external_account_by_account_id_creativescreative_id # noqa: E501
5807
+ """put_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
5028
5808
 
5029
5809
  Update a creative # noqa: E501
5030
5810
  This method makes a synchronous HTTP request by default. To make an
5031
5811
  asynchronous HTTP request, please pass async_req=True
5032
5812
 
5033
- >>> thread = api.put_api202210_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
5813
+ >>> thread = api.put_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
5034
5814
  >>> result = thread.get()
5035
5815
 
5036
5816
  Args:
@@ -5038,7 +5818,7 @@ class CampaignApi(object):
5038
5818
  creative_id (str): Creative to update
5039
5819
 
5040
5820
  Keyword Args:
5041
- creative_update_model202207 (CreativeUpdateModel202207): The creative to create. [optional]
5821
+ external_creative_update_model_v2 (ExternalCreativeUpdateModelV2): The creative to create. [optional]
5042
5822
  _return_http_data_only (bool): response data without head status
5043
5823
  code and headers. Default is True.
5044
5824
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5071,7 +5851,7 @@ class CampaignApi(object):
5071
5851
  async_req (bool): execute request asynchronously
5072
5852
 
5073
5853
  Returns:
5074
- Creative202210Response
5854
+ CreativeV2Response
5075
5855
  If the method is called asynchronously, returns the request
5076
5856
  thread.
5077
5857
  """
@@ -5104,29 +5884,27 @@ class CampaignApi(object):
5104
5884
  account_id
5105
5885
  kwargs['creative_id'] = \
5106
5886
  creative_id
5107
- return self.put_api202210_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
5887
+ return self.put_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
5108
5888
 
5109
- def put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
5889
+ def put_api_v2_external_line_item_bid_multipliers_by_line_item_id(
5110
5890
  self,
5111
5891
  line_item_id,
5112
- product_button_id,
5113
5892
  **kwargs
5114
5893
  ):
5115
- """put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id # noqa: E501
5894
+ """put_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
5116
5895
 
5117
- Update a product button # noqa: E501
5896
+ Updates the bid multipliers for a given line item # noqa: E501
5118
5897
  This method makes a synchronous HTTP request by default. To make an
5119
5898
  asynchronous HTTP request, please pass async_req=True
5120
5899
 
5121
- >>> thread = api.put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(line_item_id, product_button_id, async_req=True)
5900
+ >>> thread = api.put_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
5122
5901
  >>> result = thread.get()
5123
5902
 
5124
5903
  Args:
5125
- line_item_id (str): Long external id of the associated line item
5126
- product_button_id (str): Sequential id of the product button
5904
+ line_item_id (str): External LineItemId for bid multiplier retrieval
5127
5905
 
5128
5906
  Keyword Args:
5129
- product_button_request (ProductButtonRequest): Details of the updated product button. [optional]
5907
+ line_item_bid_multipliers_v2_request (LineItemBidMultipliersV2Request): New Bid Multipliers to be set. [optional]
5130
5908
  _return_http_data_only (bool): response data without head status
5131
5909
  code and headers. Default is True.
5132
5910
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5159,7 +5937,7 @@ class CampaignApi(object):
5159
5937
  async_req (bool): execute request asynchronously
5160
5938
 
5161
5939
  Returns:
5162
- ProductButtonListResponse
5940
+ LineItemBidMultipliersV2Response
5163
5941
  If the method is called asynchronously, returns the request
5164
5942
  thread.
5165
5943
  """
@@ -5190,29 +5968,27 @@ class CampaignApi(object):
5190
5968
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5191
5969
  kwargs['line_item_id'] = \
5192
5970
  line_item_id
5193
- kwargs['product_button_id'] = \
5194
- product_button_id
5195
- return self.put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
5971
+ return self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5196
5972
 
5197
- def put_api202301_external_line_item_bid_multipliers_by_line_item_id(
5973
+ def set_keyword_bids(
5198
5974
  self,
5199
- line_item_id,
5975
+ id,
5200
5976
  **kwargs
5201
5977
  ):
5202
- """put_api202301_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
5978
+ """set_keyword_bids # noqa: E501
5203
5979
 
5204
- Replace bid multipliers on a line item # noqa: E501
5980
+ Set bid overrides for associated keywords to the given line item in bulk # noqa: E501
5205
5981
  This method makes a synchronous HTTP request by default. To make an
5206
5982
  asynchronous HTTP request, please pass async_req=True
5207
5983
 
5208
- >>> thread = api.put_api202301_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
5984
+ >>> thread = api.set_keyword_bids(id, async_req=True)
5209
5985
  >>> result = thread.get()
5210
5986
 
5211
5987
  Args:
5212
- line_item_id (str): Long external id of the associated line item
5988
+ id (str): ID of the line item
5213
5989
 
5214
5990
  Keyword Args:
5215
- line_item_bid_multipliers_request (LineItemBidMultipliersRequest): [optional]
5991
+ set_bids_model_request (SetBidsModelRequest): [optional]
5216
5992
  _return_http_data_only (bool): response data without head status
5217
5993
  code and headers. Default is True.
5218
5994
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5245,7 +6021,7 @@ class CampaignApi(object):
5245
6021
  async_req (bool): execute request asynchronously
5246
6022
 
5247
6023
  Returns:
5248
- LineItemBidMultipliersResponse
6024
+ ResourceOutcome
5249
6025
  If the method is called asynchronously, returns the request
5250
6026
  thread.
5251
6027
  """
@@ -5274,29 +6050,28 @@ class CampaignApi(object):
5274
6050
  '_content_type')
5275
6051
  kwargs['_host_index'] = kwargs.get('_host_index')
5276
6052
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5277
- kwargs['line_item_id'] = \
5278
- line_item_id
5279
- return self.put_api202301_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
6053
+ kwargs['id'] = \
6054
+ id
6055
+ return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
5280
6056
 
5281
- def set_keyword_bids(
6057
+ def submit_proposal(
5282
6058
  self,
5283
6059
  id,
5284
6060
  **kwargs
5285
6061
  ):
5286
- """set_keyword_bids # noqa: E501
6062
+ """submit_proposal # noqa: E501
5287
6063
 
5288
- Set bid overrides for associated keywords to the given line item in bulk # noqa: E501
6064
+ Only the components of the Line Item that are in a valid state will be reviewed. # noqa: E501
5289
6065
  This method makes a synchronous HTTP request by default. To make an
5290
6066
  asynchronous HTTP request, please pass async_req=True
5291
6067
 
5292
- >>> thread = api.set_keyword_bids(id, async_req=True)
6068
+ >>> thread = api.submit_proposal(id, async_req=True)
5293
6069
  >>> result = thread.get()
5294
6070
 
5295
6071
  Args:
5296
- id (str): Long external id of the associated line item
6072
+ id (str): ID of the line item
5297
6073
 
5298
6074
  Keyword Args:
5299
- retail_media_externalv1_set_bids_model_request (RetailMediaExternalv1SetBidsModelRequest): Object containing a list of bid overrides for associated keywords. [optional]
5300
6075
  _return_http_data_only (bool): response data without head status
5301
6076
  code and headers. Default is True.
5302
6077
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5329,7 +6104,7 @@ class CampaignApi(object):
5329
6104
  async_req (bool): execute request asynchronously
5330
6105
 
5331
6106
  Returns:
5332
- RetailMediaExternalv1ResourceOutcome
6107
+ ProposalStatusModelResponse
5333
6108
  If the method is called asynchronously, returns the request
5334
6109
  thread.
5335
6110
  """
@@ -5360,26 +6135,27 @@ class CampaignApi(object):
5360
6135
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5361
6136
  kwargs['id'] = \
5362
6137
  id
5363
- return self.set_keyword_bids_endpoint.call_with_http_info(**kwargs)
6138
+ return self.submit_proposal_endpoint.call_with_http_info(**kwargs)
5364
6139
 
5365
- def submit_proposal(
6140
+ def unpause_promoted_products(
5366
6141
  self,
5367
- id,
6142
+ line_item_id,
5368
6143
  **kwargs
5369
6144
  ):
5370
- """submit_proposal # noqa: E501
6145
+ """unpause_promoted_products # noqa: E501
5371
6146
 
5372
- Submit a proposal to modify a Preferred Deal Line Item for review. # noqa: E501
6147
+ Un-pause a collection of promoted products associated with a line item # noqa: E501
5373
6148
  This method makes a synchronous HTTP request by default. To make an
5374
6149
  asynchronous HTTP request, please pass async_req=True
5375
6150
 
5376
- >>> thread = api.submit_proposal(id, async_req=True)
6151
+ >>> thread = api.unpause_promoted_products(line_item_id, async_req=True)
5377
6152
  >>> result = thread.get()
5378
6153
 
5379
6154
  Args:
5380
- id (str): The external id of a line item.
6155
+ line_item_id (str): ID of the line item
5381
6156
 
5382
6157
  Keyword Args:
6158
+ promoted_product_resource_collection_input (PromotedProductResourceCollectionInput): Request body whose {data} contains an array of promoted products.. [optional]
5383
6159
  _return_http_data_only (bool): response data without head status
5384
6160
  code and headers. Default is True.
5385
6161
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -5412,7 +6188,7 @@ class CampaignApi(object):
5412
6188
  async_req (bool): execute request asynchronously
5413
6189
 
5414
6190
  Returns:
5415
- RetailMediaExternalv1ProposalStatusModelResponse
6191
+ None
5416
6192
  If the method is called asynchronously, returns the request
5417
6193
  thread.
5418
6194
  """
@@ -5441,9 +6217,9 @@ class CampaignApi(object):
5441
6217
  '_content_type')
5442
6218
  kwargs['_host_index'] = kwargs.get('_host_index')
5443
6219
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5444
- kwargs['id'] = \
5445
- id
5446
- return self.submit_proposal_endpoint.call_with_http_info(**kwargs)
6220
+ kwargs['line_item_id'] = \
6221
+ line_item_id
6222
+ return self.unpause_promoted_products_endpoint.call_with_http_info(**kwargs)
5447
6223
 
5448
6224
  def update_campaign_budget_overrides(
5449
6225
  self,