criteo-api-marketingsolutions-sdk 2025.10.0.251029__py3-none-any.whl → 2025.10.0.251030__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-marketingsolutions-sdk might be problematic. Click here for more details.
- {criteo_api_marketingsolutions_sdk-2025.10.0.251029.dist-info → criteo_api_marketingsolutions_sdk-2025.10.0.251030.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-2025.10.0.251029.dist-info → criteo_api_marketingsolutions_sdk-2025.10.0.251030.dist-info}/RECORD +16 -11
- criteo_api_marketingsolutions_v2025_10/__init__.py +1 -1
- criteo_api_marketingsolutions_v2025_10/api/campaign_api.py +89 -43
- criteo_api_marketingsolutions_v2025_10/api/reco_api.py +9 -9
- criteo_api_marketingsolutions_v2025_10/api_client.py +1 -1
- criteo_api_marketingsolutions_v2025_10/configuration.py +1 -1
- criteo_api_marketingsolutions_v2025_10/model/ad_set_delivery_status.py +291 -0
- criteo_api_marketingsolutions_v2025_10/model/advertiser_adset_message.py +289 -0
- criteo_api_marketingsolutions_v2025_10/model/advertiser_campaign_message.py +287 -0
- criteo_api_marketingsolutions_v2025_10/model/advertiser_info_message.py +271 -0
- criteo_api_marketingsolutions_v2025_10/model/advertiser_quota_message.py +279 -0
- criteo_api_marketingsolutions_v2025_10/model/seller_budget_status_v2.py +4 -4
- criteo_api_marketingsolutions_v2025_10/models/__init__.py +5 -0
- {criteo_api_marketingsolutions_sdk-2025.10.0.251029.dist-info → criteo_api_marketingsolutions_sdk-2025.10.0.251030.dist-info}/WHEEL +0 -0
- {criteo_api_marketingsolutions_sdk-2025.10.0.251029.dist-info → criteo_api_marketingsolutions_sdk-2025.10.0.251030.dist-info}/top_level.txt +0 -0
|
@@ -26,6 +26,10 @@ from criteo_api_marketingsolutions_v2025_10.model.ad_set_audience_link_input_ent
|
|
|
26
26
|
from criteo_api_marketingsolutions_v2025_10.model.ad_set_category_bid_list_response import AdSetCategoryBidListResponse
|
|
27
27
|
from criteo_api_marketingsolutions_v2025_10.model.ad_set_display_multiplier_list_response import AdSetDisplayMultiplierListResponse
|
|
28
28
|
from criteo_api_marketingsolutions_v2025_10.model.ad_set_search_request_v24_q3 import AdSetSearchRequestV24Q3
|
|
29
|
+
from criteo_api_marketingsolutions_v2025_10.model.advertiser_adset_message import AdvertiserAdsetMessage
|
|
30
|
+
from criteo_api_marketingsolutions_v2025_10.model.advertiser_campaign_message import AdvertiserCampaignMessage
|
|
31
|
+
from criteo_api_marketingsolutions_v2025_10.model.advertiser_info_message import AdvertiserInfoMessage
|
|
32
|
+
from criteo_api_marketingsolutions_v2025_10.model.advertiser_quota_message import AdvertiserQuotaMessage
|
|
29
33
|
from criteo_api_marketingsolutions_v2025_10.model.campaign_search_request_v23_q1 import CampaignSearchRequestV23Q1
|
|
30
34
|
from criteo_api_marketingsolutions_v2025_10.model.campaign_v23_q1_list_response import CampaignV23Q1ListResponse
|
|
31
35
|
from criteo_api_marketingsolutions_v2025_10.model.campaign_v23_q1_response import CampaignV23Q1Response
|
|
@@ -172,7 +176,7 @@ class CampaignApi(object):
|
|
|
172
176
|
)
|
|
173
177
|
self.create_marketplace_seller_budgets_endpoint = _Endpoint(
|
|
174
178
|
settings={
|
|
175
|
-
'response_type':
|
|
179
|
+
'response_type': ([SellerBudgetMessage],),
|
|
176
180
|
'auth': [
|
|
177
181
|
'oauth',
|
|
178
182
|
'oauth'
|
|
@@ -212,7 +216,9 @@ class CampaignApi(object):
|
|
|
212
216
|
}
|
|
213
217
|
},
|
|
214
218
|
headers_map={
|
|
215
|
-
'accept': [
|
|
219
|
+
'accept': [
|
|
220
|
+
'application/json'
|
|
221
|
+
],
|
|
216
222
|
'content_type': [
|
|
217
223
|
'application/json'
|
|
218
224
|
]
|
|
@@ -221,7 +227,7 @@ class CampaignApi(object):
|
|
|
221
227
|
)
|
|
222
228
|
self.create_marketplace_seller_campaigns_by_seller_endpoint = _Endpoint(
|
|
223
229
|
settings={
|
|
224
|
-
'response_type':
|
|
230
|
+
'response_type': (SellerCampaignMessage,),
|
|
225
231
|
'auth': [
|
|
226
232
|
'oauth',
|
|
227
233
|
'oauth'
|
|
@@ -268,7 +274,9 @@ class CampaignApi(object):
|
|
|
268
274
|
}
|
|
269
275
|
},
|
|
270
276
|
headers_map={
|
|
271
|
-
'accept': [
|
|
277
|
+
'accept': [
|
|
278
|
+
'application/json'
|
|
279
|
+
],
|
|
272
280
|
'content_type': [
|
|
273
281
|
'application/json'
|
|
274
282
|
]
|
|
@@ -485,7 +493,7 @@ class CampaignApi(object):
|
|
|
485
493
|
)
|
|
486
494
|
self.get_marketplace_ad_sets_by_advertiser_endpoint = _Endpoint(
|
|
487
495
|
settings={
|
|
488
|
-
'response_type':
|
|
496
|
+
'response_type': ([AdvertiserAdsetMessage],),
|
|
489
497
|
'auth': [
|
|
490
498
|
'oauth',
|
|
491
499
|
'oauth'
|
|
@@ -528,14 +536,16 @@ class CampaignApi(object):
|
|
|
528
536
|
}
|
|
529
537
|
},
|
|
530
538
|
headers_map={
|
|
531
|
-
'accept': [
|
|
539
|
+
'accept': [
|
|
540
|
+
'application/json'
|
|
541
|
+
],
|
|
532
542
|
'content_type': [],
|
|
533
543
|
},
|
|
534
544
|
api_client=api_client
|
|
535
545
|
)
|
|
536
546
|
self.get_marketplace_advertiser_endpoint = _Endpoint(
|
|
537
547
|
settings={
|
|
538
|
-
'response_type':
|
|
548
|
+
'response_type': (AdvertiserInfoMessage,),
|
|
539
549
|
'auth': [
|
|
540
550
|
'oauth',
|
|
541
551
|
'oauth'
|
|
@@ -578,14 +588,16 @@ class CampaignApi(object):
|
|
|
578
588
|
}
|
|
579
589
|
},
|
|
580
590
|
headers_map={
|
|
581
|
-
'accept': [
|
|
591
|
+
'accept': [
|
|
592
|
+
'application/json'
|
|
593
|
+
],
|
|
582
594
|
'content_type': [],
|
|
583
595
|
},
|
|
584
596
|
api_client=api_client
|
|
585
597
|
)
|
|
586
598
|
self.get_marketplace_advertiser_preview_limits_endpoint = _Endpoint(
|
|
587
599
|
settings={
|
|
588
|
-
'response_type':
|
|
600
|
+
'response_type': ([AdvertiserQuotaMessage],),
|
|
589
601
|
'auth': [
|
|
590
602
|
'oauth',
|
|
591
603
|
'oauth'
|
|
@@ -621,14 +633,16 @@ class CampaignApi(object):
|
|
|
621
633
|
}
|
|
622
634
|
},
|
|
623
635
|
headers_map={
|
|
624
|
-
'accept': [
|
|
636
|
+
'accept': [
|
|
637
|
+
'application/json'
|
|
638
|
+
],
|
|
625
639
|
'content_type': [],
|
|
626
640
|
},
|
|
627
641
|
api_client=api_client
|
|
628
642
|
)
|
|
629
643
|
self.get_marketplace_advertisers_endpoint = _Endpoint(
|
|
630
644
|
settings={
|
|
631
|
-
'response_type':
|
|
645
|
+
'response_type': ([AdvertiserInfoMessage],),
|
|
632
646
|
'auth': [
|
|
633
647
|
'oauth',
|
|
634
648
|
'oauth'
|
|
@@ -664,14 +678,16 @@ class CampaignApi(object):
|
|
|
664
678
|
}
|
|
665
679
|
},
|
|
666
680
|
headers_map={
|
|
667
|
-
'accept': [
|
|
681
|
+
'accept': [
|
|
682
|
+
'application/json'
|
|
683
|
+
],
|
|
668
684
|
'content_type': [],
|
|
669
685
|
},
|
|
670
686
|
api_client=api_client
|
|
671
687
|
)
|
|
672
688
|
self.get_marketplace_budgets_by_advertiser_endpoint = _Endpoint(
|
|
673
689
|
settings={
|
|
674
|
-
'response_type':
|
|
690
|
+
'response_type': ([SellerBudgetMessage],),
|
|
675
691
|
'auth': [
|
|
676
692
|
'oauth',
|
|
677
693
|
'oauth'
|
|
@@ -761,7 +777,9 @@ class CampaignApi(object):
|
|
|
761
777
|
}
|
|
762
778
|
},
|
|
763
779
|
headers_map={
|
|
764
|
-
'accept': [
|
|
780
|
+
'accept': [
|
|
781
|
+
'application/json'
|
|
782
|
+
],
|
|
765
783
|
'content_type': [],
|
|
766
784
|
},
|
|
767
785
|
api_client=api_client
|
|
@@ -951,7 +969,7 @@ class CampaignApi(object):
|
|
|
951
969
|
)
|
|
952
970
|
self.get_marketplace_campaigns_by_advertiser_endpoint = _Endpoint(
|
|
953
971
|
settings={
|
|
954
|
-
'response_type':
|
|
972
|
+
'response_type': ([AdvertiserCampaignMessage],),
|
|
955
973
|
'auth': [
|
|
956
974
|
'oauth',
|
|
957
975
|
'oauth'
|
|
@@ -994,7 +1012,9 @@ class CampaignApi(object):
|
|
|
994
1012
|
}
|
|
995
1013
|
},
|
|
996
1014
|
headers_map={
|
|
997
|
-
'accept': [
|
|
1015
|
+
'accept': [
|
|
1016
|
+
'application/json'
|
|
1017
|
+
],
|
|
998
1018
|
'content_type': [],
|
|
999
1019
|
},
|
|
1000
1020
|
api_client=api_client
|
|
@@ -1020,6 +1040,7 @@ class CampaignApi(object):
|
|
|
1020
1040
|
'end_date',
|
|
1021
1041
|
'interval_size',
|
|
1022
1042
|
'start_date',
|
|
1043
|
+
'time_zone_id',
|
|
1023
1044
|
],
|
|
1024
1045
|
'required': [],
|
|
1025
1046
|
'nullable': [
|
|
@@ -1064,6 +1085,8 @@ class CampaignApi(object):
|
|
|
1064
1085
|
(str,),
|
|
1065
1086
|
'start_date':
|
|
1066
1087
|
(datetime,),
|
|
1088
|
+
'time_zone_id':
|
|
1089
|
+
(str,),
|
|
1067
1090
|
},
|
|
1068
1091
|
'attribute_map': {
|
|
1069
1092
|
'advertiser_id': 'advertiserId',
|
|
@@ -1073,6 +1096,7 @@ class CampaignApi(object):
|
|
|
1073
1096
|
'end_date': 'endDate',
|
|
1074
1097
|
'interval_size': 'intervalSize',
|
|
1075
1098
|
'start_date': 'startDate',
|
|
1099
|
+
'time_zone_id': 'timeZoneId',
|
|
1076
1100
|
},
|
|
1077
1101
|
'location_map': {
|
|
1078
1102
|
'advertiser_id': 'query',
|
|
@@ -1082,6 +1106,7 @@ class CampaignApi(object):
|
|
|
1082
1106
|
'end_date': 'query',
|
|
1083
1107
|
'interval_size': 'query',
|
|
1084
1108
|
'start_date': 'query',
|
|
1109
|
+
'time_zone_id': 'query',
|
|
1085
1110
|
},
|
|
1086
1111
|
'collection_format_map': {
|
|
1087
1112
|
}
|
|
@@ -1370,7 +1395,7 @@ class CampaignApi(object):
|
|
|
1370
1395
|
)
|
|
1371
1396
|
self.get_marketplace_seller_campaign_endpoint = _Endpoint(
|
|
1372
1397
|
settings={
|
|
1373
|
-
'response_type': (SellerCampaignMessage,),
|
|
1398
|
+
'response_type': ([SellerCampaignMessage],),
|
|
1374
1399
|
'auth': [
|
|
1375
1400
|
'oauth',
|
|
1376
1401
|
'oauth'
|
|
@@ -1505,7 +1530,7 @@ class CampaignApi(object):
|
|
|
1505
1530
|
)
|
|
1506
1531
|
self.get_marketplace_seller_campaigns_by_advertiser_endpoint = _Endpoint(
|
|
1507
1532
|
settings={
|
|
1508
|
-
'response_type':
|
|
1533
|
+
'response_type': ([SellerCampaignMessage],),
|
|
1509
1534
|
'auth': [
|
|
1510
1535
|
'oauth',
|
|
1511
1536
|
'oauth'
|
|
@@ -1548,7 +1573,9 @@ class CampaignApi(object):
|
|
|
1548
1573
|
}
|
|
1549
1574
|
},
|
|
1550
1575
|
headers_map={
|
|
1551
|
-
'accept': [
|
|
1576
|
+
'accept': [
|
|
1577
|
+
'application/json'
|
|
1578
|
+
],
|
|
1552
1579
|
'content_type': [],
|
|
1553
1580
|
},
|
|
1554
1581
|
api_client=api_client
|
|
@@ -1655,6 +1682,7 @@ class CampaignApi(object):
|
|
|
1655
1682
|
'interval_size',
|
|
1656
1683
|
'seller_id',
|
|
1657
1684
|
'start_date',
|
|
1685
|
+
'time_zone_id',
|
|
1658
1686
|
],
|
|
1659
1687
|
'required': [],
|
|
1660
1688
|
'nullable': [
|
|
@@ -1701,6 +1729,8 @@ class CampaignApi(object):
|
|
|
1701
1729
|
(str,),
|
|
1702
1730
|
'start_date':
|
|
1703
1731
|
(datetime,),
|
|
1732
|
+
'time_zone_id':
|
|
1733
|
+
(str,),
|
|
1704
1734
|
},
|
|
1705
1735
|
'attribute_map': {
|
|
1706
1736
|
'advertiser_id': 'advertiserId',
|
|
@@ -1711,6 +1741,7 @@ class CampaignApi(object):
|
|
|
1711
1741
|
'interval_size': 'intervalSize',
|
|
1712
1742
|
'seller_id': 'sellerId',
|
|
1713
1743
|
'start_date': 'startDate',
|
|
1744
|
+
'time_zone_id': 'timeZoneId',
|
|
1714
1745
|
},
|
|
1715
1746
|
'location_map': {
|
|
1716
1747
|
'advertiser_id': 'query',
|
|
@@ -1721,6 +1752,7 @@ class CampaignApi(object):
|
|
|
1721
1752
|
'interval_size': 'query',
|
|
1722
1753
|
'seller_id': 'query',
|
|
1723
1754
|
'start_date': 'query',
|
|
1755
|
+
'time_zone_id': 'query',
|
|
1724
1756
|
},
|
|
1725
1757
|
'collection_format_map': {
|
|
1726
1758
|
}
|
|
@@ -1735,7 +1767,7 @@ class CampaignApi(object):
|
|
|
1735
1767
|
)
|
|
1736
1768
|
self.get_marketplace_sellers_endpoint = _Endpoint(
|
|
1737
1769
|
settings={
|
|
1738
|
-
'response_type': ([
|
|
1770
|
+
'response_type': ([SellerBase],),
|
|
1739
1771
|
'auth': [
|
|
1740
1772
|
'oauth',
|
|
1741
1773
|
'oauth'
|
|
@@ -1823,7 +1855,7 @@ class CampaignApi(object):
|
|
|
1823
1855
|
)
|
|
1824
1856
|
self.get_marketplace_sellers_by_advertiser_endpoint = _Endpoint(
|
|
1825
1857
|
settings={
|
|
1826
|
-
'response_type':
|
|
1858
|
+
'response_type': ([SellerBase],),
|
|
1827
1859
|
'auth': [
|
|
1828
1860
|
'oauth',
|
|
1829
1861
|
'oauth'
|
|
@@ -1875,7 +1907,9 @@ class CampaignApi(object):
|
|
|
1875
1907
|
}
|
|
1876
1908
|
},
|
|
1877
1909
|
headers_map={
|
|
1878
|
-
'accept': [
|
|
1910
|
+
'accept': [
|
|
1911
|
+
'application/json'
|
|
1912
|
+
],
|
|
1879
1913
|
'content_type': [
|
|
1880
1914
|
'application/json'
|
|
1881
1915
|
]
|
|
@@ -1903,6 +1937,7 @@ class CampaignApi(object):
|
|
|
1903
1937
|
'interval_size',
|
|
1904
1938
|
'seller_id',
|
|
1905
1939
|
'start_date',
|
|
1940
|
+
'time_zone_id',
|
|
1906
1941
|
],
|
|
1907
1942
|
'required': [],
|
|
1908
1943
|
'nullable': [
|
|
@@ -1947,6 +1982,8 @@ class CampaignApi(object):
|
|
|
1947
1982
|
(str,),
|
|
1948
1983
|
'start_date':
|
|
1949
1984
|
(datetime,),
|
|
1985
|
+
'time_zone_id':
|
|
1986
|
+
(str,),
|
|
1950
1987
|
},
|
|
1951
1988
|
'attribute_map': {
|
|
1952
1989
|
'advertiser_id': 'advertiserId',
|
|
@@ -1956,6 +1993,7 @@ class CampaignApi(object):
|
|
|
1956
1993
|
'interval_size': 'intervalSize',
|
|
1957
1994
|
'seller_id': 'sellerId',
|
|
1958
1995
|
'start_date': 'startDate',
|
|
1996
|
+
'time_zone_id': 'timeZoneId',
|
|
1959
1997
|
},
|
|
1960
1998
|
'location_map': {
|
|
1961
1999
|
'advertiser_id': 'query',
|
|
@@ -1965,6 +2003,7 @@ class CampaignApi(object):
|
|
|
1965
2003
|
'interval_size': 'query',
|
|
1966
2004
|
'seller_id': 'query',
|
|
1967
2005
|
'start_date': 'query',
|
|
2006
|
+
'time_zone_id': 'query',
|
|
1968
2007
|
},
|
|
1969
2008
|
'collection_format_map': {
|
|
1970
2009
|
}
|
|
@@ -2460,7 +2499,7 @@ class CampaignApi(object):
|
|
|
2460
2499
|
)
|
|
2461
2500
|
self.update_marketplace_seller_budget_endpoint = _Endpoint(
|
|
2462
2501
|
settings={
|
|
2463
|
-
'response_type':
|
|
2502
|
+
'response_type': (SellerBudgetMessage,),
|
|
2464
2503
|
'auth': [
|
|
2465
2504
|
'oauth',
|
|
2466
2505
|
'oauth'
|
|
@@ -2507,7 +2546,9 @@ class CampaignApi(object):
|
|
|
2507
2546
|
}
|
|
2508
2547
|
},
|
|
2509
2548
|
headers_map={
|
|
2510
|
-
'accept': [
|
|
2549
|
+
'accept': [
|
|
2550
|
+
'application/json'
|
|
2551
|
+
],
|
|
2511
2552
|
'content_type': [
|
|
2512
2553
|
'application/json'
|
|
2513
2554
|
]
|
|
@@ -2516,7 +2557,7 @@ class CampaignApi(object):
|
|
|
2516
2557
|
)
|
|
2517
2558
|
self.update_marketplace_seller_budgets_endpoint = _Endpoint(
|
|
2518
2559
|
settings={
|
|
2519
|
-
'response_type':
|
|
2560
|
+
'response_type': ([SellerBudgetMessage],),
|
|
2520
2561
|
'auth': [
|
|
2521
2562
|
'oauth',
|
|
2522
2563
|
'oauth'
|
|
@@ -2556,7 +2597,9 @@ class CampaignApi(object):
|
|
|
2556
2597
|
}
|
|
2557
2598
|
},
|
|
2558
2599
|
headers_map={
|
|
2559
|
-
'accept': [
|
|
2600
|
+
'accept': [
|
|
2601
|
+
'application/json'
|
|
2602
|
+
],
|
|
2560
2603
|
'content_type': [
|
|
2561
2604
|
'application/json'
|
|
2562
2605
|
]
|
|
@@ -2886,7 +2929,7 @@ class CampaignApi(object):
|
|
|
2886
2929
|
async_req (bool): execute request asynchronously
|
|
2887
2930
|
|
|
2888
2931
|
Returns:
|
|
2889
|
-
|
|
2932
|
+
[SellerBudgetMessage]
|
|
2890
2933
|
If the method is called asynchronously, returns the request
|
|
2891
2934
|
thread.
|
|
2892
2935
|
"""
|
|
@@ -2968,7 +3011,7 @@ class CampaignApi(object):
|
|
|
2968
3011
|
async_req (bool): execute request asynchronously
|
|
2969
3012
|
|
|
2970
3013
|
Returns:
|
|
2971
|
-
|
|
3014
|
+
SellerCampaignMessage
|
|
2972
3015
|
If the method is called asynchronously, returns the request
|
|
2973
3016
|
thread.
|
|
2974
3017
|
"""
|
|
@@ -3383,7 +3426,7 @@ class CampaignApi(object):
|
|
|
3383
3426
|
async_req (bool): execute request asynchronously
|
|
3384
3427
|
|
|
3385
3428
|
Returns:
|
|
3386
|
-
|
|
3429
|
+
[AdvertiserAdsetMessage]
|
|
3387
3430
|
If the method is called asynchronously, returns the request
|
|
3388
3431
|
thread.
|
|
3389
3432
|
"""
|
|
@@ -3466,7 +3509,7 @@ class CampaignApi(object):
|
|
|
3466
3509
|
async_req (bool): execute request asynchronously
|
|
3467
3510
|
|
|
3468
3511
|
Returns:
|
|
3469
|
-
|
|
3512
|
+
AdvertiserInfoMessage
|
|
3470
3513
|
If the method is called asynchronously, returns the request
|
|
3471
3514
|
thread.
|
|
3472
3515
|
"""
|
|
@@ -3546,7 +3589,7 @@ class CampaignApi(object):
|
|
|
3546
3589
|
async_req (bool): execute request asynchronously
|
|
3547
3590
|
|
|
3548
3591
|
Returns:
|
|
3549
|
-
|
|
3592
|
+
[AdvertiserQuotaMessage]
|
|
3550
3593
|
If the method is called asynchronously, returns the request
|
|
3551
3594
|
thread.
|
|
3552
3595
|
"""
|
|
@@ -3624,7 +3667,7 @@ class CampaignApi(object):
|
|
|
3624
3667
|
async_req (bool): execute request asynchronously
|
|
3625
3668
|
|
|
3626
3669
|
Returns:
|
|
3627
|
-
|
|
3670
|
+
[AdvertiserInfoMessage]
|
|
3628
3671
|
If the method is called asynchronously, returns the request
|
|
3629
3672
|
thread.
|
|
3630
3673
|
"""
|
|
@@ -3713,7 +3756,7 @@ class CampaignApi(object):
|
|
|
3713
3756
|
async_req (bool): execute request asynchronously
|
|
3714
3757
|
|
|
3715
3758
|
Returns:
|
|
3716
|
-
|
|
3759
|
+
[SellerBudgetMessage]
|
|
3717
3760
|
If the method is called asynchronously, returns the request
|
|
3718
3761
|
thread.
|
|
3719
3762
|
"""
|
|
@@ -3975,7 +4018,7 @@ class CampaignApi(object):
|
|
|
3975
4018
|
async_req (bool): execute request asynchronously
|
|
3976
4019
|
|
|
3977
4020
|
Returns:
|
|
3978
|
-
|
|
4021
|
+
[AdvertiserCampaignMessage]
|
|
3979
4022
|
If the method is called asynchronously, returns the request
|
|
3980
4023
|
thread.
|
|
3981
4024
|
"""
|
|
@@ -4014,7 +4057,7 @@ class CampaignApi(object):
|
|
|
4014
4057
|
):
|
|
4015
4058
|
""" # noqa: E501
|
|
4016
4059
|
|
|
4017
|
-
## Dimensions Get performance statistics aggregated for _campaigns_. The campaign id appears in the output as the first column. Aggregation can be done by `hour`, `day`, `month`, or `year
|
|
4060
|
+
## Dimensions Get performance statistics aggregated for _campaigns_. The campaign id appears in the output as the first column. Aggregation can be done by `hour`, `day`, `month`, or `year` aligned with the user timezone if provided. The aggregation interval size is controlled by `intervalSize`. The time interval appears in the output as the second column. ## Metrics The metrics reported by this endpoint are . | Metric Group | Description ---|--------------|------------ A | impressions | Number of times product is shown in a banner B | clicks | Number of clicks on product C | cost | Amount spent for clicks on products D | saleUnits | Number of products sold attributed to clicks E | revenue | Revenue generated by sales F | CR = Conversion Rate | salesUnits / clicks G | CPO = Cost Per Order | cost / salesUnits H | COS = Cost of Sale | cost / revenue I | ROAS = Return On Add Spend | revenue / cost The last six metrics can be computed in two ways depending on the policy to count only the sales that result from clicks on the same sellers product in a banner (same-seller) or not (any-seller). Reporting can be controlled by `clickAttributionPolicy`. The 9 (or 15) metric values appear in the output as the final 9 (or 15) columns. ## Filtering The results can be filtered by campaign, date or count. Filtering the results to events associated with a specific campaign is done by setting the `campaignId` filter parameter to the desired value. Filtering the results to events that happened in a time interval is done by setting the `startDate` and `endDate` filter parameters using the `yyyy-MM-DD` format. The start date includes all events timestamped since the beginning of that day while the end date includes events until the end of day. The maximum duration of the date range is 1 year. If the aggregation interval is `hour`, then the maximum duration of the date range is 31 days. Note that month and year aggregate values may contain partial data for the interval if filtering by date. Filtering the results to a maximum number of data rows is done by setting the `count` filter parameter. When combined with startDate this can be used to perform simple pagination. ## Response Format The representation format can be specified by MIME values in the Accept header. For now the only supported values for the accept header is `application/json` and `text/csv`. ```json { \"columns\": [ \"campaignId\", \"month\", \"impressions\", \"clicks\", \"cost\", \"saleUnits\", \"revenue\", \"cr\", \"cpo\", \"cos\", \"roas\" ], \"data\": [ [168423, \"2019-05-01\", 3969032, 13410, 1111.295, 985, 190758099, 0.073, 1.128, 0.000, 171653.880 ], [168423, \"2019-06-01\", 8479603, 25619, 2190.705, 740, 152783656, 0.028, 2.960, 0.000, 69741.775 ] ], \"rows\": 2 } ``` The JSON result is an object with three fields (`columns`, `data`, and `rows`). The “columns” array acts as the header for the data rows. The categorical dimension column comes first and consists of the campaign id. The interval column comes next and defines the aggregation period. The interval size is determined by the `intervalSize` parameter. This is followed by either nine or fifteen metrics columns. The first three metrics (impressions, clicks, and cost) always appear. The remaining depend on the `clickAttributionPolicy` parameter. The “data” array contains data rows whose values match the entries in the “columns” array. Id dimensions are numbers while name and date dimensions are strings. The metrics are JSON objects whose type is number. Some of these are natural numbers (e.g. clicks and impressions) whereas others are decimal values. A divide by zero yields null. The currency is assumed to be the local currency established by the advertiser. The “row” value is a count of the number of rows in the data array, and can be used to check the integrity of the data. Further information on the campaign or seller (e.g. the seller name) can be obtained from the existing V1 or V2 endpoints using the campaign and/or seller ID values. # noqa: E501
|
|
4018
4061
|
This method makes a synchronous HTTP request by default. To make an
|
|
4019
4062
|
asynchronous HTTP request, please pass async_req=True
|
|
4020
4063
|
|
|
@@ -4030,6 +4073,7 @@ class CampaignApi(object):
|
|
|
4030
4073
|
end_date (datetime): Filter out all events that occur after date (default is today’s date). [optional]
|
|
4031
4074
|
interval_size (str): Specify the aggregation interval for events used to compute stats (default is \"day\"). [optional] if omitted the server will use the default value of "Day"
|
|
4032
4075
|
start_date (datetime): Filter out all events that occur before date (default is the value of `endDate`). [optional]
|
|
4076
|
+
time_zone_id (str): Specify the timezone used in the aggregations (IANA code).. [optional]
|
|
4033
4077
|
_return_http_data_only (bool): response data without head status
|
|
4034
4078
|
code and headers. Default is True.
|
|
4035
4079
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4486,7 +4530,7 @@ class CampaignApi(object):
|
|
|
4486
4530
|
async_req (bool): execute request asynchronously
|
|
4487
4531
|
|
|
4488
4532
|
Returns:
|
|
4489
|
-
SellerCampaignMessage
|
|
4533
|
+
[SellerCampaignMessage]
|
|
4490
4534
|
If the method is called asynchronously, returns the request
|
|
4491
4535
|
thread.
|
|
4492
4536
|
"""
|
|
@@ -4652,7 +4696,7 @@ class CampaignApi(object):
|
|
|
4652
4696
|
async_req (bool): execute request asynchronously
|
|
4653
4697
|
|
|
4654
4698
|
Returns:
|
|
4655
|
-
|
|
4699
|
+
[SellerCampaignMessage]
|
|
4656
4700
|
If the method is called asynchronously, returns the request
|
|
4657
4701
|
thread.
|
|
4658
4702
|
"""
|
|
@@ -4777,7 +4821,7 @@ class CampaignApi(object):
|
|
|
4777
4821
|
):
|
|
4778
4822
|
""" # noqa: E501
|
|
4779
4823
|
|
|
4780
|
-
## Dimensions Get performance statistics aggregated for _seller campaigns_.The campaign id, seller id, and seller name appear in the first three columns of the output. These are followed by the interval size column. Aggregation can be done by `hour`, `day`, `month`, or `year
|
|
4824
|
+
## Dimensions Get performance statistics aggregated for _seller campaigns_.The campaign id, seller id, and seller name appear in the first three columns of the output. These are followed by the interval size column. Aggregation can be done by `hour`, `day`, `month`, or `year` aligned with the user timezone if provided. The aggregation interval size is controlled by `intervalSize`. The remaining columns are metrics. ## Metrics The metrics reported by this endpoint are . | Metric Group | Description ---|--------------|------------ A | impressions | Number of times product is shown in a banner B | clicks | Number of clicks on product C | cost | Amount spent for clicks on products D | saleUnits | Number of products sold attributed to clicks E | revenue | Revenue generated by sales F | CR = Conversion Rate | salesUnits / clicks G | CPO = Cost Per Order | cost / salesUnits H | COS = Cost of Sale | cost / revenue I | ROAS = Return On Add Spend | revenue / cost The last six metrics can be computed in two ways depending on the policy to count only the sales that result from clicks on the same sellers product in a banner (same-seller) or not (any-seller). Reporting can be controlled by `clickAttributionPolicy`. The 9 (or 15) metric values appear in the output as the final 9 (or 15) columns. ## Filtering The results can be filtered by date or count. Filtering the results to events associated with a specific campaign is done by setting the `campaignId` filter parameter to the desired value. Filtering the results to events associated with a specific seller is done by setting the `sellerId` filter parameter to the desired value. Filtering the results to events that happened in a time interval is done by setting the `startDate` and `endDate` filter parameters using the `yyyy-MM-DD` format. The start date includes all events timestamped since the beginning of that day while the end date includes events until the end of day. The maximum duration of the date range is 1 year. If the aggregation interval is `hour`, then the maximum duration of the date range is 31 days. Note that month and year aggregate values may contain partial data for the interval if filtering by date. Filtering the results to a maximum number of data rows is done by setting the `count` filter parameter. When combined with startDate this can be used to perform simple pagination. ## Response Format The representation format can be specified by MIME values in the Accept header. For now the only supported values for the accept header is `application/json` and `text/csv`. ```json { \"columns\": [ \"campaignId\", \"sellerId\", \"sellerName\", \"month\", \"impressions\", \"clicks\", \"cost\", \"saleUnits\", \"revenue\", \"cr\", \"cpo\", \"cos\", \"roas\" ], \"data\": [ [168423, 1110222, \"118883955\", \"2019-05-01\", 14542, 48, 3.36, 0, 0.0, 0.0, null, null, 0.0], [168423, 1110222, \"118883955\", \"2019-06-01\", 16619, 53, 3.71, 0, 0.0, 0.0, null, null, 0.0], [168423, 1110225, \"117980027\", \"2019-05-01\", 12502, 48, 3.36, 0, 0.0, 0.0, null, null, 0.0], [168423, 1110225, \"117980027\", \"2019-06-01\", 20266, 53, 3.71, 0, 0.0, 0.0, null, null, 0.0] ], \"rows\": 4 } ``` The JSON result is an object with three fields (`columns`, `data`, and `rows`). The “columns” array acts as the header for the data rows. The categorical dimension columns come first and include the campaign id, seller id, and seller name. The interval column comes next and defines the aggregation period. The interval size is determined by the `intervalSize` parameter. This is followed by either nine or fifteen metrics columns. The first three metrics (impressions, clicks, and cost) always appear. The remaining depend on the `clickAttributionPolicy` parameter. The “data” array contains data rows whose values match the entries in the “columns” array. Id dimensions are numbers while name and date dimensions are strings. The metrics are JSON objects whose type is number. Some of these are natural numbers (e.g. clicks and impressions) whereas others are decimal values. A divide by zero yields null. The currency is assumed to be the local currency established by the advertiser. The “row” value is a count of the number of rows in the data array, and can be used to check the integrity of the data. Further information on the campaign or seller (e.g. the seller name) can be obtained from the existing V1 or V2 endpoints using the campaign and/or seller ID values. # noqa: E501
|
|
4781
4825
|
This method makes a synchronous HTTP request by default. To make an
|
|
4782
4826
|
asynchronous HTTP request, please pass async_req=True
|
|
4783
4827
|
|
|
@@ -4794,6 +4838,7 @@ class CampaignApi(object):
|
|
|
4794
4838
|
interval_size (str): Specify the aggregation interval for events used to compute stats (default is \"day\"). [optional] if omitted the server will use the default value of "Day"
|
|
4795
4839
|
seller_id (str): Show only metrics for this seller (default all sellers). [optional]
|
|
4796
4840
|
start_date (datetime): Filter out all events that occur before date (default is the value of `endDate`). [optional]
|
|
4841
|
+
time_zone_id (str): Specify the timezone used in the aggregations (IANA code).. [optional]
|
|
4797
4842
|
_return_http_data_only (bool): response data without head status
|
|
4798
4843
|
code and headers. Default is True.
|
|
4799
4844
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4910,7 +4955,7 @@ class CampaignApi(object):
|
|
|
4910
4955
|
async_req (bool): execute request asynchronously
|
|
4911
4956
|
|
|
4912
4957
|
Returns:
|
|
4913
|
-
[
|
|
4958
|
+
[SellerBase]
|
|
4914
4959
|
If the method is called asynchronously, returns the request
|
|
4915
4960
|
thread.
|
|
4916
4961
|
"""
|
|
@@ -4993,7 +5038,7 @@ class CampaignApi(object):
|
|
|
4993
5038
|
async_req (bool): execute request asynchronously
|
|
4994
5039
|
|
|
4995
5040
|
Returns:
|
|
4996
|
-
|
|
5041
|
+
[SellerBase]
|
|
4997
5042
|
If the method is called asynchronously, returns the request
|
|
4998
5043
|
thread.
|
|
4999
5044
|
"""
|
|
@@ -5032,7 +5077,7 @@ class CampaignApi(object):
|
|
|
5032
5077
|
):
|
|
5033
5078
|
""" # noqa: E501
|
|
5034
5079
|
|
|
5035
|
-
## Dimensions Get performance statistics aggregated for _sellers_. The seller id appears in the output in the first column and the seller name appears in the second. Aggregation can be done by `hour`, `day`, `month`, or `year
|
|
5080
|
+
## Dimensions Get performance statistics aggregated for _sellers_. The seller id appears in the output in the first column and the seller name appears in the second. Aggregation can be done by `hour`, `day`, `month`, or `year` aligned with the user timezone if provided. The aggregation interval size is controlled by `intervalSize`. The time interval appears in the output as the second column. ## Metrics The metrics reported by this endpoint are . | Metric Group | Description ---|--------------|------------ A | impressions | Number of times product is shown in a banner B | clicks | Number of clicks on product C | cost | Amount spent for clicks on products D | saleUnits | Number of products sold attributed to clicks E | revenue | Revenue generated by sales F | CR = Conversion Rate | salesUnits / clicks G | CPO = Cost Per Order | cost / salesUnits H | COS = Cost of Sale | cost / revenue I | ROAS = Return On Add Spend | revenue / cost The last six metrics can be computed in two ways depending on the policy to count only the sales that result from clicks on the same sellers product in a banner (same-seller) or not (any-seller). Reporting can be controlled by `clickAttributionPolicy`. The 9 (or 15) metric values appear in the output as the final 9 (or 15) columns. ## Filtering The results can be filtered by seller id, date or count. Filtering the results to events associated with a specific seller is done by setting the `sellerId` filter parameter to the desired value. Filtering the results to events that happened in a time interval is done by setting the `startDate` and `endDate` filter parameters using the `yyyy-MM-DD` format. The start date includes all events timestamped since the beginning of that day while the end date includes events until the end of day. The maximum duration of the date range is 1 year. If the aggregation interval is `hour`, then the maximum duration of the date range is 31 days. Note that month and year aggregate values may contain partial data for the interval if filtering by date. Filtering the results to a maximum number of data rows is done by setting the `count` filter parameter. When combined with startDate this can be used to perform simple pagination. ## Response Format The representation format can be specified by MIME values in the Accept header. For now the only supported values for the accept header is `application/json` and `text/csv`. ```json { \"columns\": [\"sellerId\", \"sellerName\", \"month\", \"impressions\", \"clicks\", \"cost\", \"saleUnits\", \"revenue\", \"cr\", \"cpo\", \"cos\", \"roas\"], \"data\": [ [1200972, \"sellerA\", \"2019-05-01\", 14542, 48, 3.36, 0, 0.0, 0.0, null, null, 0.0], [1200972, \"sellerA\", \"2019-06-01\", 16619, 53, 3.71, 0, 0.0, 0.0, null, null, 0.0], [1200974, \"sellerB\", \"2019-05-01\", 10102, 47, 3.29, 3, 396000.0, 0.063, 1.096, 8.308E-6, 120364.741], [1200974, \"sellerB\", \"2019-06-01\", 11576, 54, 3.78, 1, 132000.0, 0.018, 3.78, 2.863E-5, 34920.634] ], \"rows\": 4 } ``` The JSON result is an object with three fields (`columns`, `data`, and `rows`). The “columns” array acts as the header for the data rows. The categorical dimension columns come first and include the seller id and seller name. The interval column comes next and defines the aggregation period. The interval size is determined by the `intervalSize` parameter. This is followed by either nine or fifteen metrics columns. The first three metrics (impressions, clicks, and cost) always appear. The remaining metrics depend on the `clickAttributionPolicy` parameter. The “data” array contains data rows whose values match the entries in the “columns” array. Id dimensions are numbers while name and date dimensions are strings. The metrics are JSON objects whose type is number. Some of these are natural numbers (e.g. clicks and impressions) whereas others are decimal values. A divide by zero yields null. The currency is assumed to be the local currency established by the advertiser. The “row” value is a count of the number of rows in the data array, and can be used to check the integrity of the data. Further information on the campaign or seller (e.g. the seller name) can be obtained from the existing V1 or V2 endpoints using the campaign and/or seller ID values. # noqa: E501
|
|
5036
5081
|
This method makes a synchronous HTTP request by default. To make an
|
|
5037
5082
|
asynchronous HTTP request, please pass async_req=True
|
|
5038
5083
|
|
|
@@ -5048,6 +5093,7 @@ class CampaignApi(object):
|
|
|
5048
5093
|
interval_size (str): Specify the aggregation interval for events used to compute stats (default is \"day\"). [optional] if omitted the server will use the default value of "Day"
|
|
5049
5094
|
seller_id (str): Show only metrics for this seller (default all sellers). [optional]
|
|
5050
5095
|
start_date (datetime): Filter out all events that occur before date (default is the value of `endDate`). [optional]
|
|
5096
|
+
time_zone_id (str): Specify the timezone used in the aggregations (IANA code).. [optional]
|
|
5051
5097
|
_return_http_data_only (bool): response data without head status
|
|
5052
5098
|
code and headers. Default is True.
|
|
5053
5099
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5891,7 +5937,7 @@ class CampaignApi(object):
|
|
|
5891
5937
|
async_req (bool): execute request asynchronously
|
|
5892
5938
|
|
|
5893
5939
|
Returns:
|
|
5894
|
-
|
|
5940
|
+
SellerBudgetMessage
|
|
5895
5941
|
If the method is called asynchronously, returns the request
|
|
5896
5942
|
thread.
|
|
5897
5943
|
"""
|
|
@@ -5972,7 +6018,7 @@ class CampaignApi(object):
|
|
|
5972
6018
|
async_req (bool): execute request asynchronously
|
|
5973
6019
|
|
|
5974
6020
|
Returns:
|
|
5975
|
-
|
|
6021
|
+
[SellerBudgetMessage]
|
|
5976
6022
|
If the method is called asynchronously, returns the request
|
|
5977
6023
|
thread.
|
|
5978
6024
|
"""
|
|
@@ -49,7 +49,7 @@ class RecoApi(object):
|
|
|
49
49
|
'oauth',
|
|
50
50
|
'oauth'
|
|
51
51
|
],
|
|
52
|
-
'endpoint_path': '/2025-10/product-sets',
|
|
52
|
+
'endpoint_path': '/2025-10/marketing-solutions/product-sets',
|
|
53
53
|
'operation_id': 'create_product_set',
|
|
54
54
|
'http_method': 'POST',
|
|
55
55
|
'servers': None,
|
|
@@ -100,7 +100,7 @@ class RecoApi(object):
|
|
|
100
100
|
'oauth',
|
|
101
101
|
'oauth'
|
|
102
102
|
],
|
|
103
|
-
'endpoint_path': '/2025-10/ads/{ad-id}/product-filter',
|
|
103
|
+
'endpoint_path': '/2025-10/marketing-solutions/ads/{ad-id}/product-filter',
|
|
104
104
|
'operation_id': 'disable_product_filtering',
|
|
105
105
|
'http_method': 'DELETE',
|
|
106
106
|
'servers': None,
|
|
@@ -152,7 +152,7 @@ class RecoApi(object):
|
|
|
152
152
|
'oauth',
|
|
153
153
|
'oauth'
|
|
154
154
|
],
|
|
155
|
-
'endpoint_path': '/2025-10/ads/{ad-id}/product-filter',
|
|
155
|
+
'endpoint_path': '/2025-10/marketing-solutions/ads/{ad-id}/product-filter',
|
|
156
156
|
'operation_id': 'enable_product_filtering',
|
|
157
157
|
'http_method': 'POST',
|
|
158
158
|
'servers': None,
|
|
@@ -210,7 +210,7 @@ class RecoApi(object):
|
|
|
210
210
|
'oauth',
|
|
211
211
|
'oauth'
|
|
212
212
|
],
|
|
213
|
-
'endpoint_path': '/2025-10/ads/{ad-id}/product-filter',
|
|
213
|
+
'endpoint_path': '/2025-10/marketing-solutions/ads/{ad-id}/product-filter',
|
|
214
214
|
'operation_id': 'fetch_product_filtering_config',
|
|
215
215
|
'http_method': 'GET',
|
|
216
216
|
'servers': None,
|
|
@@ -262,7 +262,7 @@ class RecoApi(object):
|
|
|
262
262
|
'oauth',
|
|
263
263
|
'oauth'
|
|
264
264
|
],
|
|
265
|
-
'endpoint_path': '/2025-10/product-sets/{product-set-id}/product-filters',
|
|
265
|
+
'endpoint_path': '/2025-10/marketing-solutions/product-sets/{product-set-id}/product-filters',
|
|
266
266
|
'operation_id': 'fetch_product_filtering_usages',
|
|
267
267
|
'http_method': 'GET',
|
|
268
268
|
'servers': None,
|
|
@@ -314,7 +314,7 @@ class RecoApi(object):
|
|
|
314
314
|
'oauth',
|
|
315
315
|
'oauth'
|
|
316
316
|
],
|
|
317
|
-
'endpoint_path': '/2025-10/product-sets/{product-set-id}',
|
|
317
|
+
'endpoint_path': '/2025-10/marketing-solutions/product-sets/{product-set-id}',
|
|
318
318
|
'operation_id': 'fetch_product_set',
|
|
319
319
|
'http_method': 'GET',
|
|
320
320
|
'servers': None,
|
|
@@ -366,7 +366,7 @@ class RecoApi(object):
|
|
|
366
366
|
'oauth',
|
|
367
367
|
'oauth'
|
|
368
368
|
],
|
|
369
|
-
'endpoint_path': '/2025-10/product-sets/dataset/{dataset-id}',
|
|
369
|
+
'endpoint_path': '/2025-10/marketing-solutions/product-sets/dataset/{dataset-id}',
|
|
370
370
|
'operation_id': 'fetch_product_sets',
|
|
371
371
|
'http_method': 'GET',
|
|
372
372
|
'servers': None,
|
|
@@ -418,7 +418,7 @@ class RecoApi(object):
|
|
|
418
418
|
'oauth',
|
|
419
419
|
'oauth'
|
|
420
420
|
],
|
|
421
|
-
'endpoint_path': '/2025-10/product-sets/{product-set-id}',
|
|
421
|
+
'endpoint_path': '/2025-10/marketing-solutions/product-sets/{product-set-id}',
|
|
422
422
|
'operation_id': 'patch_product_set',
|
|
423
423
|
'http_method': 'PATCH',
|
|
424
424
|
'servers': None,
|
|
@@ -476,7 +476,7 @@ class RecoApi(object):
|
|
|
476
476
|
'oauth',
|
|
477
477
|
'oauth'
|
|
478
478
|
],
|
|
479
|
-
'endpoint_path': '/2025-10/product-sets/{product-set-id}',
|
|
479
|
+
'endpoint_path': '/2025-10/marketing-solutions/product-sets/{product-set-id}',
|
|
480
480
|
'operation_id': 'remove_product_set',
|
|
481
481
|
'http_method': 'DELETE',
|
|
482
482
|
'servers': None,
|