criteo-api-retailmedia-sdk 0.0.250425__py3-none-any.whl → 0.0.250606__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 (74) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/audience_api.py +1204 -135
  3. criteo_api_retailmedia_preview/api/campaign_api.py +1205 -147
  4. criteo_api_retailmedia_preview/api_client.py +1 -1
  5. criteo_api_retailmedia_preview/configuration.py +1 -1
  6. criteo_api_retailmedia_preview/model/categories_search_request_v1.py +270 -0
  7. criteo_api_retailmedia_preview/model/entity_resource_category202204.py +277 -0
  8. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_category202204.py +281 -0
  9. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_category202204_metadata.py +287 -0
  10. criteo_api_retailmedia_preview/model/entity_resource_of_sponsored_products_line_item.py +270 -0
  11. criteo_api_retailmedia_preview/model/entity_resource_outcome_of_sponsored_products_line_item.py +274 -0
  12. criteo_api_retailmedia_preview/model/flight_leg.py +287 -0
  13. criteo_api_retailmedia_preview/model/flight_schedule.py +262 -0
  14. criteo_api_retailmedia_preview/model/nillable_decimal.py +263 -0
  15. criteo_api_retailmedia_preview/model/page_of_sponsored_products_line_item.py +276 -0
  16. criteo_api_retailmedia_preview/model/recommended_categories_request_v1.py +272 -0
  17. criteo_api_retailmedia_preview/model/recommended_keywords_request_v1.py +266 -0
  18. criteo_api_retailmedia_preview/model/recommended_keywords_response_v1.py +263 -0
  19. criteo_api_retailmedia_preview/model/rm_audience_bulk_create_input_v1.py +269 -0
  20. criteo_api_retailmedia_preview/model/rm_audience_bulk_delete_input_v1.py +269 -0
  21. criteo_api_retailmedia_preview/model/rm_audience_bulk_update_input_v1.py +269 -0
  22. criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1.py +272 -0
  23. criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1_resource.py +273 -0
  24. criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_input_v1.py +269 -0
  25. criteo_api_retailmedia_preview/model/rm_audience_create_entity_v1.py +291 -0
  26. criteo_api_retailmedia_preview/model/rm_audience_create_entity_v1_resource.py +273 -0
  27. criteo_api_retailmedia_preview/model/rm_audience_delete_entity_v1_resource.py +271 -0
  28. criteo_api_retailmedia_preview/model/rm_audience_entity_v1_list_response.py +281 -0
  29. criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py +282 -0
  30. criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1_resource.py +273 -0
  31. criteo_api_retailmedia_preview/model/rm_audience_estimate_size_input_v1.py +269 -0
  32. criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py +272 -0
  33. criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1_resource.py +273 -0
  34. criteo_api_retailmedia_preview/model/rm_audience_segment_compute_sizes_input_v1.py +269 -0
  35. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +6 -0
  36. criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py +282 -0
  37. criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1_resource.py +273 -0
  38. criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_input_v1.py +269 -0
  39. criteo_api_retailmedia_preview/model/rm_audience_segment_size_entity_v1.py +267 -0
  40. criteo_api_retailmedia_preview/model/rm_audience_segment_size_entity_v1_list_response.py +281 -0
  41. criteo_api_retailmedia_preview/model/rm_audience_segment_size_entity_v1_resource.py +277 -0
  42. criteo_api_retailmedia_preview/model/rm_audience_segment_size_estimation_v1.py +267 -0
  43. criteo_api_retailmedia_preview/model/rm_audience_segment_size_estimation_v1_resource.py +273 -0
  44. criteo_api_retailmedia_preview/model/rm_audience_segment_size_estimation_v1_response.py +281 -0
  45. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +6 -0
  46. criteo_api_retailmedia_preview/model/rm_audience_size_entity_v1.py +267 -0
  47. criteo_api_retailmedia_preview/model/rm_audience_size_entity_v1_list_response.py +281 -0
  48. criteo_api_retailmedia_preview/model/rm_audience_size_entity_v1_resource.py +277 -0
  49. criteo_api_retailmedia_preview/model/rm_audience_size_estimation_v1.py +267 -0
  50. criteo_api_retailmedia_preview/model/rm_audience_size_estimation_v1_resource.py +273 -0
  51. criteo_api_retailmedia_preview/model/rm_audience_size_estimation_v1_response.py +281 -0
  52. criteo_api_retailmedia_preview/model/rm_audience_update_entity_v1.py +279 -0
  53. criteo_api_retailmedia_preview/model/rm_audience_update_entity_v1_resource.py +277 -0
  54. criteo_api_retailmedia_preview/model/rm_events_create_v1.py +305 -0
  55. criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py +305 -0
  56. criteo_api_retailmedia_preview/model/rm_events_update_v1.py +307 -0
  57. criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +387 -0
  58. criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +335 -0
  59. criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py +335 -0
  60. criteo_api_retailmedia_preview/model/value_resource_categories_search_request_v1.py +273 -0
  61. criteo_api_retailmedia_preview/model/value_resource_input_categories_search_request_v1.py +269 -0
  62. criteo_api_retailmedia_preview/model/value_resource_input_of_sponsored_products_line_item_update_request_model.py +262 -0
  63. criteo_api_retailmedia_preview/model/value_resource_input_recommended_categories_request_v1.py +269 -0
  64. criteo_api_retailmedia_preview/model/value_resource_input_recommended_keywords_request_v1.py +262 -0
  65. criteo_api_retailmedia_preview/model/value_resource_of_sponsored_products_line_item_update_request_model.py +266 -0
  66. criteo_api_retailmedia_preview/model/value_resource_outcome_recommended_keywords_response_v1.py +274 -0
  67. criteo_api_retailmedia_preview/model/value_resource_recommended_categories_request_v1.py +273 -0
  68. criteo_api_retailmedia_preview/model/value_resource_recommended_keywords_request_v1.py +266 -0
  69. criteo_api_retailmedia_preview/model/value_resource_recommended_keywords_response_v1.py +266 -0
  70. criteo_api_retailmedia_preview/models/__init__.py +62 -0
  71. {criteo_api_retailmedia_sdk-0.0.250425.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/METADATA +3 -3
  72. {criteo_api_retailmedia_sdk-0.0.250425.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/RECORD +74 -12
  73. {criteo_api_retailmedia_sdk-0.0.250425.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/WHEEL +1 -1
  74. {criteo_api_retailmedia_sdk-0.0.250425.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/top_level.txt +0 -0
@@ -29,9 +29,14 @@ from criteo_api_retailmedia_preview.model.creative2_response import Creative2Res
29
29
  from criteo_api_retailmedia_preview.model.creative_create_model2 import CreativeCreateModel2
30
30
  from criteo_api_retailmedia_preview.model.creative_update_model2 import CreativeUpdateModel2
31
31
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata import EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata
32
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204 import EntityResourceCollectionOutcomeCategory202204
33
+ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204_metadata import EntityResourceCollectionOutcomeCategory202204Metadata
32
34
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
33
35
  from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_status_v2 import EntityResourceOutcomeOfCatalogStatusV2
36
+ from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_sponsored_products_line_item import EntityResourceOutcomeOfSponsoredProductsLineItem
34
37
  from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
38
+ from criteo_api_retailmedia_preview.model.outcome import Outcome
39
+ from criteo_api_retailmedia_preview.model.page_of_sponsored_products_line_item import PageOfSponsoredProductsLineItem
35
40
  from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
36
41
  from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
37
42
  from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
@@ -52,12 +57,18 @@ from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_reques
52
57
  from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
53
58
  from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
54
59
  from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
60
+ from criteo_api_retailmedia_preview.model.sponsored_products_line_item_create_request_model import SponsoredProductsLineItemCreateRequestModel
55
61
  from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
62
+ from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
56
63
  from criteo_api_retailmedia_preview.model.value_resource_input_cpc_min_bids_request import ValueResourceInputCpcMinBidsRequest
57
64
  from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
58
65
  from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
66
+ from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
67
+ from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
68
+ from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
59
69
  from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
60
70
  from criteo_api_retailmedia_preview.model.value_resource_outcome_cpc_min_bids_response import ValueResourceOutcomeCpcMinBidsResponse
71
+ from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
61
72
  from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
62
73
 
63
74
 
@@ -188,6 +199,150 @@ class CampaignApi(object):
188
199
  },
189
200
  api_client=api_client
190
201
  )
202
+ self.categories_search_v1_endpoint = _Endpoint(
203
+ settings={
204
+ 'response_type': (EntityResourceCollectionOutcomeCategory202204Metadata,),
205
+ 'auth': [
206
+ 'oauth',
207
+ 'oauth'
208
+ ],
209
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/categories/search',
210
+ 'operation_id': 'categories_search_v1',
211
+ 'http_method': 'POST',
212
+ 'servers': None,
213
+ },
214
+ params_map={
215
+ 'all': [
216
+ 'retailer_id',
217
+ 'limit',
218
+ 'offset',
219
+ 'value_resource_input_categories_search_request_v1',
220
+ ],
221
+ 'required': [
222
+ 'retailer_id',
223
+ ],
224
+ 'nullable': [
225
+ ],
226
+ 'enum': [
227
+ ],
228
+ 'validation': [
229
+ 'limit',
230
+ 'offset',
231
+ ]
232
+ },
233
+ root_map={
234
+ 'validations': {
235
+ ('limit',): {
236
+
237
+ 'inclusive_maximum': 2147483647,
238
+ 'inclusive_minimum': 1,
239
+ },
240
+ ('offset',): {
241
+
242
+ 'inclusive_maximum': 2147483647,
243
+ 'inclusive_minimum': 0,
244
+ },
245
+ },
246
+ 'allowed_values': {
247
+ },
248
+ 'openapi_types': {
249
+ 'retailer_id':
250
+ (int,),
251
+ 'limit':
252
+ (int,),
253
+ 'offset':
254
+ (int,),
255
+ 'value_resource_input_categories_search_request_v1':
256
+ (ValueResourceInputCategoriesSearchRequestV1,),
257
+ },
258
+ 'attribute_map': {
259
+ 'retailer_id': 'retailerId',
260
+ 'limit': 'limit',
261
+ 'offset': 'offset',
262
+ },
263
+ 'location_map': {
264
+ 'retailer_id': 'path',
265
+ 'limit': 'query',
266
+ 'offset': 'query',
267
+ 'value_resource_input_categories_search_request_v1': 'body',
268
+ },
269
+ 'collection_format_map': {
270
+ }
271
+ },
272
+ headers_map={
273
+ 'accept': [
274
+ 'application/json'
275
+ ],
276
+ 'content_type': [
277
+ 'application/json-patch+json',
278
+ 'application/json',
279
+ 'text/json',
280
+ 'application/*+json'
281
+ ]
282
+ },
283
+ api_client=api_client
284
+ )
285
+ self.create_auction_line_item_v2_endpoint = _Endpoint(
286
+ settings={
287
+ 'response_type': (EntityResourceOutcomeOfSponsoredProductsLineItem,),
288
+ 'auth': [
289
+ 'oauth',
290
+ 'oauth'
291
+ ],
292
+ 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/auction-line-items',
293
+ 'operation_id': 'create_auction_line_item_v2',
294
+ 'http_method': 'POST',
295
+ 'servers': None,
296
+ },
297
+ params_map={
298
+ 'all': [
299
+ 'campaign_id',
300
+ 'sponsored_products_line_item_create_request_model',
301
+ ],
302
+ 'required': [
303
+ 'campaign_id',
304
+ ],
305
+ 'nullable': [
306
+ ],
307
+ 'enum': [
308
+ ],
309
+ 'validation': [
310
+ ]
311
+ },
312
+ root_map={
313
+ 'validations': {
314
+ },
315
+ 'allowed_values': {
316
+ },
317
+ 'openapi_types': {
318
+ 'campaign_id':
319
+ (str,),
320
+ 'sponsored_products_line_item_create_request_model':
321
+ (SponsoredProductsLineItemCreateRequestModel,),
322
+ },
323
+ 'attribute_map': {
324
+ 'campaign_id': 'campaignId',
325
+ },
326
+ 'location_map': {
327
+ 'campaign_id': 'path',
328
+ 'sponsored_products_line_item_create_request_model': 'body',
329
+ },
330
+ 'collection_format_map': {
331
+ }
332
+ },
333
+ headers_map={
334
+ 'accept': [
335
+ 'application/json'
336
+ ],
337
+ 'content_type': [
338
+ 'application/json-patch+json',
339
+ 'application/json',
340
+ 'text/json',
341
+ 'application/*+json'
342
+ ]
343
+ },
344
+ api_client=api_client
345
+ )
191
346
  self.delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint = _Endpoint(
192
347
  settings={
193
348
  'response_type': None,
@@ -1009,25 +1164,24 @@ class CampaignApi(object):
1009
1164
  },
1010
1165
  api_client=api_client
1011
1166
  )
1012
- self.get_cpc_min_bids_by_sku_ids_v1_endpoint = _Endpoint(
1167
+ self.get_auction_line_item_v2_endpoint = _Endpoint(
1013
1168
  settings={
1014
- 'response_type': (ValueResourceOutcomeCpcMinBidsResponse,),
1169
+ 'response_type': (EntityResourceOutcomeOfSponsoredProductsLineItem,),
1015
1170
  'auth': [
1016
1171
  'oauth',
1017
1172
  'oauth'
1018
1173
  ],
1019
- 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/cpc-min-bids',
1020
- 'operation_id': 'get_cpc_min_bids_by_sku_ids_v1',
1021
- 'http_method': 'POST',
1174
+ 'endpoint_path': '/preview/retail-media/auction-line-items/{lineItemId}',
1175
+ 'operation_id': 'get_auction_line_item_v2',
1176
+ 'http_method': 'GET',
1022
1177
  'servers': None,
1023
1178
  },
1024
1179
  params_map={
1025
1180
  'all': [
1026
- 'retailer_id',
1027
- 'value_resource_input_cpc_min_bids_request',
1181
+ 'line_item_id',
1028
1182
  ],
1029
1183
  'required': [
1030
- 'retailer_id',
1184
+ 'line_item_id',
1031
1185
  ],
1032
1186
  'nullable': [
1033
1187
  ],
@@ -1042,131 +1196,125 @@ class CampaignApi(object):
1042
1196
  'allowed_values': {
1043
1197
  },
1044
1198
  'openapi_types': {
1045
- 'retailer_id':
1046
- (int,),
1047
- 'value_resource_input_cpc_min_bids_request':
1048
- (ValueResourceInputCpcMinBidsRequest,),
1199
+ 'line_item_id':
1200
+ (str,),
1049
1201
  },
1050
1202
  'attribute_map': {
1051
- 'retailer_id': 'retailerId',
1203
+ 'line_item_id': 'lineItemId',
1052
1204
  },
1053
1205
  'location_map': {
1054
- 'retailer_id': 'path',
1055
- 'value_resource_input_cpc_min_bids_request': 'body',
1206
+ 'line_item_id': 'path',
1056
1207
  },
1057
1208
  'collection_format_map': {
1058
1209
  }
1059
1210
  },
1060
1211
  headers_map={
1061
1212
  'accept': [
1062
- 'text/plain',
1063
- 'application/json',
1064
- 'text/json'
1213
+ 'application/json'
1065
1214
  ],
1066
- 'content_type': [
1067
- 'application/json-patch+json',
1068
- 'application/json',
1069
- 'text/json',
1070
- 'application/*+json'
1071
- ]
1215
+ 'content_type': [],
1072
1216
  },
1073
1217
  api_client=api_client
1074
1218
  )
1075
- self.in_review_report_v1_endpoint = _Endpoint(
1219
+ self.get_auction_line_items_by_campaign_id_v2_endpoint = _Endpoint(
1076
1220
  settings={
1077
- 'response_type': (EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata,),
1221
+ 'response_type': (PageOfSponsoredProductsLineItem,),
1078
1222
  'auth': [
1079
1223
  'oauth',
1080
1224
  'oauth'
1081
1225
  ],
1082
- 'endpoint_path': '/preview/retail-media/accounts/{account-id}/keywords/in-review-report',
1083
- 'operation_id': 'in_review_report_v1',
1226
+ 'endpoint_path': '/preview/retail-media/campaigns/{campaignId}/auction-line-items',
1227
+ 'operation_id': 'get_auction_line_items_by_campaign_id_v2',
1084
1228
  'http_method': 'GET',
1085
1229
  'servers': None,
1086
1230
  },
1087
1231
  params_map={
1088
1232
  'all': [
1089
- 'account_id',
1090
- 'limit',
1091
- 'offset',
1233
+ 'campaign_id',
1234
+ 'limit_to_id',
1235
+ 'page_index',
1236
+ 'page_size',
1092
1237
  ],
1093
1238
  'required': [
1094
- 'account_id',
1239
+ 'campaign_id',
1095
1240
  ],
1096
1241
  'nullable': [
1097
1242
  ],
1098
1243
  'enum': [
1099
1244
  ],
1100
1245
  'validation': [
1101
- 'limit',
1102
- 'offset',
1246
+ 'page_index',
1247
+ 'page_size',
1103
1248
  ]
1104
1249
  },
1105
1250
  root_map={
1106
1251
  'validations': {
1107
- ('limit',): {
1252
+ ('page_index',): {
1108
1253
 
1109
- 'inclusive_maximum': 50,
1110
- 'inclusive_minimum': 1,
1254
+ 'inclusive_maximum': 2147483647,
1255
+ 'inclusive_minimum': 0,
1111
1256
  },
1112
- ('offset',): {
1257
+ ('page_size',): {
1113
1258
 
1114
1259
  'inclusive_maximum': 2147483647,
1115
- 'inclusive_minimum': 0,
1260
+ 'inclusive_minimum': 1,
1116
1261
  },
1117
1262
  },
1118
1263
  'allowed_values': {
1119
1264
  },
1120
1265
  'openapi_types': {
1121
- 'account_id':
1122
- (int,),
1123
- 'limit':
1266
+ 'campaign_id':
1267
+ (str,),
1268
+ 'limit_to_id':
1269
+ ([str],),
1270
+ 'page_index':
1124
1271
  (int,),
1125
- 'offset':
1272
+ 'page_size':
1126
1273
  (int,),
1127
1274
  },
1128
1275
  'attribute_map': {
1129
- 'account_id': 'account-id',
1130
- 'limit': 'limit',
1131
- 'offset': 'offset',
1276
+ 'campaign_id': 'campaignId',
1277
+ 'limit_to_id': 'limitToId',
1278
+ 'page_index': 'pageIndex',
1279
+ 'page_size': 'pageSize',
1132
1280
  },
1133
1281
  'location_map': {
1134
- 'account_id': 'path',
1135
- 'limit': 'query',
1136
- 'offset': 'query',
1282
+ 'campaign_id': 'path',
1283
+ 'limit_to_id': 'query',
1284
+ 'page_index': 'query',
1285
+ 'page_size': 'query',
1137
1286
  },
1138
1287
  'collection_format_map': {
1288
+ 'limit_to_id': 'multi',
1139
1289
  }
1140
1290
  },
1141
1291
  headers_map={
1142
1292
  'accept': [
1143
- 'text/plain',
1144
- 'application/json',
1145
- 'text/json'
1293
+ 'application/json'
1146
1294
  ],
1147
1295
  'content_type': [],
1148
1296
  },
1149
1297
  api_client=api_client
1150
1298
  )
1151
- self.pause_promoted_products_endpoint = _Endpoint(
1299
+ self.get_cpc_min_bids_by_sku_ids_v1_endpoint = _Endpoint(
1152
1300
  settings={
1153
- 'response_type': None,
1301
+ 'response_type': (ValueResourceOutcomeCpcMinBidsResponse,),
1154
1302
  'auth': [
1155
1303
  'oauth',
1156
1304
  'oauth'
1157
1305
  ],
1158
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1159
- 'operation_id': 'pause_promoted_products',
1306
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/cpc-min-bids',
1307
+ 'operation_id': 'get_cpc_min_bids_by_sku_ids_v1',
1160
1308
  'http_method': 'POST',
1161
1309
  'servers': None,
1162
1310
  },
1163
1311
  params_map={
1164
1312
  'all': [
1165
- 'line_item_id',
1166
- 'promoted_product_resource_collection_input',
1313
+ 'retailer_id',
1314
+ 'value_resource_input_cpc_min_bids_request',
1167
1315
  ],
1168
1316
  'required': [
1169
- 'line_item_id',
1317
+ 'retailer_id',
1170
1318
  ],
1171
1319
  'nullable': [
1172
1320
  ],
@@ -1181,46 +1329,246 @@ class CampaignApi(object):
1181
1329
  'allowed_values': {
1182
1330
  },
1183
1331
  'openapi_types': {
1184
- 'line_item_id':
1185
- (str,),
1186
- 'promoted_product_resource_collection_input':
1187
- (PromotedProductResourceCollectionInput,),
1332
+ 'retailer_id':
1333
+ (int,),
1334
+ 'value_resource_input_cpc_min_bids_request':
1335
+ (ValueResourceInputCpcMinBidsRequest,),
1188
1336
  },
1189
1337
  'attribute_map': {
1190
- 'line_item_id': 'line-item-id',
1338
+ 'retailer_id': 'retailerId',
1191
1339
  },
1192
1340
  'location_map': {
1193
- 'line_item_id': 'path',
1194
- 'promoted_product_resource_collection_input': 'body',
1341
+ 'retailer_id': 'path',
1342
+ 'value_resource_input_cpc_min_bids_request': 'body',
1195
1343
  },
1196
1344
  'collection_format_map': {
1197
1345
  }
1198
1346
  },
1199
1347
  headers_map={
1200
1348
  'accept': [
1201
- 'application/json'
1349
+ 'text/plain',
1350
+ 'application/json',
1351
+ 'text/json'
1202
1352
  ],
1203
1353
  'content_type': [
1204
- 'application/json'
1354
+ 'application/json-patch+json',
1355
+ 'application/json',
1356
+ 'text/json',
1357
+ 'application/*+json'
1205
1358
  ]
1206
1359
  },
1207
1360
  api_client=api_client
1208
1361
  )
1209
- self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
1362
+ self.get_recommended_categories_endpoint = _Endpoint(
1210
1363
  settings={
1211
- 'response_type': (PreferredLineItemV2Response,),
1364
+ 'response_type': (EntityResourceCollectionOutcomeCategory202204,),
1212
1365
  'auth': [
1213
1366
  'oauth',
1214
1367
  'oauth'
1215
1368
  ],
1216
- 'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
1217
- 'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id',
1369
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/recommend-categories',
1370
+ 'operation_id': 'get_recommended_categories',
1218
1371
  'http_method': 'POST',
1219
1372
  'servers': None,
1220
1373
  },
1221
1374
  params_map={
1222
1375
  'all': [
1223
- 'campaign_id',
1376
+ 'retailer_id',
1377
+ 'value_resource_input_recommended_categories_request_v1',
1378
+ ],
1379
+ 'required': [
1380
+ 'retailer_id',
1381
+ ],
1382
+ 'nullable': [
1383
+ ],
1384
+ 'enum': [
1385
+ ],
1386
+ 'validation': [
1387
+ ]
1388
+ },
1389
+ root_map={
1390
+ 'validations': {
1391
+ },
1392
+ 'allowed_values': {
1393
+ },
1394
+ 'openapi_types': {
1395
+ 'retailer_id':
1396
+ (int,),
1397
+ 'value_resource_input_recommended_categories_request_v1':
1398
+ (ValueResourceInputRecommendedCategoriesRequestV1,),
1399
+ },
1400
+ 'attribute_map': {
1401
+ 'retailer_id': 'retailerId',
1402
+ },
1403
+ 'location_map': {
1404
+ 'retailer_id': 'path',
1405
+ 'value_resource_input_recommended_categories_request_v1': 'body',
1406
+ },
1407
+ 'collection_format_map': {
1408
+ }
1409
+ },
1410
+ headers_map={
1411
+ 'accept': [
1412
+ 'application/json'
1413
+ ],
1414
+ 'content_type': [
1415
+ 'application/json-patch+json',
1416
+ 'application/json',
1417
+ 'text/json',
1418
+ 'application/*+json'
1419
+ ]
1420
+ },
1421
+ api_client=api_client
1422
+ )
1423
+ self.in_review_report_v1_endpoint = _Endpoint(
1424
+ settings={
1425
+ 'response_type': (EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata,),
1426
+ 'auth': [
1427
+ 'oauth',
1428
+ 'oauth'
1429
+ ],
1430
+ 'endpoint_path': '/preview/retail-media/accounts/{account-id}/keywords/in-review-report',
1431
+ 'operation_id': 'in_review_report_v1',
1432
+ 'http_method': 'GET',
1433
+ 'servers': None,
1434
+ },
1435
+ params_map={
1436
+ 'all': [
1437
+ 'account_id',
1438
+ 'limit',
1439
+ 'offset',
1440
+ ],
1441
+ 'required': [
1442
+ 'account_id',
1443
+ ],
1444
+ 'nullable': [
1445
+ ],
1446
+ 'enum': [
1447
+ ],
1448
+ 'validation': [
1449
+ 'limit',
1450
+ 'offset',
1451
+ ]
1452
+ },
1453
+ root_map={
1454
+ 'validations': {
1455
+ ('limit',): {
1456
+
1457
+ 'inclusive_maximum': 50,
1458
+ 'inclusive_minimum': 1,
1459
+ },
1460
+ ('offset',): {
1461
+
1462
+ 'inclusive_maximum': 2147483647,
1463
+ 'inclusive_minimum': 0,
1464
+ },
1465
+ },
1466
+ 'allowed_values': {
1467
+ },
1468
+ 'openapi_types': {
1469
+ 'account_id':
1470
+ (int,),
1471
+ 'limit':
1472
+ (int,),
1473
+ 'offset':
1474
+ (int,),
1475
+ },
1476
+ 'attribute_map': {
1477
+ 'account_id': 'account-id',
1478
+ 'limit': 'limit',
1479
+ 'offset': 'offset',
1480
+ },
1481
+ 'location_map': {
1482
+ 'account_id': 'path',
1483
+ 'limit': 'query',
1484
+ 'offset': 'query',
1485
+ },
1486
+ 'collection_format_map': {
1487
+ }
1488
+ },
1489
+ headers_map={
1490
+ 'accept': [
1491
+ 'text/plain',
1492
+ 'application/json',
1493
+ 'text/json'
1494
+ ],
1495
+ 'content_type': [],
1496
+ },
1497
+ api_client=api_client
1498
+ )
1499
+ self.pause_promoted_products_endpoint = _Endpoint(
1500
+ settings={
1501
+ 'response_type': None,
1502
+ 'auth': [
1503
+ 'oauth',
1504
+ 'oauth'
1505
+ ],
1506
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/products/pause',
1507
+ 'operation_id': 'pause_promoted_products',
1508
+ 'http_method': 'POST',
1509
+ 'servers': None,
1510
+ },
1511
+ params_map={
1512
+ 'all': [
1513
+ 'line_item_id',
1514
+ 'promoted_product_resource_collection_input',
1515
+ ],
1516
+ 'required': [
1517
+ 'line_item_id',
1518
+ ],
1519
+ 'nullable': [
1520
+ ],
1521
+ 'enum': [
1522
+ ],
1523
+ 'validation': [
1524
+ ]
1525
+ },
1526
+ root_map={
1527
+ 'validations': {
1528
+ },
1529
+ 'allowed_values': {
1530
+ },
1531
+ 'openapi_types': {
1532
+ 'line_item_id':
1533
+ (str,),
1534
+ 'promoted_product_resource_collection_input':
1535
+ (PromotedProductResourceCollectionInput,),
1536
+ },
1537
+ 'attribute_map': {
1538
+ 'line_item_id': 'line-item-id',
1539
+ },
1540
+ 'location_map': {
1541
+ 'line_item_id': 'path',
1542
+ 'promoted_product_resource_collection_input': 'body',
1543
+ },
1544
+ 'collection_format_map': {
1545
+ }
1546
+ },
1547
+ headers_map={
1548
+ 'accept': [
1549
+ 'application/json'
1550
+ ],
1551
+ 'content_type': [
1552
+ 'application/json'
1553
+ ]
1554
+ },
1555
+ api_client=api_client
1556
+ )
1557
+ self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
1558
+ settings={
1559
+ 'response_type': (PreferredLineItemV2Response,),
1560
+ 'auth': [
1561
+ 'oauth',
1562
+ 'oauth'
1563
+ ],
1564
+ 'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
1565
+ 'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id',
1566
+ 'http_method': 'POST',
1567
+ 'servers': None,
1568
+ },
1569
+ params_map={
1570
+ 'all': [
1571
+ 'campaign_id',
1224
1572
  'preferred_line_item_create_model_v2_request',
1225
1573
  ],
1226
1574
  'required': [
@@ -2063,6 +2411,64 @@ class CampaignApi(object):
2063
2411
  },
2064
2412
  api_client=api_client
2065
2413
  )
2414
+ self.recommended_keywords_endpoint = _Endpoint(
2415
+ settings={
2416
+ 'response_type': (ValueResourceOutcomeRecommendedKeywordsResponseV1,),
2417
+ 'auth': [
2418
+ 'oauth',
2419
+ 'oauth'
2420
+ ],
2421
+ 'endpoint_path': '/preview/retail-media/retailers/{retailerId}/recommend-keywords',
2422
+ 'operation_id': 'recommended_keywords',
2423
+ 'http_method': 'POST',
2424
+ 'servers': None,
2425
+ },
2426
+ params_map={
2427
+ 'all': [
2428
+ 'retailer_id',
2429
+ 'value_resource_input_recommended_keywords_request_v1',
2430
+ ],
2431
+ 'required': [
2432
+ 'retailer_id',
2433
+ ],
2434
+ 'nullable': [
2435
+ ],
2436
+ 'enum': [
2437
+ ],
2438
+ 'validation': [
2439
+ ]
2440
+ },
2441
+ root_map={
2442
+ 'validations': {
2443
+ },
2444
+ 'allowed_values': {
2445
+ },
2446
+ 'openapi_types': {
2447
+ 'retailer_id':
2448
+ (int,),
2449
+ 'value_resource_input_recommended_keywords_request_v1':
2450
+ (ValueResourceInputRecommendedKeywordsRequestV1,),
2451
+ },
2452
+ 'attribute_map': {
2453
+ 'retailer_id': 'retailerId',
2454
+ },
2455
+ 'location_map': {
2456
+ 'retailer_id': 'path',
2457
+ 'value_resource_input_recommended_keywords_request_v1': 'body',
2458
+ },
2459
+ 'collection_format_map': {
2460
+ }
2461
+ },
2462
+ headers_map={
2463
+ 'accept': [
2464
+ 'application/json'
2465
+ ],
2466
+ 'content_type': [
2467
+ 'application/json'
2468
+ ]
2469
+ },
2470
+ api_client=api_client
2471
+ )
2066
2472
  self.search_brands_by_name_async_v1_endpoint = _Endpoint(
2067
2473
  settings={
2068
2474
  'response_type': (EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata,),
@@ -2257,22 +2663,22 @@ class CampaignApi(object):
2257
2663
  },
2258
2664
  api_client=api_client
2259
2665
  )
2260
- self.update_keyword_reviews_v1_endpoint = _Endpoint(
2666
+ self.update_auction_line_item_v2_endpoint = _Endpoint(
2261
2667
  settings={
2262
- 'response_type': (ValueResourceOutcomeRetailMediaKeywordsReviewResult,),
2668
+ 'response_type': (EntityResourceOutcomeOfSponsoredProductsLineItem,),
2263
2669
  'auth': [
2264
2670
  'oauth',
2265
2671
  'oauth'
2266
2672
  ],
2267
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/keywords/review',
2268
- 'operation_id': 'update_keyword_reviews_v1',
2269
- 'http_method': 'POST',
2673
+ 'endpoint_path': '/preview/retail-media/auction-line-items/{lineItemId}',
2674
+ 'operation_id': 'update_auction_line_item_v2',
2675
+ 'http_method': 'PUT',
2270
2676
  'servers': None,
2271
2677
  },
2272
2678
  params_map={
2273
2679
  'all': [
2274
2680
  'line_item_id',
2275
- 'value_resource_input_retail_media_keywords_review',
2681
+ 'value_resource_input_of_sponsored_products_line_item_update_request_model',
2276
2682
  ],
2277
2683
  'required': [
2278
2684
  'line_item_id',
@@ -2291,23 +2697,84 @@ class CampaignApi(object):
2291
2697
  },
2292
2698
  'openapi_types': {
2293
2699
  'line_item_id':
2294
- (int,),
2295
- 'value_resource_input_retail_media_keywords_review':
2296
- (ValueResourceInputRetailMediaKeywordsReview,),
2700
+ (str,),
2701
+ 'value_resource_input_of_sponsored_products_line_item_update_request_model':
2702
+ (ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel,),
2297
2703
  },
2298
2704
  'attribute_map': {
2299
- 'line_item_id': 'line-item-id',
2705
+ 'line_item_id': 'lineItemId',
2300
2706
  },
2301
2707
  'location_map': {
2302
2708
  'line_item_id': 'path',
2303
- 'value_resource_input_retail_media_keywords_review': 'body',
2709
+ 'value_resource_input_of_sponsored_products_line_item_update_request_model': 'body',
2304
2710
  },
2305
2711
  'collection_format_map': {
2306
2712
  }
2307
2713
  },
2308
2714
  headers_map={
2309
2715
  'accept': [
2310
- 'text/plain',
2716
+ 'application/json'
2717
+ ],
2718
+ 'content_type': [
2719
+ 'application/json-patch+json',
2720
+ 'application/json',
2721
+ 'text/json',
2722
+ 'application/*+json'
2723
+ ]
2724
+ },
2725
+ api_client=api_client
2726
+ )
2727
+ self.update_keyword_reviews_v1_endpoint = _Endpoint(
2728
+ settings={
2729
+ 'response_type': (ValueResourceOutcomeRetailMediaKeywordsReviewResult,),
2730
+ 'auth': [
2731
+ 'oauth',
2732
+ 'oauth'
2733
+ ],
2734
+ 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/keywords/review',
2735
+ 'operation_id': 'update_keyword_reviews_v1',
2736
+ 'http_method': 'POST',
2737
+ 'servers': None,
2738
+ },
2739
+ params_map={
2740
+ 'all': [
2741
+ 'line_item_id',
2742
+ 'value_resource_input_retail_media_keywords_review',
2743
+ ],
2744
+ 'required': [
2745
+ 'line_item_id',
2746
+ ],
2747
+ 'nullable': [
2748
+ ],
2749
+ 'enum': [
2750
+ ],
2751
+ 'validation': [
2752
+ ]
2753
+ },
2754
+ root_map={
2755
+ 'validations': {
2756
+ },
2757
+ 'allowed_values': {
2758
+ },
2759
+ 'openapi_types': {
2760
+ 'line_item_id':
2761
+ (int,),
2762
+ 'value_resource_input_retail_media_keywords_review':
2763
+ (ValueResourceInputRetailMediaKeywordsReview,),
2764
+ },
2765
+ 'attribute_map': {
2766
+ 'line_item_id': 'line-item-id',
2767
+ },
2768
+ 'location_map': {
2769
+ 'line_item_id': 'path',
2770
+ 'value_resource_input_retail_media_keywords_review': 'body',
2771
+ },
2772
+ 'collection_format_map': {
2773
+ }
2774
+ },
2775
+ headers_map={
2776
+ 'accept': [
2777
+ 'text/plain',
2311
2778
  'application/json',
2312
2779
  'text/json'
2313
2780
  ],
@@ -2489,6 +2956,176 @@ class CampaignApi(object):
2489
2956
  line_item_id
2490
2957
  return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
2491
2958
 
2959
+ def categories_search_v1(
2960
+ self,
2961
+ retailer_id,
2962
+ **kwargs
2963
+ ):
2964
+ """categories_search_v1 # noqa: E501
2965
+
2966
+ Search a retailer categories by given text substring and category ids. # noqa: E501
2967
+ This method makes a synchronous HTTP request by default. To make an
2968
+ asynchronous HTTP request, please pass async_req=True
2969
+
2970
+ >>> thread = api.categories_search_v1(retailer_id, async_req=True)
2971
+ >>> result = thread.get()
2972
+
2973
+ Args:
2974
+ retailer_id (int): Retailer id.
2975
+
2976
+ Keyword Args:
2977
+ limit (int): Limit of the search result.. [optional] if omitted the server will use the default value of 50
2978
+ offset (int): Offset of the search result.. [optional] if omitted the server will use the default value of 0
2979
+ value_resource_input_categories_search_request_v1 (ValueResourceInputCategoriesSearchRequestV1): Request of categories search.. [optional]
2980
+ _return_http_data_only (bool): response data without head status
2981
+ code and headers. Default is True.
2982
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
2983
+ will be returned without reading/decoding response data.
2984
+ Default is True.
2985
+ _request_timeout (int/float/tuple): timeout setting for this request. If
2986
+ one number provided, it will be total request timeout. It can also
2987
+ be a pair (tuple) of (connection, read) timeouts.
2988
+ Default is None.
2989
+ _check_input_type (bool): specifies if type checking
2990
+ should be done one the data sent to the server.
2991
+ Default is True.
2992
+ _check_return_type (bool): specifies if type checking
2993
+ should be done one the data received from the server.
2994
+ Default is True.
2995
+ _spec_property_naming (bool): True if the variable names in the input data
2996
+ are serialized names, as specified in the OpenAPI document.
2997
+ False if the variable names in the input data
2998
+ are pythonic names, e.g. snake case (default)
2999
+ _content_type (str/None): force body content-type.
3000
+ Default is None and content-type will be predicted by allowed
3001
+ content-types and body.
3002
+ _host_index (int/None): specifies the index of the server
3003
+ that we want to use.
3004
+ Default is read from the configuration.
3005
+ _request_auths (list): set to override the auth_settings for an a single
3006
+ request; this effectively ignores the authentication
3007
+ in the spec for a single request.
3008
+ Default is None
3009
+ async_req (bool): execute request asynchronously
3010
+
3011
+ Returns:
3012
+ EntityResourceCollectionOutcomeCategory202204Metadata
3013
+ If the method is called asynchronously, returns the request
3014
+ thread.
3015
+ """
3016
+ kwargs['async_req'] = kwargs.get(
3017
+ 'async_req', False
3018
+ )
3019
+ kwargs['_return_http_data_only'] = kwargs.get(
3020
+ '_return_http_data_only', True
3021
+ )
3022
+ kwargs['_preload_content'] = kwargs.get(
3023
+ '_preload_content', True
3024
+ )
3025
+ kwargs['_request_timeout'] = kwargs.get(
3026
+ '_request_timeout', None
3027
+ )
3028
+ kwargs['_check_input_type'] = kwargs.get(
3029
+ '_check_input_type', True
3030
+ )
3031
+ kwargs['_check_return_type'] = kwargs.get(
3032
+ '_check_return_type', True
3033
+ )
3034
+ kwargs['_spec_property_naming'] = kwargs.get(
3035
+ '_spec_property_naming', False
3036
+ )
3037
+ kwargs['_content_type'] = kwargs.get(
3038
+ '_content_type')
3039
+ kwargs['_host_index'] = kwargs.get('_host_index')
3040
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3041
+ kwargs['retailer_id'] = \
3042
+ retailer_id
3043
+ return self.categories_search_v1_endpoint.call_with_http_info(**kwargs)
3044
+
3045
+ def create_auction_line_item_v2(
3046
+ self,
3047
+ campaign_id,
3048
+ **kwargs
3049
+ ):
3050
+ """create_auction_line_item_v2 # noqa: E501
3051
+
3052
+ Creates new auction line item with the specified settings # noqa: E501
3053
+ This method makes a synchronous HTTP request by default. To make an
3054
+ asynchronous HTTP request, please pass async_req=True
3055
+
3056
+ >>> thread = api.create_auction_line_item_v2(campaign_id, async_req=True)
3057
+ >>> result = thread.get()
3058
+
3059
+ Args:
3060
+ campaign_id (str): The given campaign id
3061
+
3062
+ Keyword Args:
3063
+ sponsored_products_line_item_create_request_model (SponsoredProductsLineItemCreateRequestModel): The line item settings to create a line item with. [optional]
3064
+ _return_http_data_only (bool): response data without head status
3065
+ code and headers. Default is True.
3066
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
3067
+ will be returned without reading/decoding response data.
3068
+ Default is True.
3069
+ _request_timeout (int/float/tuple): timeout setting for this request. If
3070
+ one number provided, it will be total request timeout. It can also
3071
+ be a pair (tuple) of (connection, read) timeouts.
3072
+ Default is None.
3073
+ _check_input_type (bool): specifies if type checking
3074
+ should be done one the data sent to the server.
3075
+ Default is True.
3076
+ _check_return_type (bool): specifies if type checking
3077
+ should be done one the data received from the server.
3078
+ Default is True.
3079
+ _spec_property_naming (bool): True if the variable names in the input data
3080
+ are serialized names, as specified in the OpenAPI document.
3081
+ False if the variable names in the input data
3082
+ are pythonic names, e.g. snake case (default)
3083
+ _content_type (str/None): force body content-type.
3084
+ Default is None and content-type will be predicted by allowed
3085
+ content-types and body.
3086
+ _host_index (int/None): specifies the index of the server
3087
+ that we want to use.
3088
+ Default is read from the configuration.
3089
+ _request_auths (list): set to override the auth_settings for an a single
3090
+ request; this effectively ignores the authentication
3091
+ in the spec for a single request.
3092
+ Default is None
3093
+ async_req (bool): execute request asynchronously
3094
+
3095
+ Returns:
3096
+ EntityResourceOutcomeOfSponsoredProductsLineItem
3097
+ If the method is called asynchronously, returns the request
3098
+ thread.
3099
+ """
3100
+ kwargs['async_req'] = kwargs.get(
3101
+ 'async_req', False
3102
+ )
3103
+ kwargs['_return_http_data_only'] = kwargs.get(
3104
+ '_return_http_data_only', True
3105
+ )
3106
+ kwargs['_preload_content'] = kwargs.get(
3107
+ '_preload_content', True
3108
+ )
3109
+ kwargs['_request_timeout'] = kwargs.get(
3110
+ '_request_timeout', None
3111
+ )
3112
+ kwargs['_check_input_type'] = kwargs.get(
3113
+ '_check_input_type', True
3114
+ )
3115
+ kwargs['_check_return_type'] = kwargs.get(
3116
+ '_check_return_type', True
3117
+ )
3118
+ kwargs['_spec_property_naming'] = kwargs.get(
3119
+ '_spec_property_naming', False
3120
+ )
3121
+ kwargs['_content_type'] = kwargs.get(
3122
+ '_content_type')
3123
+ kwargs['_host_index'] = kwargs.get('_host_index')
3124
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3125
+ kwargs['campaign_id'] = \
3126
+ campaign_id
3127
+ return self.create_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
3128
+
2492
3129
  def delete_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id(
2493
3130
  self,
2494
3131
  line_item_id,
@@ -3254,25 +3891,281 @@ class CampaignApi(object):
3254
3891
  seller
3255
3892
  return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
3256
3893
 
3257
- def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
3894
+ def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
3895
+ self,
3896
+ retailer_id,
3897
+ **kwargs
3898
+ ):
3899
+ """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
3900
+
3901
+ Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
3902
+ This method makes a synchronous HTTP request by default. To make an
3903
+ asynchronous HTTP request, please pass async_req=True
3904
+
3905
+ >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
3906
+ >>> result = thread.get()
3907
+
3908
+ Args:
3909
+ retailer_id (str): The retailer id
3910
+
3911
+ Keyword Args:
3912
+ fields ([str]): The fields in the response that is to be included. [optional]
3913
+ _return_http_data_only (bool): response data without head status
3914
+ code and headers. Default is True.
3915
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
3916
+ will be returned without reading/decoding response data.
3917
+ Default is True.
3918
+ _request_timeout (int/float/tuple): timeout setting for this request. If
3919
+ one number provided, it will be total request timeout. It can also
3920
+ be a pair (tuple) of (connection, read) timeouts.
3921
+ Default is None.
3922
+ _check_input_type (bool): specifies if type checking
3923
+ should be done one the data sent to the server.
3924
+ Default is True.
3925
+ _check_return_type (bool): specifies if type checking
3926
+ should be done one the data received from the server.
3927
+ Default is True.
3928
+ _spec_property_naming (bool): True if the variable names in the input data
3929
+ are serialized names, as specified in the OpenAPI document.
3930
+ False if the variable names in the input data
3931
+ are pythonic names, e.g. snake case (default)
3932
+ _content_type (str/None): force body content-type.
3933
+ Default is None and content-type will be predicted by allowed
3934
+ content-types and body.
3935
+ _host_index (int/None): specifies the index of the server
3936
+ that we want to use.
3937
+ Default is read from the configuration.
3938
+ _request_auths (list): set to override the auth_settings for an a single
3939
+ request; this effectively ignores the authentication
3940
+ in the spec for a single request.
3941
+ Default is None
3942
+ async_req (bool): execute request asynchronously
3943
+
3944
+ Returns:
3945
+ CpcRateCardPreviewResponse
3946
+ If the method is called asynchronously, returns the request
3947
+ thread.
3948
+ """
3949
+ kwargs['async_req'] = kwargs.get(
3950
+ 'async_req', False
3951
+ )
3952
+ kwargs['_return_http_data_only'] = kwargs.get(
3953
+ '_return_http_data_only', True
3954
+ )
3955
+ kwargs['_preload_content'] = kwargs.get(
3956
+ '_preload_content', True
3957
+ )
3958
+ kwargs['_request_timeout'] = kwargs.get(
3959
+ '_request_timeout', None
3960
+ )
3961
+ kwargs['_check_input_type'] = kwargs.get(
3962
+ '_check_input_type', True
3963
+ )
3964
+ kwargs['_check_return_type'] = kwargs.get(
3965
+ '_check_return_type', True
3966
+ )
3967
+ kwargs['_spec_property_naming'] = kwargs.get(
3968
+ '_spec_property_naming', False
3969
+ )
3970
+ kwargs['_content_type'] = kwargs.get(
3971
+ '_content_type')
3972
+ kwargs['_host_index'] = kwargs.get('_host_index')
3973
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3974
+ kwargs['retailer_id'] = \
3975
+ retailer_id
3976
+ return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
3977
+
3978
+ def get_api_v1_external_retailer_placements_by_retailer_id(
3979
+ self,
3980
+ retailer_id,
3981
+ **kwargs
3982
+ ):
3983
+ """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
3984
+
3985
+ Gets all placement information for the given retailer # noqa: E501
3986
+ This method makes a synchronous HTTP request by default. To make an
3987
+ asynchronous HTTP request, please pass async_req=True
3988
+
3989
+ >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
3990
+ >>> result = thread.get()
3991
+
3992
+ Args:
3993
+ retailer_id (str): The retailer id for which placements should be fetched.
3994
+
3995
+ Keyword Args:
3996
+ _return_http_data_only (bool): response data without head status
3997
+ code and headers. Default is True.
3998
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
3999
+ will be returned without reading/decoding response data.
4000
+ Default is True.
4001
+ _request_timeout (int/float/tuple): timeout setting for this request. If
4002
+ one number provided, it will be total request timeout. It can also
4003
+ be a pair (tuple) of (connection, read) timeouts.
4004
+ Default is None.
4005
+ _check_input_type (bool): specifies if type checking
4006
+ should be done one the data sent to the server.
4007
+ Default is True.
4008
+ _check_return_type (bool): specifies if type checking
4009
+ should be done one the data received from the server.
4010
+ Default is True.
4011
+ _spec_property_naming (bool): True if the variable names in the input data
4012
+ are serialized names, as specified in the OpenAPI document.
4013
+ False if the variable names in the input data
4014
+ are pythonic names, e.g. snake case (default)
4015
+ _content_type (str/None): force body content-type.
4016
+ Default is None and content-type will be predicted by allowed
4017
+ content-types and body.
4018
+ _host_index (int/None): specifies the index of the server
4019
+ that we want to use.
4020
+ Default is read from the configuration.
4021
+ _request_auths (list): set to override the auth_settings for an a single
4022
+ request; this effectively ignores the authentication
4023
+ in the spec for a single request.
4024
+ Default is None
4025
+ async_req (bool): execute request asynchronously
4026
+
4027
+ Returns:
4028
+ PlacementPreviewListResponse
4029
+ If the method is called asynchronously, returns the request
4030
+ thread.
4031
+ """
4032
+ kwargs['async_req'] = kwargs.get(
4033
+ 'async_req', False
4034
+ )
4035
+ kwargs['_return_http_data_only'] = kwargs.get(
4036
+ '_return_http_data_only', True
4037
+ )
4038
+ kwargs['_preload_content'] = kwargs.get(
4039
+ '_preload_content', True
4040
+ )
4041
+ kwargs['_request_timeout'] = kwargs.get(
4042
+ '_request_timeout', None
4043
+ )
4044
+ kwargs['_check_input_type'] = kwargs.get(
4045
+ '_check_input_type', True
4046
+ )
4047
+ kwargs['_check_return_type'] = kwargs.get(
4048
+ '_check_return_type', True
4049
+ )
4050
+ kwargs['_spec_property_naming'] = kwargs.get(
4051
+ '_spec_property_naming', False
4052
+ )
4053
+ kwargs['_content_type'] = kwargs.get(
4054
+ '_content_type')
4055
+ kwargs['_host_index'] = kwargs.get('_host_index')
4056
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4057
+ kwargs['retailer_id'] = \
4058
+ retailer_id
4059
+ return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4060
+
4061
+ def get_api_v2_external_account_by_account_id_creativescreative_id(
4062
+ self,
4063
+ account_id,
4064
+ creative_id,
4065
+ **kwargs
4066
+ ):
4067
+ """get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
4068
+
4069
+ Get the specified creative # noqa: E501
4070
+ This method makes a synchronous HTTP request by default. To make an
4071
+ asynchronous HTTP request, please pass async_req=True
4072
+
4073
+ >>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
4074
+ >>> result = thread.get()
4075
+
4076
+ Args:
4077
+ account_id (str): External account id to retrieve creatives for
4078
+ creative_id (str): Creative to get
4079
+
4080
+ Keyword Args:
4081
+ _return_http_data_only (bool): response data without head status
4082
+ code and headers. Default is True.
4083
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
4084
+ will be returned without reading/decoding response data.
4085
+ Default is True.
4086
+ _request_timeout (int/float/tuple): timeout setting for this request. If
4087
+ one number provided, it will be total request timeout. It can also
4088
+ be a pair (tuple) of (connection, read) timeouts.
4089
+ Default is None.
4090
+ _check_input_type (bool): specifies if type checking
4091
+ should be done one the data sent to the server.
4092
+ Default is True.
4093
+ _check_return_type (bool): specifies if type checking
4094
+ should be done one the data received from the server.
4095
+ Default is True.
4096
+ _spec_property_naming (bool): True if the variable names in the input data
4097
+ are serialized names, as specified in the OpenAPI document.
4098
+ False if the variable names in the input data
4099
+ are pythonic names, e.g. snake case (default)
4100
+ _content_type (str/None): force body content-type.
4101
+ Default is None and content-type will be predicted by allowed
4102
+ content-types and body.
4103
+ _host_index (int/None): specifies the index of the server
4104
+ that we want to use.
4105
+ Default is read from the configuration.
4106
+ _request_auths (list): set to override the auth_settings for an a single
4107
+ request; this effectively ignores the authentication
4108
+ in the spec for a single request.
4109
+ Default is None
4110
+ async_req (bool): execute request asynchronously
4111
+
4112
+ Returns:
4113
+ Creative2Response
4114
+ If the method is called asynchronously, returns the request
4115
+ thread.
4116
+ """
4117
+ kwargs['async_req'] = kwargs.get(
4118
+ 'async_req', False
4119
+ )
4120
+ kwargs['_return_http_data_only'] = kwargs.get(
4121
+ '_return_http_data_only', True
4122
+ )
4123
+ kwargs['_preload_content'] = kwargs.get(
4124
+ '_preload_content', True
4125
+ )
4126
+ kwargs['_request_timeout'] = kwargs.get(
4127
+ '_request_timeout', None
4128
+ )
4129
+ kwargs['_check_input_type'] = kwargs.get(
4130
+ '_check_input_type', True
4131
+ )
4132
+ kwargs['_check_return_type'] = kwargs.get(
4133
+ '_check_return_type', True
4134
+ )
4135
+ kwargs['_spec_property_naming'] = kwargs.get(
4136
+ '_spec_property_naming', False
4137
+ )
4138
+ kwargs['_content_type'] = kwargs.get(
4139
+ '_content_type')
4140
+ kwargs['_host_index'] = kwargs.get('_host_index')
4141
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4142
+ kwargs['account_id'] = \
4143
+ account_id
4144
+ kwargs['creative_id'] = \
4145
+ creative_id
4146
+ return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
4147
+
4148
+ def get_api_v2_external_campaign_preferred_line_items_by_campaign_id(
3258
4149
  self,
3259
- retailer_id,
4150
+ campaign_id,
3260
4151
  **kwargs
3261
4152
  ):
3262
- """get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
4153
+ """get_api_v2_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
3263
4154
 
3264
- Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
4155
+ Gets page of preferred line item objects for the given campaign id # noqa: E501
3265
4156
  This method makes a synchronous HTTP request by default. To make an
3266
4157
  asynchronous HTTP request, please pass async_req=True
3267
4158
 
3268
- >>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
4159
+ >>> thread = api.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
3269
4160
  >>> result = thread.get()
3270
4161
 
3271
4162
  Args:
3272
- retailer_id (str): The retailer id
4163
+ campaign_id (str): The given campaign id
3273
4164
 
3274
4165
  Keyword Args:
3275
- fields ([str]): The fields in the response that is to be included. [optional]
4166
+ limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
4167
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
4168
+ page_size (int): The maximum number of items you would like to receive in this request. [optional]
3276
4169
  _return_http_data_only (bool): response data without head status
3277
4170
  code and headers. Default is True.
3278
4171
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3305,7 +4198,7 @@ class CampaignApi(object):
3305
4198
  async_req (bool): execute request asynchronously
3306
4199
 
3307
4200
  Returns:
3308
- CpcRateCardPreviewResponse
4201
+ PreferredLineItemV2PagedListResponse
3309
4202
  If the method is called asynchronously, returns the request
3310
4203
  thread.
3311
4204
  """
@@ -3334,26 +4227,26 @@ class CampaignApi(object):
3334
4227
  '_content_type')
3335
4228
  kwargs['_host_index'] = kwargs.get('_host_index')
3336
4229
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3337
- kwargs['retailer_id'] = \
3338
- retailer_id
3339
- return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4230
+ kwargs['campaign_id'] = \
4231
+ campaign_id
4232
+ return self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
3340
4233
 
3341
- def get_api_v1_external_retailer_placements_by_retailer_id(
4234
+ def get_api_v2_external_preferred_line_item_by_line_item_id(
3342
4235
  self,
3343
- retailer_id,
4236
+ line_item_id,
3344
4237
  **kwargs
3345
4238
  ):
3346
- """get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
4239
+ """get_api_v2_external_preferred_line_item_by_line_item_id # noqa: E501
3347
4240
 
3348
- Gets all placement information for the given retailer # noqa: E501
4241
+ Gets the preferred line item for the given line item id # noqa: E501
3349
4242
  This method makes a synchronous HTTP request by default. To make an
3350
4243
  asynchronous HTTP request, please pass async_req=True
3351
4244
 
3352
- >>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
4245
+ >>> thread = api.get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
3353
4246
  >>> result = thread.get()
3354
4247
 
3355
4248
  Args:
3356
- retailer_id (str): The retailer id for which placements should be fetched.
4249
+ line_item_id (str): The given line item id
3357
4250
 
3358
4251
  Keyword Args:
3359
4252
  _return_http_data_only (bool): response data without head status
@@ -3388,7 +4281,7 @@ class CampaignApi(object):
3388
4281
  async_req (bool): execute request asynchronously
3389
4282
 
3390
4283
  Returns:
3391
- PlacementPreviewListResponse
4284
+ PreferredLineItemV2Response
3392
4285
  If the method is called asynchronously, returns the request
3393
4286
  thread.
3394
4287
  """
@@ -3417,28 +4310,26 @@ class CampaignApi(object):
3417
4310
  '_content_type')
3418
4311
  kwargs['_host_index'] = kwargs.get('_host_index')
3419
4312
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3420
- kwargs['retailer_id'] = \
3421
- retailer_id
3422
- return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
4313
+ kwargs['line_item_id'] = \
4314
+ line_item_id
4315
+ return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3423
4316
 
3424
- def get_api_v2_external_account_by_account_id_creativescreative_id(
4317
+ def get_auction_line_item_v2(
3425
4318
  self,
3426
- account_id,
3427
- creative_id,
4319
+ line_item_id,
3428
4320
  **kwargs
3429
4321
  ):
3430
- """get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
4322
+ """get_auction_line_item_v2 # noqa: E501
3431
4323
 
3432
- Get the specified creative # noqa: E501
4324
+ Gets a sponsored product line item by its id. # noqa: E501
3433
4325
  This method makes a synchronous HTTP request by default. To make an
3434
4326
  asynchronous HTTP request, please pass async_req=True
3435
4327
 
3436
- >>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
4328
+ >>> thread = api.get_auction_line_item_v2(line_item_id, async_req=True)
3437
4329
  >>> result = thread.get()
3438
4330
 
3439
4331
  Args:
3440
- account_id (str): External account id to retrieve creatives for
3441
- creative_id (str): Creative to get
4332
+ line_item_id (str): The id of the line item
3442
4333
 
3443
4334
  Keyword Args:
3444
4335
  _return_http_data_only (bool): response data without head status
@@ -3473,7 +4364,7 @@ class CampaignApi(object):
3473
4364
  async_req (bool): execute request asynchronously
3474
4365
 
3475
4366
  Returns:
3476
- Creative2Response
4367
+ EntityResourceOutcomeOfSponsoredProductsLineItem
3477
4368
  If the method is called asynchronously, returns the request
3478
4369
  thread.
3479
4370
  """
@@ -3502,33 +4393,31 @@ class CampaignApi(object):
3502
4393
  '_content_type')
3503
4394
  kwargs['_host_index'] = kwargs.get('_host_index')
3504
4395
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3505
- kwargs['account_id'] = \
3506
- account_id
3507
- kwargs['creative_id'] = \
3508
- creative_id
3509
- return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
4396
+ kwargs['line_item_id'] = \
4397
+ line_item_id
4398
+ return self.get_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
3510
4399
 
3511
- def get_api_v2_external_campaign_preferred_line_items_by_campaign_id(
4400
+ def get_auction_line_items_by_campaign_id_v2(
3512
4401
  self,
3513
4402
  campaign_id,
3514
4403
  **kwargs
3515
4404
  ):
3516
- """get_api_v2_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
4405
+ """get_auction_line_items_by_campaign_id_v2 # noqa: E501
3517
4406
 
3518
- Gets page of preferred line item objects for the given campaign id # noqa: E501
4407
+ Gets a page of sponsored product line items by campaign id. # noqa: E501
3519
4408
  This method makes a synchronous HTTP request by default. To make an
3520
4409
  asynchronous HTTP request, please pass async_req=True
3521
4410
 
3522
- >>> thread = api.get_api_v2_external_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
4411
+ >>> thread = api.get_auction_line_items_by_campaign_id_v2(campaign_id, async_req=True)
3523
4412
  >>> result = thread.get()
3524
4413
 
3525
4414
  Args:
3526
- campaign_id (str): The given campaign id
4415
+ campaign_id (str): The id of the campaign
3527
4416
 
3528
4417
  Keyword Args:
3529
4418
  limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
3530
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
3531
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
4419
+ page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
4420
+ page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
3532
4421
  _return_http_data_only (bool): response data without head status
3533
4422
  code and headers. Default is True.
3534
4423
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3561,7 +4450,7 @@ class CampaignApi(object):
3561
4450
  async_req (bool): execute request asynchronously
3562
4451
 
3563
4452
  Returns:
3564
- PreferredLineItemV2PagedListResponse
4453
+ PageOfSponsoredProductsLineItem
3565
4454
  If the method is called asynchronously, returns the request
3566
4455
  thread.
3567
4456
  """
@@ -3592,26 +4481,27 @@ class CampaignApi(object):
3592
4481
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3593
4482
  kwargs['campaign_id'] = \
3594
4483
  campaign_id
3595
- return self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4484
+ return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
3596
4485
 
3597
- def get_api_v2_external_preferred_line_item_by_line_item_id(
4486
+ def get_cpc_min_bids_by_sku_ids_v1(
3598
4487
  self,
3599
- line_item_id,
4488
+ retailer_id,
3600
4489
  **kwargs
3601
4490
  ):
3602
- """get_api_v2_external_preferred_line_item_by_line_item_id # noqa: E501
4491
+ """get_cpc_min_bids_by_sku_ids_v1 # noqa: E501
3603
4492
 
3604
- Gets the preferred line item for the given line item id # noqa: E501
4493
+ Get overall and individual minimum bid amount for given retailer id and sku id list. # noqa: E501
3605
4494
  This method makes a synchronous HTTP request by default. To make an
3606
4495
  asynchronous HTTP request, please pass async_req=True
3607
4496
 
3608
- >>> thread = api.get_api_v2_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
4497
+ >>> thread = api.get_cpc_min_bids_by_sku_ids_v1(retailer_id, async_req=True)
3609
4498
  >>> result = thread.get()
3610
4499
 
3611
4500
  Args:
3612
- line_item_id (str): The given line item id
4501
+ retailer_id (int): Retailer Id.
3613
4502
 
3614
4503
  Keyword Args:
4504
+ value_resource_input_cpc_min_bids_request (ValueResourceInputCpcMinBidsRequest): Cpc minimum bid amount request object.. [optional]
3615
4505
  _return_http_data_only (bool): response data without head status
3616
4506
  code and headers. Default is True.
3617
4507
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3644,7 +4534,7 @@ class CampaignApi(object):
3644
4534
  async_req (bool): execute request asynchronously
3645
4535
 
3646
4536
  Returns:
3647
- PreferredLineItemV2Response
4537
+ ValueResourceOutcomeCpcMinBidsResponse
3648
4538
  If the method is called asynchronously, returns the request
3649
4539
  thread.
3650
4540
  """
@@ -3673,29 +4563,29 @@ class CampaignApi(object):
3673
4563
  '_content_type')
3674
4564
  kwargs['_host_index'] = kwargs.get('_host_index')
3675
4565
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3676
- kwargs['line_item_id'] = \
3677
- line_item_id
3678
- return self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4566
+ kwargs['retailer_id'] = \
4567
+ retailer_id
4568
+ return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
3679
4569
 
3680
- def get_cpc_min_bids_by_sku_ids_v1(
4570
+ def get_recommended_categories(
3681
4571
  self,
3682
4572
  retailer_id,
3683
4573
  **kwargs
3684
4574
  ):
3685
- """get_cpc_min_bids_by_sku_ids_v1 # noqa: E501
4575
+ """get_recommended_categories # noqa: E501
3686
4576
 
3687
- Get overall and individual minimum bid amount for given retailer id and sku id list. # noqa: E501
4577
+ Endpoint to get recommended categories by given retailer id and sku id list. # noqa: E501
3688
4578
  This method makes a synchronous HTTP request by default. To make an
3689
4579
  asynchronous HTTP request, please pass async_req=True
3690
4580
 
3691
- >>> thread = api.get_cpc_min_bids_by_sku_ids_v1(retailer_id, async_req=True)
4581
+ >>> thread = api.get_recommended_categories(retailer_id, async_req=True)
3692
4582
  >>> result = thread.get()
3693
4583
 
3694
4584
  Args:
3695
- retailer_id (int): Retailer Id.
4585
+ retailer_id (int): Retailer id.
3696
4586
 
3697
4587
  Keyword Args:
3698
- value_resource_input_cpc_min_bids_request (ValueResourceInputCpcMinBidsRequest): Cpc minimum bid amount request object.. [optional]
4588
+ value_resource_input_recommended_categories_request_v1 (ValueResourceInputRecommendedCategoriesRequestV1): Request of recommended categories.. [optional]
3699
4589
  _return_http_data_only (bool): response data without head status
3700
4590
  code and headers. Default is True.
3701
4591
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -3728,7 +4618,7 @@ class CampaignApi(object):
3728
4618
  async_req (bool): execute request asynchronously
3729
4619
 
3730
4620
  Returns:
3731
- ValueResourceOutcomeCpcMinBidsResponse
4621
+ EntityResourceCollectionOutcomeCategory202204
3732
4622
  If the method is called asynchronously, returns the request
3733
4623
  thread.
3734
4624
  """
@@ -3759,7 +4649,7 @@ class CampaignApi(object):
3759
4649
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3760
4650
  kwargs['retailer_id'] = \
3761
4651
  retailer_id
3762
- return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
4652
+ return self.get_recommended_categories_endpoint.call_with_http_info(**kwargs)
3763
4653
 
3764
4654
  def in_review_report_v1(
3765
4655
  self,
@@ -5039,6 +5929,90 @@ class CampaignApi(object):
5039
5929
  creative_id
5040
5930
  return self.put_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
5041
5931
 
5932
+ def recommended_keywords(
5933
+ self,
5934
+ retailer_id,
5935
+ **kwargs
5936
+ ):
5937
+ """recommended_keywords # noqa: E501
5938
+
5939
+ Recommend keywords by given retailer id and sku ids. # noqa: E501
5940
+ This method makes a synchronous HTTP request by default. To make an
5941
+ asynchronous HTTP request, please pass async_req=True
5942
+
5943
+ >>> thread = api.recommended_keywords(retailer_id, async_req=True)
5944
+ >>> result = thread.get()
5945
+
5946
+ Args:
5947
+ retailer_id (int): Retailer id.
5948
+
5949
+ Keyword Args:
5950
+ value_resource_input_recommended_keywords_request_v1 (ValueResourceInputRecommendedKeywordsRequestV1): Request of recommended keywords.. [optional]
5951
+ _return_http_data_only (bool): response data without head status
5952
+ code and headers. Default is True.
5953
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
5954
+ will be returned without reading/decoding response data.
5955
+ Default is True.
5956
+ _request_timeout (int/float/tuple): timeout setting for this request. If
5957
+ one number provided, it will be total request timeout. It can also
5958
+ be a pair (tuple) of (connection, read) timeouts.
5959
+ Default is None.
5960
+ _check_input_type (bool): specifies if type checking
5961
+ should be done one the data sent to the server.
5962
+ Default is True.
5963
+ _check_return_type (bool): specifies if type checking
5964
+ should be done one the data received from the server.
5965
+ Default is True.
5966
+ _spec_property_naming (bool): True if the variable names in the input data
5967
+ are serialized names, as specified in the OpenAPI document.
5968
+ False if the variable names in the input data
5969
+ are pythonic names, e.g. snake case (default)
5970
+ _content_type (str/None): force body content-type.
5971
+ Default is None and content-type will be predicted by allowed
5972
+ content-types and body.
5973
+ _host_index (int/None): specifies the index of the server
5974
+ that we want to use.
5975
+ Default is read from the configuration.
5976
+ _request_auths (list): set to override the auth_settings for an a single
5977
+ request; this effectively ignores the authentication
5978
+ in the spec for a single request.
5979
+ Default is None
5980
+ async_req (bool): execute request asynchronously
5981
+
5982
+ Returns:
5983
+ ValueResourceOutcomeRecommendedKeywordsResponseV1
5984
+ If the method is called asynchronously, returns the request
5985
+ thread.
5986
+ """
5987
+ kwargs['async_req'] = kwargs.get(
5988
+ 'async_req', False
5989
+ )
5990
+ kwargs['_return_http_data_only'] = kwargs.get(
5991
+ '_return_http_data_only', True
5992
+ )
5993
+ kwargs['_preload_content'] = kwargs.get(
5994
+ '_preload_content', True
5995
+ )
5996
+ kwargs['_request_timeout'] = kwargs.get(
5997
+ '_request_timeout', None
5998
+ )
5999
+ kwargs['_check_input_type'] = kwargs.get(
6000
+ '_check_input_type', True
6001
+ )
6002
+ kwargs['_check_return_type'] = kwargs.get(
6003
+ '_check_return_type', True
6004
+ )
6005
+ kwargs['_spec_property_naming'] = kwargs.get(
6006
+ '_spec_property_naming', False
6007
+ )
6008
+ kwargs['_content_type'] = kwargs.get(
6009
+ '_content_type')
6010
+ kwargs['_host_index'] = kwargs.get('_host_index')
6011
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6012
+ kwargs['retailer_id'] = \
6013
+ retailer_id
6014
+ return self.recommended_keywords_endpoint.call_with_http_info(**kwargs)
6015
+
5042
6016
  def search_brands_by_name_async_v1(
5043
6017
  self,
5044
6018
  **kwargs
@@ -5288,6 +6262,90 @@ class CampaignApi(object):
5288
6262
  line_item_id
5289
6263
  return self.unpause_promoted_products_endpoint.call_with_http_info(**kwargs)
5290
6264
 
6265
+ def update_auction_line_item_v2(
6266
+ self,
6267
+ line_item_id,
6268
+ **kwargs
6269
+ ):
6270
+ """update_auction_line_item_v2 # noqa: E501
6271
+
6272
+ Updates a Sponsored Products Line Item given a line item id and a request. # noqa: E501
6273
+ This method makes a synchronous HTTP request by default. To make an
6274
+ asynchronous HTTP request, please pass async_req=True
6275
+
6276
+ >>> thread = api.update_auction_line_item_v2(line_item_id, async_req=True)
6277
+ >>> result = thread.get()
6278
+
6279
+ Args:
6280
+ line_item_id (str): The line item ID of the sponsored products line item.
6281
+
6282
+ Keyword Args:
6283
+ value_resource_input_of_sponsored_products_line_item_update_request_model (ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel): An update request containing all details of the requested update.. [optional]
6284
+ _return_http_data_only (bool): response data without head status
6285
+ code and headers. Default is True.
6286
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
6287
+ will be returned without reading/decoding response data.
6288
+ Default is True.
6289
+ _request_timeout (int/float/tuple): timeout setting for this request. If
6290
+ one number provided, it will be total request timeout. It can also
6291
+ be a pair (tuple) of (connection, read) timeouts.
6292
+ Default is None.
6293
+ _check_input_type (bool): specifies if type checking
6294
+ should be done one the data sent to the server.
6295
+ Default is True.
6296
+ _check_return_type (bool): specifies if type checking
6297
+ should be done one the data received from the server.
6298
+ Default is True.
6299
+ _spec_property_naming (bool): True if the variable names in the input data
6300
+ are serialized names, as specified in the OpenAPI document.
6301
+ False if the variable names in the input data
6302
+ are pythonic names, e.g. snake case (default)
6303
+ _content_type (str/None): force body content-type.
6304
+ Default is None and content-type will be predicted by allowed
6305
+ content-types and body.
6306
+ _host_index (int/None): specifies the index of the server
6307
+ that we want to use.
6308
+ Default is read from the configuration.
6309
+ _request_auths (list): set to override the auth_settings for an a single
6310
+ request; this effectively ignores the authentication
6311
+ in the spec for a single request.
6312
+ Default is None
6313
+ async_req (bool): execute request asynchronously
6314
+
6315
+ Returns:
6316
+ EntityResourceOutcomeOfSponsoredProductsLineItem
6317
+ If the method is called asynchronously, returns the request
6318
+ thread.
6319
+ """
6320
+ kwargs['async_req'] = kwargs.get(
6321
+ 'async_req', False
6322
+ )
6323
+ kwargs['_return_http_data_only'] = kwargs.get(
6324
+ '_return_http_data_only', True
6325
+ )
6326
+ kwargs['_preload_content'] = kwargs.get(
6327
+ '_preload_content', True
6328
+ )
6329
+ kwargs['_request_timeout'] = kwargs.get(
6330
+ '_request_timeout', None
6331
+ )
6332
+ kwargs['_check_input_type'] = kwargs.get(
6333
+ '_check_input_type', True
6334
+ )
6335
+ kwargs['_check_return_type'] = kwargs.get(
6336
+ '_check_return_type', True
6337
+ )
6338
+ kwargs['_spec_property_naming'] = kwargs.get(
6339
+ '_spec_property_naming', False
6340
+ )
6341
+ kwargs['_content_type'] = kwargs.get(
6342
+ '_content_type')
6343
+ kwargs['_host_index'] = kwargs.get('_host_index')
6344
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6345
+ kwargs['line_item_id'] = \
6346
+ line_item_id
6347
+ return self.update_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
6348
+
5291
6349
  def update_keyword_reviews_v1(
5292
6350
  self,
5293
6351
  line_item_id,