criteo-api-retailmedia-sdk 0.0.250811__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 +424 -398
- 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/product_button_request_request.py +269 -0
- 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 -13
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/RECORD +45 -45
- criteo_api_retailmedia_preview/model/external_product_button_request.py +0 -287
- {criteo_api_retailmedia_sdk-0.0.250811.dist-info → criteo_api_retailmedia_sdk-0.0.250819.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250811.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
|
|
@@ -337,15 +337,15 @@ class CampaignApi(object):
|
|
|
337
337
|
},
|
|
338
338
|
api_client=api_client
|
|
339
339
|
)
|
|
340
|
-
self.
|
|
340
|
+
self.delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint = _Endpoint(
|
|
341
341
|
settings={
|
|
342
|
-
'response_type':
|
|
342
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
343
343
|
'auth': [
|
|
344
344
|
'oauth',
|
|
345
345
|
'oauth'
|
|
346
346
|
],
|
|
347
347
|
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/{product-button-id}',
|
|
348
|
-
'operation_id': '
|
|
348
|
+
'operation_id': 'delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id',
|
|
349
349
|
'http_method': 'DELETE',
|
|
350
350
|
'servers': None,
|
|
351
351
|
},
|
|
@@ -388,7 +388,11 @@ class CampaignApi(object):
|
|
|
388
388
|
}
|
|
389
389
|
},
|
|
390
390
|
headers_map={
|
|
391
|
-
'accept': [
|
|
391
|
+
'accept': [
|
|
392
|
+
'text/plain',
|
|
393
|
+
'application/json',
|
|
394
|
+
'text/json'
|
|
395
|
+
],
|
|
392
396
|
'content_type': [],
|
|
393
397
|
},
|
|
394
398
|
api_client=api_client
|
|
@@ -570,24 +574,26 @@ class CampaignApi(object):
|
|
|
570
574
|
},
|
|
571
575
|
api_client=api_client
|
|
572
576
|
)
|
|
573
|
-
self.
|
|
577
|
+
self.get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint = _Endpoint(
|
|
574
578
|
settings={
|
|
575
|
-
'response_type': (
|
|
579
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
576
580
|
'auth': [
|
|
577
581
|
'oauth',
|
|
578
582
|
'oauth'
|
|
579
583
|
],
|
|
580
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons',
|
|
581
|
-
'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',
|
|
582
586
|
'http_method': 'GET',
|
|
583
587
|
'servers': None,
|
|
584
588
|
},
|
|
585
589
|
params_map={
|
|
586
590
|
'all': [
|
|
587
591
|
'line_item_id',
|
|
592
|
+
'product_button_id',
|
|
588
593
|
],
|
|
589
594
|
'required': [
|
|
590
595
|
'line_item_id',
|
|
596
|
+
'product_button_id',
|
|
591
597
|
],
|
|
592
598
|
'nullable': [
|
|
593
599
|
],
|
|
@@ -604,44 +610,48 @@ class CampaignApi(object):
|
|
|
604
610
|
'openapi_types': {
|
|
605
611
|
'line_item_id':
|
|
606
612
|
(str,),
|
|
613
|
+
'product_button_id':
|
|
614
|
+
(str,),
|
|
607
615
|
},
|
|
608
616
|
'attribute_map': {
|
|
609
617
|
'line_item_id': 'line-item-id',
|
|
618
|
+
'product_button_id': 'product-button-id',
|
|
610
619
|
},
|
|
611
620
|
'location_map': {
|
|
612
621
|
'line_item_id': 'path',
|
|
622
|
+
'product_button_id': 'path',
|
|
613
623
|
},
|
|
614
624
|
'collection_format_map': {
|
|
615
625
|
}
|
|
616
626
|
},
|
|
617
627
|
headers_map={
|
|
618
628
|
'accept': [
|
|
619
|
-
'
|
|
629
|
+
'text/plain',
|
|
630
|
+
'application/json',
|
|
631
|
+
'text/json'
|
|
620
632
|
],
|
|
621
633
|
'content_type': [],
|
|
622
634
|
},
|
|
623
635
|
api_client=api_client
|
|
624
636
|
)
|
|
625
|
-
self.
|
|
637
|
+
self.get_api_external_v1_line_item_product_buttons_by_line_item_id_endpoint = _Endpoint(
|
|
626
638
|
settings={
|
|
627
|
-
'response_type': (
|
|
639
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
628
640
|
'auth': [
|
|
629
641
|
'oauth',
|
|
630
642
|
'oauth'
|
|
631
643
|
],
|
|
632
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons
|
|
633
|
-
'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',
|
|
634
646
|
'http_method': 'GET',
|
|
635
647
|
'servers': None,
|
|
636
648
|
},
|
|
637
649
|
params_map={
|
|
638
650
|
'all': [
|
|
639
651
|
'line_item_id',
|
|
640
|
-
'product_button_id',
|
|
641
652
|
],
|
|
642
653
|
'required': [
|
|
643
654
|
'line_item_id',
|
|
644
|
-
'product_button_id',
|
|
645
655
|
],
|
|
646
656
|
'nullable': [
|
|
647
657
|
],
|
|
@@ -658,23 +668,103 @@ class CampaignApi(object):
|
|
|
658
668
|
'openapi_types': {
|
|
659
669
|
'line_item_id':
|
|
660
670
|
(str,),
|
|
661
|
-
'product_button_id':
|
|
662
|
-
(str,),
|
|
663
671
|
},
|
|
664
672
|
'attribute_map': {
|
|
665
673
|
'line_item_id': 'line-item-id',
|
|
666
|
-
'product_button_id': 'product-button-id',
|
|
667
674
|
},
|
|
668
675
|
'location_map': {
|
|
669
676
|
'line_item_id': 'path',
|
|
670
|
-
'product_button_id': 'path',
|
|
671
677
|
},
|
|
672
678
|
'collection_format_map': {
|
|
673
679
|
}
|
|
674
680
|
},
|
|
675
681
|
headers_map={
|
|
676
682
|
'accept': [
|
|
677
|
-
'
|
|
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'
|
|
678
768
|
],
|
|
679
769
|
'content_type': [],
|
|
680
770
|
},
|
|
@@ -734,6 +824,60 @@ class CampaignApi(object):
|
|
|
734
824
|
},
|
|
735
825
|
api_client=api_client
|
|
736
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
|
+
)
|
|
737
881
|
self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
|
|
738
882
|
settings={
|
|
739
883
|
'response_type': (BrandPreviewListResponse,),
|
|
@@ -1038,126 +1182,6 @@ class CampaignApi(object):
|
|
|
1038
1182
|
},
|
|
1039
1183
|
api_client=api_client
|
|
1040
1184
|
)
|
|
1041
|
-
self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
1042
|
-
settings={
|
|
1043
|
-
'response_type': (PreferredLineItemV2PagedListResponse,),
|
|
1044
|
-
'auth': [
|
|
1045
|
-
'oauth',
|
|
1046
|
-
'oauth'
|
|
1047
|
-
],
|
|
1048
|
-
'endpoint_path': '/preview/retail-media/campaigns/{campaign-id}/preferred-line-items',
|
|
1049
|
-
'operation_id': 'get_api_v2_external_campaign_preferred_line_items_by_campaign_id',
|
|
1050
|
-
'http_method': 'GET',
|
|
1051
|
-
'servers': None,
|
|
1052
|
-
},
|
|
1053
|
-
params_map={
|
|
1054
|
-
'all': [
|
|
1055
|
-
'campaign_id',
|
|
1056
|
-
'limit_to_id',
|
|
1057
|
-
'page_index',
|
|
1058
|
-
'page_size',
|
|
1059
|
-
],
|
|
1060
|
-
'required': [
|
|
1061
|
-
'campaign_id',
|
|
1062
|
-
],
|
|
1063
|
-
'nullable': [
|
|
1064
|
-
],
|
|
1065
|
-
'enum': [
|
|
1066
|
-
],
|
|
1067
|
-
'validation': [
|
|
1068
|
-
]
|
|
1069
|
-
},
|
|
1070
|
-
root_map={
|
|
1071
|
-
'validations': {
|
|
1072
|
-
},
|
|
1073
|
-
'allowed_values': {
|
|
1074
|
-
},
|
|
1075
|
-
'openapi_types': {
|
|
1076
|
-
'campaign_id':
|
|
1077
|
-
(str,),
|
|
1078
|
-
'limit_to_id':
|
|
1079
|
-
([str],),
|
|
1080
|
-
'page_index':
|
|
1081
|
-
(int,),
|
|
1082
|
-
'page_size':
|
|
1083
|
-
(int,),
|
|
1084
|
-
},
|
|
1085
|
-
'attribute_map': {
|
|
1086
|
-
'campaign_id': 'campaign-id',
|
|
1087
|
-
'limit_to_id': 'limitToId',
|
|
1088
|
-
'page_index': 'pageIndex',
|
|
1089
|
-
'page_size': 'pageSize',
|
|
1090
|
-
},
|
|
1091
|
-
'location_map': {
|
|
1092
|
-
'campaign_id': 'path',
|
|
1093
|
-
'limit_to_id': 'query',
|
|
1094
|
-
'page_index': 'query',
|
|
1095
|
-
'page_size': 'query',
|
|
1096
|
-
},
|
|
1097
|
-
'collection_format_map': {
|
|
1098
|
-
'limit_to_id': 'multi',
|
|
1099
|
-
}
|
|
1100
|
-
},
|
|
1101
|
-
headers_map={
|
|
1102
|
-
'accept': [
|
|
1103
|
-
'application/json'
|
|
1104
|
-
],
|
|
1105
|
-
'content_type': [],
|
|
1106
|
-
},
|
|
1107
|
-
api_client=api_client
|
|
1108
|
-
)
|
|
1109
|
-
self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
|
|
1110
|
-
settings={
|
|
1111
|
-
'response_type': (PreferredLineItemV2Response,),
|
|
1112
|
-
'auth': [
|
|
1113
|
-
'oauth',
|
|
1114
|
-
'oauth'
|
|
1115
|
-
],
|
|
1116
|
-
'endpoint_path': '/preview/retail-media/preferred-line-items/{line-item-id}',
|
|
1117
|
-
'operation_id': 'get_api_v2_external_preferred_line_item_by_line_item_id',
|
|
1118
|
-
'http_method': 'GET',
|
|
1119
|
-
'servers': None,
|
|
1120
|
-
},
|
|
1121
|
-
params_map={
|
|
1122
|
-
'all': [
|
|
1123
|
-
'line_item_id',
|
|
1124
|
-
],
|
|
1125
|
-
'required': [
|
|
1126
|
-
'line_item_id',
|
|
1127
|
-
],
|
|
1128
|
-
'nullable': [
|
|
1129
|
-
],
|
|
1130
|
-
'enum': [
|
|
1131
|
-
],
|
|
1132
|
-
'validation': [
|
|
1133
|
-
]
|
|
1134
|
-
},
|
|
1135
|
-
root_map={
|
|
1136
|
-
'validations': {
|
|
1137
|
-
},
|
|
1138
|
-
'allowed_values': {
|
|
1139
|
-
},
|
|
1140
|
-
'openapi_types': {
|
|
1141
|
-
'line_item_id':
|
|
1142
|
-
(str,),
|
|
1143
|
-
},
|
|
1144
|
-
'attribute_map': {
|
|
1145
|
-
'line_item_id': 'line-item-id',
|
|
1146
|
-
},
|
|
1147
|
-
'location_map': {
|
|
1148
|
-
'line_item_id': 'path',
|
|
1149
|
-
},
|
|
1150
|
-
'collection_format_map': {
|
|
1151
|
-
}
|
|
1152
|
-
},
|
|
1153
|
-
headers_map={
|
|
1154
|
-
'accept': [
|
|
1155
|
-
'application/json'
|
|
1156
|
-
],
|
|
1157
|
-
'content_type': [],
|
|
1158
|
-
},
|
|
1159
|
-
api_client=api_client
|
|
1160
|
-
)
|
|
1161
1185
|
self.get_auction_line_item_v2_endpoint = _Endpoint(
|
|
1162
1186
|
settings={
|
|
1163
1187
|
'response_type': (EntityResourceOutcomeOfSponsoredProductsLineItem,),
|
|
@@ -1485,28 +1509,28 @@ class CampaignApi(object):
|
|
|
1485
1509
|
},
|
|
1486
1510
|
api_client=api_client
|
|
1487
1511
|
)
|
|
1488
|
-
self.
|
|
1512
|
+
self.post_api_external_v1_line_item_product_buttons_create_by_line_item_id_endpoint = _Endpoint(
|
|
1489
1513
|
settings={
|
|
1490
|
-
'response_type': (
|
|
1514
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
1491
1515
|
'auth': [
|
|
1492
1516
|
'oauth',
|
|
1493
1517
|
'oauth'
|
|
1494
1518
|
],
|
|
1495
|
-
'endpoint_path': '/preview/retail-media/
|
|
1496
|
-
'operation_id': '
|
|
1519
|
+
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/product-buttons/create',
|
|
1520
|
+
'operation_id': 'post_api_external_v1_line_item_product_buttons_create_by_line_item_id',
|
|
1497
1521
|
'http_method': 'POST',
|
|
1498
1522
|
'servers': None,
|
|
1499
1523
|
},
|
|
1500
1524
|
params_map={
|
|
1501
1525
|
'all': [
|
|
1502
|
-
'
|
|
1503
|
-
'
|
|
1526
|
+
'line_item_id',
|
|
1527
|
+
'product_button_request_list_request',
|
|
1504
1528
|
],
|
|
1505
1529
|
'required': [
|
|
1506
|
-
'
|
|
1507
|
-
'preferred_line_item_create_model_v2_request',
|
|
1530
|
+
'line_item_id',
|
|
1508
1531
|
],
|
|
1509
1532
|
'nullable': [
|
|
1533
|
+
'product_button_request_list_request',
|
|
1510
1534
|
],
|
|
1511
1535
|
'enum': [
|
|
1512
1536
|
],
|
|
@@ -1519,24 +1543,26 @@ class CampaignApi(object):
|
|
|
1519
1543
|
'allowed_values': {
|
|
1520
1544
|
},
|
|
1521
1545
|
'openapi_types': {
|
|
1522
|
-
'
|
|
1546
|
+
'line_item_id':
|
|
1523
1547
|
(str,),
|
|
1524
|
-
'
|
|
1525
|
-
(
|
|
1548
|
+
'product_button_request_list_request':
|
|
1549
|
+
(ProductButtonRequestListRequest,),
|
|
1526
1550
|
},
|
|
1527
1551
|
'attribute_map': {
|
|
1528
|
-
'
|
|
1552
|
+
'line_item_id': 'line-item-id',
|
|
1529
1553
|
},
|
|
1530
1554
|
'location_map': {
|
|
1531
|
-
'
|
|
1532
|
-
'
|
|
1555
|
+
'line_item_id': 'path',
|
|
1556
|
+
'product_button_request_list_request': 'body',
|
|
1533
1557
|
},
|
|
1534
1558
|
'collection_format_map': {
|
|
1535
1559
|
}
|
|
1536
1560
|
},
|
|
1537
1561
|
headers_map={
|
|
1538
1562
|
'accept': [
|
|
1539
|
-
'
|
|
1563
|
+
'text/plain',
|
|
1564
|
+
'application/json',
|
|
1565
|
+
'text/json'
|
|
1540
1566
|
],
|
|
1541
1567
|
'content_type': [
|
|
1542
1568
|
'application/json'
|
|
@@ -1544,27 +1570,28 @@ class CampaignApi(object):
|
|
|
1544
1570
|
},
|
|
1545
1571
|
api_client=api_client
|
|
1546
1572
|
)
|
|
1547
|
-
self.
|
|
1573
|
+
self.post_api_external_v2_account_brand_catalog_export_by_account_id_endpoint = _Endpoint(
|
|
1548
1574
|
settings={
|
|
1549
|
-
'response_type': (
|
|
1575
|
+
'response_type': (EntityResourceOutcomeOfCatalogStatusV2,),
|
|
1550
1576
|
'auth': [
|
|
1551
1577
|
'oauth',
|
|
1552
1578
|
'oauth'
|
|
1553
1579
|
],
|
|
1554
|
-
'endpoint_path': '/preview/retail-media/
|
|
1555
|
-
'operation_id': '
|
|
1580
|
+
'endpoint_path': '/preview/retail-media/accounts/{accountId}/brand-catalog-export',
|
|
1581
|
+
'operation_id': 'post_api_external_v2_account_brand_catalog_export_by_account_id',
|
|
1556
1582
|
'http_method': 'POST',
|
|
1557
1583
|
'servers': None,
|
|
1558
1584
|
},
|
|
1559
1585
|
params_map={
|
|
1560
1586
|
'all': [
|
|
1561
|
-
'
|
|
1562
|
-
'
|
|
1587
|
+
'account_id',
|
|
1588
|
+
'value_resource_input_of_brand_catalog_request_v2',
|
|
1563
1589
|
],
|
|
1564
1590
|
'required': [
|
|
1565
|
-
'
|
|
1591
|
+
'account_id',
|
|
1566
1592
|
],
|
|
1567
1593
|
'nullable': [
|
|
1594
|
+
'value_resource_input_of_brand_catalog_request_v2',
|
|
1568
1595
|
],
|
|
1569
1596
|
'enum': [
|
|
1570
1597
|
],
|
|
@@ -1577,24 +1604,26 @@ class CampaignApi(object):
|
|
|
1577
1604
|
'allowed_values': {
|
|
1578
1605
|
},
|
|
1579
1606
|
'openapi_types': {
|
|
1580
|
-
'
|
|
1607
|
+
'account_id':
|
|
1581
1608
|
(str,),
|
|
1582
|
-
'
|
|
1583
|
-
(
|
|
1609
|
+
'value_resource_input_of_brand_catalog_request_v2':
|
|
1610
|
+
(ValueResourceInputOfBrandCatalogRequestV2,),
|
|
1584
1611
|
},
|
|
1585
1612
|
'attribute_map': {
|
|
1586
|
-
'
|
|
1613
|
+
'account_id': 'accountId',
|
|
1587
1614
|
},
|
|
1588
1615
|
'location_map': {
|
|
1589
|
-
'
|
|
1590
|
-
'
|
|
1616
|
+
'account_id': 'path',
|
|
1617
|
+
'value_resource_input_of_brand_catalog_request_v2': 'body',
|
|
1591
1618
|
},
|
|
1592
1619
|
'collection_format_map': {
|
|
1593
1620
|
}
|
|
1594
1621
|
},
|
|
1595
1622
|
headers_map={
|
|
1596
1623
|
'accept': [
|
|
1597
|
-
'
|
|
1624
|
+
'text/plain',
|
|
1625
|
+
'application/json',
|
|
1626
|
+
'text/json'
|
|
1598
1627
|
],
|
|
1599
1628
|
'content_type': [
|
|
1600
1629
|
'application/json'
|
|
@@ -1602,28 +1631,28 @@ class CampaignApi(object):
|
|
|
1602
1631
|
},
|
|
1603
1632
|
api_client=api_client
|
|
1604
1633
|
)
|
|
1605
|
-
self.
|
|
1634
|
+
self.post_api_external_v2_account_seller_catalog_export_by_account_id_endpoint = _Endpoint(
|
|
1606
1635
|
settings={
|
|
1607
1636
|
'response_type': (EntityResourceOutcomeOfCatalogStatusV2,),
|
|
1608
1637
|
'auth': [
|
|
1609
1638
|
'oauth',
|
|
1610
1639
|
'oauth'
|
|
1611
1640
|
],
|
|
1612
|
-
'endpoint_path': '/preview/retail-media/accounts/{accountId}/
|
|
1613
|
-
'operation_id': '
|
|
1641
|
+
'endpoint_path': '/preview/retail-media/accounts/{accountId}/seller-catalog-export',
|
|
1642
|
+
'operation_id': 'post_api_external_v2_account_seller_catalog_export_by_account_id',
|
|
1614
1643
|
'http_method': 'POST',
|
|
1615
1644
|
'servers': None,
|
|
1616
1645
|
},
|
|
1617
1646
|
params_map={
|
|
1618
1647
|
'all': [
|
|
1619
1648
|
'account_id',
|
|
1620
|
-
'
|
|
1649
|
+
'value_resource_input_of_seller_catalog_request_v2',
|
|
1621
1650
|
],
|
|
1622
1651
|
'required': [
|
|
1623
1652
|
'account_id',
|
|
1624
1653
|
],
|
|
1625
1654
|
'nullable': [
|
|
1626
|
-
'
|
|
1655
|
+
'value_resource_input_of_seller_catalog_request_v2',
|
|
1627
1656
|
],
|
|
1628
1657
|
'enum': [
|
|
1629
1658
|
],
|
|
@@ -1638,15 +1667,15 @@ class CampaignApi(object):
|
|
|
1638
1667
|
'openapi_types': {
|
|
1639
1668
|
'account_id':
|
|
1640
1669
|
(str,),
|
|
1641
|
-
'
|
|
1642
|
-
(
|
|
1670
|
+
'value_resource_input_of_seller_catalog_request_v2':
|
|
1671
|
+
(ValueResourceInputOfSellerCatalogRequestV2,),
|
|
1643
1672
|
},
|
|
1644
1673
|
'attribute_map': {
|
|
1645
1674
|
'account_id': 'accountId',
|
|
1646
1675
|
},
|
|
1647
1676
|
'location_map': {
|
|
1648
1677
|
'account_id': 'path',
|
|
1649
|
-
'
|
|
1678
|
+
'value_resource_input_of_seller_catalog_request_v2': 'body',
|
|
1650
1679
|
},
|
|
1651
1680
|
'collection_format_map': {
|
|
1652
1681
|
}
|
|
@@ -1663,28 +1692,27 @@ class CampaignApi(object):
|
|
|
1663
1692
|
},
|
|
1664
1693
|
api_client=api_client
|
|
1665
1694
|
)
|
|
1666
|
-
self.
|
|
1695
|
+
self.post_api_external_v2_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
1667
1696
|
settings={
|
|
1668
|
-
'response_type':
|
|
1697
|
+
'response_type': None,
|
|
1669
1698
|
'auth': [
|
|
1670
1699
|
'oauth',
|
|
1671
1700
|
'oauth'
|
|
1672
1701
|
],
|
|
1673
|
-
'endpoint_path': '/preview/retail-media/
|
|
1674
|
-
'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',
|
|
1675
1704
|
'http_method': 'POST',
|
|
1676
1705
|
'servers': None,
|
|
1677
1706
|
},
|
|
1678
1707
|
params_map={
|
|
1679
1708
|
'all': [
|
|
1680
|
-
'
|
|
1681
|
-
'
|
|
1709
|
+
'campaign_id',
|
|
1710
|
+
'preferred_line_item_create_model_v2_request',
|
|
1682
1711
|
],
|
|
1683
1712
|
'required': [
|
|
1684
|
-
'
|
|
1713
|
+
'campaign_id',
|
|
1685
1714
|
],
|
|
1686
1715
|
'nullable': [
|
|
1687
|
-
'value_resource_input_of_seller_catalog_request_v2',
|
|
1688
1716
|
],
|
|
1689
1717
|
'enum': [
|
|
1690
1718
|
],
|
|
@@ -1697,17 +1725,17 @@ class CampaignApi(object):
|
|
|
1697
1725
|
'allowed_values': {
|
|
1698
1726
|
},
|
|
1699
1727
|
'openapi_types': {
|
|
1700
|
-
'
|
|
1728
|
+
'campaign_id':
|
|
1701
1729
|
(str,),
|
|
1702
|
-
'
|
|
1703
|
-
(
|
|
1730
|
+
'preferred_line_item_create_model_v2_request':
|
|
1731
|
+
(PreferredLineItemCreateModelV2Request,),
|
|
1704
1732
|
},
|
|
1705
1733
|
'attribute_map': {
|
|
1706
|
-
'
|
|
1734
|
+
'campaign_id': 'campaign-id',
|
|
1707
1735
|
},
|
|
1708
1736
|
'location_map': {
|
|
1709
|
-
'
|
|
1710
|
-
'
|
|
1737
|
+
'campaign_id': 'path',
|
|
1738
|
+
'preferred_line_item_create_model_v2_request': 'body',
|
|
1711
1739
|
},
|
|
1712
1740
|
'collection_format_map': {
|
|
1713
1741
|
}
|
|
@@ -1994,28 +2022,30 @@ class CampaignApi(object):
|
|
|
1994
2022
|
},
|
|
1995
2023
|
api_client=api_client
|
|
1996
2024
|
)
|
|
1997
|
-
self.
|
|
2025
|
+
self.put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id_endpoint = _Endpoint(
|
|
1998
2026
|
settings={
|
|
1999
|
-
'response_type': (
|
|
2027
|
+
'response_type': (ProductButtonResponseListResponse,),
|
|
2000
2028
|
'auth': [
|
|
2001
2029
|
'oauth',
|
|
2002
2030
|
'oauth'
|
|
2003
2031
|
],
|
|
2004
|
-
'endpoint_path': '/preview/retail-media/
|
|
2005
|
-
'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',
|
|
2006
2034
|
'http_method': 'PUT',
|
|
2007
2035
|
'servers': None,
|
|
2008
2036
|
},
|
|
2009
2037
|
params_map={
|
|
2010
2038
|
'all': [
|
|
2011
2039
|
'line_item_id',
|
|
2012
|
-
'
|
|
2040
|
+
'product_button_id',
|
|
2041
|
+
'product_button_request_request',
|
|
2013
2042
|
],
|
|
2014
2043
|
'required': [
|
|
2015
2044
|
'line_item_id',
|
|
2016
|
-
'
|
|
2045
|
+
'product_button_id',
|
|
2017
2046
|
],
|
|
2018
2047
|
'nullable': [
|
|
2048
|
+
'product_button_request_request',
|
|
2019
2049
|
],
|
|
2020
2050
|
'enum': [
|
|
2021
2051
|
],
|
|
@@ -2030,22 +2060,28 @@ class CampaignApi(object):
|
|
|
2030
2060
|
'openapi_types': {
|
|
2031
2061
|
'line_item_id':
|
|
2032
2062
|
(str,),
|
|
2033
|
-
'
|
|
2034
|
-
(
|
|
2063
|
+
'product_button_id':
|
|
2064
|
+
(str,),
|
|
2065
|
+
'product_button_request_request':
|
|
2066
|
+
(ProductButtonRequestRequest,),
|
|
2035
2067
|
},
|
|
2036
2068
|
'attribute_map': {
|
|
2037
2069
|
'line_item_id': 'line-item-id',
|
|
2070
|
+
'product_button_id': 'product-button-id',
|
|
2038
2071
|
},
|
|
2039
2072
|
'location_map': {
|
|
2040
2073
|
'line_item_id': 'path',
|
|
2041
|
-
'
|
|
2074
|
+
'product_button_id': 'path',
|
|
2075
|
+
'product_button_request_request': 'body',
|
|
2042
2076
|
},
|
|
2043
2077
|
'collection_format_map': {
|
|
2044
2078
|
}
|
|
2045
2079
|
},
|
|
2046
2080
|
headers_map={
|
|
2047
2081
|
'accept': [
|
|
2048
|
-
'
|
|
2082
|
+
'text/plain',
|
|
2083
|
+
'application/json',
|
|
2084
|
+
'text/json'
|
|
2049
2085
|
],
|
|
2050
2086
|
'content_type': [
|
|
2051
2087
|
'application/json'
|
|
@@ -2053,27 +2089,25 @@ class CampaignApi(object):
|
|
|
2053
2089
|
},
|
|
2054
2090
|
api_client=api_client
|
|
2055
2091
|
)
|
|
2056
|
-
self.
|
|
2092
|
+
self.put_api_external_v2_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
|
|
2057
2093
|
settings={
|
|
2058
|
-
'response_type': (
|
|
2094
|
+
'response_type': (PreferredLineItemV2Response,),
|
|
2059
2095
|
'auth': [
|
|
2060
2096
|
'oauth',
|
|
2061
2097
|
'oauth'
|
|
2062
2098
|
],
|
|
2063
|
-
'endpoint_path': '/preview/retail-media/line-items/{line-item-id}
|
|
2064
|
-
'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',
|
|
2065
2101
|
'http_method': 'PUT',
|
|
2066
2102
|
'servers': None,
|
|
2067
2103
|
},
|
|
2068
2104
|
params_map={
|
|
2069
2105
|
'all': [
|
|
2070
2106
|
'line_item_id',
|
|
2071
|
-
'
|
|
2072
|
-
'product_button_request',
|
|
2107
|
+
'preferred_line_item_update_model_v2_request',
|
|
2073
2108
|
],
|
|
2074
2109
|
'required': [
|
|
2075
2110
|
'line_item_id',
|
|
2076
|
-
'product_button_id',
|
|
2077
2111
|
],
|
|
2078
2112
|
'nullable': [
|
|
2079
2113
|
],
|
|
@@ -2090,26 +2124,24 @@ class CampaignApi(object):
|
|
|
2090
2124
|
'openapi_types': {
|
|
2091
2125
|
'line_item_id':
|
|
2092
2126
|
(str,),
|
|
2093
|
-
'
|
|
2094
|
-
(
|
|
2095
|
-
'product_button_request':
|
|
2096
|
-
(ProductButtonRequest,),
|
|
2127
|
+
'preferred_line_item_update_model_v2_request':
|
|
2128
|
+
(PreferredLineItemUpdateModelV2Request,),
|
|
2097
2129
|
},
|
|
2098
2130
|
'attribute_map': {
|
|
2099
2131
|
'line_item_id': 'line-item-id',
|
|
2100
|
-
'product_button_id': 'product-button-id',
|
|
2101
2132
|
},
|
|
2102
2133
|
'location_map': {
|
|
2103
2134
|
'line_item_id': 'path',
|
|
2104
|
-
'
|
|
2105
|
-
'product_button_request': 'body',
|
|
2135
|
+
'preferred_line_item_update_model_v2_request': 'body',
|
|
2106
2136
|
},
|
|
2107
2137
|
'collection_format_map': {
|
|
2108
2138
|
}
|
|
2109
2139
|
},
|
|
2110
2140
|
headers_map={
|
|
2111
2141
|
'accept': [
|
|
2112
|
-
'
|
|
2142
|
+
'text/plain',
|
|
2143
|
+
'application/json',
|
|
2144
|
+
'text/json'
|
|
2113
2145
|
],
|
|
2114
2146
|
'content_type': [
|
|
2115
2147
|
'application/json'
|
|
@@ -2898,24 +2930,24 @@ class CampaignApi(object):
|
|
|
2898
2930
|
campaign_id
|
|
2899
2931
|
return self.create_auction_line_item_v2_endpoint.call_with_http_info(**kwargs)
|
|
2900
2932
|
|
|
2901
|
-
def
|
|
2933
|
+
def delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(
|
|
2902
2934
|
self,
|
|
2903
2935
|
line_item_id,
|
|
2904
2936
|
product_button_id,
|
|
2905
2937
|
**kwargs
|
|
2906
2938
|
):
|
|
2907
|
-
"""
|
|
2939
|
+
"""delete_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id # noqa: E501
|
|
2908
2940
|
|
|
2909
|
-
Delete
|
|
2941
|
+
Delete Specific Product Button # noqa: E501
|
|
2910
2942
|
This method makes a synchronous HTTP request by default. To make an
|
|
2911
2943
|
asynchronous HTTP request, please pass async_req=True
|
|
2912
2944
|
|
|
2913
|
-
>>> 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)
|
|
2914
2946
|
>>> result = thread.get()
|
|
2915
2947
|
|
|
2916
2948
|
Args:
|
|
2917
|
-
line_item_id (str):
|
|
2918
|
-
product_button_id (str):
|
|
2949
|
+
line_item_id (str): External LineItemId for productButton delete
|
|
2950
|
+
product_button_id (str): productButtonId used for delete
|
|
2919
2951
|
|
|
2920
2952
|
Keyword Args:
|
|
2921
2953
|
_return_http_data_only (bool): response data without head status
|
|
@@ -2950,7 +2982,7 @@ class CampaignApi(object):
|
|
|
2950
2982
|
async_req (bool): execute request asynchronously
|
|
2951
2983
|
|
|
2952
2984
|
Returns:
|
|
2953
|
-
|
|
2985
|
+
ProductButtonResponseListResponse
|
|
2954
2986
|
If the method is called asynchronously, returns the request
|
|
2955
2987
|
thread.
|
|
2956
2988
|
"""
|
|
@@ -2983,7 +3015,7 @@ class CampaignApi(object):
|
|
|
2983
3015
|
line_item_id
|
|
2984
3016
|
kwargs['product_button_id'] = \
|
|
2985
3017
|
product_button_id
|
|
2986
|
-
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)
|
|
2987
3019
|
|
|
2988
3020
|
def delete_promoted_products(
|
|
2989
3021
|
self,
|
|
@@ -3238,22 +3270,24 @@ class CampaignApi(object):
|
|
|
3238
3270
|
line_item_id
|
|
3239
3271
|
return self.fetch_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
3240
3272
|
|
|
3241
|
-
def
|
|
3273
|
+
def get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(
|
|
3242
3274
|
self,
|
|
3243
3275
|
line_item_id,
|
|
3276
|
+
product_button_id,
|
|
3244
3277
|
**kwargs
|
|
3245
3278
|
):
|
|
3246
|
-
"""
|
|
3279
|
+
"""get_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id # noqa: E501
|
|
3247
3280
|
|
|
3248
|
-
Get
|
|
3281
|
+
Get Specific Product Button # noqa: E501
|
|
3249
3282
|
This method makes a synchronous HTTP request by default. To make an
|
|
3250
3283
|
asynchronous HTTP request, please pass async_req=True
|
|
3251
3284
|
|
|
3252
|
-
>>> 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)
|
|
3253
3286
|
>>> result = thread.get()
|
|
3254
3287
|
|
|
3255
3288
|
Args:
|
|
3256
|
-
line_item_id (str):
|
|
3289
|
+
line_item_id (str): External LineItemId for productButton retrieval
|
|
3290
|
+
product_button_id (str): productButtonId used for retrieval
|
|
3257
3291
|
|
|
3258
3292
|
Keyword Args:
|
|
3259
3293
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3288,7 +3322,7 @@ class CampaignApi(object):
|
|
|
3288
3322
|
async_req (bool): execute request asynchronously
|
|
3289
3323
|
|
|
3290
3324
|
Returns:
|
|
3291
|
-
|
|
3325
|
+
ProductButtonResponseListResponse
|
|
3292
3326
|
If the method is called asynchronously, returns the request
|
|
3293
3327
|
thread.
|
|
3294
3328
|
"""
|
|
@@ -3319,26 +3353,26 @@ class CampaignApi(object):
|
|
|
3319
3353
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3320
3354
|
kwargs['line_item_id'] = \
|
|
3321
3355
|
line_item_id
|
|
3322
|
-
|
|
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)
|
|
3323
3359
|
|
|
3324
|
-
def
|
|
3360
|
+
def get_api_external_v1_line_item_product_buttons_by_line_item_id(
|
|
3325
3361
|
self,
|
|
3326
3362
|
line_item_id,
|
|
3327
|
-
product_button_id,
|
|
3328
3363
|
**kwargs
|
|
3329
3364
|
):
|
|
3330
|
-
"""
|
|
3365
|
+
"""get_api_external_v1_line_item_product_buttons_by_line_item_id # noqa: E501
|
|
3331
3366
|
|
|
3332
|
-
Get
|
|
3367
|
+
Get LineItem Product Buttons # noqa: E501
|
|
3333
3368
|
This method makes a synchronous HTTP request by default. To make an
|
|
3334
3369
|
asynchronous HTTP request, please pass async_req=True
|
|
3335
3370
|
|
|
3336
|
-
>>> thread = api.
|
|
3371
|
+
>>> thread = api.get_api_external_v1_line_item_product_buttons_by_line_item_id(line_item_id, async_req=True)
|
|
3337
3372
|
>>> result = thread.get()
|
|
3338
3373
|
|
|
3339
3374
|
Args:
|
|
3340
|
-
line_item_id (str):
|
|
3341
|
-
product_button_id (str): Sequential id of the product button
|
|
3375
|
+
line_item_id (str): External LineItemId for productButton retrieval
|
|
3342
3376
|
|
|
3343
3377
|
Keyword Args:
|
|
3344
3378
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3373,7 +3407,7 @@ class CampaignApi(object):
|
|
|
3373
3407
|
async_req (bool): execute request asynchronously
|
|
3374
3408
|
|
|
3375
3409
|
Returns:
|
|
3376
|
-
|
|
3410
|
+
ProductButtonResponseListResponse
|
|
3377
3411
|
If the method is called asynchronously, returns the request
|
|
3378
3412
|
thread.
|
|
3379
3413
|
"""
|
|
@@ -3404,28 +3438,29 @@ class CampaignApi(object):
|
|
|
3404
3438
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3405
3439
|
kwargs['line_item_id'] = \
|
|
3406
3440
|
line_item_id
|
|
3407
|
-
kwargs
|
|
3408
|
-
product_button_id
|
|
3409
|
-
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)
|
|
3410
3442
|
|
|
3411
|
-
def
|
|
3443
|
+
def get_api_external_v2_campaign_preferred_line_items_by_campaign_id(
|
|
3412
3444
|
self,
|
|
3413
|
-
|
|
3445
|
+
campaign_id,
|
|
3414
3446
|
**kwargs
|
|
3415
3447
|
):
|
|
3416
|
-
"""
|
|
3448
|
+
"""get_api_external_v2_campaign_preferred_line_items_by_campaign_id # noqa: E501
|
|
3417
3449
|
|
|
3418
|
-
|
|
3450
|
+
Gets page of preferred line item objects for the given campaign id # noqa: E501
|
|
3419
3451
|
This method makes a synchronous HTTP request by default. To make an
|
|
3420
3452
|
asynchronous HTTP request, please pass async_req=True
|
|
3421
3453
|
|
|
3422
|
-
>>> thread = api.
|
|
3454
|
+
>>> thread = api.get_api_external_v2_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
|
|
3423
3455
|
>>> result = thread.get()
|
|
3424
3456
|
|
|
3425
3457
|
Args:
|
|
3426
|
-
|
|
3458
|
+
campaign_id (str): The given campaign id
|
|
3427
3459
|
|
|
3428
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
|
|
3429
3464
|
_return_http_data_only (bool): response data without head status
|
|
3430
3465
|
code and headers. Default is True.
|
|
3431
3466
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3458,7 +3493,7 @@ class CampaignApi(object):
|
|
|
3458
3493
|
async_req (bool): execute request asynchronously
|
|
3459
3494
|
|
|
3460
3495
|
Returns:
|
|
3461
|
-
|
|
3496
|
+
PreferredLineItemV2PagedListResponse
|
|
3462
3497
|
If the method is called asynchronously, returns the request
|
|
3463
3498
|
thread.
|
|
3464
3499
|
"""
|
|
@@ -3487,30 +3522,28 @@ class CampaignApi(object):
|
|
|
3487
3522
|
'_content_type')
|
|
3488
3523
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3489
3524
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3490
|
-
kwargs['
|
|
3491
|
-
|
|
3492
|
-
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)
|
|
3493
3528
|
|
|
3494
|
-
def
|
|
3529
|
+
def get_api_external_v2_catalog_status_by_catalog_id(
|
|
3495
3530
|
self,
|
|
3496
|
-
|
|
3531
|
+
catalog_id,
|
|
3497
3532
|
**kwargs
|
|
3498
3533
|
):
|
|
3499
|
-
"""
|
|
3534
|
+
"""get_api_external_v2_catalog_status_by_catalog_id # noqa: E501
|
|
3500
3535
|
|
|
3501
|
-
|
|
3536
|
+
Check the status of a catalog request. # noqa: E501
|
|
3502
3537
|
This method makes a synchronous HTTP request by default. To make an
|
|
3503
3538
|
asynchronous HTTP request, please pass async_req=True
|
|
3504
3539
|
|
|
3505
|
-
>>> thread = api.
|
|
3540
|
+
>>> thread = api.get_api_external_v2_catalog_status_by_catalog_id(catalog_id, async_req=True)
|
|
3506
3541
|
>>> result = thread.get()
|
|
3507
3542
|
|
|
3508
3543
|
Args:
|
|
3509
|
-
|
|
3544
|
+
catalog_id (str): A catalog ID returned from an account catalog request.
|
|
3510
3545
|
|
|
3511
3546
|
Keyword Args:
|
|
3512
|
-
brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
|
|
3513
|
-
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]
|
|
3514
3547
|
_return_http_data_only (bool): response data without head status
|
|
3515
3548
|
code and headers. Default is True.
|
|
3516
3549
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3543,7 +3576,7 @@ class CampaignApi(object):
|
|
|
3543
3576
|
async_req (bool): execute request asynchronously
|
|
3544
3577
|
|
|
3545
3578
|
Returns:
|
|
3546
|
-
|
|
3579
|
+
EntityResourceOutcomeOfCatalogStatusV2
|
|
3547
3580
|
If the method is called asynchronously, returns the request
|
|
3548
3581
|
thread.
|
|
3549
3582
|
"""
|
|
@@ -3572,28 +3605,26 @@ class CampaignApi(object):
|
|
|
3572
3605
|
'_content_type')
|
|
3573
3606
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3574
3607
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3575
|
-
kwargs['
|
|
3576
|
-
|
|
3577
|
-
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)
|
|
3578
3611
|
|
|
3579
|
-
def
|
|
3612
|
+
def get_api_external_v2_preferred_line_item_by_line_item_id(
|
|
3580
3613
|
self,
|
|
3581
|
-
|
|
3582
|
-
seller,
|
|
3614
|
+
line_item_id,
|
|
3583
3615
|
**kwargs
|
|
3584
3616
|
):
|
|
3585
|
-
"""
|
|
3617
|
+
"""get_api_external_v2_preferred_line_item_by_line_item_id # noqa: E501
|
|
3586
3618
|
|
|
3587
|
-
|
|
3619
|
+
Gets the preferred line item for the given line item id # noqa: E501
|
|
3588
3620
|
This method makes a synchronous HTTP request by default. To make an
|
|
3589
3621
|
asynchronous HTTP request, please pass async_req=True
|
|
3590
3622
|
|
|
3591
|
-
>>> thread = api.
|
|
3623
|
+
>>> thread = api.get_api_external_v2_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
|
|
3592
3624
|
>>> result = thread.get()
|
|
3593
3625
|
|
|
3594
3626
|
Args:
|
|
3595
|
-
|
|
3596
|
-
seller (str): The seller id or seller name which should be validated.
|
|
3627
|
+
line_item_id (str): The given line item id
|
|
3597
3628
|
|
|
3598
3629
|
Keyword Args:
|
|
3599
3630
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3628,7 +3659,7 @@ class CampaignApi(object):
|
|
|
3628
3659
|
async_req (bool): execute request asynchronously
|
|
3629
3660
|
|
|
3630
3661
|
Returns:
|
|
3631
|
-
|
|
3662
|
+
PreferredLineItemV2Response
|
|
3632
3663
|
If the method is called asynchronously, returns the request
|
|
3633
3664
|
thread.
|
|
3634
3665
|
"""
|
|
@@ -3657,31 +3688,30 @@ class CampaignApi(object):
|
|
|
3657
3688
|
'_content_type')
|
|
3658
3689
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3659
3690
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3660
|
-
kwargs['
|
|
3661
|
-
|
|
3662
|
-
kwargs
|
|
3663
|
-
seller
|
|
3664
|
-
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)
|
|
3665
3694
|
|
|
3666
|
-
def
|
|
3695
|
+
def get_api_v1_external_retailer_brands_by_retailer_id(
|
|
3667
3696
|
self,
|
|
3668
3697
|
retailer_id,
|
|
3669
3698
|
**kwargs
|
|
3670
3699
|
):
|
|
3671
|
-
"""
|
|
3700
|
+
"""get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
|
|
3672
3701
|
|
|
3673
|
-
Gets the
|
|
3702
|
+
Gets the brands for the given retailer # noqa: E501
|
|
3674
3703
|
This method makes a synchronous HTTP request by default. To make an
|
|
3675
3704
|
asynchronous HTTP request, please pass async_req=True
|
|
3676
3705
|
|
|
3677
|
-
>>> thread = api.
|
|
3706
|
+
>>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
|
|
3678
3707
|
>>> result = thread.get()
|
|
3679
3708
|
|
|
3680
3709
|
Args:
|
|
3681
|
-
retailer_id (
|
|
3710
|
+
retailer_id (int): The retailer id for which brands should be fetched.
|
|
3682
3711
|
|
|
3683
3712
|
Keyword Args:
|
|
3684
|
-
|
|
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]
|
|
3685
3715
|
_return_http_data_only (bool): response data without head status
|
|
3686
3716
|
code and headers. Default is True.
|
|
3687
3717
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3714,7 +3744,7 @@ class CampaignApi(object):
|
|
|
3714
3744
|
async_req (bool): execute request asynchronously
|
|
3715
3745
|
|
|
3716
3746
|
Returns:
|
|
3717
|
-
|
|
3747
|
+
BrandPreviewListResponse
|
|
3718
3748
|
If the method is called asynchronously, returns the request
|
|
3719
3749
|
thread.
|
|
3720
3750
|
"""
|
|
@@ -3745,24 +3775,26 @@ class CampaignApi(object):
|
|
|
3745
3775
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3746
3776
|
kwargs['retailer_id'] = \
|
|
3747
3777
|
retailer_id
|
|
3748
|
-
return self.
|
|
3778
|
+
return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
3749
3779
|
|
|
3750
|
-
def
|
|
3780
|
+
def get_api_v1_external_retailer_by_retailer_id_seller_by_seller(
|
|
3751
3781
|
self,
|
|
3752
3782
|
retailer_id,
|
|
3783
|
+
seller,
|
|
3753
3784
|
**kwargs
|
|
3754
3785
|
):
|
|
3755
|
-
"""
|
|
3786
|
+
"""get_api_v1_external_retailer_by_retailer_id_seller_by_seller # noqa: E501
|
|
3756
3787
|
|
|
3757
|
-
|
|
3788
|
+
Endpoint to get market place seller id and name # noqa: E501
|
|
3758
3789
|
This method makes a synchronous HTTP request by default. To make an
|
|
3759
3790
|
asynchronous HTTP request, please pass async_req=True
|
|
3760
3791
|
|
|
3761
|
-
>>> thread = api.
|
|
3792
|
+
>>> thread = api.get_api_v1_external_retailer_by_retailer_id_seller_by_seller(retailer_id, seller, async_req=True)
|
|
3762
3793
|
>>> result = thread.get()
|
|
3763
3794
|
|
|
3764
3795
|
Args:
|
|
3765
|
-
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.
|
|
3766
3798
|
|
|
3767
3799
|
Keyword Args:
|
|
3768
3800
|
_return_http_data_only (bool): response data without head status
|
|
@@ -3797,7 +3829,7 @@ class CampaignApi(object):
|
|
|
3797
3829
|
async_req (bool): execute request asynchronously
|
|
3798
3830
|
|
|
3799
3831
|
Returns:
|
|
3800
|
-
|
|
3832
|
+
SellerPreviewResponse
|
|
3801
3833
|
If the method is called asynchronously, returns the request
|
|
3802
3834
|
thread.
|
|
3803
3835
|
"""
|
|
@@ -3828,28 +3860,29 @@ class CampaignApi(object):
|
|
|
3828
3860
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3829
3861
|
kwargs['retailer_id'] = \
|
|
3830
3862
|
retailer_id
|
|
3831
|
-
|
|
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)
|
|
3832
3866
|
|
|
3833
|
-
def
|
|
3867
|
+
def get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(
|
|
3834
3868
|
self,
|
|
3835
|
-
|
|
3836
|
-
creative_id,
|
|
3869
|
+
retailer_id,
|
|
3837
3870
|
**kwargs
|
|
3838
3871
|
):
|
|
3839
|
-
"""
|
|
3872
|
+
"""get_api_v1_external_retailer_category_cpc_rates_by_retailer_id # noqa: E501
|
|
3840
3873
|
|
|
3841
|
-
|
|
3874
|
+
Gets the minimum cpc bid for the retailer, and optionally the categories under the retailer # noqa: E501
|
|
3842
3875
|
This method makes a synchronous HTTP request by default. To make an
|
|
3843
3876
|
asynchronous HTTP request, please pass async_req=True
|
|
3844
3877
|
|
|
3845
|
-
>>> thread = api.
|
|
3878
|
+
>>> thread = api.get_api_v1_external_retailer_category_cpc_rates_by_retailer_id(retailer_id, async_req=True)
|
|
3846
3879
|
>>> result = thread.get()
|
|
3847
3880
|
|
|
3848
3881
|
Args:
|
|
3849
|
-
|
|
3850
|
-
creative_id (str): Creative to get
|
|
3882
|
+
retailer_id (str): The retailer id
|
|
3851
3883
|
|
|
3852
3884
|
Keyword Args:
|
|
3885
|
+
fields ([str]): The fields in the response that is to be included. [optional]
|
|
3853
3886
|
_return_http_data_only (bool): response data without head status
|
|
3854
3887
|
code and headers. Default is True.
|
|
3855
3888
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3882,7 +3915,7 @@ class CampaignApi(object):
|
|
|
3882
3915
|
async_req (bool): execute request asynchronously
|
|
3883
3916
|
|
|
3884
3917
|
Returns:
|
|
3885
|
-
|
|
3918
|
+
CpcRateCardPreviewResponse
|
|
3886
3919
|
If the method is called asynchronously, returns the request
|
|
3887
3920
|
thread.
|
|
3888
3921
|
"""
|
|
@@ -3911,33 +3944,28 @@ class CampaignApi(object):
|
|
|
3911
3944
|
'_content_type')
|
|
3912
3945
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3913
3946
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3914
|
-
kwargs['
|
|
3915
|
-
|
|
3916
|
-
kwargs
|
|
3917
|
-
creative_id
|
|
3918
|
-
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)
|
|
3919
3950
|
|
|
3920
|
-
def
|
|
3951
|
+
def get_api_v1_external_retailer_placements_by_retailer_id(
|
|
3921
3952
|
self,
|
|
3922
|
-
|
|
3953
|
+
retailer_id,
|
|
3923
3954
|
**kwargs
|
|
3924
3955
|
):
|
|
3925
|
-
"""
|
|
3956
|
+
"""get_api_v1_external_retailer_placements_by_retailer_id # noqa: E501
|
|
3926
3957
|
|
|
3927
|
-
Gets
|
|
3958
|
+
Gets all placement information for the given retailer # noqa: E501
|
|
3928
3959
|
This method makes a synchronous HTTP request by default. To make an
|
|
3929
3960
|
asynchronous HTTP request, please pass async_req=True
|
|
3930
3961
|
|
|
3931
|
-
>>> thread = api.
|
|
3962
|
+
>>> thread = api.get_api_v1_external_retailer_placements_by_retailer_id(retailer_id, async_req=True)
|
|
3932
3963
|
>>> result = thread.get()
|
|
3933
3964
|
|
|
3934
3965
|
Args:
|
|
3935
|
-
|
|
3966
|
+
retailer_id (str): The retailer id for which placements should be fetched.
|
|
3936
3967
|
|
|
3937
3968
|
Keyword Args:
|
|
3938
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
3939
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
3940
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
3941
3969
|
_return_http_data_only (bool): response data without head status
|
|
3942
3970
|
code and headers. Default is True.
|
|
3943
3971
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -3970,7 +3998,7 @@ class CampaignApi(object):
|
|
|
3970
3998
|
async_req (bool): execute request asynchronously
|
|
3971
3999
|
|
|
3972
4000
|
Returns:
|
|
3973
|
-
|
|
4001
|
+
PlacementPreviewListResponse
|
|
3974
4002
|
If the method is called asynchronously, returns the request
|
|
3975
4003
|
thread.
|
|
3976
4004
|
"""
|
|
@@ -3999,26 +4027,28 @@ class CampaignApi(object):
|
|
|
3999
4027
|
'_content_type')
|
|
4000
4028
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4001
4029
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4002
|
-
kwargs['
|
|
4003
|
-
|
|
4004
|
-
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)
|
|
4005
4033
|
|
|
4006
|
-
def
|
|
4034
|
+
def get_api_v2_external_account_by_account_id_creativescreative_id(
|
|
4007
4035
|
self,
|
|
4008
|
-
|
|
4036
|
+
account_id,
|
|
4037
|
+
creative_id,
|
|
4009
4038
|
**kwargs
|
|
4010
4039
|
):
|
|
4011
|
-
"""
|
|
4040
|
+
"""get_api_v2_external_account_by_account_id_creativescreative_id # noqa: E501
|
|
4012
4041
|
|
|
4013
|
-
|
|
4042
|
+
Get the specified creative # noqa: E501
|
|
4014
4043
|
This method makes a synchronous HTTP request by default. To make an
|
|
4015
4044
|
asynchronous HTTP request, please pass async_req=True
|
|
4016
4045
|
|
|
4017
|
-
>>> thread = api.
|
|
4046
|
+
>>> thread = api.get_api_v2_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
|
|
4018
4047
|
>>> result = thread.get()
|
|
4019
4048
|
|
|
4020
4049
|
Args:
|
|
4021
|
-
|
|
4050
|
+
account_id (str): External account id to retrieve creatives for
|
|
4051
|
+
creative_id (str): Creative to get
|
|
4022
4052
|
|
|
4023
4053
|
Keyword Args:
|
|
4024
4054
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4053,7 +4083,7 @@ class CampaignApi(object):
|
|
|
4053
4083
|
async_req (bool): execute request asynchronously
|
|
4054
4084
|
|
|
4055
4085
|
Returns:
|
|
4056
|
-
|
|
4086
|
+
Creative2Response
|
|
4057
4087
|
If the method is called asynchronously, returns the request
|
|
4058
4088
|
thread.
|
|
4059
4089
|
"""
|
|
@@ -4082,9 +4112,11 @@ class CampaignApi(object):
|
|
|
4082
4112
|
'_content_type')
|
|
4083
4113
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4084
4114
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4085
|
-
kwargs['
|
|
4086
|
-
|
|
4087
|
-
|
|
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)
|
|
4088
4120
|
|
|
4089
4121
|
def get_auction_line_item_v2(
|
|
4090
4122
|
self,
|
|
@@ -4508,26 +4540,25 @@ class CampaignApi(object):
|
|
|
4508
4540
|
line_item_id
|
|
4509
4541
|
return self.pause_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
4510
4542
|
|
|
4511
|
-
def
|
|
4543
|
+
def post_api_external_v1_line_item_product_buttons_create_by_line_item_id(
|
|
4512
4544
|
self,
|
|
4513
|
-
|
|
4514
|
-
preferred_line_item_create_model_v2_request,
|
|
4545
|
+
line_item_id,
|
|
4515
4546
|
**kwargs
|
|
4516
4547
|
):
|
|
4517
|
-
"""
|
|
4548
|
+
"""post_api_external_v1_line_item_product_buttons_create_by_line_item_id # noqa: E501
|
|
4518
4549
|
|
|
4519
|
-
|
|
4550
|
+
Add Specific Product Buttons # noqa: E501
|
|
4520
4551
|
This method makes a synchronous HTTP request by default. To make an
|
|
4521
4552
|
asynchronous HTTP request, please pass async_req=True
|
|
4522
4553
|
|
|
4523
|
-
>>> thread = api.
|
|
4554
|
+
>>> thread = api.post_api_external_v1_line_item_product_buttons_create_by_line_item_id(line_item_id, async_req=True)
|
|
4524
4555
|
>>> result = thread.get()
|
|
4525
4556
|
|
|
4526
4557
|
Args:
|
|
4527
|
-
|
|
4528
|
-
preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with
|
|
4558
|
+
line_item_id (str): External LineItemId for productButton retrieval
|
|
4529
4559
|
|
|
4530
4560
|
Keyword Args:
|
|
4561
|
+
product_button_request_list_request (ProductButtonRequestListRequest): List of Product Buttons to append. [optional]
|
|
4531
4562
|
_return_http_data_only (bool): response data without head status
|
|
4532
4563
|
code and headers. Default is True.
|
|
4533
4564
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4560,7 +4591,7 @@ class CampaignApi(object):
|
|
|
4560
4591
|
async_req (bool): execute request asynchronously
|
|
4561
4592
|
|
|
4562
4593
|
Returns:
|
|
4563
|
-
|
|
4594
|
+
ProductButtonResponseListResponse
|
|
4564
4595
|
If the method is called asynchronously, returns the request
|
|
4565
4596
|
thread.
|
|
4566
4597
|
"""
|
|
@@ -4589,31 +4620,29 @@ class CampaignApi(object):
|
|
|
4589
4620
|
'_content_type')
|
|
4590
4621
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4591
4622
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4592
|
-
kwargs['
|
|
4593
|
-
|
|
4594
|
-
kwargs
|
|
4595
|
-
preferred_line_item_create_model_v2_request
|
|
4596
|
-
return self.post_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
|
|
4623
|
+
kwargs['line_item_id'] = \
|
|
4624
|
+
line_item_id
|
|
4625
|
+
return self.post_api_external_v1_line_item_product_buttons_create_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
4597
4626
|
|
|
4598
|
-
def
|
|
4627
|
+
def post_api_external_v2_account_brand_catalog_export_by_account_id(
|
|
4599
4628
|
self,
|
|
4600
|
-
|
|
4629
|
+
account_id,
|
|
4601
4630
|
**kwargs
|
|
4602
4631
|
):
|
|
4603
|
-
"""
|
|
4632
|
+
"""post_api_external_v2_account_brand_catalog_export_by_account_id # noqa: E501
|
|
4604
4633
|
|
|
4605
|
-
|
|
4634
|
+
Create a request for a Catalog available to the indicated account. # noqa: E501
|
|
4606
4635
|
This method makes a synchronous HTTP request by default. To make an
|
|
4607
4636
|
asynchronous HTTP request, please pass async_req=True
|
|
4608
4637
|
|
|
4609
|
-
>>> thread = api.
|
|
4638
|
+
>>> thread = api.post_api_external_v2_account_brand_catalog_export_by_account_id(account_id, async_req=True)
|
|
4610
4639
|
>>> result = thread.get()
|
|
4611
4640
|
|
|
4612
4641
|
Args:
|
|
4613
|
-
|
|
4642
|
+
account_id (str): The account to request the catalog for.
|
|
4614
4643
|
|
|
4615
4644
|
Keyword Args:
|
|
4616
|
-
|
|
4645
|
+
value_resource_input_of_brand_catalog_request_v2 (ValueResourceInputOfBrandCatalogRequestV2): [optional]
|
|
4617
4646
|
_return_http_data_only (bool): response data without head status
|
|
4618
4647
|
code and headers. Default is True.
|
|
4619
4648
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4646,7 +4675,7 @@ class CampaignApi(object):
|
|
|
4646
4675
|
async_req (bool): execute request asynchronously
|
|
4647
4676
|
|
|
4648
4677
|
Returns:
|
|
4649
|
-
|
|
4678
|
+
EntityResourceOutcomeOfCatalogStatusV2
|
|
4650
4679
|
If the method is called asynchronously, returns the request
|
|
4651
4680
|
thread.
|
|
4652
4681
|
"""
|
|
@@ -4675,29 +4704,29 @@ class CampaignApi(object):
|
|
|
4675
4704
|
'_content_type')
|
|
4676
4705
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4677
4706
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4678
|
-
kwargs['
|
|
4679
|
-
|
|
4680
|
-
return self.
|
|
4707
|
+
kwargs['account_id'] = \
|
|
4708
|
+
account_id
|
|
4709
|
+
return self.post_api_external_v2_account_brand_catalog_export_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
4681
4710
|
|
|
4682
|
-
def
|
|
4711
|
+
def post_api_external_v2_account_seller_catalog_export_by_account_id(
|
|
4683
4712
|
self,
|
|
4684
4713
|
account_id,
|
|
4685
4714
|
**kwargs
|
|
4686
4715
|
):
|
|
4687
|
-
"""
|
|
4716
|
+
"""post_api_external_v2_account_seller_catalog_export_by_account_id # noqa: E501
|
|
4688
4717
|
|
|
4689
4718
|
Create a request for a Catalog available to the indicated account. # noqa: E501
|
|
4690
4719
|
This method makes a synchronous HTTP request by default. To make an
|
|
4691
4720
|
asynchronous HTTP request, please pass async_req=True
|
|
4692
4721
|
|
|
4693
|
-
>>> thread = api.
|
|
4722
|
+
>>> thread = api.post_api_external_v2_account_seller_catalog_export_by_account_id(account_id, async_req=True)
|
|
4694
4723
|
>>> result = thread.get()
|
|
4695
4724
|
|
|
4696
4725
|
Args:
|
|
4697
4726
|
account_id (str): The account to request the catalog for.
|
|
4698
4727
|
|
|
4699
4728
|
Keyword Args:
|
|
4700
|
-
|
|
4729
|
+
value_resource_input_of_seller_catalog_request_v2 (ValueResourceInputOfSellerCatalogRequestV2): [optional]
|
|
4701
4730
|
_return_http_data_only (bool): response data without head status
|
|
4702
4731
|
code and headers. Default is True.
|
|
4703
4732
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4761,27 +4790,27 @@ class CampaignApi(object):
|
|
|
4761
4790
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4762
4791
|
kwargs['account_id'] = \
|
|
4763
4792
|
account_id
|
|
4764
|
-
return self.
|
|
4793
|
+
return self.post_api_external_v2_account_seller_catalog_export_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
4765
4794
|
|
|
4766
|
-
def
|
|
4795
|
+
def post_api_external_v2_campaign_preferred_line_items_by_campaign_id(
|
|
4767
4796
|
self,
|
|
4768
|
-
|
|
4797
|
+
campaign_id,
|
|
4769
4798
|
**kwargs
|
|
4770
4799
|
):
|
|
4771
|
-
"""
|
|
4800
|
+
"""post_api_external_v2_campaign_preferred_line_items_by_campaign_id # noqa: E501
|
|
4772
4801
|
|
|
4773
|
-
|
|
4802
|
+
Creates a new preferred line item with the specified settings # noqa: E501
|
|
4774
4803
|
This method makes a synchronous HTTP request by default. To make an
|
|
4775
4804
|
asynchronous HTTP request, please pass async_req=True
|
|
4776
4805
|
|
|
4777
|
-
>>> thread = api.
|
|
4806
|
+
>>> thread = api.post_api_external_v2_campaign_preferred_line_items_by_campaign_id(campaign_id, async_req=True)
|
|
4778
4807
|
>>> result = thread.get()
|
|
4779
4808
|
|
|
4780
4809
|
Args:
|
|
4781
|
-
|
|
4810
|
+
campaign_id (str): The given campaign id
|
|
4782
4811
|
|
|
4783
4812
|
Keyword Args:
|
|
4784
|
-
|
|
4813
|
+
preferred_line_item_create_model_v2_request (PreferredLineItemCreateModelV2Request): The line item settings to create a line item with. [optional]
|
|
4785
4814
|
_return_http_data_only (bool): response data without head status
|
|
4786
4815
|
code and headers. Default is True.
|
|
4787
4816
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4814,7 +4843,7 @@ class CampaignApi(object):
|
|
|
4814
4843
|
async_req (bool): execute request asynchronously
|
|
4815
4844
|
|
|
4816
4845
|
Returns:
|
|
4817
|
-
|
|
4846
|
+
None
|
|
4818
4847
|
If the method is called asynchronously, returns the request
|
|
4819
4848
|
thread.
|
|
4820
4849
|
"""
|
|
@@ -4843,9 +4872,9 @@ class CampaignApi(object):
|
|
|
4843
4872
|
'_content_type')
|
|
4844
4873
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4845
4874
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4846
|
-
kwargs['
|
|
4847
|
-
|
|
4848
|
-
return self.
|
|
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)
|
|
4849
4878
|
|
|
4850
4879
|
def post_api_v1_external_catalogs_sku_retrieval(
|
|
4851
4880
|
self,
|
|
@@ -5177,26 +5206,27 @@ class CampaignApi(object):
|
|
|
5177
5206
|
account_id
|
|
5178
5207
|
return self.post_api_v2_external_account_creatives_search_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
5179
5208
|
|
|
5180
|
-
def
|
|
5209
|
+
def put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id(
|
|
5181
5210
|
self,
|
|
5182
5211
|
line_item_id,
|
|
5183
|
-
|
|
5212
|
+
product_button_id,
|
|
5184
5213
|
**kwargs
|
|
5185
5214
|
):
|
|
5186
|
-
"""
|
|
5215
|
+
"""put_api_external_v1_line_item_by_line_item_id_product_buttonsproduct_button_id # noqa: E501
|
|
5187
5216
|
|
|
5188
|
-
|
|
5217
|
+
Update Specific Product Button # noqa: E501
|
|
5189
5218
|
This method makes a synchronous HTTP request by default. To make an
|
|
5190
5219
|
asynchronous HTTP request, please pass async_req=True
|
|
5191
5220
|
|
|
5192
|
-
>>> 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)
|
|
5193
5222
|
>>> result = thread.get()
|
|
5194
5223
|
|
|
5195
5224
|
Args:
|
|
5196
|
-
line_item_id (str):
|
|
5197
|
-
|
|
5225
|
+
line_item_id (str): External LineItemId for productButton update
|
|
5226
|
+
product_button_id (str): productButtonId used for update
|
|
5198
5227
|
|
|
5199
5228
|
Keyword Args:
|
|
5229
|
+
product_button_request_request (ProductButtonRequestRequest): Specific Product button update info. [optional]
|
|
5200
5230
|
_return_http_data_only (bool): response data without head status
|
|
5201
5231
|
code and headers. Default is True.
|
|
5202
5232
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5229,7 +5259,7 @@ class CampaignApi(object):
|
|
|
5229
5259
|
async_req (bool): execute request asynchronously
|
|
5230
5260
|
|
|
5231
5261
|
Returns:
|
|
5232
|
-
|
|
5262
|
+
ProductButtonResponseListResponse
|
|
5233
5263
|
If the method is called asynchronously, returns the request
|
|
5234
5264
|
thread.
|
|
5235
5265
|
"""
|
|
@@ -5260,31 +5290,29 @@ class CampaignApi(object):
|
|
|
5260
5290
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5261
5291
|
kwargs['line_item_id'] = \
|
|
5262
5292
|
line_item_id
|
|
5263
|
-
kwargs['
|
|
5264
|
-
|
|
5265
|
-
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)
|
|
5266
5296
|
|
|
5267
|
-
def
|
|
5297
|
+
def put_api_external_v2_preferred_line_item_by_line_item_id(
|
|
5268
5298
|
self,
|
|
5269
5299
|
line_item_id,
|
|
5270
|
-
product_button_id,
|
|
5271
5300
|
**kwargs
|
|
5272
5301
|
):
|
|
5273
|
-
"""
|
|
5302
|
+
"""put_api_external_v2_preferred_line_item_by_line_item_id # noqa: E501
|
|
5274
5303
|
|
|
5275
|
-
|
|
5304
|
+
Updates the preferred line item for the given line item id # noqa: E501
|
|
5276
5305
|
This method makes a synchronous HTTP request by default. To make an
|
|
5277
5306
|
asynchronous HTTP request, please pass async_req=True
|
|
5278
5307
|
|
|
5279
|
-
>>> thread = api.
|
|
5308
|
+
>>> thread = api.put_api_external_v2_preferred_line_item_by_line_item_id(line_item_id, async_req=True)
|
|
5280
5309
|
>>> result = thread.get()
|
|
5281
5310
|
|
|
5282
5311
|
Args:
|
|
5283
|
-
line_item_id (str):
|
|
5284
|
-
product_button_id (str): Sequential id of the product button
|
|
5312
|
+
line_item_id (str): The given line item id
|
|
5285
5313
|
|
|
5286
5314
|
Keyword Args:
|
|
5287
|
-
|
|
5315
|
+
preferred_line_item_update_model_v2_request (PreferredLineItemUpdateModelV2Request): The line item settings to create a line item with. [optional]
|
|
5288
5316
|
_return_http_data_only (bool): response data without head status
|
|
5289
5317
|
code and headers. Default is True.
|
|
5290
5318
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5317,7 +5345,7 @@ class CampaignApi(object):
|
|
|
5317
5345
|
async_req (bool): execute request asynchronously
|
|
5318
5346
|
|
|
5319
5347
|
Returns:
|
|
5320
|
-
|
|
5348
|
+
PreferredLineItemV2Response
|
|
5321
5349
|
If the method is called asynchronously, returns the request
|
|
5322
5350
|
thread.
|
|
5323
5351
|
"""
|
|
@@ -5348,9 +5376,7 @@ class CampaignApi(object):
|
|
|
5348
5376
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5349
5377
|
kwargs['line_item_id'] = \
|
|
5350
5378
|
line_item_id
|
|
5351
|
-
kwargs
|
|
5352
|
-
product_button_id
|
|
5353
|
-
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)
|
|
5354
5380
|
|
|
5355
5381
|
def put_api_v2_external_account_by_account_id_creativescreative_id(
|
|
5356
5382
|
self,
|
|
@@ -5788,7 +5814,7 @@ class CampaignApi(object):
|
|
|
5788
5814
|
>>> result = thread.get()
|
|
5789
5815
|
|
|
5790
5816
|
Args:
|
|
5791
|
-
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.
|
|
5792
5818
|
|
|
5793
5819
|
Keyword Args:
|
|
5794
5820
|
value_resource_input_of_sponsored_products_line_item_update_request_model (ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel): An update request containing all details of the requested update.. [optional]
|