criteo-api-retailmedia-sdk 2025.1.0.250129__py3-none-any.whl → 2025.1.0.250205__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_sdk-2025.1.0.250129.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.1.0.250129.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info}/RECORD +13 -17
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +4 -165
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +4 -0
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +4 -0
- criteo_api_retailmedia_v2025_01/model/external_retailer.py +2 -0
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment.py +31 -18
- criteo_api_retailmedia_v2025_01/models/__init__.py +0 -4
- criteo_api_retailmedia_v2025_01/model/brand_preview.py +0 -269
- criteo_api_retailmedia_v2025_01/model/brand_preview_list_response.py +0 -281
- criteo_api_retailmedia_v2025_01/model/resource_of_brand_preview.py +0 -277
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +0 -292
- {criteo_api_retailmedia_sdk-2025.1.0.250129.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-2025.1.0.250129.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: criteo-api-retailmedia-sdk
|
|
3
|
-
Version: 2025.1.0.
|
|
3
|
+
Version: 2025.1.0.250205
|
|
4
4
|
Summary: Criteo API SDK
|
|
5
5
|
Home-page: https://github.com/criteo/criteo-api-python-sdk
|
|
6
6
|
Author: Criteo
|
|
@@ -35,9 +35,9 @@ IMPORTANT: This Python package links to Criteo production environment. Any test
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
pip install criteo-api-retailmedia-sdk==2025.01.0.
|
|
38
|
+
pip install criteo-api-retailmedia-sdk==2025.01.0.250205
|
|
39
39
|
```
|
|
40
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.01.0.
|
|
40
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.01.0.250205`)
|
|
41
41
|
|
|
42
42
|
Then import the package:
|
|
43
43
|
```python
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
criteo_api_retailmedia_v2025_01/__init__.py,sha256=
|
|
2
|
-
criteo_api_retailmedia_v2025_01/api_client.py,sha256=
|
|
1
|
+
criteo_api_retailmedia_v2025_01/__init__.py,sha256=UpRY7I5s7id3h65lakglD7WcPwIoSzAzGozOPjWqc4c,1040
|
|
2
|
+
criteo_api_retailmedia_v2025_01/api_client.py,sha256=P_2UvFevL9ke-Kh8tYNexx6C434grwrT95MF7l3N4As,39191
|
|
3
3
|
criteo_api_retailmedia_v2025_01/api_client_builder.py,sha256=-B1kb98EHE_BXJ4mQiR8SznoAv5mGsYAw7YQxX1weis,1507
|
|
4
|
-
criteo_api_retailmedia_v2025_01/configuration.py,sha256=
|
|
4
|
+
criteo_api_retailmedia_v2025_01/configuration.py,sha256=p2vST6ukLi1EGz1ftzGxPO81leBVXAxjB77nN9Eb9Y4,16722
|
|
5
5
|
criteo_api_retailmedia_v2025_01/criteo_api_client.py,sha256=xBcxtoEfflxzw5ytTpjpU8cnqJJmTYl3vGWP04B-YcI,654
|
|
6
6
|
criteo_api_retailmedia_v2025_01/criteo_auth.py,sha256=6o1JS-XN9ND0-eDG3q9GBcypI0HLxJNZOwL-MvuXo3c,4696
|
|
7
7
|
criteo_api_retailmedia_v2025_01/criteo_rest.py,sha256=k6IdvrIzJxVr6V2EA4Ffw6WVa0htQjsamAKAq0R7qvA,3413
|
|
@@ -14,7 +14,7 @@ criteo_api_retailmedia_v2025_01/api/accounts_api.py,sha256=JIG_esE9ulzAF3EZMhdlw
|
|
|
14
14
|
criteo_api_retailmedia_v2025_01/api/analytics_api.py,sha256=NGSSYp9Zkkt3eg9hnowm2OY4B2YDIyw78O1VVNgNCRU,28503
|
|
15
15
|
criteo_api_retailmedia_v2025_01/api/audience_api.py,sha256=XjGurXk16DRCZtjQjLrPh3gyLCy8tFWCe1iBLGlavUg,52404
|
|
16
16
|
criteo_api_retailmedia_v2025_01/api/balance_api.py,sha256=NuyCh8otc92BLQDWuES7-ZfFo8IxLYV-VMt-wuhW3h8,52564
|
|
17
|
-
criteo_api_retailmedia_v2025_01/api/campaign_api.py,sha256=
|
|
17
|
+
criteo_api_retailmedia_v2025_01/api/campaign_api.py,sha256=wdvEQMvllY_HSsh0StR-dQcB418wjSsRHGXYKPgx4XI,374480
|
|
18
18
|
criteo_api_retailmedia_v2025_01/api/gateway_api.py,sha256=QL9NeI58OzLL4ktlsu5flLmfBrFYFFxu4KXNN7CdTuA,5696
|
|
19
19
|
criteo_api_retailmedia_v2025_01/apis/__init__.py,sha256=qLPqSQKkHQYfQin6xre6TDYpFMtLatjgTpJuwCp_5jA,882
|
|
20
20
|
criteo_api_retailmedia_v2025_01/model/__init__.py,sha256=fhVDDk4KXPEN7hzC0f7fjAYeo4ivl2J0D-aFB2L88T4,365
|
|
@@ -33,10 +33,10 @@ criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py,sha2
|
|
|
33
33
|
criteo_api_retailmedia_v2025_01/model/asset.py,sha256=9Nxfv4XRMxtwPNjPYnEmNTIvxlkukw6haE-Xr4nJrsE,12253
|
|
34
34
|
criteo_api_retailmedia_v2025_01/model/asset_resource.py,sha256=d71YCsVxkIOk3KFkAYC5tcKiRinEPaK5eb74C7FmqtM,11993
|
|
35
35
|
criteo_api_retailmedia_v2025_01/model/asset_response.py,sha256=TOuUlRIwVLsI6J4jS7hquqQ6cUzxTwJ70QizHWUX0Zk,12398
|
|
36
|
-
criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py,sha256=
|
|
36
|
+
criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py,sha256=MnHnjIK4CqX69AvqU_jAXQCOxw9Yy-EAoTCnE76DHuc,22206
|
|
37
37
|
criteo_api_retailmedia_v2025_01/model/async_campaigns_report_request.py,sha256=Vktx86f4BqF3m_GzM8m42DGq1S3jfUq3JAH6djmwTrQ,11757
|
|
38
38
|
criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py,sha256=iVtNSV8OaoD6plI21aBRVsA6jAAMYxvEA9nvF6OrUaU,11944
|
|
39
|
-
criteo_api_retailmedia_v2025_01/model/async_line_items_report.py,sha256=
|
|
39
|
+
criteo_api_retailmedia_v2025_01/model/async_line_items_report.py,sha256=9kZWtMHYPtSZmzr1rvXlIM4QVi5LgC2tNNHPnQHd2uA,22210
|
|
40
40
|
criteo_api_retailmedia_v2025_01/model/async_line_items_report_request.py,sha256=Fy0peWFxL8vtRkoKJRhrR20KEhny4muqxllEZ8NpYO0,11758
|
|
41
41
|
criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py,sha256=Nwamj8AFyF97BDEYroNkLZSpk_ObSmZ3laV8vqJ2FxE,11945
|
|
42
42
|
criteo_api_retailmedia_v2025_01/model/async_report_response.py,sha256=PqJLXJ29y752-J3FXt5NByDfkqS1rakCmINx8-O25o4,12410
|
|
@@ -57,8 +57,6 @@ criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response
|
|
|
57
57
|
criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py,sha256=CWWE36UDV9i39K0nLu5e7fclA5RGSU1tvdU408Pbhjk,13578
|
|
58
58
|
criteo_api_retailmedia_v2025_01/model/balance_response_v2.py,sha256=CbDwgXWs80AqHCfK19I0V2p382T6rcMKvcsaCo959nM,16314
|
|
59
59
|
criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py,sha256=gwf5n9ZIWq-NCOXhYpFC4cy1le2NecdM58R5XYbxcfE,12398
|
|
60
|
-
criteo_api_retailmedia_v2025_01/model/brand_preview.py,sha256=nFquozA0ryprRfABLJt83CWBTUBuif6O4jknr2QgrIM,11445
|
|
61
|
-
criteo_api_retailmedia_v2025_01/model/brand_preview_list_response.py,sha256=R2z6oe-G8xFYpZsOwSK3LSM02xZKML-sn7NWN39EFMc,12376
|
|
62
60
|
criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py,sha256=51Zce9nXlif3H9QWwNijAjSNvF8N4BnkeH1Xbmc4wdk,16825
|
|
63
61
|
criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py,sha256=iqBwNyQ-lA17EsVeAyTabcTFMqt71owUDKEw0FzyYa4,12653
|
|
64
62
|
criteo_api_retailmedia_v2025_01/model/campaign_daily_budget_override.py,sha256=QW9XZbxMoXabAutzPX5NybkJEHUinJgoR68Al5e3Wwk,12890
|
|
@@ -119,7 +117,7 @@ criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creati
|
|
|
119
117
|
criteo_api_retailmedia_v2025_01/model/external_retail_media_brands.py,sha256=M_nEp2DJrlTqGA4FsBEvyEwvFPz-O_iUNT0KYma9PDo,11450
|
|
120
118
|
criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py,sha256=MC1vFIZ6LsClSKzC_xe0zjEofBr1Y0XhXeVw6g7c8BQ,11655
|
|
121
119
|
criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py,sha256=xjW2Eamy4uXfl6BkMwA-P7PtxuZEB9LBrsYhbC1PLk8,12554
|
|
122
|
-
criteo_api_retailmedia_v2025_01/model/external_retailer.py,sha256=
|
|
120
|
+
criteo_api_retailmedia_v2025_01/model/external_retailer.py,sha256=rkurKSahuGDRj-YkB5D1s_qm4mGwsLGkvLpHMol9L-w,12001
|
|
123
121
|
criteo_api_retailmedia_v2025_01/model/external_retailer_pages202110.py,sha256=P6XLgfEoi9YD4aHS7XOmyVzdx8sjAX4Bzr4GvdfWYBU,11533
|
|
124
122
|
criteo_api_retailmedia_v2025_01/model/external_store_ids_update_model202110.py,sha256=IkoDYh1YA1TvSrYd-OqVFYbuIetMB05SJSPHqetz8q8,11614
|
|
125
123
|
criteo_api_retailmedia_v2025_01/model/external_store_target202110.py,sha256=EpRDPeNL9tWRGlmX3xvjuxLqFW7s3lDRz1-1XECoVZc,11978
|
|
@@ -192,7 +190,6 @@ criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py,sha256=kt
|
|
|
192
190
|
criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py,sha256=7dLY6XeeGYD_eIqJJXVMirQMonNyhSj8ZtggIZSeU3k,12376
|
|
193
191
|
criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py,sha256=5aklpS5rwPS7UpT5ATqUIC57sUJKP8Kp5taUV-kVS0Q,12252
|
|
194
192
|
criteo_api_retailmedia_v2025_01/model/resource_of_balance_response_v2.py,sha256=0B3UcXCp21CGs3Azek1IVInvvY9Bew4tEWBo-nchHSo,12227
|
|
195
|
-
criteo_api_retailmedia_v2025_01/model/resource_of_brand_preview.py,sha256=C4oGLr0zRNxIFZ_U1_X5CUmpN-DMI3_QpTAclbvoC_Y,12176
|
|
196
193
|
criteo_api_retailmedia_v2025_01/model/resource_of_category202204.py,sha256=3-YAw5ka4z8efqS4yAwOqwPWPsfYnaiMs7Awv4nS_Xk,12195
|
|
197
194
|
criteo_api_retailmedia_v2025_01/model/resource_of_change_dates_of_balance_v2.py,sha256=0ZbMMk7CrkArcjMpuvRaSL5DtCDlHJFBvSiO8Vbx_Z8,12279
|
|
198
195
|
criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py,sha256=Fwczmty30ARdWu9ZhZopv-pwzRY7CnrrlWv3rc8Nz0g,12254
|
|
@@ -206,8 +203,7 @@ criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py,sha2
|
|
|
206
203
|
criteo_api_retailmedia_v2025_01/model/resource_of_template.py,sha256=Wi1nl1KwMdnNn_wHuTdA6TEVm6kkYfCT380S6iXWkng,11837
|
|
207
204
|
criteo_api_retailmedia_v2025_01/model/resource_of_update_balance_model_v2.py,sha256=rzmMDbLw3pqxXbmDNVsfhU6mxyYl2XeU5gpKCkVh3qo,12258
|
|
208
205
|
criteo_api_retailmedia_v2025_01/model/resource_outcome.py,sha256=IQygo6tFVvKLF4ntLIJjaVj9OrVltGdWHbbmLOBEf3s,11740
|
|
209
|
-
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment.py,sha256=
|
|
210
|
-
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py,sha256=70ynTWgR59woGUZj9jXDTtR63NgHDnCkM6ZAX2_Ryj8,12743
|
|
206
|
+
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment.py,sha256=j3P6EZcWU0ZlIyP0uDDamnLmGlCcJHFMvpYBo3o5Ghg,12713
|
|
211
207
|
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_request.py,sha256=WnuvNsOR6SEJ0eFm9luBxOgueiICZ-TKa2H10TdlMpM,11853
|
|
212
208
|
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation.py,sha256=Ix8hIIye5iv303iZhL0rQ1nRLQKuflAEH1FZNOgzbpk,12752
|
|
213
209
|
criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_operation_response_attributes.py,sha256=p9MeapR4d6ozc3XMLYCu6ekB9aPcoAMwRoZvyjx2HbA,12397
|
|
@@ -293,8 +289,8 @@ criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target20211
|
|
|
293
289
|
criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py,sha256=2-NIG-EqlUiwUc8IuAcERnSFhMrQ6SbPugGBoIAxrI4,12052
|
|
294
290
|
criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py,sha256=kUfewdrPk3qa54AO0zEM342_AX0eJlGRL7LnlHBF3rw,11970
|
|
295
291
|
criteo_api_retailmedia_v2025_01/model/video_variable_value.py,sha256=iLuJQLuirYe9PoheB1W-NFi7gc6B6rl_ZaIGtX2CBpU,12081
|
|
296
|
-
criteo_api_retailmedia_v2025_01/models/__init__.py,sha256=
|
|
297
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
298
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
299
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
300
|
-
criteo_api_retailmedia_sdk-2025.1.0.
|
|
292
|
+
criteo_api_retailmedia_v2025_01/models/__init__.py,sha256=h0yMW31B3AL4NOglBJ6dxDhOPGHOzgdAIOMaEgdLf4E,31048
|
|
293
|
+
criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info/METADATA,sha256=IJo1FtVnHeSVe5ZC9AP7aZ3ZvPJP7mWz7V-OA7ocdLc,1866
|
|
294
|
+
criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
295
|
+
criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info/top_level.txt,sha256=wYgOZKDNEnjENlGVmEeV9omLAymEPJUUGXtqk6Ei7rw,32
|
|
296
|
+
criteo_api_retailmedia_sdk-2025.1.0.250205.dist-info/RECORD,,
|
|
@@ -35,7 +35,6 @@ from criteo_api_retailmedia_v2025_01.model.audience_target202110_request import
|
|
|
35
35
|
from criteo_api_retailmedia_v2025_01.model.audience_target202110_response import AudienceTarget202110Response
|
|
36
36
|
from criteo_api_retailmedia_v2025_01.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest
|
|
37
37
|
from criteo_api_retailmedia_v2025_01.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse
|
|
38
|
-
from criteo_api_retailmedia_v2025_01.model.brand_preview_list_response import BrandPreviewListResponse
|
|
39
38
|
from criteo_api_retailmedia_v2025_01.model.category202204 import Category202204
|
|
40
39
|
from criteo_api_retailmedia_v2025_01.model.category202204_list_response import Category202204ListResponse
|
|
41
40
|
from criteo_api_retailmedia_v2025_01.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse
|
|
@@ -1365,82 +1364,6 @@ class CampaignApi(object):
|
|
|
1365
1364
|
},
|
|
1366
1365
|
api_client=api_client
|
|
1367
1366
|
)
|
|
1368
|
-
self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint = _Endpoint(
|
|
1369
|
-
settings={
|
|
1370
|
-
'response_type': (BrandPreviewListResponse,),
|
|
1371
|
-
'auth': [
|
|
1372
|
-
'oauth',
|
|
1373
|
-
'oauth'
|
|
1374
|
-
],
|
|
1375
|
-
'endpoint_path': '/2025-01/retail-media/retailers/{retailerId}/brands',
|
|
1376
|
-
'operation_id': 'get_api_v1_external_retailer_brands_by_retailer_id',
|
|
1377
|
-
'http_method': 'GET',
|
|
1378
|
-
'servers': None,
|
|
1379
|
-
},
|
|
1380
|
-
params_map={
|
|
1381
|
-
'all': [
|
|
1382
|
-
'retailer_id',
|
|
1383
|
-
'sku_stock_type_filter',
|
|
1384
|
-
'brand_type',
|
|
1385
|
-
],
|
|
1386
|
-
'required': [
|
|
1387
|
-
'retailer_id',
|
|
1388
|
-
],
|
|
1389
|
-
'nullable': [
|
|
1390
|
-
],
|
|
1391
|
-
'enum': [
|
|
1392
|
-
'sku_stock_type_filter',
|
|
1393
|
-
'brand_type',
|
|
1394
|
-
],
|
|
1395
|
-
'validation': [
|
|
1396
|
-
]
|
|
1397
|
-
},
|
|
1398
|
-
root_map={
|
|
1399
|
-
'validations': {
|
|
1400
|
-
},
|
|
1401
|
-
'allowed_values': {
|
|
1402
|
-
('sku_stock_type_filter',): {
|
|
1403
|
-
|
|
1404
|
-
"FIRST-PARTY": "first-party",
|
|
1405
|
-
"THIRD-PARTY": "third-party",
|
|
1406
|
-
"FIRST-AND-THIRD-PARTY": "first-and-third-party"
|
|
1407
|
-
},
|
|
1408
|
-
('brand_type',): {
|
|
1409
|
-
|
|
1410
|
-
"ALL": "all",
|
|
1411
|
-
"UC": "uc",
|
|
1412
|
-
"RETAILER": "retailer"
|
|
1413
|
-
},
|
|
1414
|
-
},
|
|
1415
|
-
'openapi_types': {
|
|
1416
|
-
'retailer_id':
|
|
1417
|
-
(int,),
|
|
1418
|
-
'sku_stock_type_filter':
|
|
1419
|
-
(str,),
|
|
1420
|
-
'brand_type':
|
|
1421
|
-
(str,),
|
|
1422
|
-
},
|
|
1423
|
-
'attribute_map': {
|
|
1424
|
-
'retailer_id': 'retailerId',
|
|
1425
|
-
'sku_stock_type_filter': 'sku-stock-type-filter',
|
|
1426
|
-
'brand_type': 'brand-type',
|
|
1427
|
-
},
|
|
1428
|
-
'location_map': {
|
|
1429
|
-
'retailer_id': 'path',
|
|
1430
|
-
'sku_stock_type_filter': 'query',
|
|
1431
|
-
'brand_type': 'query',
|
|
1432
|
-
},
|
|
1433
|
-
'collection_format_map': {
|
|
1434
|
-
}
|
|
1435
|
-
},
|
|
1436
|
-
headers_map={
|
|
1437
|
-
'accept': [
|
|
1438
|
-
'application/json'
|
|
1439
|
-
],
|
|
1440
|
-
'content_type': [],
|
|
1441
|
-
},
|
|
1442
|
-
api_client=api_client
|
|
1443
|
-
)
|
|
1444
1367
|
self.get_api_v2_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
|
|
1445
1368
|
settings={
|
|
1446
1369
|
'response_type': (Creative2Response,),
|
|
@@ -1526,6 +1449,7 @@ class CampaignApi(object):
|
|
|
1526
1449
|
'account_id',
|
|
1527
1450
|
],
|
|
1528
1451
|
'nullable': [
|
|
1452
|
+
'limit_to_type',
|
|
1529
1453
|
],
|
|
1530
1454
|
'enum': [
|
|
1531
1455
|
'limit_to_type',
|
|
@@ -1538,7 +1462,7 @@ class CampaignApi(object):
|
|
|
1538
1462
|
},
|
|
1539
1463
|
'allowed_values': {
|
|
1540
1464
|
('limit_to_type',): {
|
|
1541
|
-
|
|
1465
|
+
'None': None,
|
|
1542
1466
|
"UNKNOWN": "Unknown",
|
|
1543
1467
|
"AUCTION": "Auction",
|
|
1544
1468
|
"PREFERRED": "Preferred"
|
|
@@ -1550,7 +1474,7 @@ class CampaignApi(object):
|
|
|
1550
1474
|
'limit_to_campaign_id':
|
|
1551
1475
|
([str],),
|
|
1552
1476
|
'limit_to_type':
|
|
1553
|
-
(str,),
|
|
1477
|
+
(str, none_type,),
|
|
1554
1478
|
'limit_to_id':
|
|
1555
1479
|
([str],),
|
|
1556
1480
|
'page_index':
|
|
@@ -5700,91 +5624,6 @@ class CampaignApi(object):
|
|
|
5700
5624
|
catalog_id
|
|
5701
5625
|
return self.get_api_v1_external_catalog_status_by_catalog_id_endpoint.call_with_http_info(**kwargs)
|
|
5702
5626
|
|
|
5703
|
-
def get_api_v1_external_retailer_brands_by_retailer_id(
|
|
5704
|
-
self,
|
|
5705
|
-
retailer_id,
|
|
5706
|
-
**kwargs
|
|
5707
|
-
):
|
|
5708
|
-
"""get_api_v1_external_retailer_brands_by_retailer_id # noqa: E501
|
|
5709
|
-
|
|
5710
|
-
Gets the brands for the given retailer # noqa: E501
|
|
5711
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
5712
|
-
asynchronous HTTP request, please pass async_req=True
|
|
5713
|
-
|
|
5714
|
-
>>> thread = api.get_api_v1_external_retailer_brands_by_retailer_id(retailer_id, async_req=True)
|
|
5715
|
-
>>> result = thread.get()
|
|
5716
|
-
|
|
5717
|
-
Args:
|
|
5718
|
-
retailer_id (int): The retailer id for which brands should be fetched.
|
|
5719
|
-
|
|
5720
|
-
Keyword Args:
|
|
5721
|
-
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]
|
|
5722
|
-
brand_type (str): Filter to narrow down brands [all|uc|retailer]. Defaults to uc. [optional]
|
|
5723
|
-
_return_http_data_only (bool): response data without head status
|
|
5724
|
-
code and headers. Default is True.
|
|
5725
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5726
|
-
will be returned without reading/decoding response data.
|
|
5727
|
-
Default is True.
|
|
5728
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5729
|
-
one number provided, it will be total request timeout. It can also
|
|
5730
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
5731
|
-
Default is None.
|
|
5732
|
-
_check_input_type (bool): specifies if type checking
|
|
5733
|
-
should be done one the data sent to the server.
|
|
5734
|
-
Default is True.
|
|
5735
|
-
_check_return_type (bool): specifies if type checking
|
|
5736
|
-
should be done one the data received from the server.
|
|
5737
|
-
Default is True.
|
|
5738
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
5739
|
-
are serialized names, as specified in the OpenAPI document.
|
|
5740
|
-
False if the variable names in the input data
|
|
5741
|
-
are pythonic names, e.g. snake case (default)
|
|
5742
|
-
_content_type (str/None): force body content-type.
|
|
5743
|
-
Default is None and content-type will be predicted by allowed
|
|
5744
|
-
content-types and body.
|
|
5745
|
-
_host_index (int/None): specifies the index of the server
|
|
5746
|
-
that we want to use.
|
|
5747
|
-
Default is read from the configuration.
|
|
5748
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
5749
|
-
request; this effectively ignores the authentication
|
|
5750
|
-
in the spec for a single request.
|
|
5751
|
-
Default is None
|
|
5752
|
-
async_req (bool): execute request asynchronously
|
|
5753
|
-
|
|
5754
|
-
Returns:
|
|
5755
|
-
BrandPreviewListResponse
|
|
5756
|
-
If the method is called asynchronously, returns the request
|
|
5757
|
-
thread.
|
|
5758
|
-
"""
|
|
5759
|
-
kwargs['async_req'] = kwargs.get(
|
|
5760
|
-
'async_req', False
|
|
5761
|
-
)
|
|
5762
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5763
|
-
'_return_http_data_only', True
|
|
5764
|
-
)
|
|
5765
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
5766
|
-
'_preload_content', True
|
|
5767
|
-
)
|
|
5768
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
5769
|
-
'_request_timeout', None
|
|
5770
|
-
)
|
|
5771
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
5772
|
-
'_check_input_type', True
|
|
5773
|
-
)
|
|
5774
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
5775
|
-
'_check_return_type', True
|
|
5776
|
-
)
|
|
5777
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5778
|
-
'_spec_property_naming', False
|
|
5779
|
-
)
|
|
5780
|
-
kwargs['_content_type'] = kwargs.get(
|
|
5781
|
-
'_content_type')
|
|
5782
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5783
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5784
|
-
kwargs['retailer_id'] = \
|
|
5785
|
-
retailer_id
|
|
5786
|
-
return self.get_api_v1_external_retailer_brands_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
5787
|
-
|
|
5788
5627
|
def get_api_v2_external_account_by_account_id_creativescreative_id(
|
|
5789
5628
|
self,
|
|
5790
5629
|
account_id,
|
|
@@ -5891,7 +5730,7 @@ class CampaignApi(object):
|
|
|
5891
5730
|
|
|
5892
5731
|
Keyword Args:
|
|
5893
5732
|
limit_to_campaign_id ([str]): The campaign ids that you would like to limit your result set to. [optional]
|
|
5894
|
-
limit_to_type (str): The campaign types that you would like to limit your result set to. [optional]
|
|
5733
|
+
limit_to_type (str, none_type): The campaign types that you would like to limit your result set to. [optional]
|
|
5895
5734
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
5896
5735
|
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
5897
5736
|
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/2025.01.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2025.01.0.250205/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: 2025-01\n"\
|
|
398
|
-
"SDK Package Version: 2025.01.0.
|
|
398
|
+
"SDK Package Version: 2025.01.0.250205".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -181,6 +181,10 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
181
181
|
'VIDEOSTARTINGRATE': "videoStartingRate",
|
|
182
182
|
'VIDEOCPC': "videoCPC",
|
|
183
183
|
'VIDEOCPCV': "videoCPCV",
|
|
184
|
+
'NEWTOBRANDATTRIBUTEDSALES': "newToBrandAttributedSales",
|
|
185
|
+
'NEWTOBRANDATTRIBUTEDSALESRATE': "newToBrandAttributedSalesRate",
|
|
186
|
+
'NEWTOBRANDATTRIBUTEDUNITS': "newToBrandAttributedUnits",
|
|
187
|
+
'NEWTOBRANDATTRIBUTEDUNITSRATE': "newToBrandAttributedUnitsRate",
|
|
184
188
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
185
189
|
'FREQUENCY': "frequency",
|
|
186
190
|
},
|
|
@@ -181,6 +181,10 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
181
181
|
'VIDEOSTARTINGRATE': "videoStartingRate",
|
|
182
182
|
'VIDEOCPC': "videoCPC",
|
|
183
183
|
'VIDEOCPCV': "videoCPCV",
|
|
184
|
+
'NEWTOBRANDATTRIBUTEDSALES': "newToBrandAttributedSales",
|
|
185
|
+
'NEWTOBRANDATTRIBUTEDSALESRATE': "newToBrandAttributedSalesRate",
|
|
186
|
+
'NEWTOBRANDATTRIBUTEDUNITS': "newToBrandAttributedUnits",
|
|
187
|
+
'NEWTOBRANDATTRIBUTEDUNITSRATE': "newToBrandAttributedUnitsRate",
|
|
184
188
|
'UNIQUEVISITORS': "uniqueVisitors",
|
|
185
189
|
'FREQUENCY': "frequency",
|
|
186
190
|
},
|
|
@@ -29,10 +29,6 @@ from criteo_api_retailmedia_v2025_01.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_retailmedia_v2025_01.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes
|
|
34
|
-
globals()['RetailMediaContactlistAmendmentAttributes'] = RetailMediaContactlistAmendmentAttributes
|
|
35
|
-
|
|
36
32
|
|
|
37
33
|
class RetailMediaContactlistAmendment(ModelNormal):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
@@ -59,6 +55,19 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
59
55
|
"""
|
|
60
56
|
|
|
61
57
|
allowed_values = {
|
|
58
|
+
('operation',): {
|
|
59
|
+
'ADD': "add",
|
|
60
|
+
'REMOVE': "remove",
|
|
61
|
+
},
|
|
62
|
+
('identifier_type',): {
|
|
63
|
+
'None': None,
|
|
64
|
+
'EMAIL': "Email",
|
|
65
|
+
'USERIDENTIFIER': "UserIdentifier",
|
|
66
|
+
'IDENTITYLINK': "IdentityLink",
|
|
67
|
+
'GUM': "Gum",
|
|
68
|
+
'CUSTOMERID': "CustomerId",
|
|
69
|
+
'PHONENUMBER': "PhoneNumber",
|
|
70
|
+
},
|
|
62
71
|
}
|
|
63
72
|
|
|
64
73
|
validations = {
|
|
@@ -70,7 +79,6 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
70
79
|
This must be a method because a model may have properties that are
|
|
71
80
|
of type self, this must run after the class is loaded
|
|
72
81
|
"""
|
|
73
|
-
lazy_import()
|
|
74
82
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
75
83
|
|
|
76
84
|
_nullable = False
|
|
@@ -85,10 +93,10 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
85
93
|
openapi_types (dict): The key is attribute name
|
|
86
94
|
and the value is attribute type.
|
|
87
95
|
"""
|
|
88
|
-
lazy_import()
|
|
89
96
|
return {
|
|
90
|
-
'
|
|
91
|
-
'
|
|
97
|
+
'operation': (str,), # noqa: E501
|
|
98
|
+
'identifiers': ([str],), # noqa: E501
|
|
99
|
+
'identifier_type': (str, none_type,), # noqa: E501
|
|
92
100
|
}
|
|
93
101
|
|
|
94
102
|
@cached_property
|
|
@@ -97,8 +105,9 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
97
105
|
|
|
98
106
|
|
|
99
107
|
attribute_map = {
|
|
100
|
-
'
|
|
101
|
-
'
|
|
108
|
+
'operation': 'operation', # noqa: E501
|
|
109
|
+
'identifiers': 'identifiers', # noqa: E501
|
|
110
|
+
'identifier_type': 'identifierType', # noqa: E501
|
|
102
111
|
}
|
|
103
112
|
|
|
104
113
|
read_only_vars = {
|
|
@@ -108,11 +117,12 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
108
117
|
|
|
109
118
|
@classmethod
|
|
110
119
|
@convert_js_args_to_python_args
|
|
111
|
-
def _from_openapi_data(cls,
|
|
120
|
+
def _from_openapi_data(cls, operation, identifiers, *args, **kwargs): # noqa: E501
|
|
112
121
|
"""RetailMediaContactlistAmendment - a model defined in OpenAPI
|
|
113
122
|
|
|
114
123
|
Args:
|
|
115
|
-
|
|
124
|
+
operation (str): Whether to add or remove users
|
|
125
|
+
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
116
126
|
|
|
117
127
|
Keyword Args:
|
|
118
128
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -145,7 +155,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
145
155
|
Animal class but this time we won't travel
|
|
146
156
|
through its discriminator because we passed in
|
|
147
157
|
_visited_composed_classes = (Animal,)
|
|
148
|
-
|
|
158
|
+
identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
|
|
149
159
|
"""
|
|
150
160
|
|
|
151
161
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -177,7 +187,8 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
177
187
|
self._configuration = _configuration
|
|
178
188
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
179
189
|
|
|
180
|
-
self.
|
|
190
|
+
self.operation = operation
|
|
191
|
+
self.identifiers = identifiers
|
|
181
192
|
for var_name, var_value in kwargs.items():
|
|
182
193
|
if var_name not in self.attribute_map and \
|
|
183
194
|
self._configuration is not None and \
|
|
@@ -198,11 +209,12 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
198
209
|
])
|
|
199
210
|
|
|
200
211
|
@convert_js_args_to_python_args
|
|
201
|
-
def __init__(self,
|
|
212
|
+
def __init__(self, operation, identifiers, *args, **kwargs): # noqa: E501
|
|
202
213
|
"""RetailMediaContactlistAmendment - a model defined in OpenAPI
|
|
203
214
|
|
|
204
215
|
Args:
|
|
205
|
-
|
|
216
|
+
operation (str): Whether to add or remove users
|
|
217
|
+
identifiers ([str]): The users to add or remove, each in the schema specified
|
|
206
218
|
|
|
207
219
|
Keyword Args:
|
|
208
220
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -235,7 +247,7 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
235
247
|
Animal class but this time we won't travel
|
|
236
248
|
through its discriminator because we passed in
|
|
237
249
|
_visited_composed_classes = (Animal,)
|
|
238
|
-
|
|
250
|
+
identifier_type (str, none_type): What type of identifiers are used. [optional] # noqa: E501
|
|
239
251
|
"""
|
|
240
252
|
|
|
241
253
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -265,7 +277,8 @@ class RetailMediaContactlistAmendment(ModelNormal):
|
|
|
265
277
|
self._configuration = _configuration
|
|
266
278
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
267
279
|
|
|
268
|
-
self.
|
|
280
|
+
self.operation = operation
|
|
281
|
+
self.identifiers = identifiers
|
|
269
282
|
for var_name, var_value in kwargs.items():
|
|
270
283
|
if var_name not in self.attribute_map and \
|
|
271
284
|
self._configuration is not None and \
|
|
@@ -48,8 +48,6 @@ from criteo_api_retailmedia_v2025_01.model.balance_campaign202110_paged_list_res
|
|
|
48
48
|
from criteo_api_retailmedia_v2025_01.model.balance_history_change_data_capture_v1 import BalanceHistoryChangeDataCaptureV1
|
|
49
49
|
from criteo_api_retailmedia_v2025_01.model.balance_response_v2 import BalanceResponseV2
|
|
50
50
|
from criteo_api_retailmedia_v2025_01.model.balance_response_v2_response import BalanceResponseV2Response
|
|
51
|
-
from criteo_api_retailmedia_v2025_01.model.brand_preview import BrandPreview
|
|
52
|
-
from criteo_api_retailmedia_v2025_01.model.brand_preview_list_response import BrandPreviewListResponse
|
|
53
51
|
from criteo_api_retailmedia_v2025_01.model.campaign_attributes_v202301 import CampaignAttributesV202301
|
|
54
52
|
from criteo_api_retailmedia_v2025_01.model.campaign_budget_overrides import CampaignBudgetOverrides
|
|
55
53
|
from criteo_api_retailmedia_v2025_01.model.campaign_daily_budget_override import CampaignDailyBudgetOverride
|
|
@@ -183,7 +181,6 @@ from criteo_api_retailmedia_v2025_01.model.resource_of_auction_line_item import
|
|
|
183
181
|
from criteo_api_retailmedia_v2025_01.model.resource_of_auction_line_item_update_model import ResourceOfAuctionLineItemUpdateModel
|
|
184
182
|
from criteo_api_retailmedia_v2025_01.model.resource_of_balance_campaign202110 import ResourceOfBalanceCampaign202110
|
|
185
183
|
from criteo_api_retailmedia_v2025_01.model.resource_of_balance_response_v2 import ResourceOfBalanceResponseV2
|
|
186
|
-
from criteo_api_retailmedia_v2025_01.model.resource_of_brand_preview import ResourceOfBrandPreview
|
|
187
184
|
from criteo_api_retailmedia_v2025_01.model.resource_of_category202204 import ResourceOfCategory202204
|
|
188
185
|
from criteo_api_retailmedia_v2025_01.model.resource_of_change_dates_of_balance_v2 import ResourceOfChangeDatesOfBalanceV2
|
|
189
186
|
from criteo_api_retailmedia_v2025_01.model.resource_of_common_line_item import ResourceOfCommonLineItem
|
|
@@ -198,7 +195,6 @@ from criteo_api_retailmedia_v2025_01.model.resource_of_template import ResourceO
|
|
|
198
195
|
from criteo_api_retailmedia_v2025_01.model.resource_of_update_balance_model_v2 import ResourceOfUpdateBalanceModelV2
|
|
199
196
|
from criteo_api_retailmedia_v2025_01.model.resource_outcome import ResourceOutcome
|
|
200
197
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment import RetailMediaContactlistAmendment
|
|
201
|
-
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment_attributes import RetailMediaContactlistAmendmentAttributes
|
|
202
198
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_amendment_request import RetailMediaContactlistAmendmentRequest
|
|
203
199
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_operation import RetailMediaContactlistOperation
|
|
204
200
|
from criteo_api_retailmedia_v2025_01.model.retail_media_contactlist_operation_response_attributes import RetailMediaContactlistOperationResponseAttributes
|