criteo-api-retailmedia-sdk 2024.4.0.250425__py3-none-any.whl → 2024.4.0.250618__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 (36) hide show
  1. {criteo_api_retailmedia_sdk-2024.4.0.250425.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250618.dist-info}/METADATA +3 -3
  2. {criteo_api_retailmedia_sdk-2024.4.0.250425.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250618.dist-info}/RECORD +12 -36
  3. {criteo_api_retailmedia_sdk-2024.4.0.250425.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250618.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2024_04/__init__.py +1 -1
  5. criteo_api_retailmedia_v2024_04/api/balance_api.py +10 -913
  6. criteo_api_retailmedia_v2024_04/api/campaign_api.py +102 -988
  7. criteo_api_retailmedia_v2024_04/api_client.py +1 -1
  8. criteo_api_retailmedia_v2024_04/configuration.py +1 -1
  9. criteo_api_retailmedia_v2024_04/model/external_common_line_item.py +4 -0
  10. criteo_api_retailmedia_v2024_04/model/external_line_item_page202110.py +3 -3
  11. criteo_api_retailmedia_v2024_04/models/__init__.py +0 -24
  12. criteo_api_retailmedia_v2024_04/model/add_funds_to_balance_request.py +0 -269
  13. criteo_api_retailmedia_v2024_04/model/balance_response.py +0 -281
  14. criteo_api_retailmedia_v2024_04/model/balance_response_paged_list_response.py +0 -287
  15. criteo_api_retailmedia_v2024_04/model/change_dates_of_balance_request.py +0 -269
  16. criteo_api_retailmedia_v2024_04/model/change_details.py +0 -275
  17. criteo_api_retailmedia_v2024_04/model/create_balance_request.py +0 -269
  18. criteo_api_retailmedia_v2024_04/model/external_add_funds_to_balance.py +0 -279
  19. criteo_api_retailmedia_v2024_04/model/external_balance_response.py +0 -375
  20. criteo_api_retailmedia_v2024_04/model/external_change_dates_of_balance.py +0 -281
  21. criteo_api_retailmedia_v2024_04/model/external_create_balance.py +0 -314
  22. criteo_api_retailmedia_v2024_04/model/external_promoted_product202110.py +0 -263
  23. criteo_api_retailmedia_v2024_04/model/external_update_balance_model.py +0 -283
  24. criteo_api_retailmedia_v2024_04/model/insertion_order_history_change_data_capture.py +0 -303
  25. criteo_api_retailmedia_v2024_04/model/metadata.py +0 -273
  26. criteo_api_retailmedia_v2024_04/model/page_of_insertion_order_history_change_data_capture.py +0 -276
  27. criteo_api_retailmedia_v2024_04/model/promoted_product202110_list_request.py +0 -269
  28. criteo_api_retailmedia_v2024_04/model/promoted_product202110_paged_list_response.py +0 -287
  29. criteo_api_retailmedia_v2024_04/model/resource_of_add_funds_to_balance.py +0 -277
  30. criteo_api_retailmedia_v2024_04/model/resource_of_balance_response.py +0 -277
  31. criteo_api_retailmedia_v2024_04/model/resource_of_change_dates_of_balance.py +0 -277
  32. criteo_api_retailmedia_v2024_04/model/resource_of_create_balance.py +0 -277
  33. criteo_api_retailmedia_v2024_04/model/resource_of_promoted_product202110.py +0 -277
  34. criteo_api_retailmedia_v2024_04/model/resource_of_update_balance_model.py +0 -277
  35. criteo_api_retailmedia_v2024_04/model/update_balance_model_request.py +0 -269
  36. {criteo_api_retailmedia_sdk-2024.4.0.250425.dist-info → criteo_api_retailmedia_sdk-2024.4.0.250618.dist-info}/top_level.txt +0 -0
@@ -57,14 +57,11 @@ from criteo_api_retailmedia_v2024_04.model.keyword_target202110_response import
57
57
  from criteo_api_retailmedia_v2024_04.model.keywords_model_response import KeywordsModelResponse
58
58
  from criteo_api_retailmedia_v2024_04.model.line_item_bid_multipliers_request import LineItemBidMultipliersRequest
59
59
  from criteo_api_retailmedia_v2024_04.model.line_item_bid_multipliers_response import LineItemBidMultipliersResponse
60
- from criteo_api_retailmedia_v2024_04.model.page_of_insertion_order_history_change_data_capture import PageOfInsertionOrderHistoryChangeDataCapture
61
60
  from criteo_api_retailmedia_v2024_04.model.post_campaign_v202301 import PostCampaignV202301
62
61
  from criteo_api_retailmedia_v2024_04.model.preferred_line_item202110_paged_list_response import PreferredLineItem202110PagedListResponse
63
62
  from criteo_api_retailmedia_v2024_04.model.preferred_line_item202110_response import PreferredLineItem202110Response
64
63
  from criteo_api_retailmedia_v2024_04.model.preferred_line_item_create_model202110_request import PreferredLineItemCreateModel202110Request
65
64
  from criteo_api_retailmedia_v2024_04.model.preferred_line_item_update_model202110_request import PreferredLineItemUpdateModel202110Request
66
- from criteo_api_retailmedia_v2024_04.model.promoted_product202110_list_request import PromotedProduct202110ListRequest
67
- from criteo_api_retailmedia_v2024_04.model.promoted_product202110_paged_list_response import PromotedProduct202110PagedListResponse
68
65
  from criteo_api_retailmedia_v2024_04.model.put_campaign_v202301 import PutCampaignV202301
69
66
  from criteo_api_retailmedia_v2024_04.model.resource_outcome import ResourceOutcome
70
67
  from criteo_api_retailmedia_v2024_04.model.set_bids_model_request import SetBidsModelRequest
@@ -430,74 +427,6 @@ class CampaignApi(object):
430
427
  },
431
428
  api_client=api_client
432
429
  )
433
- self.get_api202110_external_line_item_products_by_line_item_id_endpoint = _Endpoint(
434
- settings={
435
- 'response_type': (PromotedProduct202110PagedListResponse,),
436
- 'auth': [
437
- 'oauth',
438
- 'oauth'
439
- ],
440
- 'endpoint_path': '/2024-04/retail-media/line-items/{line-item-id}/products',
441
- 'operation_id': 'get_api202110_external_line_item_products_by_line_item_id',
442
- 'http_method': 'GET',
443
- 'servers': None,
444
- },
445
- params_map={
446
- 'all': [
447
- 'line_item_id',
448
- 'limit_to_id',
449
- 'page_index',
450
- 'page_size',
451
- ],
452
- 'required': [
453
- 'line_item_id',
454
- ],
455
- 'nullable': [
456
- ],
457
- 'enum': [
458
- ],
459
- 'validation': [
460
- ]
461
- },
462
- root_map={
463
- 'validations': {
464
- },
465
- 'allowed_values': {
466
- },
467
- 'openapi_types': {
468
- 'line_item_id':
469
- (str,),
470
- 'limit_to_id':
471
- ([str],),
472
- 'page_index':
473
- (int,),
474
- 'page_size':
475
- (int,),
476
- },
477
- 'attribute_map': {
478
- 'line_item_id': 'line-item-id',
479
- 'limit_to_id': 'limitToId',
480
- 'page_index': 'pageIndex',
481
- 'page_size': 'pageSize',
482
- },
483
- 'location_map': {
484
- 'line_item_id': 'path',
485
- 'limit_to_id': 'query',
486
- 'page_index': 'query',
487
- 'page_size': 'query',
488
- },
489
- 'collection_format_map': {
490
- 'limit_to_id': 'multi',
491
- }
492
- },
493
- headers_map={
494
- 'accept': [
495
- 'application/json'
496
- ],
497
- 'content_type': [],
498
- },
499
- api_client=api_client
500
- )
501
430
  self.get_api202110_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
502
431
  settings={
503
432
  'response_type': (PreferredLineItem202110Response,),
@@ -1791,85 +1720,6 @@ class CampaignApi(object):
1791
1720
  },
1792
1721
  api_client=api_client
1793
1722
  )
1794
- self.get_insertion_order_history_change_data_capture_endpoint = _Endpoint(
1795
- settings={
1796
- 'response_type': (PageOfInsertionOrderHistoryChangeDataCapture,),
1797
- 'auth': [
1798
- 'oauth',
1799
- 'oauth'
1800
- ],
1801
- 'endpoint_path': '/2024-04/retail-media/insertion-order-history/{insertionOrderId}/change-data-capture',
1802
- 'operation_id': 'get_insertion_order_history_change_data_capture',
1803
- 'http_method': 'GET',
1804
- 'servers': None,
1805
- },
1806
- params_map={
1807
- 'all': [
1808
- 'insertion_order_id',
1809
- 'limit',
1810
- 'limit_to_change_types',
1811
- 'offset',
1812
- ],
1813
- 'required': [
1814
- 'insertion_order_id',
1815
- ],
1816
- 'nullable': [
1817
- ],
1818
- 'enum': [
1819
- ],
1820
- 'validation': [
1821
- 'limit',
1822
- 'offset',
1823
- ]
1824
- },
1825
- root_map={
1826
- 'validations': {
1827
- ('limit',): {
1828
-
1829
- 'inclusive_maximum': 100,
1830
- 'inclusive_minimum': 1,
1831
- },
1832
- ('offset',): {
1833
-
1834
- 'inclusive_maximum': 2147483647,
1835
- 'inclusive_minimum': 0,
1836
- },
1837
- },
1838
- 'allowed_values': {
1839
- },
1840
- 'openapi_types': {
1841
- 'insertion_order_id':
1842
- (str,),
1843
- 'limit':
1844
- (int,),
1845
- 'limit_to_change_types':
1846
- (str,),
1847
- 'offset':
1848
- (int,),
1849
- },
1850
- 'attribute_map': {
1851
- 'insertion_order_id': 'insertionOrderId',
1852
- 'limit': 'limit',
1853
- 'limit_to_change_types': 'limitToChangeTypes',
1854
- 'offset': 'offset',
1855
- },
1856
- 'location_map': {
1857
- 'insertion_order_id': 'path',
1858
- 'limit': 'query',
1859
- 'limit_to_change_types': 'query',
1860
- 'offset': 'query',
1861
- },
1862
- 'collection_format_map': {
1863
- }
1864
- },
1865
- headers_map={
1866
- 'accept': [
1867
- 'application/json'
1868
- ],
1869
- 'content_type': [],
1870
- },
1871
- api_client=api_client
1872
- )
1873
1723
  self.get_line_item_budget_overrides_endpoint = _Endpoint(
1874
1724
  settings={
1875
1725
  'response_type': (ValueResourceOutcomeOfLineItemBudgetOverrides,),
@@ -2212,22 +2062,22 @@ class CampaignApi(object):
2212
2062
  },
2213
2063
  api_client=api_client
2214
2064
  )
2215
- self.post_api202110_external_line_item_products_append_by_line_item_id_endpoint = _Endpoint(
2065
+ self.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id_endpoint = _Endpoint(
2216
2066
  settings={
2217
- 'response_type': (PromotedProduct202110PagedListResponse,),
2067
+ 'response_type': (AddToBasketTarget202110Response,),
2218
2068
  'auth': [
2219
2069
  'oauth',
2220
2070
  'oauth'
2221
2071
  ],
2222
- 'endpoint_path': '/2024-04/retail-media/line-items/{line-item-id}/products/append',
2223
- 'operation_id': 'post_api202110_external_line_item_products_append_by_line_item_id',
2072
+ 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append',
2073
+ 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id',
2224
2074
  'http_method': 'POST',
2225
2075
  'servers': None,
2226
2076
  },
2227
2077
  params_map={
2228
2078
  'all': [
2229
2079
  'line_item_id',
2230
- 'promoted_product202110_list_request',
2080
+ 'add_to_basket_ids_update_model202110_request',
2231
2081
  ],
2232
2082
  'required': [
2233
2083
  'line_item_id',
@@ -2247,15 +2097,15 @@ class CampaignApi(object):
2247
2097
  'openapi_types': {
2248
2098
  'line_item_id':
2249
2099
  (str,),
2250
- 'promoted_product202110_list_request':
2251
- (PromotedProduct202110ListRequest,),
2100
+ 'add_to_basket_ids_update_model202110_request':
2101
+ (AddToBasketIdsUpdateModel202110Request,),
2252
2102
  },
2253
2103
  'attribute_map': {
2254
2104
  'line_item_id': 'line-item-id',
2255
2105
  },
2256
2106
  'location_map': {
2257
2107
  'line_item_id': 'path',
2258
- 'promoted_product202110_list_request': 'body',
2108
+ 'add_to_basket_ids_update_model202110_request': 'body',
2259
2109
  },
2260
2110
  'collection_format_map': {
2261
2111
  }
@@ -2270,22 +2120,22 @@ class CampaignApi(object):
2270
2120
  },
2271
2121
  api_client=api_client
2272
2122
  )
2273
- self.post_api202110_external_line_item_products_delete_by_line_item_id_endpoint = _Endpoint(
2123
+ self.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id_endpoint = _Endpoint(
2274
2124
  settings={
2275
- 'response_type': (PromotedProduct202110PagedListResponse,),
2125
+ 'response_type': (AddToBasketTarget202110Response,),
2276
2126
  'auth': [
2277
2127
  'oauth',
2278
2128
  'oauth'
2279
2129
  ],
2280
- 'endpoint_path': '/2024-04/retail-media/line-items/{line-item-id}/products/delete',
2281
- 'operation_id': 'post_api202110_external_line_item_products_delete_by_line_item_id',
2130
+ 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/delete',
2131
+ 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id',
2282
2132
  'http_method': 'POST',
2283
2133
  'servers': None,
2284
2134
  },
2285
2135
  params_map={
2286
2136
  'all': [
2287
2137
  'line_item_id',
2288
- 'promoted_product202110_list_request',
2138
+ 'add_to_basket_ids_update_model202110_request',
2289
2139
  ],
2290
2140
  'required': [
2291
2141
  'line_item_id',
@@ -2305,15 +2155,15 @@ class CampaignApi(object):
2305
2155
  'openapi_types': {
2306
2156
  'line_item_id':
2307
2157
  (str,),
2308
- 'promoted_product202110_list_request':
2309
- (PromotedProduct202110ListRequest,),
2158
+ 'add_to_basket_ids_update_model202110_request':
2159
+ (AddToBasketIdsUpdateModel202110Request,),
2310
2160
  },
2311
2161
  'attribute_map': {
2312
2162
  'line_item_id': 'line-item-id',
2313
2163
  },
2314
2164
  'location_map': {
2315
2165
  'line_item_id': 'path',
2316
- 'promoted_product202110_list_request': 'body',
2166
+ 'add_to_basket_ids_update_model202110_request': 'body',
2317
2167
  },
2318
2168
  'collection_format_map': {
2319
2169
  }
@@ -2328,22 +2178,22 @@ class CampaignApi(object):
2328
2178
  },
2329
2179
  api_client=api_client
2330
2180
  )
2331
- self.post_api202110_external_line_item_products_pause_by_line_item_id_endpoint = _Endpoint(
2181
+ self.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id_endpoint = _Endpoint(
2332
2182
  settings={
2333
- 'response_type': None,
2183
+ 'response_type': (AudienceTarget202110Response,),
2334
2184
  'auth': [
2335
2185
  'oauth',
2336
2186
  'oauth'
2337
2187
  ],
2338
- 'endpoint_path': '/2024-04/retail-media/line-items/{line-item-id}/products/pause',
2339
- 'operation_id': 'post_api202110_external_line_item_products_pause_by_line_item_id',
2188
+ 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/append',
2189
+ 'operation_id': 'post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id',
2340
2190
  'http_method': 'POST',
2341
2191
  'servers': None,
2342
2192
  },
2343
2193
  params_map={
2344
2194
  'all': [
2345
2195
  'line_item_id',
2346
- 'promoted_product202110_list_request',
2196
+ 'audience_ids_update_model202110_request',
2347
2197
  ],
2348
2198
  'required': [
2349
2199
  'line_item_id',
@@ -2363,43 +2213,45 @@ class CampaignApi(object):
2363
2213
  'openapi_types': {
2364
2214
  'line_item_id':
2365
2215
  (str,),
2366
- 'promoted_product202110_list_request':
2367
- (PromotedProduct202110ListRequest,),
2216
+ 'audience_ids_update_model202110_request':
2217
+ (AudienceIdsUpdateModel202110Request,),
2368
2218
  },
2369
2219
  'attribute_map': {
2370
2220
  'line_item_id': 'line-item-id',
2371
2221
  },
2372
2222
  'location_map': {
2373
2223
  'line_item_id': 'path',
2374
- 'promoted_product202110_list_request': 'body',
2224
+ 'audience_ids_update_model202110_request': 'body',
2375
2225
  },
2376
2226
  'collection_format_map': {
2377
2227
  }
2378
2228
  },
2379
2229
  headers_map={
2380
- 'accept': [],
2230
+ 'accept': [
2231
+ 'application/json'
2232
+ ],
2381
2233
  'content_type': [
2382
2234
  'application/json'
2383
2235
  ]
2384
2236
  },
2385
2237
  api_client=api_client
2386
2238
  )
2387
- self.post_api202110_external_line_item_products_unpause_by_line_item_id_endpoint = _Endpoint(
2239
+ self.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id_endpoint = _Endpoint(
2388
2240
  settings={
2389
- 'response_type': None,
2241
+ 'response_type': (AudienceTarget202110Response,),
2390
2242
  'auth': [
2391
2243
  'oauth',
2392
2244
  'oauth'
2393
2245
  ],
2394
- 'endpoint_path': '/2024-04/retail-media/line-items/{line-item-id}/products/unpause',
2395
- 'operation_id': 'post_api202110_external_line_item_products_unpause_by_line_item_id',
2246
+ 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/delete',
2247
+ 'operation_id': 'post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id',
2396
2248
  'http_method': 'POST',
2397
2249
  'servers': None,
2398
2250
  },
2399
2251
  params_map={
2400
2252
  'all': [
2401
2253
  'line_item_id',
2402
- 'promoted_product202110_list_request',
2254
+ 'audience_ids_update_model202110_request',
2403
2255
  ],
2404
2256
  'required': [
2405
2257
  'line_item_id',
@@ -2419,43 +2271,45 @@ class CampaignApi(object):
2419
2271
  'openapi_types': {
2420
2272
  'line_item_id':
2421
2273
  (str,),
2422
- 'promoted_product202110_list_request':
2423
- (PromotedProduct202110ListRequest,),
2274
+ 'audience_ids_update_model202110_request':
2275
+ (AudienceIdsUpdateModel202110Request,),
2424
2276
  },
2425
2277
  'attribute_map': {
2426
2278
  'line_item_id': 'line-item-id',
2427
2279
  },
2428
2280
  'location_map': {
2429
2281
  'line_item_id': 'path',
2430
- 'promoted_product202110_list_request': 'body',
2282
+ 'audience_ids_update_model202110_request': 'body',
2431
2283
  },
2432
2284
  'collection_format_map': {
2433
2285
  }
2434
2286
  },
2435
2287
  headers_map={
2436
- 'accept': [],
2288
+ 'accept': [
2289
+ 'application/json'
2290
+ ],
2437
2291
  'content_type': [
2438
2292
  'application/json'
2439
2293
  ]
2440
2294
  },
2441
2295
  api_client=api_client
2442
2296
  )
2443
- self.post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id_endpoint = _Endpoint(
2297
+ self.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id_endpoint = _Endpoint(
2444
2298
  settings={
2445
- 'response_type': (AddToBasketTarget202110Response,),
2299
+ 'response_type': (StoreTarget202110Response,),
2446
2300
  'auth': [
2447
2301
  'oauth',
2448
2302
  'oauth'
2449
2303
  ],
2450
- 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/append',
2451
- 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id',
2304
+ 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append',
2305
+ 'operation_id': 'post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id',
2452
2306
  'http_method': 'POST',
2453
2307
  'servers': None,
2454
2308
  },
2455
2309
  params_map={
2456
2310
  'all': [
2457
2311
  'line_item_id',
2458
- 'add_to_basket_ids_update_model202110_request',
2312
+ 'store_ids_update_model202110_request',
2459
2313
  ],
2460
2314
  'required': [
2461
2315
  'line_item_id',
@@ -2475,15 +2329,15 @@ class CampaignApi(object):
2475
2329
  'openapi_types': {
2476
2330
  'line_item_id':
2477
2331
  (str,),
2478
- 'add_to_basket_ids_update_model202110_request':
2479
- (AddToBasketIdsUpdateModel202110Request,),
2332
+ 'store_ids_update_model202110_request':
2333
+ (StoreIdsUpdateModel202110Request,),
2480
2334
  },
2481
2335
  'attribute_map': {
2482
2336
  'line_item_id': 'line-item-id',
2483
2337
  },
2484
2338
  'location_map': {
2485
2339
  'line_item_id': 'path',
2486
- 'add_to_basket_ids_update_model202110_request': 'body',
2340
+ 'store_ids_update_model202110_request': 'body',
2487
2341
  },
2488
2342
  'collection_format_map': {
2489
2343
  }
@@ -2498,22 +2352,22 @@ class CampaignApi(object):
2498
2352
  },
2499
2353
  api_client=api_client
2500
2354
  )
2501
- self.post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id_endpoint = _Endpoint(
2355
+ self.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id_endpoint = _Endpoint(
2502
2356
  settings={
2503
- 'response_type': (AddToBasketTarget202110Response,),
2357
+ 'response_type': (StoreTarget202110Response,),
2504
2358
  'auth': [
2505
2359
  'oauth',
2506
2360
  'oauth'
2507
2361
  ],
2508
- 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket/delete',
2509
- 'operation_id': 'post_api202110_external_preferred_line_item_targeting_add_to_basket_delete_by_line_item_id',
2362
+ 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/stores/delete',
2363
+ 'operation_id': 'post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id',
2510
2364
  'http_method': 'POST',
2511
2365
  'servers': None,
2512
2366
  },
2513
2367
  params_map={
2514
2368
  'all': [
2515
2369
  'line_item_id',
2516
- 'add_to_basket_ids_update_model202110_request',
2370
+ 'store_ids_update_model202110_request',
2517
2371
  ],
2518
2372
  'required': [
2519
2373
  'line_item_id',
@@ -2533,15 +2387,15 @@ class CampaignApi(object):
2533
2387
  'openapi_types': {
2534
2388
  'line_item_id':
2535
2389
  (str,),
2536
- 'add_to_basket_ids_update_model202110_request':
2537
- (AddToBasketIdsUpdateModel202110Request,),
2390
+ 'store_ids_update_model202110_request':
2391
+ (StoreIdsUpdateModel202110Request,),
2538
2392
  },
2539
2393
  'attribute_map': {
2540
2394
  'line_item_id': 'line-item-id',
2541
2395
  },
2542
2396
  'location_map': {
2543
2397
  'line_item_id': 'path',
2544
- 'add_to_basket_ids_update_model202110_request': 'body',
2398
+ 'store_ids_update_model202110_request': 'body',
2545
2399
  },
2546
2400
  'collection_format_map': {
2547
2401
  }
@@ -2556,25 +2410,25 @@ class CampaignApi(object):
2556
2410
  },
2557
2411
  api_client=api_client
2558
2412
  )
2559
- self.post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id_endpoint = _Endpoint(
2413
+ self.post_api202210_external_account_creatives_by_account_id_endpoint = _Endpoint(
2560
2414
  settings={
2561
- 'response_type': (AudienceTarget202110Response,),
2415
+ 'response_type': (Creative202210Response,),
2562
2416
  'auth': [
2563
2417
  'oauth',
2564
2418
  'oauth'
2565
2419
  ],
2566
- 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/append',
2567
- 'operation_id': 'post_api202110_external_preferred_line_item_targeting_audiences_append_by_line_item_id',
2420
+ 'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/creatives',
2421
+ 'operation_id': 'post_api202210_external_account_creatives_by_account_id',
2568
2422
  'http_method': 'POST',
2569
2423
  'servers': None,
2570
2424
  },
2571
2425
  params_map={
2572
2426
  'all': [
2573
- 'line_item_id',
2574
- 'audience_ids_update_model202110_request',
2427
+ 'account_id',
2428
+ 'creative_create_model202207',
2575
2429
  ],
2576
2430
  'required': [
2577
- 'line_item_id',
2431
+ 'account_id',
2578
2432
  ],
2579
2433
  'nullable': [
2580
2434
  ],
@@ -2589,24 +2443,26 @@ class CampaignApi(object):
2589
2443
  'allowed_values': {
2590
2444
  },
2591
2445
  'openapi_types': {
2592
- 'line_item_id':
2446
+ 'account_id':
2593
2447
  (str,),
2594
- 'audience_ids_update_model202110_request':
2595
- (AudienceIdsUpdateModel202110Request,),
2448
+ 'creative_create_model202207':
2449
+ (CreativeCreateModel202207,),
2596
2450
  },
2597
2451
  'attribute_map': {
2598
- 'line_item_id': 'line-item-id',
2452
+ 'account_id': 'account-id',
2599
2453
  },
2600
2454
  'location_map': {
2601
- 'line_item_id': 'path',
2602
- 'audience_ids_update_model202110_request': 'body',
2455
+ 'account_id': 'path',
2456
+ 'creative_create_model202207': 'body',
2603
2457
  },
2604
2458
  'collection_format_map': {
2605
2459
  }
2606
2460
  },
2607
2461
  headers_map={
2608
2462
  'accept': [
2609
- 'application/json'
2463
+ 'text/plain',
2464
+ 'application/json',
2465
+ 'text/json'
2610
2466
  ],
2611
2467
  'content_type': [
2612
2468
  'application/json'
@@ -2614,25 +2470,25 @@ class CampaignApi(object):
2614
2470
  },
2615
2471
  api_client=api_client
2616
2472
  )
2617
- self.post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id_endpoint = _Endpoint(
2473
+ self.post_api202210_external_account_creatives_search_by_account_id_endpoint = _Endpoint(
2618
2474
  settings={
2619
- 'response_type': (AudienceTarget202110Response,),
2475
+ 'response_type': (Creative202210ListResponse,),
2620
2476
  'auth': [
2621
2477
  'oauth',
2622
2478
  'oauth'
2623
2479
  ],
2624
- 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/audiences/delete',
2625
- 'operation_id': 'post_api202110_external_preferred_line_item_targeting_audiences_delete_by_line_item_id',
2480
+ 'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/creatives/search',
2481
+ 'operation_id': 'post_api202210_external_account_creatives_search_by_account_id',
2626
2482
  'http_method': 'POST',
2627
2483
  'servers': None,
2628
2484
  },
2629
2485
  params_map={
2630
2486
  'all': [
2631
- 'line_item_id',
2632
- 'audience_ids_update_model202110_request',
2487
+ 'account_id',
2488
+ 'creative_ids',
2633
2489
  ],
2634
2490
  'required': [
2635
- 'line_item_id',
2491
+ 'account_id',
2636
2492
  ],
2637
2493
  'nullable': [
2638
2494
  ],
@@ -2647,268 +2503,34 @@ class CampaignApi(object):
2647
2503
  'allowed_values': {
2648
2504
  },
2649
2505
  'openapi_types': {
2650
- 'line_item_id':
2506
+ 'account_id':
2651
2507
  (str,),
2652
- 'audience_ids_update_model202110_request':
2653
- (AudienceIdsUpdateModel202110Request,),
2508
+ 'creative_ids':
2509
+ ([str],),
2654
2510
  },
2655
2511
  'attribute_map': {
2656
- 'line_item_id': 'line-item-id',
2512
+ 'account_id': 'account-id',
2513
+ 'creative_ids': 'creative-ids',
2657
2514
  },
2658
2515
  'location_map': {
2659
- 'line_item_id': 'path',
2660
- 'audience_ids_update_model202110_request': 'body',
2516
+ 'account_id': 'path',
2517
+ 'creative_ids': 'query',
2661
2518
  },
2662
2519
  'collection_format_map': {
2520
+ 'creative_ids': 'multi',
2663
2521
  }
2664
2522
  },
2665
2523
  headers_map={
2666
2524
  'accept': [
2667
- 'application/json'
2525
+ 'text/plain',
2526
+ 'application/json',
2527
+ 'text/json'
2668
2528
  ],
2669
- 'content_type': [
2670
- 'application/json'
2671
- ]
2529
+ 'content_type': [],
2672
2530
  },
2673
2531
  api_client=api_client
2674
2532
  )
2675
- self.post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id_endpoint = _Endpoint(
2676
- settings={
2677
- 'response_type': (StoreTarget202110Response,),
2678
- 'auth': [
2679
- 'oauth',
2680
- 'oauth'
2681
- ],
2682
- 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/stores/append',
2683
- 'operation_id': 'post_api202110_external_preferred_line_item_targeting_stores_append_by_line_item_id',
2684
- 'http_method': 'POST',
2685
- 'servers': None,
2686
- },
2687
- params_map={
2688
- 'all': [
2689
- 'line_item_id',
2690
- 'store_ids_update_model202110_request',
2691
- ],
2692
- 'required': [
2693
- 'line_item_id',
2694
- ],
2695
- 'nullable': [
2696
- ],
2697
- 'enum': [
2698
- ],
2699
- 'validation': [
2700
- ]
2701
- },
2702
- root_map={
2703
- 'validations': {
2704
- },
2705
- 'allowed_values': {
2706
- },
2707
- 'openapi_types': {
2708
- 'line_item_id':
2709
- (str,),
2710
- 'store_ids_update_model202110_request':
2711
- (StoreIdsUpdateModel202110Request,),
2712
- },
2713
- 'attribute_map': {
2714
- 'line_item_id': 'line-item-id',
2715
- },
2716
- 'location_map': {
2717
- 'line_item_id': 'path',
2718
- 'store_ids_update_model202110_request': 'body',
2719
- },
2720
- 'collection_format_map': {
2721
- }
2722
- },
2723
- headers_map={
2724
- 'accept': [
2725
- 'application/json'
2726
- ],
2727
- 'content_type': [
2728
- 'application/json'
2729
- ]
2730
- },
2731
- api_client=api_client
2732
- )
2733
- self.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id_endpoint = _Endpoint(
2734
- settings={
2735
- 'response_type': (StoreTarget202110Response,),
2736
- 'auth': [
2737
- 'oauth',
2738
- 'oauth'
2739
- ],
2740
- 'endpoint_path': '/2024-04/retail-media/preferred-line-items/{line-item-id}/targeting/stores/delete',
2741
- 'operation_id': 'post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id',
2742
- 'http_method': 'POST',
2743
- 'servers': None,
2744
- },
2745
- params_map={
2746
- 'all': [
2747
- 'line_item_id',
2748
- 'store_ids_update_model202110_request',
2749
- ],
2750
- 'required': [
2751
- 'line_item_id',
2752
- ],
2753
- 'nullable': [
2754
- ],
2755
- 'enum': [
2756
- ],
2757
- 'validation': [
2758
- ]
2759
- },
2760
- root_map={
2761
- 'validations': {
2762
- },
2763
- 'allowed_values': {
2764
- },
2765
- 'openapi_types': {
2766
- 'line_item_id':
2767
- (str,),
2768
- 'store_ids_update_model202110_request':
2769
- (StoreIdsUpdateModel202110Request,),
2770
- },
2771
- 'attribute_map': {
2772
- 'line_item_id': 'line-item-id',
2773
- },
2774
- 'location_map': {
2775
- 'line_item_id': 'path',
2776
- 'store_ids_update_model202110_request': 'body',
2777
- },
2778
- 'collection_format_map': {
2779
- }
2780
- },
2781
- headers_map={
2782
- 'accept': [
2783
- 'application/json'
2784
- ],
2785
- 'content_type': [
2786
- 'application/json'
2787
- ]
2788
- },
2789
- api_client=api_client
2790
- )
2791
- self.post_api202210_external_account_creatives_by_account_id_endpoint = _Endpoint(
2792
- settings={
2793
- 'response_type': (Creative202210Response,),
2794
- 'auth': [
2795
- 'oauth',
2796
- 'oauth'
2797
- ],
2798
- 'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/creatives',
2799
- 'operation_id': 'post_api202210_external_account_creatives_by_account_id',
2800
- 'http_method': 'POST',
2801
- 'servers': None,
2802
- },
2803
- params_map={
2804
- 'all': [
2805
- 'account_id',
2806
- 'creative_create_model202207',
2807
- ],
2808
- 'required': [
2809
- 'account_id',
2810
- ],
2811
- 'nullable': [
2812
- ],
2813
- 'enum': [
2814
- ],
2815
- 'validation': [
2816
- ]
2817
- },
2818
- root_map={
2819
- 'validations': {
2820
- },
2821
- 'allowed_values': {
2822
- },
2823
- 'openapi_types': {
2824
- 'account_id':
2825
- (str,),
2826
- 'creative_create_model202207':
2827
- (CreativeCreateModel202207,),
2828
- },
2829
- 'attribute_map': {
2830
- 'account_id': 'account-id',
2831
- },
2832
- 'location_map': {
2833
- 'account_id': 'path',
2834
- 'creative_create_model202207': 'body',
2835
- },
2836
- 'collection_format_map': {
2837
- }
2838
- },
2839
- headers_map={
2840
- 'accept': [
2841
- 'text/plain',
2842
- 'application/json',
2843
- 'text/json'
2844
- ],
2845
- 'content_type': [
2846
- 'application/json'
2847
- ]
2848
- },
2849
- api_client=api_client
2850
- )
2851
- self.post_api202210_external_account_creatives_search_by_account_id_endpoint = _Endpoint(
2852
- settings={
2853
- 'response_type': (Creative202210ListResponse,),
2854
- 'auth': [
2855
- 'oauth',
2856
- 'oauth'
2857
- ],
2858
- 'endpoint_path': '/2024-04/retail-media/accounts/{account-id}/creatives/search',
2859
- 'operation_id': 'post_api202210_external_account_creatives_search_by_account_id',
2860
- 'http_method': 'POST',
2861
- 'servers': None,
2862
- },
2863
- params_map={
2864
- 'all': [
2865
- 'account_id',
2866
- 'creative_ids',
2867
- ],
2868
- 'required': [
2869
- 'account_id',
2870
- ],
2871
- 'nullable': [
2872
- ],
2873
- 'enum': [
2874
- ],
2875
- 'validation': [
2876
- ]
2877
- },
2878
- root_map={
2879
- 'validations': {
2880
- },
2881
- 'allowed_values': {
2882
- },
2883
- 'openapi_types': {
2884
- 'account_id':
2885
- (str,),
2886
- 'creative_ids':
2887
- ([str],),
2888
- },
2889
- 'attribute_map': {
2890
- 'account_id': 'account-id',
2891
- 'creative_ids': 'creative-ids',
2892
- },
2893
- 'location_map': {
2894
- 'account_id': 'path',
2895
- 'creative_ids': 'query',
2896
- },
2897
- 'collection_format_map': {
2898
- 'creative_ids': 'multi',
2899
- }
2900
- },
2901
- headers_map={
2902
- 'accept': [
2903
- 'text/plain',
2904
- 'application/json',
2905
- 'text/json'
2906
- ],
2907
- 'content_type': [],
2908
- },
2909
- api_client=api_client
2910
- )
2911
- self.post_api202301_external_account_campaigns_by_account_id_endpoint = _Endpoint(
2533
+ self.post_api202301_external_account_campaigns_by_account_id_endpoint = _Endpoint(
2912
2534
  settings={
2913
2535
  'response_type': (JsonApiSingleResponseOfCampaignV202301,),
2914
2536
  'auth': [
@@ -4239,27 +3861,24 @@ class CampaignApi(object):
4239
3861
  campaign_id
4240
3862
  return self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
4241
3863
 
4242
- def get_api202110_external_line_item_products_by_line_item_id(
3864
+ def get_api202110_external_preferred_line_item_by_line_item_id(
4243
3865
  self,
4244
3866
  line_item_id,
4245
3867
  **kwargs
4246
3868
  ):
4247
- """get_api202110_external_line_item_products_by_line_item_id # noqa: E501
3869
+ """get_api202110_external_preferred_line_item_by_line_item_id # noqa: E501
4248
3870
 
4249
- This endpoint gets the promoted products on the specified line item. # noqa: E501
3871
+ Gets the preferred line item for the given line item id # noqa: E501
4250
3872
  This method makes a synchronous HTTP request by default. To make an
4251
3873
  asynchronous HTTP request, please pass async_req=True
4252
3874
 
4253
- >>> thread = api.get_api202110_external_line_item_products_by_line_item_id(line_item_id, async_req=True)
3875
+ >>> thread = api.get_api202110_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
4254
3876
  >>> result = thread.get()
4255
3877
 
4256
3878
  Args:
4257
- line_item_id (str): The line item to interact with
3879
+ line_item_id (str): The given line item id
4258
3880
 
4259
3881
  Keyword Args:
4260
- limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
4261
- page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
4262
- page_size (int): The maximum number of items you would like to receive in this request. [optional]
4263
3882
  _return_http_data_only (bool): response data without head status
4264
3883
  code and headers. Default is True.
4265
3884
  _preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -4292,7 +3911,7 @@ class CampaignApi(object):
4292
3911
  async_req (bool): execute request asynchronously
4293
3912
 
4294
3913
  Returns:
4295
- PromotedProduct202110PagedListResponse
3914
+ PreferredLineItem202110Response
4296
3915
  If the method is called asynchronously, returns the request
4297
3916
  thread.
4298
3917
  """
@@ -4323,107 +3942,24 @@ class CampaignApi(object):
4323
3942
  kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4324
3943
  kwargs['line_item_id'] = \
4325
3944
  line_item_id
4326
- return self.get_api202110_external_line_item_products_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3945
+ return self.get_api202110_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4327
3946
 
4328
- def get_api202110_external_preferred_line_item_by_line_item_id(
3947
+ def get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(
4329
3948
  self,
4330
3949
  line_item_id,
4331
3950
  **kwargs
4332
3951
  ):
4333
- """get_api202110_external_preferred_line_item_by_line_item_id # noqa: E501
3952
+ """get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id # noqa: E501
4334
3953
 
4335
- Gets the preferred line item for the given line item id # noqa: E501
3954
+ This endpoint gets the add to basket target on the specified line item. # noqa: E501
4336
3955
  This method makes a synchronous HTTP request by default. To make an
4337
3956
  asynchronous HTTP request, please pass async_req=True
4338
3957
 
4339
- >>> thread = api.get_api202110_external_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
3958
+ >>> thread = api.get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id, async_req=True)
4340
3959
  >>> result = thread.get()
4341
3960
 
4342
3961
  Args:
4343
- line_item_id (str): The given line item id
4344
-
4345
- Keyword Args:
4346
- _return_http_data_only (bool): response data without head status
4347
- code and headers. Default is True.
4348
- _preload_content (bool): if False, the urllib3.HTTPResponse object
4349
- will be returned without reading/decoding response data.
4350
- Default is True.
4351
- _request_timeout (int/float/tuple): timeout setting for this request. If
4352
- one number provided, it will be total request timeout. It can also
4353
- be a pair (tuple) of (connection, read) timeouts.
4354
- Default is None.
4355
- _check_input_type (bool): specifies if type checking
4356
- should be done one the data sent to the server.
4357
- Default is True.
4358
- _check_return_type (bool): specifies if type checking
4359
- should be done one the data received from the server.
4360
- Default is True.
4361
- _spec_property_naming (bool): True if the variable names in the input data
4362
- are serialized names, as specified in the OpenAPI document.
4363
- False if the variable names in the input data
4364
- are pythonic names, e.g. snake case (default)
4365
- _content_type (str/None): force body content-type.
4366
- Default is None and content-type will be predicted by allowed
4367
- content-types and body.
4368
- _host_index (int/None): specifies the index of the server
4369
- that we want to use.
4370
- Default is read from the configuration.
4371
- _request_auths (list): set to override the auth_settings for an a single
4372
- request; this effectively ignores the authentication
4373
- in the spec for a single request.
4374
- Default is None
4375
- async_req (bool): execute request asynchronously
4376
-
4377
- Returns:
4378
- PreferredLineItem202110Response
4379
- If the method is called asynchronously, returns the request
4380
- thread.
4381
- """
4382
- kwargs['async_req'] = kwargs.get(
4383
- 'async_req', False
4384
- )
4385
- kwargs['_return_http_data_only'] = kwargs.get(
4386
- '_return_http_data_only', True
4387
- )
4388
- kwargs['_preload_content'] = kwargs.get(
4389
- '_preload_content', True
4390
- )
4391
- kwargs['_request_timeout'] = kwargs.get(
4392
- '_request_timeout', None
4393
- )
4394
- kwargs['_check_input_type'] = kwargs.get(
4395
- '_check_input_type', True
4396
- )
4397
- kwargs['_check_return_type'] = kwargs.get(
4398
- '_check_return_type', True
4399
- )
4400
- kwargs['_spec_property_naming'] = kwargs.get(
4401
- '_spec_property_naming', False
4402
- )
4403
- kwargs['_content_type'] = kwargs.get(
4404
- '_content_type')
4405
- kwargs['_host_index'] = kwargs.get('_host_index')
4406
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4407
- kwargs['line_item_id'] = \
4408
- line_item_id
4409
- return self.get_api202110_external_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
4410
-
4411
- def get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(
4412
- self,
4413
- line_item_id,
4414
- **kwargs
4415
- ):
4416
- """get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id # noqa: E501
4417
-
4418
- This endpoint gets the add to basket target on the specified line item. # noqa: E501
4419
- This method makes a synchronous HTTP request by default. To make an
4420
- asynchronous HTTP request, please pass async_req=True
4421
-
4422
- >>> thread = api.get_api202110_external_preferred_line_item_targeting_add_to_basket_by_line_item_id(line_item_id, async_req=True)
4423
- >>> result = thread.get()
4424
-
4425
- Args:
4426
- line_item_id (str): The line item to interact with
3962
+ line_item_id (str): The line item to interact with
4427
3963
 
4428
3964
  Keyword Args:
4429
3965
  _return_http_data_only (bool): response data without head status
@@ -6175,92 +5711,6 @@ class CampaignApi(object):
6175
5711
  campaign_id
6176
5712
  return self.get_campaign_budget_overrides_endpoint.call_with_http_info(**kwargs)
6177
5713
 
6178
- def get_insertion_order_history_change_data_capture(
6179
- self,
6180
- insertion_order_id,
6181
- **kwargs
6182
- ):
6183
- """get_insertion_order_history_change_data_capture # noqa: E501
6184
-
6185
- Gets the balance's historical data change capture. # noqa: E501
6186
- This method makes a synchronous HTTP request by default. To make an
6187
- asynchronous HTTP request, please pass async_req=True
6188
-
6189
- >>> thread = api.get_insertion_order_history_change_data_capture(insertion_order_id, async_req=True)
6190
- >>> result = thread.get()
6191
-
6192
- Args:
6193
- insertion_order_id (str): External insertion order id.
6194
-
6195
- Keyword Args:
6196
- limit (int): The number of elements to be returned.. [optional] if omitted the server will use the default value of 25
6197
- limit_to_change_types (str): Comma separated change types string that will be queried.. [optional]
6198
- offset (int): The (zero-based) starting offset in the collection.. [optional] if omitted the server will use the default value of 0
6199
- _return_http_data_only (bool): response data without head status
6200
- code and headers. Default is True.
6201
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6202
- will be returned without reading/decoding response data.
6203
- Default is True.
6204
- _request_timeout (int/float/tuple): timeout setting for this request. If
6205
- one number provided, it will be total request timeout. It can also
6206
- be a pair (tuple) of (connection, read) timeouts.
6207
- Default is None.
6208
- _check_input_type (bool): specifies if type checking
6209
- should be done one the data sent to the server.
6210
- Default is True.
6211
- _check_return_type (bool): specifies if type checking
6212
- should be done one the data received from the server.
6213
- Default is True.
6214
- _spec_property_naming (bool): True if the variable names in the input data
6215
- are serialized names, as specified in the OpenAPI document.
6216
- False if the variable names in the input data
6217
- are pythonic names, e.g. snake case (default)
6218
- _content_type (str/None): force body content-type.
6219
- Default is None and content-type will be predicted by allowed
6220
- content-types and body.
6221
- _host_index (int/None): specifies the index of the server
6222
- that we want to use.
6223
- Default is read from the configuration.
6224
- _request_auths (list): set to override the auth_settings for an a single
6225
- request; this effectively ignores the authentication
6226
- in the spec for a single request.
6227
- Default is None
6228
- async_req (bool): execute request asynchronously
6229
-
6230
- Returns:
6231
- PageOfInsertionOrderHistoryChangeDataCapture
6232
- If the method is called asynchronously, returns the request
6233
- thread.
6234
- """
6235
- kwargs['async_req'] = kwargs.get(
6236
- 'async_req', False
6237
- )
6238
- kwargs['_return_http_data_only'] = kwargs.get(
6239
- '_return_http_data_only', True
6240
- )
6241
- kwargs['_preload_content'] = kwargs.get(
6242
- '_preload_content', True
6243
- )
6244
- kwargs['_request_timeout'] = kwargs.get(
6245
- '_request_timeout', None
6246
- )
6247
- kwargs['_check_input_type'] = kwargs.get(
6248
- '_check_input_type', True
6249
- )
6250
- kwargs['_check_return_type'] = kwargs.get(
6251
- '_check_return_type', True
6252
- )
6253
- kwargs['_spec_property_naming'] = kwargs.get(
6254
- '_spec_property_naming', False
6255
- )
6256
- kwargs['_content_type'] = kwargs.get(
6257
- '_content_type')
6258
- kwargs['_host_index'] = kwargs.get('_host_index')
6259
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6260
- kwargs['insertion_order_id'] = \
6261
- insertion_order_id
6262
- return self.get_insertion_order_history_change_data_capture_endpoint.call_with_http_info(**kwargs)
6263
-
6264
5714
  def get_line_item_budget_overrides(
6265
5715
  self,
6266
5716
  line_item_id,
@@ -6764,342 +6214,6 @@ class CampaignApi(object):
6764
6214
  campaign_id
6765
6215
  return self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
6766
6216
 
6767
- def post_api202110_external_line_item_products_append_by_line_item_id(
6768
- self,
6769
- line_item_id,
6770
- **kwargs
6771
- ):
6772
- """post_api202110_external_line_item_products_append_by_line_item_id # noqa: E501
6773
-
6774
- This endpoint appends one or more products to promote on the specified line item. The resulting state of the line item is returned. # noqa: E501
6775
- This method makes a synchronous HTTP request by default. To make an
6776
- asynchronous HTTP request, please pass async_req=True
6777
-
6778
- >>> thread = api.post_api202110_external_line_item_products_append_by_line_item_id(line_item_id, async_req=True)
6779
- >>> result = thread.get()
6780
-
6781
- Args:
6782
- line_item_id (str): The line item to interact with
6783
-
6784
- Keyword Args:
6785
- promoted_product202110_list_request (PromotedProduct202110ListRequest): the products to append to this line item. [optional]
6786
- _return_http_data_only (bool): response data without head status
6787
- code and headers. Default is True.
6788
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6789
- will be returned without reading/decoding response data.
6790
- Default is True.
6791
- _request_timeout (int/float/tuple): timeout setting for this request. If
6792
- one number provided, it will be total request timeout. It can also
6793
- be a pair (tuple) of (connection, read) timeouts.
6794
- Default is None.
6795
- _check_input_type (bool): specifies if type checking
6796
- should be done one the data sent to the server.
6797
- Default is True.
6798
- _check_return_type (bool): specifies if type checking
6799
- should be done one the data received from the server.
6800
- Default is True.
6801
- _spec_property_naming (bool): True if the variable names in the input data
6802
- are serialized names, as specified in the OpenAPI document.
6803
- False if the variable names in the input data
6804
- are pythonic names, e.g. snake case (default)
6805
- _content_type (str/None): force body content-type.
6806
- Default is None and content-type will be predicted by allowed
6807
- content-types and body.
6808
- _host_index (int/None): specifies the index of the server
6809
- that we want to use.
6810
- Default is read from the configuration.
6811
- _request_auths (list): set to override the auth_settings for an a single
6812
- request; this effectively ignores the authentication
6813
- in the spec for a single request.
6814
- Default is None
6815
- async_req (bool): execute request asynchronously
6816
-
6817
- Returns:
6818
- PromotedProduct202110PagedListResponse
6819
- If the method is called asynchronously, returns the request
6820
- thread.
6821
- """
6822
- kwargs['async_req'] = kwargs.get(
6823
- 'async_req', False
6824
- )
6825
- kwargs['_return_http_data_only'] = kwargs.get(
6826
- '_return_http_data_only', True
6827
- )
6828
- kwargs['_preload_content'] = kwargs.get(
6829
- '_preload_content', True
6830
- )
6831
- kwargs['_request_timeout'] = kwargs.get(
6832
- '_request_timeout', None
6833
- )
6834
- kwargs['_check_input_type'] = kwargs.get(
6835
- '_check_input_type', True
6836
- )
6837
- kwargs['_check_return_type'] = kwargs.get(
6838
- '_check_return_type', True
6839
- )
6840
- kwargs['_spec_property_naming'] = kwargs.get(
6841
- '_spec_property_naming', False
6842
- )
6843
- kwargs['_content_type'] = kwargs.get(
6844
- '_content_type')
6845
- kwargs['_host_index'] = kwargs.get('_host_index')
6846
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6847
- kwargs['line_item_id'] = \
6848
- line_item_id
6849
- return self.post_api202110_external_line_item_products_append_by_line_item_id_endpoint.call_with_http_info(**kwargs)
6850
-
6851
- def post_api202110_external_line_item_products_delete_by_line_item_id(
6852
- self,
6853
- line_item_id,
6854
- **kwargs
6855
- ):
6856
- """post_api202110_external_line_item_products_delete_by_line_item_id # noqa: E501
6857
-
6858
- This endpoint removes one or more products from promotion on the specified line item. The resulting state of the line item is returned. # noqa: E501
6859
- This method makes a synchronous HTTP request by default. To make an
6860
- asynchronous HTTP request, please pass async_req=True
6861
-
6862
- >>> thread = api.post_api202110_external_line_item_products_delete_by_line_item_id(line_item_id, async_req=True)
6863
- >>> result = thread.get()
6864
-
6865
- Args:
6866
- line_item_id (str): The line item to interact with
6867
-
6868
- Keyword Args:
6869
- promoted_product202110_list_request (PromotedProduct202110ListRequest): . [optional]
6870
- _return_http_data_only (bool): response data without head status
6871
- code and headers. Default is True.
6872
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6873
- will be returned without reading/decoding response data.
6874
- Default is True.
6875
- _request_timeout (int/float/tuple): timeout setting for this request. If
6876
- one number provided, it will be total request timeout. It can also
6877
- be a pair (tuple) of (connection, read) timeouts.
6878
- Default is None.
6879
- _check_input_type (bool): specifies if type checking
6880
- should be done one the data sent to the server.
6881
- Default is True.
6882
- _check_return_type (bool): specifies if type checking
6883
- should be done one the data received from the server.
6884
- Default is True.
6885
- _spec_property_naming (bool): True if the variable names in the input data
6886
- are serialized names, as specified in the OpenAPI document.
6887
- False if the variable names in the input data
6888
- are pythonic names, e.g. snake case (default)
6889
- _content_type (str/None): force body content-type.
6890
- Default is None and content-type will be predicted by allowed
6891
- content-types and body.
6892
- _host_index (int/None): specifies the index of the server
6893
- that we want to use.
6894
- Default is read from the configuration.
6895
- _request_auths (list): set to override the auth_settings for an a single
6896
- request; this effectively ignores the authentication
6897
- in the spec for a single request.
6898
- Default is None
6899
- async_req (bool): execute request asynchronously
6900
-
6901
- Returns:
6902
- PromotedProduct202110PagedListResponse
6903
- If the method is called asynchronously, returns the request
6904
- thread.
6905
- """
6906
- kwargs['async_req'] = kwargs.get(
6907
- 'async_req', False
6908
- )
6909
- kwargs['_return_http_data_only'] = kwargs.get(
6910
- '_return_http_data_only', True
6911
- )
6912
- kwargs['_preload_content'] = kwargs.get(
6913
- '_preload_content', True
6914
- )
6915
- kwargs['_request_timeout'] = kwargs.get(
6916
- '_request_timeout', None
6917
- )
6918
- kwargs['_check_input_type'] = kwargs.get(
6919
- '_check_input_type', True
6920
- )
6921
- kwargs['_check_return_type'] = kwargs.get(
6922
- '_check_return_type', True
6923
- )
6924
- kwargs['_spec_property_naming'] = kwargs.get(
6925
- '_spec_property_naming', False
6926
- )
6927
- kwargs['_content_type'] = kwargs.get(
6928
- '_content_type')
6929
- kwargs['_host_index'] = kwargs.get('_host_index')
6930
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
6931
- kwargs['line_item_id'] = \
6932
- line_item_id
6933
- return self.post_api202110_external_line_item_products_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs)
6934
-
6935
- def post_api202110_external_line_item_products_pause_by_line_item_id(
6936
- self,
6937
- line_item_id,
6938
- **kwargs
6939
- ):
6940
- """post_api202110_external_line_item_products_pause_by_line_item_id # noqa: E501
6941
-
6942
- This endpoint pauses one or more promoted products on a specified line item. # noqa: E501
6943
- This method makes a synchronous HTTP request by default. To make an
6944
- asynchronous HTTP request, please pass async_req=True
6945
-
6946
- >>> thread = api.post_api202110_external_line_item_products_pause_by_line_item_id(line_item_id, async_req=True)
6947
- >>> result = thread.get()
6948
-
6949
- Args:
6950
- line_item_id (str): The line item to interact with.
6951
-
6952
- Keyword Args:
6953
- promoted_product202110_list_request (PromotedProduct202110ListRequest): The products from which their IDs will be used to pause.. [optional]
6954
- _return_http_data_only (bool): response data without head status
6955
- code and headers. Default is True.
6956
- _preload_content (bool): if False, the urllib3.HTTPResponse object
6957
- will be returned without reading/decoding response data.
6958
- Default is True.
6959
- _request_timeout (int/float/tuple): timeout setting for this request. If
6960
- one number provided, it will be total request timeout. It can also
6961
- be a pair (tuple) of (connection, read) timeouts.
6962
- Default is None.
6963
- _check_input_type (bool): specifies if type checking
6964
- should be done one the data sent to the server.
6965
- Default is True.
6966
- _check_return_type (bool): specifies if type checking
6967
- should be done one the data received from the server.
6968
- Default is True.
6969
- _spec_property_naming (bool): True if the variable names in the input data
6970
- are serialized names, as specified in the OpenAPI document.
6971
- False if the variable names in the input data
6972
- are pythonic names, e.g. snake case (default)
6973
- _content_type (str/None): force body content-type.
6974
- Default is None and content-type will be predicted by allowed
6975
- content-types and body.
6976
- _host_index (int/None): specifies the index of the server
6977
- that we want to use.
6978
- Default is read from the configuration.
6979
- _request_auths (list): set to override the auth_settings for an a single
6980
- request; this effectively ignores the authentication
6981
- in the spec for a single request.
6982
- Default is None
6983
- async_req (bool): execute request asynchronously
6984
-
6985
- Returns:
6986
- None
6987
- If the method is called asynchronously, returns the request
6988
- thread.
6989
- """
6990
- kwargs['async_req'] = kwargs.get(
6991
- 'async_req', False
6992
- )
6993
- kwargs['_return_http_data_only'] = kwargs.get(
6994
- '_return_http_data_only', True
6995
- )
6996
- kwargs['_preload_content'] = kwargs.get(
6997
- '_preload_content', True
6998
- )
6999
- kwargs['_request_timeout'] = kwargs.get(
7000
- '_request_timeout', None
7001
- )
7002
- kwargs['_check_input_type'] = kwargs.get(
7003
- '_check_input_type', True
7004
- )
7005
- kwargs['_check_return_type'] = kwargs.get(
7006
- '_check_return_type', True
7007
- )
7008
- kwargs['_spec_property_naming'] = kwargs.get(
7009
- '_spec_property_naming', False
7010
- )
7011
- kwargs['_content_type'] = kwargs.get(
7012
- '_content_type')
7013
- kwargs['_host_index'] = kwargs.get('_host_index')
7014
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
7015
- kwargs['line_item_id'] = \
7016
- line_item_id
7017
- return self.post_api202110_external_line_item_products_pause_by_line_item_id_endpoint.call_with_http_info(**kwargs)
7018
-
7019
- def post_api202110_external_line_item_products_unpause_by_line_item_id(
7020
- self,
7021
- line_item_id,
7022
- **kwargs
7023
- ):
7024
- """post_api202110_external_line_item_products_unpause_by_line_item_id # noqa: E501
7025
-
7026
- This endpoint unpauses one or more promoted products on a specified line item. # noqa: E501
7027
- This method makes a synchronous HTTP request by default. To make an
7028
- asynchronous HTTP request, please pass async_req=True
7029
-
7030
- >>> thread = api.post_api202110_external_line_item_products_unpause_by_line_item_id(line_item_id, async_req=True)
7031
- >>> result = thread.get()
7032
-
7033
- Args:
7034
- line_item_id (str): The line item to interact with.
7035
-
7036
- Keyword Args:
7037
- promoted_product202110_list_request (PromotedProduct202110ListRequest): The products from which their IDs will be used to unpause.. [optional]
7038
- _return_http_data_only (bool): response data without head status
7039
- code and headers. Default is True.
7040
- _preload_content (bool): if False, the urllib3.HTTPResponse object
7041
- will be returned without reading/decoding response data.
7042
- Default is True.
7043
- _request_timeout (int/float/tuple): timeout setting for this request. If
7044
- one number provided, it will be total request timeout. It can also
7045
- be a pair (tuple) of (connection, read) timeouts.
7046
- Default is None.
7047
- _check_input_type (bool): specifies if type checking
7048
- should be done one the data sent to the server.
7049
- Default is True.
7050
- _check_return_type (bool): specifies if type checking
7051
- should be done one the data received from the server.
7052
- Default is True.
7053
- _spec_property_naming (bool): True if the variable names in the input data
7054
- are serialized names, as specified in the OpenAPI document.
7055
- False if the variable names in the input data
7056
- are pythonic names, e.g. snake case (default)
7057
- _content_type (str/None): force body content-type.
7058
- Default is None and content-type will be predicted by allowed
7059
- content-types and body.
7060
- _host_index (int/None): specifies the index of the server
7061
- that we want to use.
7062
- Default is read from the configuration.
7063
- _request_auths (list): set to override the auth_settings for an a single
7064
- request; this effectively ignores the authentication
7065
- in the spec for a single request.
7066
- Default is None
7067
- async_req (bool): execute request asynchronously
7068
-
7069
- Returns:
7070
- None
7071
- If the method is called asynchronously, returns the request
7072
- thread.
7073
- """
7074
- kwargs['async_req'] = kwargs.get(
7075
- 'async_req', False
7076
- )
7077
- kwargs['_return_http_data_only'] = kwargs.get(
7078
- '_return_http_data_only', True
7079
- )
7080
- kwargs['_preload_content'] = kwargs.get(
7081
- '_preload_content', True
7082
- )
7083
- kwargs['_request_timeout'] = kwargs.get(
7084
- '_request_timeout', None
7085
- )
7086
- kwargs['_check_input_type'] = kwargs.get(
7087
- '_check_input_type', True
7088
- )
7089
- kwargs['_check_return_type'] = kwargs.get(
7090
- '_check_return_type', True
7091
- )
7092
- kwargs['_spec_property_naming'] = kwargs.get(
7093
- '_spec_property_naming', False
7094
- )
7095
- kwargs['_content_type'] = kwargs.get(
7096
- '_content_type')
7097
- kwargs['_host_index'] = kwargs.get('_host_index')
7098
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
7099
- kwargs['line_item_id'] = \
7100
- line_item_id
7101
- return self.post_api202110_external_line_item_products_unpause_by_line_item_id_endpoint.call_with_http_info(**kwargs)
7102
-
7103
6217
  def post_api202110_external_preferred_line_item_targeting_add_to_basket_append_by_line_item_id(
7104
6218
  self,
7105
6219
  line_item_id,