criteo-api-retailmedia-sdk 0.0.250730__py3-none-any.whl → 0.0.250819__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/audience_api.py +4 -4
- criteo_api_retailmedia_preview/api/balance_api.py +50 -50
- criteo_api_retailmedia_preview/api/campaign_api.py +450 -764
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/balance_response_v2.py +6 -6
- criteo_api_retailmedia_preview/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +3 -3
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +9 -9
- criteo_api_retailmedia_preview/model/create_balance_v2.py +6 -6
- criteo_api_retailmedia_preview/model/flight_leg.py +6 -6
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +5 -5
- criteo_api_retailmedia_preview/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +4 -4
- criteo_api_retailmedia_preview/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
- criteo_api_retailmedia_preview/model/{external_line_item_page_v2.py → line_item_page_v2.py} +9 -9
- criteo_api_retailmedia_preview/model/page_metadata.py +1 -1
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +16 -16
- criteo_api_retailmedia_preview/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +29 -35
- criteo_api_retailmedia_preview/model/product_button_request.py +30 -12
- criteo_api_retailmedia_preview/model/{product_button_list_request.py → product_button_request_list_request.py} +4 -4
- criteo_api_retailmedia_preview/model/{sku_search_request_slim_preview_request.py → product_button_request_request.py} +9 -9
- criteo_api_retailmedia_preview/model/{external_product_button_response.py → product_button_response.py} +3 -3
- criteo_api_retailmedia_preview/model/{product_button_list_response.py → product_button_response_list_response.py} +15 -15
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +5 -5
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +5 -5
- criteo_api_retailmedia_preview/model/resource_of_product_button_request.py +6 -6
- criteo_api_retailmedia_preview/model/resource_of_product_button_response.py +6 -6
- criteo_api_retailmedia_preview/model/{rm_audience_compute_sizes_entity_v1.py → rm_audience_compute_size_entity_v1.py} +3 -4
- criteo_api_retailmedia_preview/model/{rm_audience_compute_sizes_entity_v1_resource.py → rm_audience_compute_size_entity_v1_resource.py} +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_input_v1.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py +0 -1
- criteo_api_retailmedia_preview/model/rm_events_create_v1.py +0 -2
- criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py +0 -2
- criteo_api_retailmedia_preview/model/rm_events_update_v1.py +0 -2
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +4 -4
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +6 -6
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py +9 -9
- criteo_api_retailmedia_preview/models/__init__.py +13 -27
- {criteo_api_retailmedia_sdk-0.0.250730.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250730.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/RECORD +45 -59
- criteo_api_retailmedia_preview/model/brand.py +0 -267
- criteo_api_retailmedia_preview/model/category.py +0 -267
- criteo_api_retailmedia_preview/model/external_product_button_request.py +0 -287
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_slim_preview.py +0 -277
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_slim_v2_preview.py +0 -277
- criteo_api_retailmedia_preview/model/resource_of_sku_slim_data_preview.py +0 -277
- criteo_api_retailmedia_preview/model/resource_of_sku_slim_data_v2.py +0 -277
- criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +0 -275
- criteo_api_retailmedia_preview/model/sku_search_request_slim_v2_preview.py +0 -273
- criteo_api_retailmedia_preview/model/sku_search_request_slim_v2_preview_request.py +0 -269
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +0 -347
- criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +0 -281
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +0 -321
- criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +0 -281
- {criteo_api_retailmedia_sdk-0.0.250730.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250730.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/top_level.txt +0 -0
|
@@ -42,9 +42,9 @@ from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_re
|
|
|
42
42
|
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
|
|
43
43
|
from criteo_api_retailmedia_preview.model.preferred_line_item_v2_paged_list_response import PreferredLineItemV2PagedListResponse
|
|
44
44
|
from criteo_api_retailmedia_preview.model.preferred_line_item_v2_response import PreferredLineItemV2Response
|
|
45
|
-
from criteo_api_retailmedia_preview.model.
|
|
46
|
-
from criteo_api_retailmedia_preview.model.
|
|
47
|
-
from criteo_api_retailmedia_preview.model.
|
|
45
|
+
from criteo_api_retailmedia_preview.model.product_button_request_list_request import ProductButtonRequestListRequest
|
|
46
|
+
from criteo_api_retailmedia_preview.model.product_button_request_request import ProductButtonRequestRequest
|
|
47
|
+
from criteo_api_retailmedia_preview.model.product_button_response_list_response import ProductButtonResponseListResponse
|
|
48
48
|
from criteo_api_retailmedia_preview.model.product_resource_outcome import ProductResourceOutcome
|
|
49
49
|
from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_input import PromotedProductResourceCollectionInput
|
|
50
50
|
from criteo_api_retailmedia_preview.model.promoted_product_resource_collection_outcome import PromotedProductResourceCollectionOutcome
|
|
@@ -53,10 +53,6 @@ from criteo_api_retailmedia_preview.model.seller_preview_response import SellerP
|
|
|
53
53
|
from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
|
|
54
54
|
from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
|
|
55
55
|
from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
|
|
56
|
-
from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_request import SkuSearchRequestSlimPreviewRequest
|
|
57
|
-
from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
|
|
58
|
-
from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
|
|
59
|
-
from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
|
|
60
56
|
from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
|
|
61
57
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
62
58
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
@@ -341,15 +337,15 @@ class CampaignApi(object):
|
|
|
341
337
|
},
|
|
342
338
|
api_client=api_client
|
|
343
339
|
)
|
|
344
|
-
self.
|
|
340
|
+
self.delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint = _Endpoint(
|
|
345
341
|
settings={
|
|
346
|
-
'response_type':
|
|
342
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
347
343
|
'auth': [
|
|
348
344
|
'oauth',
|
|
349
345
|
'oauth'
|
|
350
346
|
],
|
|
351
347
|
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
|
|
352
|
-
'operation_id': '
|
|
348
|
+
'operation_id': 'delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id',
|
|
353
349
|
'http_method': 'DELETE',
|
|
354
350
|
'servers': None,
|
|
355
351
|
},
|
|
@@ -392,7 +388,11 @@ class CampaignApi(object):
|
|
|
392
388
|
}
|
|
393
389
|
},
|
|
394
390
|
headers_map={
|
|
395
|
-
'accept': [
|
|
391
|
+
'accept': [
|
|
392
|
+
'text/plain',
|
|
393
|
+
'application/json',
|
|
394
|
+
'text/json'
|
|
395
|
+
],
|
|
396
396
|
'content_type': [],
|
|
397
397
|
},
|
|
398
398
|
api_client=api_client
|
|
@@ -574,24 +574,26 @@ class CampaignApi(object):
|
|
|
574
574
|
},
|
|
575
575
|
api_client=api_client
|
|
576
576
|
)
|
|
577
|
-
self.
|
|
577
|
+
self.get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint = _Endpoint(
|
|
578
578
|
settings={
|
|
579
|
-
'response_type': (
|
|
579
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
580
580
|
'auth': [
|
|
581
581
|
'oauth',
|
|
582
582
|
'oauth'
|
|
583
583
|
],
|
|
584
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons',
|
|
585
|
-
'operation_id': '
|
|
584
|
+
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
|
|
585
|
+
'operation_id': 'get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id',
|
|
586
586
|
'http_method': 'GET',
|
|
587
587
|
'servers': None,
|
|
588
588
|
},
|
|
589
589
|
params_map={
|
|
590
590
|
'all': [
|
|
591
591
|
'line_item_id',
|
|
592
|
+
'product_button_id',
|
|
592
593
|
],
|
|
593
594
|
'required': [
|
|
594
595
|
'line_item_id',
|
|
596
|
+
'product_button_id',
|
|
595
597
|
],
|
|
596
598
|
'nullable': [
|
|
597
599
|
],
|
|
@@ -608,44 +610,48 @@ class CampaignApi(object):
|
|
|
608
610
|
'openapi_types': {
|
|
609
611
|
'line_item_id':
|
|
610
612
|
(str,),
|
|
613
|
+
'product_button_id':
|
|
614
|
+
(str,),
|
|
611
615
|
},
|
|
612
616
|
'attribute_map': {
|
|
613
617
|
'line_item_id': 'line-item-id',
|
|
618
|
+
'product_button_id': 'product-button-id',
|
|
614
619
|
},
|
|
615
620
|
'location_map': {
|
|
616
621
|
'line_item_id': 'path',
|
|
622
|
+
'product_button_id': 'path',
|
|
617
623
|
},
|
|
618
624
|
'collection_format_map': {
|
|
619
625
|
}
|
|
620
626
|
},
|
|
621
627
|
headers_map={
|
|
622
628
|
'accept': [
|
|
623
|
-
'
|
|
629
|
+
'text/plain',
|
|
630
|
+
'application/json',
|
|
631
|
+
'text/json'
|
|
624
632
|
],
|
|
625
633
|
'content_type': [],
|
|
626
634
|
},
|
|
627
635
|
api_client=api_client
|
|
628
636
|
)
|
|
629
|
-
self.
|
|
637
|
+
self.get_api_external_v1_line_item_product_buttons_by_line_item_id_endpoint = _Endpoint(
|
|
630
638
|
settings={
|
|
631
|
-
'response_type': (
|
|
639
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
632
640
|
'auth': [
|
|
633
641
|
'oauth',
|
|
634
642
|
'oauth'
|
|
635
643
|
],
|
|
636
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons
|
|
637
|
-
'operation_id': '
|
|
644
|
+
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons',
|
|
645
|
+
'operation_id': 'get_api_external_v1_line_item_product_buttons_by_line_item_id',
|
|
638
646
|
'http_method': 'GET',
|
|
639
647
|
'servers': None,
|
|
640
648
|
},
|
|
641
649
|
params_map={
|
|
642
650
|
'all': [
|
|
643
651
|
'line_item_id',
|
|
644
|
-
'product_button_id',
|
|
645
652
|
],
|
|
646
653
|
'required': [
|
|
647
654
|
'line_item_id',
|
|
648
|
-
'product_button_id',
|
|
649
655
|
],
|
|
650
656
|
'nullable': [
|
|
651
657
|
],
|
|
@@ -662,23 +668,103 @@ class CampaignApi(object):
|
|
|
662
668
|
'openapi_types': {
|
|
663
669
|
'line_item_id':
|
|
664
670
|
(str,),
|
|
665
|
-
'product_button_id':
|
|
666
|
-
(str,),
|
|
667
671
|
},
|
|
668
672
|
'attribute_map': {
|
|
669
673
|
'line_item_id': 'line-item-id',
|
|
670
|
-
'product_button_id': 'product-button-id',
|
|
671
674
|
},
|
|
672
675
|
'location_map': {
|
|
673
676
|
'line_item_id': 'path',
|
|
674
|
-
'product_button_id': 'path',
|
|
675
677
|
},
|
|
676
678
|
'collection_format_map': {
|
|
677
679
|
}
|
|
678
680
|
},
|
|
679
681
|
headers_map={
|
|
680
682
|
'accept': [
|
|
681
|
-
'
|
|
683
|
+
'text/plain',
|
|
684
|
+
'application/json',
|
|
685
|
+
'text/json'
|
|
686
|
+
],
|
|
687
|
+
'content_type': [],
|
|
688
|
+
},
|
|
689
|
+
api_client=api_client
|
|
690
|
+
)
|
|
691
|
+
self.get_api_external_v2_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
692
|
+
settings={
|
|
693
|
+
'response_type': (PreferredLineItemV2PagedListResponse,),
|
|
694
|
+
'auth': [
|
|
695
|
+
'oauth',
|
|
696
|
+
'oauth'
|
|
697
|
+
],
|
|
698
|
+
'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
|
|
699
|
+
'operation_id': 'get_api_external_v2_campaign_preferred_line_items_by_campaign_id',
|
|
700
|
+
'http_method': 'GET',
|
|
701
|
+
'servers': None,
|
|
702
|
+
},
|
|
703
|
+
params_map={
|
|
704
|
+
'all': [
|
|
705
|
+
'campaign_id',
|
|
706
|
+
'limit_to_id',
|
|
707
|
+
'page_index',
|
|
708
|
+
'page_size',
|
|
709
|
+
],
|
|
710
|
+
'required': [
|
|
711
|
+
'campaign_id',
|
|
712
|
+
],
|
|
713
|
+
'nullable': [
|
|
714
|
+
],
|
|
715
|
+
'enum': [
|
|
716
|
+
],
|
|
717
|
+
'validation': [
|
|
718
|
+
'page_index',
|
|
719
|
+
'page_size',
|
|
720
|
+
]
|
|
721
|
+
},
|
|
722
|
+
root_map={
|
|
723
|
+
'validations': {
|
|
724
|
+
('page_index',): {
|
|
725
|
+
|
|
726
|
+
'inclusive_maximum': 2147483647,
|
|
727
|
+
'inclusive_minimum': 0,
|
|
728
|
+
},
|
|
729
|
+
('page_size',): {
|
|
730
|
+
|
|
731
|
+
'inclusive_maximum': 2147483647,
|
|
732
|
+
'inclusive_minimum': 1,
|
|
733
|
+
},
|
|
734
|
+
},
|
|
735
|
+
'allowed_values': {
|
|
736
|
+
},
|
|
737
|
+
'openapi_types': {
|
|
738
|
+
'campaign_id':
|
|
739
|
+
(str,),
|
|
740
|
+
'limit_to_id':
|
|
741
|
+
([str],),
|
|
742
|
+
'page_index':
|
|
743
|
+
(int,),
|
|
744
|
+
'page_size':
|
|
745
|
+
(int,),
|
|
746
|
+
},
|
|
747
|
+
'attribute_map': {
|
|
748
|
+
'campaign_id': 'campaign-id',
|
|
749
|
+
'limit_to_id': 'limitToId',
|
|
750
|
+
'page_index': 'pageIndex',
|
|
751
|
+
'page_size': 'pageSize',
|
|
752
|
+
},
|
|
753
|
+
'location_map': {
|
|
754
|
+
'campaign_id': 'path',
|
|
755
|
+
'limit_to_id': 'query',
|
|
756
|
+
'page_index': 'query',
|
|
757
|
+
'page_size': 'query',
|
|
758
|
+
},
|
|
759
|
+
'collection_format_map': {
|
|
760
|
+
'limit_to_id': 'multi',
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
headers_map={
|
|
764
|
+
'accept': [
|
|
765
|
+
'text/plain',
|
|
766
|
+
'application/json',
|
|
767
|
+
'text/json'
|
|
682
768
|
],
|
|
683
769
|
'content_type': [],
|
|
684
770
|
},
|
|
@@ -738,6 +824,60 @@ class CampaignApi(object):
|
|
|
738
824
|
},
|
|
739
825
|
api_client=api_client
|
|
740
826
|
)
|
|
827
|
+
self.get_api_external_v2_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
|
|
828
|
+
settings={
|
|
829
|
+
'response_type': (PreferredLineItemV2Response,),
|
|
830
|
+
'auth': [
|
|
831
|
+
'oauth',
|
|
832
|
+
'oauth'
|
|
833
|
+
],
|
|
834
|
+
'endpoint_path': '/preview/retail-media/preferred-line-items/{line-item-id}',
|
|
835
|
+
'operation_id': 'get_api_external_v2_preferred_line_item_by_line_item_id',
|
|
836
|
+
'http_method': 'GET',
|
|
837
|
+
'servers': None,
|
|
838
|
+
},
|
|
839
|
+
params_map={
|
|
840
|
+
'all': [
|
|
841
|
+
'line_item_id',
|
|
842
|
+
],
|
|
843
|
+
'required': [
|
|
844
|
+
'line_item_id',
|
|
845
|
+
],
|
|
846
|
+
'nullable': [
|
|
847
|
+
],
|
|
848
|
+
'enum': [
|
|
849
|
+
],
|
|
850
|
+
'validation': [
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
root_map={
|
|
854
|
+
'validations': {
|
|
855
|
+
},
|
|
856
|
+
'allowed_values': {
|
|
857
|
+
},
|
|
858
|
+
'openapi_types': {
|
|
859
|
+
'line_item_id':
|
|
860
|
+
(str,),
|
|
861
|
+
},
|
|
862
|
+
'attribute_map': {
|
|
863
|
+
'line_item_id': 'line-item-id',
|
|
864
|
+
},
|
|
865
|
+
'location_map': {
|
|
866
|
+
'line_item_id': 'path',
|
|
867
|
+
},
|
|
868
|
+
'collection_format_map': {
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
headers_map={
|
|
872
|
+
'accept': [
|
|
873
|
+
'text/plain',
|
|
874
|
+
'application/json',
|
|
875
|
+
'text/json'
|
|
876
|
+
],
|
|
877
|
+
'content_type': [],
|
|
878
|
+
},
|
|
879
|
+
api_client=api_client
|
|
880
|
+
)
|
|
741
881
|
self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
|
|
742
882
|
settings={
|
|
743
883
|
'response_type': (BrandPreviewListResponse,),
|
|
@@ -1042,126 +1182,6 @@ class CampaignApi(object):
|
|
|
1042
1182
|
},
|
|
1043
1183
|
api_client=api_client
|
|
1044
1184
|
)
|
|
1045
|
-
self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
1046
|
-
settings={
|
|
1047
|
-
'response_type': (PreferredLineItemV2PagedListResponse,),
|
|
1048
|
-
'auth': [
|
|
1049
|
-
'oauth',
|
|
1050
|
-
'oauth'
|
|
1051
|
-
],
|
|
1052
|
-
'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
|
|
1053
|
-
'operation_id': 'get_api_v2_external_campaign_preferred_line_items_by_campaign_id',
|
|
1054
|
-
'http_method': 'GET',
|
|
1055
|
-
'servers': None,
|
|
1056
|
-
},
|
|
1057
|
-
params_map={
|
|
1058
|
-
'all': [
|
|
1059
|
-
'campaign_id',
|
|
1060
|
-
'limit_to_id',
|
|
1061
|
-
'page_index',
|
|
1062
|
-
'page_size',
|
|
1063
|
-
],
|
|
1064
|
-
'required': [
|
|
1065
|
-
'campaign_id',
|
|
1066
|
-
],
|
|
1067
|
-
'nullable': [
|
|
1068
|
-
],
|
|
1069
|
-
'enum': [
|
|
1070
|
-
],
|
|
1071
|
-
'validation': [
|
|
1072
|
-
]
|
|
1073
|
-
},
|
|
1074
|
-
root_map={
|
|
1075
|
-
'validations': {
|
|
1076
|
-
},
|
|
1077
|
-
'allowed_values': {
|
|
1078
|
-
},
|
|
1079
|
-
'openapi_types': {
|
|
1080
|
-
'campaign_id':
|
|
1081
|
-
(str,),
|
|
1082
|
-
'limit_to_id':
|
|
1083
|
-
([str],),
|
|
1084
|
-
'page_index':
|
|
1085
|
-
(int,),
|
|
1086
|
-
'page_size':
|
|
1087
|
-
(int,),
|
|
1088
|
-
},
|
|
1089
|
-
'attribute_map': {
|
|
1090
|
-
'campaign_id': 'campaign-id',
|
|
1091
|
-
'limit_to_id': 'limitToId',
|
|
1092
|
-
'page_index': 'pageIndex',
|
|
1093
|
-
'page_size': 'pageSize',
|
|
1094
|
-
},
|
|
1095
|
-
'location_map': {
|
|
1096
|
-
'campaign_id': 'path',
|
|
1097
|
-
'limit_to_id': 'query',
|
|
1098
|
-
'page_index': 'query',
|
|
1099
|
-
'page_size': 'query',
|
|
1100
|
-
},
|
|
1101
|
-
'collection_format_map': {
|
|
1102
|
-
'limit_to_id': 'multi',
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
headers_map={
|
|
1106
|
-
'accept': [
|
|
1107
|
-
'application/json'
|
|
1108
|
-
],
|
|
1109
|
-
'content_type': [],
|
|
1110
|
-
},
|
|
1111
|
-
api_client=api_client
|
|
1112
|
-
)
|
|
1113
|
-
self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
|
|
1114
|
-
settings={
|
|
1115
|
-
'response_type': (PreferredLineItemV2Response,),
|
|
1116
|
-
'auth': [
|
|
1117
|
-
'oauth',
|
|
1118
|
-
'oauth'
|
|
1119
|
-
],
|
|
1120
|
-
'endpoint_path': '/preview/retail-media/preferred-line-items/{line-item-id}',
|
|
1121
|
-
'operation_id': 'get_api_v2_external_preferred_line_item_by_line_item_id',
|
|
1122
|
-
'http_method': 'GET',
|
|
1123
|
-
'servers': None,
|
|
1124
|
-
},
|
|
1125
|
-
params_map={
|
|
1126
|
-
'all': [
|
|
1127
|
-
'line_item_id',
|
|
1128
|
-
],
|
|
1129
|
-
'required': [
|
|
1130
|
-
'line_item_id',
|
|
1131
|
-
],
|
|
1132
|
-
'nullable': [
|
|
1133
|
-
],
|
|
1134
|
-
'enum': [
|
|
1135
|
-
],
|
|
1136
|
-
'validation': [
|
|
1137
|
-
]
|
|
1138
|
-
},
|
|
1139
|
-
root_map={
|
|
1140
|
-
'validations': {
|
|
1141
|
-
},
|
|
1142
|
-
'allowed_values': {
|
|
1143
|
-
},
|
|
1144
|
-
'openapi_types': {
|
|
1145
|
-
'line_item_id':
|
|
1146
|
-
(str,),
|
|
1147
|
-
},
|
|
1148
|
-
'attribute_map': {
|
|
1149
|
-
'line_item_id': 'line-item-id',
|
|
1150
|
-
},
|
|
1151
|
-
'location_map': {
|
|
1152
|
-
'line_item_id': 'path',
|
|
1153
|
-
},
|
|
1154
|
-
'collection_format_map': {
|
|
1155
|
-
}
|
|
1156
|
-
},
|
|
1157
|
-
headers_map={
|
|
1158
|
-
'accept': [
|
|
1159
|
-
'application/json'
|
|
1160
|
-
],
|
|
1161
|
-
'content_type': [],
|
|
1162
|
-
},
|
|
1163
|
-
api_client=api_client
|
|
1164
|
-
)
|
|
1165
1185
|
self.get_auction_line_item_v2_endpoint = _Endpoint(
|
|
1166
1186
|
settings={
|
|
1167
1187
|
'response_type': (EntityResourceOutcomeOfSponsoredProductsLineItem,),
|
|
@@ -1489,86 +1509,28 @@ class CampaignApi(object):
|
|
|
1489
1509
|
},
|
|
1490
1510
|
api_client=api_client
|
|
1491
1511
|
)
|
|
1492
|
-
self.
|
|
1512
|
+
self.post_api_external_v1_line_item_product_buttons_create_by_line_item_id_endpoint = _Endpoint(
|
|
1493
1513
|
settings={
|
|
1494
|
-
'response_type': (
|
|
1495
|
-
'auth': [
|
|
1496
|
-
'oauth',
|
|
1497
|
-
'oauth'
|
|
1498
|
-
],
|
|
1499
|
-
'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
|
|
1500
|
-
'operation_id': 'post_api202110_external_campaign_preferred_line_items_by_campaign_id',
|
|
1501
|
-
'http_method': 'POST',
|
|
1502
|
-
'servers': None,
|
|
1503
|
-
},
|
|
1504
|
-
params_map={
|
|
1505
|
-
'all': [
|
|
1506
|
-
'campaign_id',
|
|
1507
|
-
'preferred_line_item_create_model_v2_request',
|
|
1508
|
-
],
|
|
1509
|
-
'required': [
|
|
1510
|
-
'campaign_id',
|
|
1511
|
-
'preferred_line_item_create_model_v2_request',
|
|
1512
|
-
],
|
|
1513
|
-
'nullable': [
|
|
1514
|
-
],
|
|
1515
|
-
'enum': [
|
|
1516
|
-
],
|
|
1517
|
-
'validation': [
|
|
1518
|
-
]
|
|
1519
|
-
},
|
|
1520
|
-
root_map={
|
|
1521
|
-
'validations': {
|
|
1522
|
-
},
|
|
1523
|
-
'allowed_values': {
|
|
1524
|
-
},
|
|
1525
|
-
'openapi_types': {
|
|
1526
|
-
'campaign_id':
|
|
1527
|
-
(str,),
|
|
1528
|
-
'preferred_line_item_create_model_v2_request':
|
|
1529
|
-
(PreferredLineItemCreateModelV2Request,),
|
|
1530
|
-
},
|
|
1531
|
-
'attribute_map': {
|
|
1532
|
-
'campaign_id': 'campaign-id',
|
|
1533
|
-
},
|
|
1534
|
-
'location_map': {
|
|
1535
|
-
'campaign_id': 'path',
|
|
1536
|
-
'preferred_line_item_create_model_v2_request': 'body',
|
|
1537
|
-
},
|
|
1538
|
-
'collection_format_map': {
|
|
1539
|
-
}
|
|
1540
|
-
},
|
|
1541
|
-
headers_map={
|
|
1542
|
-
'accept': [
|
|
1543
|
-
'application/json'
|
|
1544
|
-
],
|
|
1545
|
-
'content_type': [
|
|
1546
|
-
'application/json'
|
|
1547
|
-
]
|
|
1548
|
-
},
|
|
1549
|
-
api_client=api_client
|
|
1550
|
-
)
|
|
1551
|
-
self.post_api202210_external_line_item_product_buttons_create_by_line_item_id_endpoint = _Endpoint(
|
|
1552
|
-
settings={
|
|
1553
|
-
'response_type': (ProductButtonListResponse,),
|
|
1514
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
1554
1515
|
'auth': [
|
|
1555
1516
|
'oauth',
|
|
1556
1517
|
'oauth'
|
|
1557
1518
|
],
|
|
1558
1519
|
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/create',
|
|
1559
|
-
'operation_id': '
|
|
1520
|
+
'operation_id': 'post_api_external_v1_line_item_product_buttons_create_by_line_item_id',
|
|
1560
1521
|
'http_method': 'POST',
|
|
1561
1522
|
'servers': None,
|
|
1562
1523
|
},
|
|
1563
1524
|
params_map={
|
|
1564
1525
|
'all': [
|
|
1565
1526
|
'line_item_id',
|
|
1566
|
-
'
|
|
1527
|
+
'product_button_request_list_request',
|
|
1567
1528
|
],
|
|
1568
1529
|
'required': [
|
|
1569
1530
|
'line_item_id',
|
|
1570
1531
|
],
|
|
1571
1532
|
'nullable': [
|
|
1533
|
+
'product_button_request_list_request',
|
|
1572
1534
|
],
|
|
1573
1535
|
'enum': [
|
|
1574
1536
|
],
|
|
@@ -1583,22 +1545,24 @@ class CampaignApi(object):
|
|
|
1583
1545
|
'openapi_types': {
|
|
1584
1546
|
'line_item_id':
|
|
1585
1547
|
(str,),
|
|
1586
|
-
'
|
|
1587
|
-
(
|
|
1548
|
+
'product_button_request_list_request':
|
|
1549
|
+
(ProductButtonRequestListRequest,),
|
|
1588
1550
|
},
|
|
1589
1551
|
'attribute_map': {
|
|
1590
1552
|
'line_item_id': 'line-item-id',
|
|
1591
1553
|
},
|
|
1592
1554
|
'location_map': {
|
|
1593
1555
|
'line_item_id': 'path',
|
|
1594
|
-
'
|
|
1556
|
+
'product_button_request_list_request': 'body',
|
|
1595
1557
|
},
|
|
1596
1558
|
'collection_format_map': {
|
|
1597
1559
|
}
|
|
1598
1560
|
},
|
|
1599
1561
|
headers_map={
|
|
1600
1562
|
'accept': [
|
|
1601
|
-
'
|
|
1563
|
+
'text/plain',
|
|
1564
|
+
'application/json',
|
|
1565
|
+
'text/json'
|
|
1602
1566
|
],
|
|
1603
1567
|
'content_type': [
|
|
1604
1568
|
'application/json'
|
|
@@ -1728,149 +1692,59 @@ class CampaignApi(object):
|
|
|
1728
1692
|
},
|
|
1729
1693
|
api_client=api_client
|
|
1730
1694
|
)
|
|
1731
|
-
self.
|
|
1695
|
+
self.post_api_external_v2_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
1732
1696
|
settings={
|
|
1733
|
-
'response_type':
|
|
1697
|
+
'response_type': None,
|
|
1734
1698
|
'auth': [
|
|
1735
1699
|
'oauth',
|
|
1736
1700
|
'oauth'
|
|
1737
1701
|
],
|
|
1738
|
-
'endpoint_path': '/preview/retail-media/
|
|
1739
|
-
'operation_id': '
|
|
1702
|
+
'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
|
|
1703
|
+
'operation_id': 'post_api_external_v2_campaign_preferred_line_items_by_campaign_id',
|
|
1740
1704
|
'http_method': 'POST',
|
|
1741
1705
|
'servers': None,
|
|
1742
1706
|
},
|
|
1743
1707
|
params_map={
|
|
1744
1708
|
'all': [
|
|
1745
|
-
'
|
|
1746
|
-
'
|
|
1747
|
-
'request_body',
|
|
1748
|
-
],
|
|
1749
|
-
'required': [],
|
|
1750
|
-
'nullable': [
|
|
1751
|
-
],
|
|
1752
|
-
'enum': [
|
|
1753
|
-
],
|
|
1754
|
-
'validation': [
|
|
1755
|
-
'page_index',
|
|
1756
|
-
'page_size',
|
|
1757
|
-
'request_body',
|
|
1758
|
-
]
|
|
1759
|
-
},
|
|
1760
|
-
root_map={
|
|
1761
|
-
'validations': {
|
|
1762
|
-
('page_index',): {
|
|
1763
|
-
|
|
1764
|
-
'inclusive_maximum': 500,
|
|
1765
|
-
'inclusive_minimum': 0,
|
|
1766
|
-
},
|
|
1767
|
-
('page_size',): {
|
|
1768
|
-
|
|
1769
|
-
'inclusive_maximum': 1000,
|
|
1770
|
-
'inclusive_minimum': 1,
|
|
1771
|
-
},
|
|
1772
|
-
('request_body',): {
|
|
1773
|
-
|
|
1774
|
-
},
|
|
1775
|
-
},
|
|
1776
|
-
'allowed_values': {
|
|
1777
|
-
},
|
|
1778
|
-
'openapi_types': {
|
|
1779
|
-
'page_index':
|
|
1780
|
-
(int,),
|
|
1781
|
-
'page_size':
|
|
1782
|
-
(int,),
|
|
1783
|
-
'request_body':
|
|
1784
|
-
([str],),
|
|
1785
|
-
},
|
|
1786
|
-
'attribute_map': {
|
|
1787
|
-
'page_index': 'pageIndex',
|
|
1788
|
-
'page_size': 'pageSize',
|
|
1789
|
-
},
|
|
1790
|
-
'location_map': {
|
|
1791
|
-
'page_index': 'query',
|
|
1792
|
-
'page_size': 'query',
|
|
1793
|
-
'request_body': 'body',
|
|
1794
|
-
},
|
|
1795
|
-
'collection_format_map': {
|
|
1796
|
-
}
|
|
1797
|
-
},
|
|
1798
|
-
headers_map={
|
|
1799
|
-
'accept': [
|
|
1800
|
-
'application/json'
|
|
1801
|
-
],
|
|
1802
|
-
'content_type': [
|
|
1803
|
-
'application/json'
|
|
1804
|
-
]
|
|
1805
|
-
},
|
|
1806
|
-
api_client=api_client
|
|
1807
|
-
)
|
|
1808
|
-
self.post_api_v1_external_catalogs_sku_search_endpoint = _Endpoint(
|
|
1809
|
-
settings={
|
|
1810
|
-
'response_type': (SkuDataPreviewListResponse,),
|
|
1811
|
-
'auth': [
|
|
1812
|
-
'oauth',
|
|
1813
|
-
'oauth'
|
|
1709
|
+
'campaign_id',
|
|
1710
|
+
'preferred_line_item_create_model_v2_request',
|
|
1814
1711
|
],
|
|
1815
|
-
'
|
|
1816
|
-
|
|
1817
|
-
'http_method': 'POST',
|
|
1818
|
-
'servers': None,
|
|
1819
|
-
},
|
|
1820
|
-
params_map={
|
|
1821
|
-
'all': [
|
|
1822
|
-
'page_index',
|
|
1823
|
-
'page_size',
|
|
1824
|
-
'sku_search_request_preview_request',
|
|
1712
|
+
'required': [
|
|
1713
|
+
'campaign_id',
|
|
1825
1714
|
],
|
|
1826
|
-
'required': [],
|
|
1827
1715
|
'nullable': [
|
|
1828
1716
|
],
|
|
1829
1717
|
'enum': [
|
|
1830
1718
|
],
|
|
1831
1719
|
'validation': [
|
|
1832
|
-
'page_index',
|
|
1833
|
-
'page_size',
|
|
1834
1720
|
]
|
|
1835
1721
|
},
|
|
1836
1722
|
root_map={
|
|
1837
1723
|
'validations': {
|
|
1838
|
-
('page_index',): {
|
|
1839
|
-
|
|
1840
|
-
'inclusive_maximum': 500,
|
|
1841
|
-
'inclusive_minimum': 0,
|
|
1842
|
-
},
|
|
1843
|
-
('page_size',): {
|
|
1844
|
-
|
|
1845
|
-
'inclusive_maximum': 1000,
|
|
1846
|
-
'inclusive_minimum': 1,
|
|
1847
|
-
},
|
|
1848
1724
|
},
|
|
1849
1725
|
'allowed_values': {
|
|
1850
1726
|
},
|
|
1851
1727
|
'openapi_types': {
|
|
1852
|
-
'
|
|
1853
|
-
(
|
|
1854
|
-
'
|
|
1855
|
-
(
|
|
1856
|
-
'sku_search_request_preview_request':
|
|
1857
|
-
(SkuSearchRequestPreviewRequest,),
|
|
1728
|
+
'campaign_id':
|
|
1729
|
+
(str,),
|
|
1730
|
+
'preferred_line_item_create_model_v2_request':
|
|
1731
|
+
(PreferredLineItemCreateModelV2Request,),
|
|
1858
1732
|
},
|
|
1859
1733
|
'attribute_map': {
|
|
1860
|
-
'
|
|
1861
|
-
'page_size': 'pageSize',
|
|
1734
|
+
'campaign_id': 'campaign-id',
|
|
1862
1735
|
},
|
|
1863
1736
|
'location_map': {
|
|
1864
|
-
'
|
|
1865
|
-
'
|
|
1866
|
-
'sku_search_request_preview_request': 'body',
|
|
1737
|
+
'campaign_id': 'path',
|
|
1738
|
+
'preferred_line_item_create_model_v2_request': 'body',
|
|
1867
1739
|
},
|
|
1868
1740
|
'collection_format_map': {
|
|
1869
1741
|
}
|
|
1870
1742
|
},
|
|
1871
1743
|
headers_map={
|
|
1872
1744
|
'accept': [
|
|
1873
|
-
'
|
|
1745
|
+
'text/plain',
|
|
1746
|
+
'application/json',
|
|
1747
|
+
'text/json'
|
|
1874
1748
|
],
|
|
1875
1749
|
'content_type': [
|
|
1876
1750
|
'application/json'
|
|
@@ -1878,72 +1752,69 @@ class CampaignApi(object):
|
|
|
1878
1752
|
},
|
|
1879
1753
|
api_client=api_client
|
|
1880
1754
|
)
|
|
1881
|
-
self.
|
|
1755
|
+
self.post_api_v1_external_catalogs_sku_retrieval_endpoint = _Endpoint(
|
|
1882
1756
|
settings={
|
|
1883
|
-
'response_type': (
|
|
1757
|
+
'response_type': (SkuDataPreviewListResponse,),
|
|
1884
1758
|
'auth': [
|
|
1885
1759
|
'oauth',
|
|
1886
1760
|
'oauth'
|
|
1887
1761
|
],
|
|
1888
|
-
'endpoint_path': '/preview/retail-media/catalogs/sku-
|
|
1889
|
-
'operation_id': '
|
|
1762
|
+
'endpoint_path': '/preview/retail-media/catalogs/sku-retrieval',
|
|
1763
|
+
'operation_id': 'post_api_v1_external_catalogs_sku_retrieval',
|
|
1890
1764
|
'http_method': 'POST',
|
|
1891
1765
|
'servers': None,
|
|
1892
1766
|
},
|
|
1893
1767
|
params_map={
|
|
1894
1768
|
'all': [
|
|
1895
|
-
'
|
|
1896
|
-
'
|
|
1897
|
-
'
|
|
1898
|
-
'offset',
|
|
1899
|
-
'sku_search_request_slim_preview_request',
|
|
1900
|
-
],
|
|
1901
|
-
'required': [
|
|
1902
|
-
'account_id',
|
|
1903
|
-
'retailer_id',
|
|
1769
|
+
'page_index',
|
|
1770
|
+
'page_size',
|
|
1771
|
+
'request_body',
|
|
1904
1772
|
],
|
|
1773
|
+
'required': [],
|
|
1905
1774
|
'nullable': [
|
|
1906
1775
|
],
|
|
1907
1776
|
'enum': [
|
|
1908
1777
|
],
|
|
1909
1778
|
'validation': [
|
|
1910
|
-
'
|
|
1779
|
+
'page_index',
|
|
1780
|
+
'page_size',
|
|
1781
|
+
'request_body',
|
|
1911
1782
|
]
|
|
1912
1783
|
},
|
|
1913
1784
|
root_map={
|
|
1914
1785
|
'validations': {
|
|
1915
|
-
('
|
|
1786
|
+
('page_index',): {
|
|
1787
|
+
|
|
1788
|
+
'inclusive_maximum': 500,
|
|
1789
|
+
'inclusive_minimum': 0,
|
|
1790
|
+
},
|
|
1791
|
+
('page_size',): {
|
|
1916
1792
|
|
|
1917
|
-
'inclusive_maximum':
|
|
1793
|
+
'inclusive_maximum': 1000,
|
|
1918
1794
|
'inclusive_minimum': 1,
|
|
1919
1795
|
},
|
|
1796
|
+
('request_body',): {
|
|
1797
|
+
|
|
1798
|
+
},
|
|
1920
1799
|
},
|
|
1921
1800
|
'allowed_values': {
|
|
1922
1801
|
},
|
|
1923
1802
|
'openapi_types': {
|
|
1924
|
-
'
|
|
1925
|
-
(str,),
|
|
1926
|
-
'retailer_id':
|
|
1927
|
-
(str,),
|
|
1928
|
-
'limit':
|
|
1803
|
+
'page_index':
|
|
1929
1804
|
(int,),
|
|
1930
|
-
'
|
|
1805
|
+
'page_size':
|
|
1931
1806
|
(int,),
|
|
1932
|
-
'
|
|
1933
|
-
(
|
|
1807
|
+
'request_body':
|
|
1808
|
+
([str],),
|
|
1934
1809
|
},
|
|
1935
1810
|
'attribute_map': {
|
|
1936
|
-
'
|
|
1937
|
-
'
|
|
1938
|
-
'limit': 'limit',
|
|
1939
|
-
'offset': 'offset',
|
|
1811
|
+
'page_index': 'pageIndex',
|
|
1812
|
+
'page_size': 'pageSize',
|
|
1940
1813
|
},
|
|
1941
1814
|
'location_map': {
|
|
1942
|
-
'
|
|
1943
|
-
'
|
|
1944
|
-
'
|
|
1945
|
-
'offset': 'query',
|
|
1946
|
-
'sku_search_request_slim_preview_request': 'body',
|
|
1815
|
+
'page_index': 'query',
|
|
1816
|
+
'page_size': 'query',
|
|
1817
|
+
'request_body': 'body',
|
|
1947
1818
|
},
|
|
1948
1819
|
'collection_format_map': {
|
|
1949
1820
|
}
|
|
@@ -1958,71 +1829,65 @@ class CampaignApi(object):
|
|
|
1958
1829
|
},
|
|
1959
1830
|
api_client=api_client
|
|
1960
1831
|
)
|
|
1961
|
-
self.
|
|
1832
|
+
self.post_api_v1_external_catalogs_sku_search_endpoint = _Endpoint(
|
|
1962
1833
|
settings={
|
|
1963
|
-
'response_type': (
|
|
1834
|
+
'response_type': (SkuDataPreviewListResponse,),
|
|
1964
1835
|
'auth': [
|
|
1965
1836
|
'oauth',
|
|
1966
1837
|
'oauth'
|
|
1967
1838
|
],
|
|
1968
|
-
'endpoint_path': '/preview/retail-media/catalogs/sku
|
|
1969
|
-
'operation_id': '
|
|
1839
|
+
'endpoint_path': '/preview/retail-media/catalogs/sku-search',
|
|
1840
|
+
'operation_id': 'post_api_v1_external_catalogs_sku_search',
|
|
1970
1841
|
'http_method': 'POST',
|
|
1971
1842
|
'servers': None,
|
|
1972
1843
|
},
|
|
1973
1844
|
params_map={
|
|
1974
1845
|
'all': [
|
|
1975
|
-
'
|
|
1976
|
-
'
|
|
1977
|
-
'
|
|
1978
|
-
'x_origin_account',
|
|
1979
|
-
'sku_search_request_slim_v2_preview_request',
|
|
1980
|
-
],
|
|
1981
|
-
'required': [
|
|
1982
|
-
'retailer_id',
|
|
1846
|
+
'page_index',
|
|
1847
|
+
'page_size',
|
|
1848
|
+
'sku_search_request_preview_request',
|
|
1983
1849
|
],
|
|
1850
|
+
'required': [],
|
|
1984
1851
|
'nullable': [
|
|
1985
1852
|
],
|
|
1986
1853
|
'enum': [
|
|
1987
1854
|
],
|
|
1988
1855
|
'validation': [
|
|
1989
|
-
'
|
|
1856
|
+
'page_index',
|
|
1857
|
+
'page_size',
|
|
1990
1858
|
]
|
|
1991
1859
|
},
|
|
1992
1860
|
root_map={
|
|
1993
1861
|
'validations': {
|
|
1994
|
-
('
|
|
1862
|
+
('page_index',): {
|
|
1863
|
+
|
|
1864
|
+
'inclusive_maximum': 500,
|
|
1865
|
+
'inclusive_minimum': 0,
|
|
1866
|
+
},
|
|
1867
|
+
('page_size',): {
|
|
1995
1868
|
|
|
1996
|
-
'inclusive_maximum':
|
|
1869
|
+
'inclusive_maximum': 1000,
|
|
1997
1870
|
'inclusive_minimum': 1,
|
|
1998
1871
|
},
|
|
1999
1872
|
},
|
|
2000
1873
|
'allowed_values': {
|
|
2001
1874
|
},
|
|
2002
1875
|
'openapi_types': {
|
|
2003
|
-
'
|
|
2004
|
-
(str,),
|
|
2005
|
-
'limit':
|
|
1876
|
+
'page_index':
|
|
2006
1877
|
(int,),
|
|
2007
|
-
'
|
|
1878
|
+
'page_size':
|
|
2008
1879
|
(int,),
|
|
2009
|
-
'
|
|
2010
|
-
(
|
|
2011
|
-
'sku_search_request_slim_v2_preview_request':
|
|
2012
|
-
(SkuSearchRequestSlimV2PreviewRequest,),
|
|
1880
|
+
'sku_search_request_preview_request':
|
|
1881
|
+
(SkuSearchRequestPreviewRequest,),
|
|
2013
1882
|
},
|
|
2014
1883
|
'attribute_map': {
|
|
2015
|
-
'
|
|
2016
|
-
'
|
|
2017
|
-
'offset': 'offset',
|
|
2018
|
-
'x_origin_account': 'X-Origin-Account',
|
|
1884
|
+
'page_index': 'pageIndex',
|
|
1885
|
+
'page_size': 'pageSize',
|
|
2019
1886
|
},
|
|
2020
1887
|
'location_map': {
|
|
2021
|
-
'
|
|
2022
|
-
'
|
|
2023
|
-
'
|
|
2024
|
-
'x_origin_account': 'header',
|
|
2025
|
-
'sku_search_request_slim_v2_preview_request': 'body',
|
|
1888
|
+
'page_index': 'query',
|
|
1889
|
+
'page_size': 'query',
|
|
1890
|
+
'sku_search_request_preview_request': 'body',
|
|
2026
1891
|
},
|
|
2027
1892
|
'collection_format_map': {
|
|
2028
1893
|
}
|
|
@@ -2157,28 +2022,30 @@ class CampaignApi(object):
|
|
|
2157
2022
|
},
|
|
2158
2023
|
api_client=api_client
|
|
2159
2024
|
)
|
|
2160
|
-
self.
|
|
2025
|
+
self.put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint = _Endpoint(
|
|
2161
2026
|
settings={
|
|
2162
|
-
'response_type': (
|
|
2027
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
2163
2028
|
'auth': [
|
|
2164
2029
|
'oauth',
|
|
2165
2030
|
'oauth'
|
|
2166
2031
|
],
|
|
2167
|
-
'endpoint_path': '/preview/retail-media/
|
|
2168
|
-
'operation_id': '
|
|
2032
|
+
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
|
|
2033
|
+
'operation_id': 'put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id',
|
|
2169
2034
|
'http_method': 'PUT',
|
|
2170
2035
|
'servers': None,
|
|
2171
2036
|
},
|
|
2172
2037
|
params_map={
|
|
2173
2038
|
'all': [
|
|
2174
2039
|
'line_item_id',
|
|
2175
|
-
'
|
|
2040
|
+
'product_button_id',
|
|
2041
|
+
'product_button_request_request',
|
|
2176
2042
|
],
|
|
2177
2043
|
'required': [
|
|
2178
2044
|
'line_item_id',
|
|
2179
|
-
'
|
|
2045
|
+
'product_button_id',
|
|
2180
2046
|
],
|
|
2181
2047
|
'nullable': [
|
|
2048
|
+
'product_button_request_request',
|
|
2182
2049
|
],
|
|
2183
2050
|
'enum': [
|
|
2184
2051
|
],
|
|
@@ -2193,22 +2060,28 @@ class CampaignApi(object):
|
|
|
2193
2060
|
'openapi_types': {
|
|
2194
2061
|
'line_item_id':
|
|
2195
2062
|
(str,),
|
|
2196
|
-
'
|
|
2197
|
-
(
|
|
2063
|
+
'product_button_id':
|
|
2064
|
+
(str,),
|
|
2065
|
+
'product_button_request_request':
|
|
2066
|
+
(ProductButtonRequestRequest,),
|
|
2198
2067
|
},
|
|
2199
2068
|
'attribute_map': {
|
|
2200
2069
|
'line_item_id': 'line-item-id',
|
|
2070
|
+
'product_button_id': 'product-button-id',
|
|
2201
2071
|
},
|
|
2202
2072
|
'location_map': {
|
|
2203
2073
|
'line_item_id': 'path',
|
|
2204
|
-
'
|
|
2074
|
+
'product_button_id': 'path',
|
|
2075
|
+
'product_button_request_request': 'body',
|
|
2205
2076
|
},
|
|
2206
2077
|
'collection_format_map': {
|
|
2207
2078
|
}
|
|
2208
2079
|
},
|
|
2209
2080
|
headers_map={
|
|
2210
2081
|
'accept': [
|
|
2211
|
-
'
|
|
2082
|
+
'text/plain',
|
|
2083
|
+
'application/json',
|
|
2084
|
+
'text/json'
|
|
2212
2085
|
],
|
|
2213
2086
|
'content_type': [
|
|
2214
2087
|
'application/json'
|
|
@@ -2216,27 +2089,25 @@ class CampaignApi(object):
|
|
|
2216
2089
|
},
|
|
2217
2090
|
api_client=api_client
|
|
2218
2091
|
)
|
|
2219
|
-
self.
|
|
2092
|
+
self.put_api_external_v2_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
|
|
2220
2093
|
settings={
|
|
2221
|
-
'response_type': (
|
|
2094
|
+
'response_type': (PreferredLineItemV2Response,),
|
|
2222
2095
|
'auth': [
|
|
2223
2096
|
'oauth',
|
|
2224
2097
|
'oauth'
|
|
2225
2098
|
],
|
|
2226
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}
|
|
2227
|
-
'operation_id': '
|
|
2099
|
+
'endpoint_path': '/preview/retail-media/preferred-line-items/{line-item-id}',
|
|
2100
|
+
'operation_id': 'put_api_external_v2_preferred_line_item_by_line_item_id',
|
|
2228
2101
|
'http_method': 'PUT',
|
|
2229
2102
|
'servers': None,
|
|
2230
2103
|
},
|
|
2231
2104
|
params_map={
|
|
2232
2105
|
'all': [
|
|
2233
2106
|
'line_item_id',
|
|
2234
|
-
'
|
|
2235
|
-
'product_button_request',
|
|
2107
|
+
'preferred_line_item_update_model_v2_request',
|
|
2236
2108
|
],
|
|
2237
2109
|
'required': [
|
|
2238
2110
|
'line_item_id',
|
|
2239
|
-
'product_button_id',
|
|
2240
2111
|
],
|
|
2241
2112
|
'nullable': [
|
|
2242
2113
|
],
|
|
@@ -2253,26 +2124,24 @@ class CampaignApi(object):
|
|
|
2253
2124
|
'openapi_types': {
|
|
2254
2125
|
'line_item_id':
|
|
2255
2126
|
(str,),
|
|
2256
|
-
'
|
|
2257
|
-
(
|
|
2258
|
-
'product_button_request':
|
|
2259
|
-
(ProductButtonRequest,),
|
|
2127
|
+
'preferred_line_item_update_model_v2_request':
|
|
2128
|
+
(PreferredLineItemUpdateModelV2Request,),
|
|
2260
2129
|
},
|
|
2261
2130
|
'attribute_map': {
|
|
2262
2131
|
'line_item_id': 'line-item-id',
|
|
2263
|
-
'product_button_id': 'product-button-id',
|
|
2264
2132
|
},
|
|
2265
2133
|
'location_map': {
|
|
2266
2134
|
'line_item_id': 'path',
|
|
2267
|
-
'
|
|
2268
|
-
'product_button_request': 'body',
|
|
2135
|
+
'preferred_line_item_update_model_v2_request': 'body',
|
|
2269
2136
|
},
|
|
2270
2137
|
'collection_format_map': {
|
|
2271
2138
|
}
|
|
2272
2139
|
},
|
|
2273
2140
|
headers_map={
|
|
2274
2141
|
'accept': [
|
|
2275
|
-
'
|
|
2142
|
+
'text/plain',
|
|
2143
|
+
'application/json',
|
|
2144
|
+
'text/json'
|
|
2276
2145
|
],
|
|
2277
2146
|
'content_type': [
|
|
2278
2147
|
'application/json'
|
|
@@ -3061,24 +2930,24 @@ class CampaignApi(object):
|
|
|
3061
2930
|
campaign_id
|
|
3062
2931
|
return self.create_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
|
|
3063
2932
|
|
|
3064
|
-
def
|
|
2933
|
+
def delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(
|
|
3065
2934
|
self,
|
|
3066
2935
|
line_item_id,
|
|
3067
2936
|
product_button_id,
|
|
3068
2937
|
**kwargs
|
|
3069
2938
|
):
|
|
3070
|
-
"""
|
|
2939
|
+
"""delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id # noqa: E501
|
|
3071
2940
|
|
|
3072
|
-
Delete
|
|
2941
|
+
Delete Specific Product Button # noqa: E501
|
|
3073
2942
|
This method makes a synchronous HTTP request by default. To make an
|
|
3074
2943
|
asynchronous HTTP request, please pass async_req=True
|
|
3075
2944
|
|
|
3076
|
-
>>> thread = api.
|
|
2945
|
+
>>> thread = api.delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(line_item_id, product_button_id, async_req=True)
|
|
3077
2946
|
>>> result = thread.get()
|
|
3078
2947
|
|
|
3079
2948
|
Args:
|
|
3080
|
-
line_item_id (str):
|
|
3081
|
-
product_button_id (str):
|
|
2949
|
+
line_item_id (str): External LineItemId for productButton delete
|
|
2950
|
+
product_button_id (str): productButtonId used for delete
|
|
3082
2951
|
|
|
3083
2952
|
Keyword Args:
|
|
3084
2953
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3113,7 +2982,7 @@ class CampaignApi(object):
|
|
|
3113
2982
|
async_req (bool): execute request asynchronously
|
|
3114
2983
|
|
|
3115
2984
|
Returns:
|
|
3116
|
-
|
|
2985
|
+
ProductButtonResponseListResponse
|
|
3117
2986
|
If the method is called asynchronously, returns the request
|
|
3118
2987
|
thread.
|
|
3119
2988
|
"""
|
|
@@ -3146,7 +3015,7 @@ class CampaignApi(object):
|
|
|
3146
3015
|
line_item_id
|
|
3147
3016
|
kwargs['product_button_id'] = \
|
|
3148
3017
|
product_button_id
|
|
3149
|
-
return self.
|
|
3018
|
+
return self.delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint.call_with_http_info(**kwargs)
|
|
3150
3019
|
|
|
3151
3020
|
def delete_promoted_products(
|
|
3152
3021
|
self,
|
|
@@ -3401,22 +3270,24 @@ class CampaignApi(object):
|
|
|
3401
3270
|
line_item_id
|
|
3402
3271
|
return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
3403
3272
|
|
|
3404
|
-
def
|
|
3273
|
+
def get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(
|
|
3405
3274
|
self,
|
|
3406
3275
|
line_item_id,
|
|
3276
|
+
product_button_id,
|
|
3407
3277
|
**kwargs
|
|
3408
3278
|
):
|
|
3409
|
-
"""
|
|
3279
|
+
"""get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id # noqa: E501
|
|
3410
3280
|
|
|
3411
|
-
Get
|
|
3281
|
+
Get Specific Product Button # noqa: E501
|
|
3412
3282
|
This method makes a synchronous HTTP request by default. To make an
|
|
3413
3283
|
asynchronous HTTP request, please pass async_req=True
|
|
3414
3284
|
|
|
3415
|
-
>>> thread = api.
|
|
3285
|
+
>>> thread = api.get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(line_item_id, product_button_id, async_req=True)
|
|
3416
3286
|
>>> result = thread.get()
|
|
3417
3287
|
|
|
3418
3288
|
Args:
|
|
3419
|
-
line_item_id (str):
|
|
3289
|
+
line_item_id (str): External LineItemId for productButton retrieval
|
|
3290
|
+
product_button_id (str): productButtonId used for retrieval
|
|
3420
3291
|
|
|
3421
3292
|
Keyword Args:
|
|
3422
3293
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3451,7 +3322,7 @@ class CampaignApi(object):
|
|
|
3451
3322
|
async_req (bool): execute request asynchronously
|
|
3452
3323
|
|
|
3453
3324
|
Returns:
|
|
3454
|
-
|
|
3325
|
+
ProductButtonResponseListResponse
|
|
3455
3326
|
If the method is called asynchronously, returns the request
|
|
3456
3327
|
thread.
|
|
3457
3328
|
"""
|
|
@@ -3482,26 +3353,26 @@ class CampaignApi(object):
|
|
|
3482
3353
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3483
3354
|
kwargs['line_item_id'] = \
|
|
3484
3355
|
line_item_id
|
|
3485
|
-
|
|
3356
|
+
kwargs['product_button_id'] = \
|
|
3357
|
+
product_button_id
|
|
3358
|
+
return self.get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint.call_with_http_info(**kwargs)
|
|
3486
3359
|
|
|
3487
|
-
def
|
|
3360
|
+
def get_api_external_v1_line_item_product_buttons_by_line_item_id(
|
|
3488
3361
|
self,
|
|
3489
3362
|
line_item_id,
|
|
3490
|
-
product_button_id,
|
|
3491
3363
|
**kwargs
|
|
3492
3364
|
):
|
|
3493
|
-
"""
|
|
3365
|
+
"""get_api_external_v1_line_item_product_buttons_by_line_item_id # noqa: E501
|
|
3494
3366
|
|
|
3495
|
-
Get
|
|
3367
|
+
Get LineItem Product Buttons # noqa: E501
|
|
3496
3368
|
This method makes a synchronous HTTP request by default. To make an
|
|
3497
3369
|
asynchronous HTTP request, please pass async_req=True
|
|
3498
3370
|
|
|
3499
|
-
>>> thread = api.
|
|
3371
|
+
>>> thread = api.get_api_external_v1_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
|
|
3500
3372
|
>>> result = thread.get()
|
|
3501
3373
|
|
|
3502
3374
|
Args:
|
|
3503
|
-
line_item_id (str):
|
|
3504
|
-
product_button_id (str): Sequential id of the product button
|
|
3375
|
+
line_item_id (str): External LineItemId for productButton retrieval
|
|
3505
3376
|
|
|
3506
3377
|
Keyword Args:
|
|
3507
3378
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3536,7 +3407,7 @@ class CampaignApi(object):
|
|
|
3536
3407
|
async_req (bool): execute request asynchronously
|
|
3537
3408
|
|
|
3538
3409
|
Returns:
|
|
3539
|
-
|
|
3410
|
+
ProductButtonResponseListResponse
|
|
3540
3411
|
If the method is called asynchronously, returns the request
|
|
3541
3412
|
thread.
|
|
3542
3413
|
"""
|
|
@@ -3567,28 +3438,29 @@ class CampaignApi(object):
|
|
|
3567
3438
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3568
3439
|
kwargs['line_item_id'] = \
|
|
3569
3440
|
line_item_id
|
|
3570
|
-
kwargs
|
|
3571
|
-
product_button_id
|
|
3572
|
-
return self.get_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
|
|
3441
|
+
return self.get_api_external_v1_line_item_product_buttons_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
3573
3442
|
|
|
3574
|
-
def
|
|
3443
|
+
def get_api_external_v2_campaign_preferred_line_items_by_campaign_id(
|
|
3575
3444
|
self,
|
|
3576
|
-
|
|
3445
|
+
campaign_id,
|
|
3577
3446
|
**kwargs
|
|
3578
3447
|
):
|
|
3579
|
-
"""
|
|
3448
|
+
"""get_api_external_v2_campaign_preferred_line_items_by_campaign_id # noqa: E501
|
|
3580
3449
|
|
|
3581
|
-
|
|
3450
|
+
Gets page of preferred line item objects for the given campaign id # noqa: E501
|
|
3582
3451
|
This method makes a synchronous HTTP request by default. To make an
|
|
3583
3452
|
asynchronous HTTP request, please pass async_req=True
|
|
3584
3453
|
|
|
3585
|
-
>>> thread = api.
|
|
3454
|
+
>>> thread = api.get_api_external_v2_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
|
|
3586
3455
|
>>> result = thread.get()
|
|
3587
3456
|
|
|
3588
3457
|
Args:
|
|
3589
|
-
|
|
3458
|
+
campaign_id (str): The given campaign id
|
|
3590
3459
|
|
|
3591
3460
|
Keyword Args:
|
|
3461
|
+
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
3462
|
+
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
|
|
3463
|
+
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
|
|
3592
3464
|
_return_http_data_only (bool): response data without head status
|
|
3593
3465
|
code and headers. Default is True.
|
|
3594
3466
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3621,7 +3493,7 @@ class CampaignApi(object):
|
|
|
3621
3493
|
async_req (bool): execute request asynchronously
|
|
3622
3494
|
|
|
3623
3495
|
Returns:
|
|
3624
|
-
|
|
3496
|
+
PreferredLineItemV2PagedListResponse
|
|
3625
3497
|
If the method is called asynchronously, returns the request
|
|
3626
3498
|
thread.
|
|
3627
3499
|
"""
|
|
@@ -3650,30 +3522,28 @@ class CampaignApi(object):
|
|
|
3650
3522
|
'_content_type')
|
|
3651
3523
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3652
3524
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3653
|
-
kwargs['
|
|
3654
|
-
|
|
3655
|
-
return self.
|
|
3525
|
+
kwargs['campaign_id'] = \
|
|
3526
|
+
campaign_id
|
|
3527
|
+
return self.get_api_external_v2_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
|
|
3656
3528
|
|
|
3657
|
-
def
|
|
3529
|
+
def get_api_external_v2_catalog_status_by_catalog_id(
|
|
3658
3530
|
self,
|
|
3659
|
-
|
|
3531
|
+
catalog_id,
|
|
3660
3532
|
**kwargs
|
|
3661
3533
|
):
|
|
3662
|
-
"""
|
|
3534
|
+
"""get_api_external_v2_catalog_status_by_catalog_id # noqa: E501
|
|
3663
3535
|
|
|
3664
|
-
|
|
3536
|
+
Check the status of a catalog request. # noqa: E501
|
|
3665
3537
|
This method makes a synchronous HTTP request by default. To make an
|
|
3666
3538
|
asynchronous HTTP request, please pass async_req=True
|
|
3667
3539
|
|
|
3668
|
-
>>> thread = api.
|
|
3540
|
+
>>> thread = api.get_api_external_v2_catalog_status_by_catalog_id(catalog_id, async_req=True)
|
|
3669
3541
|
>>> result = thread.get()
|
|
3670
3542
|
|
|
3671
3543
|
Args:
|
|
3672
|
-
|
|
3544
|
+
catalog_id (str): A catalog ID returned from an account catalog request.
|
|
3673
3545
|
|
|
3674
3546
|
Keyword Args:
|
|
3675
|
-
brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
|
|
3676
|
-
sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
|
|
3677
3547
|
_return_http_data_only (bool): response data without head status
|
|
3678
3548
|
code and headers. Default is True.
|
|
3679
3549
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3706,7 +3576,7 @@ class CampaignApi(object):
|
|
|
3706
3576
|
async_req (bool): execute request asynchronously
|
|
3707
3577
|
|
|
3708
3578
|
Returns:
|
|
3709
|
-
|
|
3579
|
+
EntityResourceOutcomeOfCatalogStatusV2
|
|
3710
3580
|
If the method is called asynchronously, returns the request
|
|
3711
3581
|
thread.
|
|
3712
3582
|
"""
|
|
@@ -3735,28 +3605,26 @@ class CampaignApi(object):
|
|
|
3735
3605
|
'_content_type')
|
|
3736
3606
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3737
3607
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3738
|
-
kwargs['
|
|
3739
|
-
|
|
3740
|
-
return self.
|
|
3608
|
+
kwargs['catalog_id'] = \
|
|
3609
|
+
catalog_id
|
|
3610
|
+
return self.get_api_external_v2_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs)
|
|
3741
3611
|
|
|
3742
|
-
def
|
|
3612
|
+
def get_api_external_v2_preferred_line_item_by_line_item_id(
|
|
3743
3613
|
self,
|
|
3744
|
-
|
|
3745
|
-
seller,
|
|
3614
|
+
line_item_id,
|
|
3746
3615
|
**kwargs
|
|
3747
3616
|
):
|
|
3748
|
-
"""
|
|
3617
|
+
"""get_api_external_v2_preferred_line_item_by_line_item_id # noqa: E501
|
|
3749
3618
|
|
|
3750
|
-
|
|
3619
|
+
Gets the preferred line item for the given line item id # noqa: E501
|
|
3751
3620
|
This method makes a synchronous HTTP request by default. To make an
|
|
3752
3621
|
asynchronous HTTP request, please pass async_req=True
|
|
3753
3622
|
|
|
3754
|
-
>>> thread = api.
|
|
3623
|
+
>>> thread = api.get_api_external_v2_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
|
|
3755
3624
|
>>> result = thread.get()
|
|
3756
3625
|
|
|
3757
3626
|
Args:
|
|
3758
|
-
|
|
3759
|
-
seller (str): The seller id or seller name which should be validated.
|
|
3627
|
+
line_item_id (str): The given line item id
|
|
3760
3628
|
|
|
3761
3629
|
Keyword Args:
|
|
3762
3630
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3791,7 +3659,7 @@ class CampaignApi(object):
|
|
|
3791
3659
|
async_req (bool): execute request asynchronously
|
|
3792
3660
|
|
|
3793
3661
|
Returns:
|
|
3794
|
-
|
|
3662
|
+
PreferredLineItemV2Response
|
|
3795
3663
|
If the method is called asynchronously, returns the request
|
|
3796
3664
|
thread.
|
|
3797
3665
|
"""
|
|
@@ -3820,31 +3688,30 @@ class CampaignApi(object):
|
|
|
3820
3688
|
'_content_type')
|
|
3821
3689
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3822
3690
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3823
|
-
kwargs['
|
|
3824
|
-
|
|
3825
|
-
kwargs
|
|
3826
|
-
seller
|
|
3827
|
-
return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
|
|
3691
|
+
kwargs['line_item_id'] = \
|
|
3692
|
+
line_item_id
|
|
3693
|
+
return self.get_api_external_v2_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
3828
3694
|
|
|
3829
|
-
def
|
|
3695
|
+
def get_api_v1_external_retailer_brands_by_retailer_id(
|
|
3830
3696
|
self,
|
|
3831
3697
|
retailer_id,
|
|
3832
3698
|
**kwargs
|
|
3833
3699
|
):
|
|
3834
|
-
"""
|
|
3700
|
+
"""get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
|
|
3835
3701
|
|
|
3836
|
-
Gets the
|
|
3702
|
+
Gets the brands for the given retailer # noqa: E501
|
|
3837
3703
|
This method makes a synchronous HTTP request by default. To make an
|
|
3838
3704
|
asynchronous HTTP request, please pass async_req=True
|
|
3839
3705
|
|
|
3840
|
-
>>> thread = api.
|
|
3706
|
+
>>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
|
|
3841
3707
|
>>> result = thread.get()
|
|
3842
3708
|
|
|
3843
3709
|
Args:
|
|
3844
|
-
retailer_id (
|
|
3710
|
+
retailer_id (int): The retailer id for which brands should be fetched.
|
|
3845
3711
|
|
|
3846
3712
|
Keyword Args:
|
|
3847
|
-
|
|
3713
|
+
brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
|
|
3714
|
+
sku_stock_type_filter (str): Filter to narrow down brands [first-party|third-party|first-and-third-party]. Defaults to first-and-third-party. [optional]
|
|
3848
3715
|
_return_http_data_only (bool): response data without head status
|
|
3849
3716
|
code and headers. Default is True.
|
|
3850
3717
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3877,7 +3744,7 @@ class CampaignApi(object):
|
|
|
3877
3744
|
async_req (bool): execute request asynchronously
|
|
3878
3745
|
|
|
3879
3746
|
Returns:
|
|
3880
|
-
|
|
3747
|
+
BrandPreviewListResponse
|
|
3881
3748
|
If the method is called asynchronously, returns the request
|
|
3882
3749
|
thread.
|
|
3883
3750
|
"""
|
|
@@ -3908,24 +3775,26 @@ class CampaignApi(object):
|
|
|
3908
3775
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3909
3776
|
kwargs['retailer_id'] = \
|
|
3910
3777
|
retailer_id
|
|
3911
|
-
return self.
|
|
3778
|
+
return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
3912
3779
|
|
|
3913
|
-
def
|
|
3780
|
+
def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
|
|
3914
3781
|
self,
|
|
3915
3782
|
retailer_id,
|
|
3783
|
+
seller,
|
|
3916
3784
|
**kwargs
|
|
3917
3785
|
):
|
|
3918
|
-
"""
|
|
3786
|
+
"""get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
|
|
3919
3787
|
|
|
3920
|
-
|
|
3788
|
+
Endpoint to get market place seller id and name # noqa: E501
|
|
3921
3789
|
This method makes a synchronous HTTP request by default. To make an
|
|
3922
3790
|
asynchronous HTTP request, please pass async_req=True
|
|
3923
3791
|
|
|
3924
|
-
>>> thread = api.
|
|
3792
|
+
>>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
|
|
3925
3793
|
>>> result = thread.get()
|
|
3926
3794
|
|
|
3927
3795
|
Args:
|
|
3928
|
-
retailer_id (
|
|
3796
|
+
retailer_id (int): The retailer id for which seller should be fetched.
|
|
3797
|
+
seller (str): The seller id or seller name which should be validated.
|
|
3929
3798
|
|
|
3930
3799
|
Keyword Args:
|
|
3931
3800
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3960,7 +3829,7 @@ class CampaignApi(object):
|
|
|
3960
3829
|
async_req (bool): execute request asynchronously
|
|
3961
3830
|
|
|
3962
3831
|
Returns:
|
|
3963
|
-
|
|
3832
|
+
SellerPreviewResponse
|
|
3964
3833
|
If the method is called asynchronously, returns the request
|
|
3965
3834
|
thread.
|
|
3966
3835
|
"""
|
|
@@ -3991,28 +3860,29 @@ class CampaignApi(object):
|
|
|
3991
3860
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3992
3861
|
kwargs['retailer_id'] = \
|
|
3993
3862
|
retailer_id
|
|
3994
|
-
|
|
3863
|
+
kwargs['seller'] = \
|
|
3864
|
+
seller
|
|
3865
|
+
return self.get_api_v1_external_retailer_by_retailer_id_seller_by_seller_endpoint.call_with_http_info(**kwargs)
|
|
3995
3866
|
|
|
3996
|
-
def
|
|
3867
|
+
def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
|
|
3997
3868
|
self,
|
|
3998
|
-
|
|
3999
|
-
creative_id,
|
|
3869
|
+
retailer_id,
|
|
4000
3870
|
**kwargs
|
|
4001
3871
|
):
|
|
4002
|
-
"""
|
|
3872
|
+
"""get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
|
|
4003
3873
|
|
|
4004
|
-
|
|
3874
|
+
Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
|
|
4005
3875
|
This method makes a synchronous HTTP request by default. To make an
|
|
4006
3876
|
asynchronous HTTP request, please pass async_req=True
|
|
4007
3877
|
|
|
4008
|
-
>>> thread = api.
|
|
3878
|
+
>>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
|
|
4009
3879
|
>>> result = thread.get()
|
|
4010
3880
|
|
|
4011
3881
|
Args:
|
|
4012
|
-
|
|
4013
|
-
creative_id (str): Creative to get
|
|
3882
|
+
retailer_id (str): The retailer id
|
|
4014
3883
|
|
|
4015
3884
|
Keyword Args:
|
|
3885
|
+
fields ([str]): The fields in the response that is to be included. [optional]
|
|
4016
3886
|
_return_http_data_only (bool): response data without head status
|
|
4017
3887
|
code and headers. Default is True.
|
|
4018
3888
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4045,7 +3915,7 @@ class CampaignApi(object):
|
|
|
4045
3915
|
async_req (bool): execute request asynchronously
|
|
4046
3916
|
|
|
4047
3917
|
Returns:
|
|
4048
|
-
|
|
3918
|
+
CpcRateCardPreviewResponse
|
|
4049
3919
|
If the method is called asynchronously, returns the request
|
|
4050
3920
|
thread.
|
|
4051
3921
|
"""
|
|
@@ -4074,33 +3944,28 @@ class CampaignApi(object):
|
|
|
4074
3944
|
'_content_type')
|
|
4075
3945
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4076
3946
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4077
|
-
kwargs['
|
|
4078
|
-
|
|
4079
|
-
kwargs
|
|
4080
|
-
creative_id
|
|
4081
|
-
return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
|
|
3947
|
+
kwargs['retailer_id'] = \
|
|
3948
|
+
retailer_id
|
|
3949
|
+
return self.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
4082
3950
|
|
|
4083
|
-
def
|
|
3951
|
+
def get_api_v1_external_retailer_placements_by_retailer_id(
|
|
4084
3952
|
self,
|
|
4085
|
-
|
|
3953
|
+
retailer_id,
|
|
4086
3954
|
**kwargs
|
|
4087
3955
|
):
|
|
4088
|
-
"""
|
|
3956
|
+
"""get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
|
|
4089
3957
|
|
|
4090
|
-
Gets
|
|
3958
|
+
Gets all placement information for the given retailer # noqa: E501
|
|
4091
3959
|
This method makes a synchronous HTTP request by default. To make an
|
|
4092
3960
|
asynchronous HTTP request, please pass async_req=True
|
|
4093
3961
|
|
|
4094
|
-
>>> thread = api.
|
|
3962
|
+
>>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
|
|
4095
3963
|
>>> result = thread.get()
|
|
4096
3964
|
|
|
4097
3965
|
Args:
|
|
4098
|
-
|
|
3966
|
+
retailer_id (str): The retailer id for which placements should be fetched.
|
|
4099
3967
|
|
|
4100
3968
|
Keyword Args:
|
|
4101
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
4102
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
4103
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
4104
3969
|
_return_http_data_only (bool): response data without head status
|
|
4105
3970
|
code and headers. Default is True.
|
|
4106
3971
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4133,7 +3998,7 @@ class CampaignApi(object):
|
|
|
4133
3998
|
async_req (bool): execute request asynchronously
|
|
4134
3999
|
|
|
4135
4000
|
Returns:
|
|
4136
|
-
|
|
4001
|
+
PlacementPreviewListResponse
|
|
4137
4002
|
If the method is called asynchronously, returns the request
|
|
4138
4003
|
thread.
|
|
4139
4004
|
"""
|
|
@@ -4162,26 +4027,28 @@ class CampaignApi(object):
|
|
|
4162
4027
|
'_content_type')
|
|
4163
4028
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4164
4029
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4165
|
-
kwargs['
|
|
4166
|
-
|
|
4167
|
-
return self.
|
|
4030
|
+
kwargs['retailer_id'] = \
|
|
4031
|
+
retailer_id
|
|
4032
|
+
return self.get_api_v1_external_retailer_placements_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
4168
4033
|
|
|
4169
|
-
def
|
|
4034
|
+
def get_api_v2_external_account_by_account_id_creativescreative_id(
|
|
4170
4035
|
self,
|
|
4171
|
-
|
|
4036
|
+
account_id,
|
|
4037
|
+
creative_id,
|
|
4172
4038
|
**kwargs
|
|
4173
4039
|
):
|
|
4174
|
-
"""
|
|
4040
|
+
"""get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
|
|
4175
4041
|
|
|
4176
|
-
|
|
4042
|
+
Get the specified creative # noqa: E501
|
|
4177
4043
|
This method makes a synchronous HTTP request by default. To make an
|
|
4178
4044
|
asynchronous HTTP request, please pass async_req=True
|
|
4179
4045
|
|
|
4180
|
-
>>> thread = api.
|
|
4046
|
+
>>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
|
|
4181
4047
|
>>> result = thread.get()
|
|
4182
4048
|
|
|
4183
4049
|
Args:
|
|
4184
|
-
|
|
4050
|
+
account_id (str): External account id to retrieve creatives for
|
|
4051
|
+
creative_id (str): Creative to get
|
|
4185
4052
|
|
|
4186
4053
|
Keyword Args:
|
|
4187
4054
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4216,7 +4083,7 @@ class CampaignApi(object):
|
|
|
4216
4083
|
async_req (bool): execute request asynchronously
|
|
4217
4084
|
|
|
4218
4085
|
Returns:
|
|
4219
|
-
|
|
4086
|
+
Creative2Response
|
|
4220
4087
|
If the method is called asynchronously, returns the request
|
|
4221
4088
|
thread.
|
|
4222
4089
|
"""
|
|
@@ -4245,9 +4112,11 @@ class CampaignApi(object):
|
|
|
4245
4112
|
'_content_type')
|
|
4246
4113
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4247
4114
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4248
|
-
kwargs['
|
|
4249
|
-
|
|
4250
|
-
|
|
4115
|
+
kwargs['account_id'] = \
|
|
4116
|
+
account_id
|
|
4117
|
+
kwargs['creative_id'] = \
|
|
4118
|
+
creative_id
|
|
4119
|
+
return self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
|
|
4251
4120
|
|
|
4252
4121
|
def get_auction_line_item_v2(
|
|
4253
4122
|
self,
|
|
@@ -4671,112 +4540,25 @@ class CampaignApi(object):
|
|
|
4671
4540
|
line_item_id
|
|
4672
4541
|
return self.pause_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
4673
4542
|
|
|
4674
|
-
def
|
|
4675
|
-
self,
|
|
4676
|
-
campaign_id,
|
|
4677
|
-
preferred_line_item_create_model_v2_request,
|
|
4678
|
-
**kwargs
|
|
4679
|
-
):
|
|
4680
|
-
"""post_api202110_external_campaign_preferred_line_items_by_campaign_id # noqa: E501
|
|
4681
|
-
|
|
4682
|
-
Creates a new preferred line item with the specified settings # noqa: E501
|
|
4683
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4684
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4685
|
-
|
|
4686
|
-
>>> thread = api.post_api202110_external_campaign_preferred_line_items_by_campaign_id(campaign_id, preferred_line_item_create_model_v2_request, async_req=True)
|
|
4687
|
-
>>> result = thread.get()
|
|
4688
|
-
|
|
4689
|
-
Args:
|
|
4690
|
-
campaign_id (str): The given campaign id
|
|
4691
|
-
preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with
|
|
4692
|
-
|
|
4693
|
-
Keyword Args:
|
|
4694
|
-
_return_http_data_only (bool): response data without head status
|
|
4695
|
-
code and headers. Default is True.
|
|
4696
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4697
|
-
will be returned without reading/decoding response data.
|
|
4698
|
-
Default is True.
|
|
4699
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4700
|
-
one number provided, it will be total request timeout. It can also
|
|
4701
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4702
|
-
Default is None.
|
|
4703
|
-
_check_input_type (bool): specifies if type checking
|
|
4704
|
-
should be done one the data sent to the server.
|
|
4705
|
-
Default is True.
|
|
4706
|
-
_check_return_type (bool): specifies if type checking
|
|
4707
|
-
should be done one the data received from the server.
|
|
4708
|
-
Default is True.
|
|
4709
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4710
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4711
|
-
False if the variable names in the input data
|
|
4712
|
-
are pythonic names, e.g. snake case (default)
|
|
4713
|
-
_content_type (str/None): force body content-type.
|
|
4714
|
-
Default is None and content-type will be predicted by allowed
|
|
4715
|
-
content-types and body.
|
|
4716
|
-
_host_index (int/None): specifies the index of the server
|
|
4717
|
-
that we want to use.
|
|
4718
|
-
Default is read from the configuration.
|
|
4719
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4720
|
-
request; this effectively ignores the authentication
|
|
4721
|
-
in the spec for a single request.
|
|
4722
|
-
Default is None
|
|
4723
|
-
async_req (bool): execute request asynchronously
|
|
4724
|
-
|
|
4725
|
-
Returns:
|
|
4726
|
-
PreferredLineItemV2Response
|
|
4727
|
-
If the method is called asynchronously, returns the request
|
|
4728
|
-
thread.
|
|
4729
|
-
"""
|
|
4730
|
-
kwargs['async_req'] = kwargs.get(
|
|
4731
|
-
'async_req', False
|
|
4732
|
-
)
|
|
4733
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4734
|
-
'_return_http_data_only', True
|
|
4735
|
-
)
|
|
4736
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4737
|
-
'_preload_content', True
|
|
4738
|
-
)
|
|
4739
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4740
|
-
'_request_timeout', None
|
|
4741
|
-
)
|
|
4742
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4743
|
-
'_check_input_type', True
|
|
4744
|
-
)
|
|
4745
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4746
|
-
'_check_return_type', True
|
|
4747
|
-
)
|
|
4748
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4749
|
-
'_spec_property_naming', False
|
|
4750
|
-
)
|
|
4751
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4752
|
-
'_content_type')
|
|
4753
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4754
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4755
|
-
kwargs['campaign_id'] = \
|
|
4756
|
-
campaign_id
|
|
4757
|
-
kwargs['preferred_line_item_create_model_v2_request'] = \
|
|
4758
|
-
preferred_line_item_create_model_v2_request
|
|
4759
|
-
return self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
|
|
4760
|
-
|
|
4761
|
-
def post_api202210_external_line_item_product_buttons_create_by_line_item_id(
|
|
4543
|
+
def post_api_external_v1_line_item_product_buttons_create_by_line_item_id(
|
|
4762
4544
|
self,
|
|
4763
4545
|
line_item_id,
|
|
4764
4546
|
**kwargs
|
|
4765
4547
|
):
|
|
4766
|
-
"""
|
|
4548
|
+
"""post_api_external_v1_line_item_product_buttons_create_by_line_item_id # noqa: E501
|
|
4767
4549
|
|
|
4768
|
-
|
|
4550
|
+
Add Specific Product Buttons # noqa: E501
|
|
4769
4551
|
This method makes a synchronous HTTP request by default. To make an
|
|
4770
4552
|
asynchronous HTTP request, please pass async_req=True
|
|
4771
4553
|
|
|
4772
|
-
>>> thread = api.
|
|
4554
|
+
>>> thread = api.post_api_external_v1_line_item_product_buttons_create_by_line_item_id(line_item_id, async_req=True)
|
|
4773
4555
|
>>> result = thread.get()
|
|
4774
4556
|
|
|
4775
4557
|
Args:
|
|
4776
|
-
line_item_id (str):
|
|
4558
|
+
line_item_id (str): External LineItemId for productButton retrieval
|
|
4777
4559
|
|
|
4778
4560
|
Keyword Args:
|
|
4779
|
-
|
|
4561
|
+
product_button_request_list_request (ProductButtonRequestListRequest): List of Product Buttons to append. [optional]
|
|
4780
4562
|
_return_http_data_only (bool): response data without head status
|
|
4781
4563
|
code and headers. Default is True.
|
|
4782
4564
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4809,7 +4591,7 @@ class CampaignApi(object):
|
|
|
4809
4591
|
async_req (bool): execute request asynchronously
|
|
4810
4592
|
|
|
4811
4593
|
Returns:
|
|
4812
|
-
|
|
4594
|
+
ProductButtonResponseListResponse
|
|
4813
4595
|
If the method is called asynchronously, returns the request
|
|
4814
4596
|
thread.
|
|
4815
4597
|
"""
|
|
@@ -4840,7 +4622,7 @@ class CampaignApi(object):
|
|
|
4840
4622
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4841
4623
|
kwargs['line_item_id'] = \
|
|
4842
4624
|
line_item_id
|
|
4843
|
-
return self.
|
|
4625
|
+
return self.post_api_external_v1_line_item_product_buttons_create_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
4844
4626
|
|
|
4845
4627
|
def post_api_external_v2_account_brand_catalog_export_by_account_id(
|
|
4846
4628
|
self,
|
|
@@ -5010,24 +4792,25 @@ class CampaignApi(object):
|
|
|
5010
4792
|
account_id
|
|
5011
4793
|
return self.post_api_external_v2_account_seller_catalog_export_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
5012
4794
|
|
|
5013
|
-
def
|
|
4795
|
+
def post_api_external_v2_campaign_preferred_line_items_by_campaign_id(
|
|
5014
4796
|
self,
|
|
4797
|
+
campaign_id,
|
|
5015
4798
|
**kwargs
|
|
5016
4799
|
):
|
|
5017
|
-
"""
|
|
4800
|
+
"""post_api_external_v2_campaign_preferred_line_items_by_campaign_id # noqa: E501
|
|
5018
4801
|
|
|
5019
|
-
|
|
4802
|
+
Creates a new preferred line item with the specified settings # noqa: E501
|
|
5020
4803
|
This method makes a synchronous HTTP request by default. To make an
|
|
5021
4804
|
asynchronous HTTP request, please pass async_req=True
|
|
5022
4805
|
|
|
5023
|
-
>>> thread = api.
|
|
4806
|
+
>>> thread = api.post_api_external_v2_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
|
|
5024
4807
|
>>> result = thread.get()
|
|
5025
4808
|
|
|
4809
|
+
Args:
|
|
4810
|
+
campaign_id (str): The given campaign id
|
|
5026
4811
|
|
|
5027
4812
|
Keyword Args:
|
|
5028
|
-
|
|
5029
|
-
page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
|
|
5030
|
-
request_body ([str]): The list of SKU keys to retrieve sku information. [optional]
|
|
4813
|
+
preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with. [optional]
|
|
5031
4814
|
_return_http_data_only (bool): response data without head status
|
|
5032
4815
|
code and headers. Default is True.
|
|
5033
4816
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5060,7 +4843,7 @@ class CampaignApi(object):
|
|
|
5060
4843
|
async_req (bool): execute request asynchronously
|
|
5061
4844
|
|
|
5062
4845
|
Returns:
|
|
5063
|
-
|
|
4846
|
+
None
|
|
5064
4847
|
If the method is called asynchronously, returns the request
|
|
5065
4848
|
thread.
|
|
5066
4849
|
"""
|
|
@@ -5089,26 +4872,28 @@ class CampaignApi(object):
|
|
|
5089
4872
|
'_content_type')
|
|
5090
4873
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5091
4874
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5092
|
-
|
|
4875
|
+
kwargs['campaign_id'] = \
|
|
4876
|
+
campaign_id
|
|
4877
|
+
return self.post_api_external_v2_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
|
|
5093
4878
|
|
|
5094
|
-
def
|
|
4879
|
+
def post_api_v1_external_catalogs_sku_retrieval(
|
|
5095
4880
|
self,
|
|
5096
4881
|
**kwargs
|
|
5097
4882
|
):
|
|
5098
|
-
"""
|
|
4883
|
+
"""post_api_v1_external_catalogs_sku_retrieval # noqa: E501
|
|
5099
4884
|
|
|
5100
4885
|
Endpoint to search skus by text, retailer and sellers/brands. # noqa: E501
|
|
5101
4886
|
This method makes a synchronous HTTP request by default. To make an
|
|
5102
4887
|
asynchronous HTTP request, please pass async_req=True
|
|
5103
4888
|
|
|
5104
|
-
>>> thread = api.
|
|
4889
|
+
>>> thread = api.post_api_v1_external_catalogs_sku_retrieval(async_req=True)
|
|
5105
4890
|
>>> result = thread.get()
|
|
5106
4891
|
|
|
5107
4892
|
|
|
5108
4893
|
Keyword Args:
|
|
5109
4894
|
page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
|
|
5110
4895
|
page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
|
|
5111
|
-
|
|
4896
|
+
request_body ([str]): The list of SKU keys to retrieve sku information. [optional]
|
|
5112
4897
|
_return_http_data_only (bool): response data without head status
|
|
5113
4898
|
code and headers. Default is True.
|
|
5114
4899
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5170,120 +4955,26 @@ class CampaignApi(object):
|
|
|
5170
4955
|
'_content_type')
|
|
5171
4956
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5172
4957
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5173
|
-
return self.
|
|
5174
|
-
|
|
5175
|
-
def post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(
|
|
5176
|
-
self,
|
|
5177
|
-
account_id,
|
|
5178
|
-
retailer_id,
|
|
5179
|
-
**kwargs
|
|
5180
|
-
):
|
|
5181
|
-
"""post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id # noqa: E501
|
|
5182
|
-
|
|
5183
|
-
Endpoint to search skus by text, account and retailer with an option to filter by brands id's. # noqa: E501
|
|
5184
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
5185
|
-
asynchronous HTTP request, please pass async_req=True
|
|
5186
|
-
|
|
5187
|
-
>>> thread = api.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id(account_id, retailer_id, async_req=True)
|
|
5188
|
-
>>> result = thread.get()
|
|
5189
|
-
|
|
5190
|
-
Args:
|
|
5191
|
-
account_id (str): The account for which skus should be searched for.
|
|
5192
|
-
retailer_id (str): The client id/retailer id for which skus should be searched for.
|
|
5193
|
-
|
|
5194
|
-
Keyword Args:
|
|
5195
|
-
limit (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
|
|
5196
|
-
offset (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
|
|
5197
|
-
sku_search_request_slim_preview_request (SkuSearchRequestSlimPreviewRequest): . [optional]
|
|
5198
|
-
_return_http_data_only (bool): response data without head status
|
|
5199
|
-
code and headers. Default is True.
|
|
5200
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5201
|
-
will be returned without reading/decoding response data.
|
|
5202
|
-
Default is True.
|
|
5203
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5204
|
-
one number provided, it will be total request timeout. It can also
|
|
5205
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
5206
|
-
Default is None.
|
|
5207
|
-
_check_input_type (bool): specifies if type checking
|
|
5208
|
-
should be done one the data sent to the server.
|
|
5209
|
-
Default is True.
|
|
5210
|
-
_check_return_type (bool): specifies if type checking
|
|
5211
|
-
should be done one the data received from the server.
|
|
5212
|
-
Default is True.
|
|
5213
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
5214
|
-
are serialized names, as specified in the OpenAPI document.
|
|
5215
|
-
False if the variable names in the input data
|
|
5216
|
-
are pythonic names, e.g. snake case (default)
|
|
5217
|
-
_content_type (str/None): force body content-type.
|
|
5218
|
-
Default is None and content-type will be predicted by allowed
|
|
5219
|
-
content-types and body.
|
|
5220
|
-
_host_index (int/None): specifies the index of the server
|
|
5221
|
-
that we want to use.
|
|
5222
|
-
Default is read from the configuration.
|
|
5223
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
5224
|
-
request; this effectively ignores the authentication
|
|
5225
|
-
in the spec for a single request.
|
|
5226
|
-
Default is None
|
|
5227
|
-
async_req (bool): execute request asynchronously
|
|
5228
|
-
|
|
5229
|
-
Returns:
|
|
5230
|
-
SkuSlimDataPreviewListResponse
|
|
5231
|
-
If the method is called asynchronously, returns the request
|
|
5232
|
-
thread.
|
|
5233
|
-
"""
|
|
5234
|
-
kwargs['async_req'] = kwargs.get(
|
|
5235
|
-
'async_req', False
|
|
5236
|
-
)
|
|
5237
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5238
|
-
'_return_http_data_only', True
|
|
5239
|
-
)
|
|
5240
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
5241
|
-
'_preload_content', True
|
|
5242
|
-
)
|
|
5243
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
5244
|
-
'_request_timeout', None
|
|
5245
|
-
)
|
|
5246
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
5247
|
-
'_check_input_type', True
|
|
5248
|
-
)
|
|
5249
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
5250
|
-
'_check_return_type', True
|
|
5251
|
-
)
|
|
5252
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5253
|
-
'_spec_property_naming', False
|
|
5254
|
-
)
|
|
5255
|
-
kwargs['_content_type'] = kwargs.get(
|
|
5256
|
-
'_content_type')
|
|
5257
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5258
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5259
|
-
kwargs['account_id'] = \
|
|
5260
|
-
account_id
|
|
5261
|
-
kwargs['retailer_id'] = \
|
|
5262
|
-
retailer_id
|
|
5263
|
-
return self.post_api_v1_external_catalogs_sku_search_account_id_and_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
4958
|
+
return self.post_api_v1_external_catalogs_sku_retrieval_endpoint.call_with_http_info(**kwargs)
|
|
5264
4959
|
|
|
5265
|
-
def
|
|
4960
|
+
def post_api_v1_external_catalogs_sku_search(
|
|
5266
4961
|
self,
|
|
5267
|
-
retailer_id,
|
|
5268
4962
|
**kwargs
|
|
5269
4963
|
):
|
|
5270
|
-
"""
|
|
4964
|
+
"""post_api_v1_external_catalogs_sku_search # noqa: E501
|
|
5271
4965
|
|
|
5272
|
-
Endpoint to search skus by text
|
|
4966
|
+
Endpoint to search skus by text, retailer and sellers/brands. # noqa: E501
|
|
5273
4967
|
This method makes a synchronous HTTP request by default. To make an
|
|
5274
4968
|
asynchronous HTTP request, please pass async_req=True
|
|
5275
4969
|
|
|
5276
|
-
>>> thread = api.
|
|
4970
|
+
>>> thread = api.post_api_v1_external_catalogs_sku_search(async_req=True)
|
|
5277
4971
|
>>> result = thread.get()
|
|
5278
4972
|
|
|
5279
|
-
Args:
|
|
5280
|
-
retailer_id (str): The client id/retailer id for which skus should be searched for.
|
|
5281
4973
|
|
|
5282
4974
|
Keyword Args:
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
sku_search_request_slim_v2_preview_request (SkuSearchRequestSlimV2PreviewRequest): . [optional]
|
|
4975
|
+
page_index (int): The start position in the overall list of matches. Must be zero or greater.. [optional] if omitted the server will use the default value of 0
|
|
4976
|
+
page_size (int): The maximum number of results to return with each call. Must be greater than zero.. [optional] if omitted the server will use the default value of 100
|
|
4977
|
+
sku_search_request_preview_request (SkuSearchRequestPreviewRequest): . [optional]
|
|
5287
4978
|
_return_http_data_only (bool): response data without head status
|
|
5288
4979
|
code and headers. Default is True.
|
|
5289
4980
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5316,7 +5007,7 @@ class CampaignApi(object):
|
|
|
5316
5007
|
async_req (bool): execute request asynchronously
|
|
5317
5008
|
|
|
5318
5009
|
Returns:
|
|
5319
|
-
|
|
5010
|
+
SkuDataPreviewListResponse
|
|
5320
5011
|
If the method is called asynchronously, returns the request
|
|
5321
5012
|
thread.
|
|
5322
5013
|
"""
|
|
@@ -5345,9 +5036,7 @@ class CampaignApi(object):
|
|
|
5345
5036
|
'_content_type')
|
|
5346
5037
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5347
5038
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5348
|
-
kwargs
|
|
5349
|
-
retailer_id
|
|
5350
|
-
return self.post_api_v1_external_catalogs_sku_search_retailer_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
5039
|
+
return self.post_api_v1_external_catalogs_sku_search_endpoint.call_with_http_info(**kwargs)
|
|
5351
5040
|
|
|
5352
5041
|
def post_api_v2_external_account_creatives_by_account_id(
|
|
5353
5042
|
self,
|
|
@@ -5517,26 +5206,27 @@ class CampaignApi(object):
|
|
|
5517
5206
|
account_id
|
|
5518
5207
|
return self.post_api_v2_external_account_creatives_search_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
5519
5208
|
|
|
5520
|
-
def
|
|
5209
|
+
def put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(
|
|
5521
5210
|
self,
|
|
5522
5211
|
line_item_id,
|
|
5523
|
-
|
|
5212
|
+
product_button_id,
|
|
5524
5213
|
**kwargs
|
|
5525
5214
|
):
|
|
5526
|
-
"""
|
|
5215
|
+
"""put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id # noqa: E501
|
|
5527
5216
|
|
|
5528
|
-
|
|
5217
|
+
Update Specific Product Button # noqa: E501
|
|
5529
5218
|
This method makes a synchronous HTTP request by default. To make an
|
|
5530
5219
|
asynchronous HTTP request, please pass async_req=True
|
|
5531
5220
|
|
|
5532
|
-
>>> thread = api.
|
|
5221
|
+
>>> thread = api.put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(line_item_id, product_button_id, async_req=True)
|
|
5533
5222
|
>>> result = thread.get()
|
|
5534
5223
|
|
|
5535
5224
|
Args:
|
|
5536
|
-
line_item_id (str):
|
|
5537
|
-
|
|
5225
|
+
line_item_id (str): External LineItemId for productButton update
|
|
5226
|
+
product_button_id (str): productButtonId used for update
|
|
5538
5227
|
|
|
5539
5228
|
Keyword Args:
|
|
5229
|
+
product_button_request_request (ProductButtonRequestRequest): Specific Product button update info. [optional]
|
|
5540
5230
|
_return_http_data_only (bool): response data without head status
|
|
5541
5231
|
code and headers. Default is True.
|
|
5542
5232
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5569,7 +5259,7 @@ class CampaignApi(object):
|
|
|
5569
5259
|
async_req (bool): execute request asynchronously
|
|
5570
5260
|
|
|
5571
5261
|
Returns:
|
|
5572
|
-
|
|
5262
|
+
ProductButtonResponseListResponse
|
|
5573
5263
|
If the method is called asynchronously, returns the request
|
|
5574
5264
|
thread.
|
|
5575
5265
|
"""
|
|
@@ -5600,31 +5290,29 @@ class CampaignApi(object):
|
|
|
5600
5290
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5601
5291
|
kwargs['line_item_id'] = \
|
|
5602
5292
|
line_item_id
|
|
5603
|
-
kwargs['
|
|
5604
|
-
|
|
5605
|
-
return self.
|
|
5293
|
+
kwargs['product_button_id'] = \
|
|
5294
|
+
product_button_id
|
|
5295
|
+
return self.put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint.call_with_http_info(**kwargs)
|
|
5606
5296
|
|
|
5607
|
-
def
|
|
5297
|
+
def put_api_external_v2_preferred_line_item_by_line_item_id(
|
|
5608
5298
|
self,
|
|
5609
5299
|
line_item_id,
|
|
5610
|
-
product_button_id,
|
|
5611
5300
|
**kwargs
|
|
5612
5301
|
):
|
|
5613
|
-
"""
|
|
5302
|
+
"""put_api_external_v2_preferred_line_item_by_line_item_id # noqa: E501
|
|
5614
5303
|
|
|
5615
|
-
|
|
5304
|
+
Updates the preferred line item for the given line item id # noqa: E501
|
|
5616
5305
|
This method makes a synchronous HTTP request by default. To make an
|
|
5617
5306
|
asynchronous HTTP request, please pass async_req=True
|
|
5618
5307
|
|
|
5619
|
-
>>> thread = api.
|
|
5308
|
+
>>> thread = api.put_api_external_v2_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
|
|
5620
5309
|
>>> result = thread.get()
|
|
5621
5310
|
|
|
5622
5311
|
Args:
|
|
5623
|
-
line_item_id (str):
|
|
5624
|
-
product_button_id (str): Sequential id of the product button
|
|
5312
|
+
line_item_id (str): The given line item id
|
|
5625
5313
|
|
|
5626
5314
|
Keyword Args:
|
|
5627
|
-
|
|
5315
|
+
preferred_line_item_update_model_v2_request (PreferredLineItemUpdateModelV2Request): The line item settings to create a line item with. [optional]
|
|
5628
5316
|
_return_http_data_only (bool): response data without head status
|
|
5629
5317
|
code and headers. Default is True.
|
|
5630
5318
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5657,7 +5345,7 @@ class CampaignApi(object):
|
|
|
5657
5345
|
async_req (bool): execute request asynchronously
|
|
5658
5346
|
|
|
5659
5347
|
Returns:
|
|
5660
|
-
|
|
5348
|
+
PreferredLineItemV2Response
|
|
5661
5349
|
If the method is called asynchronously, returns the request
|
|
5662
5350
|
thread.
|
|
5663
5351
|
"""
|
|
@@ -5688,9 +5376,7 @@ class CampaignApi(object):
|
|
|
5688
5376
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5689
5377
|
kwargs['line_item_id'] = \
|
|
5690
5378
|
line_item_id
|
|
5691
|
-
kwargs
|
|
5692
|
-
product_button_id
|
|
5693
|
-
return self.put_api202210_external_line_item_product_buttons_by_line_item_id_product_button_id_endpoint.call_with_http_info(**kwargs)
|
|
5379
|
+
return self.put_api_external_v2_preferred_line_item_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
5694
5380
|
|
|
5695
5381
|
def put_api_v2_external_account_by_account_id_creativescreative_id(
|
|
5696
5382
|
self,
|
|
@@ -6128,7 +5814,7 @@ class CampaignApi(object):
|
|
|
6128
5814
|
>>> result = thread.get()
|
|
6129
5815
|
|
|
6130
5816
|
Args:
|
|
6131
|
-
line_item_id (str): The line item ID of the sponsored products line item.
|
|
5817
|
+
line_item_id (str): The external line item ID of the sponsored products line item.
|
|
6132
5818
|
|
|
6133
5819
|
Keyword Args:
|
|
6134
5820
|
value_resource_input_of_sponsored_products_line_item_update_request_model (ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel): An update request containing all details of the requested update.. [optional]
|