criteo-api-retailmedia-sdk 2025.4.0.250707__py3-none-any.whl → 2025.4.0.250708__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: criteo-api-retailmedia-sdk
3
- Version: 2025.4.0.250707
3
+ Version: 2025.4.0.250708
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.04.0.250707
38
+ pip install criteo-api-retailmedia-sdk==2025.04.0.250708
39
39
  ```
40
- (you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.04.0.250707`)
40
+ (you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==2025.04.0.250708`)
41
41
 
42
42
  Then import the package:
43
43
  ```python
@@ -1,7 +1,7 @@
1
- criteo_api_retailmedia_v2025_04/__init__.py,sha256=-FYyI2DUTLoe4a4A5D4A6Y5UglLPLhj4_wFbBmEncoM,1040
2
- criteo_api_retailmedia_v2025_04/api_client.py,sha256=nWP9pZrKsgkv5Gs16z_nOKBZc9Y9vFE7L4ibImVnh8g,39191
1
+ criteo_api_retailmedia_v2025_04/__init__.py,sha256=sejsD62MJCyob36S3bXCrtWXi-zSkcpgiU-3JBNPuKc,1040
2
+ criteo_api_retailmedia_v2025_04/api_client.py,sha256=WilxBio1sAKf8IFVzb8ytuNgrA36-hUbaTkf-tclRaY,39191
3
3
  criteo_api_retailmedia_v2025_04/api_client_builder.py,sha256=RliQFxWPQt93aRkPLmPFpss7TdUKM4VL4hRzM3NTZCg,1507
4
- criteo_api_retailmedia_v2025_04/configuration.py,sha256=fCR8YnDZmYwB5hAI-x8bSSQ5lkprgPwVio1O3F1vVDY,16722
4
+ criteo_api_retailmedia_v2025_04/configuration.py,sha256=KmaTi2VHIpVOuQWsGC1cGi45NRI395I3AtoXGm8j3is,16722
5
5
  criteo_api_retailmedia_v2025_04/criteo_api_client.py,sha256=xqQE1FWWOTEaJmSaivglUcv_kFgi9rsvNqxql0TthX4,654
6
6
  criteo_api_retailmedia_v2025_04/criteo_auth.py,sha256=mhzpg7J7ESRQm8oiwJZpuyu19hP98bMM93nPqjXjBJY,4696
7
7
  criteo_api_retailmedia_v2025_04/criteo_rest.py,sha256=iBFTU3SHeX5Gk65edUpip99zdZ6sFLrg4xd8SI8po7A,3413
@@ -33,14 +33,14 @@ criteo_api_retailmedia_v2025_04/model/application_summary_model_response.py,sha2
33
33
  criteo_api_retailmedia_v2025_04/model/asset.py,sha256=tkDbKU_AopOJoy8uN949cOLUhgkiAG4GGMT7TqS0-gA,12252
34
34
  criteo_api_retailmedia_v2025_04/model/asset_resource.py,sha256=cFvZF4T1AWkxvXRWPDzA-3vSQvT_m2CbnYYTeu5fMho,11992
35
35
  criteo_api_retailmedia_v2025_04/model/asset_response.py,sha256=5uY6CecJcZSpuIluPB5iqUhCYbp646LM11lMx53bTRc,12398
36
- criteo_api_retailmedia_v2025_04/model/async_campaigns_report.py,sha256=ezrUkkWP0ltrxgxzdyX9PjfYXjYvintK4UFhq7RrpIg,21525
36
+ criteo_api_retailmedia_v2025_04/model/async_campaigns_report.py,sha256=IemGkf8Rz3H5w-yNyeBRebc9-EnFyAu5a3G2HbXm7KI,22195
37
37
  criteo_api_retailmedia_v2025_04/model/async_campaigns_report_request.py,sha256=-csjfoqEbblzYW1YKetQUtJpYy30L6aiK-9F9_6G7R8,11757
38
38
  criteo_api_retailmedia_v2025_04/model/async_campaigns_report_resource.py,sha256=C9lVzQoitAw2Pm1Qv9dRAsQGQDoZy9EEpn8h_fg-6Kg,11911
39
- criteo_api_retailmedia_v2025_04/model/async_line_items_report.py,sha256=l0xzCXqD5mGkwFPwwt7EoV6oC4_rPFpeym2Ec3lHRJk,21529
39
+ criteo_api_retailmedia_v2025_04/model/async_line_items_report.py,sha256=Q0xeHdFxFkRBCLTIMpu2ZNrPZuI89uE0x8PcyjTTxng,22199
40
40
  criteo_api_retailmedia_v2025_04/model/async_line_items_report_request.py,sha256=jN3k_aSPfTje7aW3h3VFsdW8X-Sx0EyQWZFF4kCJSUM,11758
41
41
  criteo_api_retailmedia_v2025_04/model/async_line_items_report_resource.py,sha256=J5J6GHesjBus8PYfBN7uZTVBY2H2u5ZTPFTBxjQHKv8,11912
42
42
  criteo_api_retailmedia_v2025_04/model/async_report_response.py,sha256=fxUjg5RONDvhXBiyy6mKhss8563lVnet9ml5RpOf-zY,12410
43
- criteo_api_retailmedia_v2025_04/model/async_revenue_report.py,sha256=VxoVVJxo8ijhJCNgEIJ2S3SDcNJtS23xWYZ_aQDAXZ8,24907
43
+ criteo_api_retailmedia_v2025_04/model/async_revenue_report.py,sha256=bakFIZI4guQrO8KAUpKJ5iaF13yy5WhiWtztXAmUIjk,26299
44
44
  criteo_api_retailmedia_v2025_04/model/async_revenue_report_request.py,sha256=amOdBQBFIeqKwp8pPaK2gb1d3Uywy_0jf6_rSTOFdT4,11737
45
45
  criteo_api_retailmedia_v2025_04/model/async_revenue_report_resource.py,sha256=AQPfZH0Xw18LTYPKqj3EsPoLYGLVrgp4HhyKH1ovGXU,11891
46
46
  criteo_api_retailmedia_v2025_04/model/auction_line_item_create_model_request.py,sha256=g7lI6ShRF2GlayljqWuPjBRsEaAh3WiyqO41AJR4krg,11870
@@ -308,7 +308,7 @@ criteo_api_retailmedia_v2025_04/model/value_type_resource_of_store_ids_update_mo
308
308
  criteo_api_retailmedia_v2025_04/model/value_type_resource_of_store_target202110.py,sha256=GhptONObC3IGBaeMoIajguP9fZJTNQdDmWJcUH1nbTk,11970
309
309
  criteo_api_retailmedia_v2025_04/model/video_variable_value.py,sha256=HBu7I7zTVxvctyQlc0qIZYi8wPB3iNS6U2udbOp7Jms,12080
310
310
  criteo_api_retailmedia_v2025_04/models/__init__.py,sha256=m5UpfyFmDzb6EqVn-s7Poy7eK5omtr1V3hoWkIVHaZY,32948
311
- criteo_api_retailmedia_sdk-2025.4.0.250707.dist-info/METADATA,sha256=SFXJTYsuEKhLApBEaQ2jsmP71mSLTmDwpdjpzazAUOs,1866
312
- criteo_api_retailmedia_sdk-2025.4.0.250707.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
313
- criteo_api_retailmedia_sdk-2025.4.0.250707.dist-info/top_level.txt,sha256=RRzMultOBsiZbv-hjIvOJTvxKf5rZs-cWvTLfoxhg7Y,32
314
- criteo_api_retailmedia_sdk-2025.4.0.250707.dist-info/RECORD,,
311
+ criteo_api_retailmedia_sdk-2025.4.0.250708.dist-info/METADATA,sha256=xLnPLfx2H2WbsFF8YTbMNwP00bw9KjkX2Cc2vfqGnd8,1866
312
+ criteo_api_retailmedia_sdk-2025.4.0.250708.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
313
+ criteo_api_retailmedia_sdk-2025.4.0.250708.dist-info/top_level.txt,sha256=RRzMultOBsiZbv-hjIvOJTvxKf5rZs-cWvTLfoxhg7Y,32
314
+ criteo_api_retailmedia_sdk-2025.4.0.250708.dist-info/RECORD,,
@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "2025.04.0.250707"
11
+ __version__ = "2025.04.0.250708"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_v2025_04.api_client import ApiClient
@@ -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.04.0.250707/python'
79
+ self.user_agent = 'OpenAPI-Generator/2025.04.0.250708/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-04\n"\
398
- "SDK Package Version: 2025.04.0.250707".\
398
+ "SDK Package Version: 2025.04.0.250708".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -99,6 +99,7 @@ class AsyncCampaignsReport(ModelNormal):
99
99
  'CREATIVETYPENAME': "creativeTypeName",
100
100
  'CREATIVETEMPLATEID': "creativeTemplateId",
101
101
  'CREATIVETEMPLATENAME': "creativeTemplateName",
102
+ 'TARGETEDKEYWORDTYPE': "targetedKeywordType",
102
103
  },
103
104
  ('format',): {
104
105
  'JSON': "json",
@@ -171,6 +172,12 @@ class AsyncCampaignsReport(ModelNormal):
171
172
  'SEARCHED': "searched",
172
173
  'ENTERED': "entered",
173
174
  },
175
+ ('targeted_keyword_types',): {
176
+ 'UNKNOWN': "unknown",
177
+ 'GENERIC': "generic",
178
+ 'BRANDED': "branded",
179
+ 'CONQUESTING': "conquesting",
180
+ },
174
181
  ('view_attribution_window',): {
175
182
  'NONE': "none",
176
183
  '1D': "1D",
@@ -217,6 +224,7 @@ class AsyncCampaignsReport(ModelNormal):
217
224
  'sales_channel': (str,), # noqa: E501
218
225
  'search_term_targetings': ([str],), # noqa: E501
219
226
  'search_term_types': ([str],), # noqa: E501
227
+ 'targeted_keyword_types': ([str],), # noqa: E501
220
228
  'timezone': (str,), # noqa: E501
221
229
  'view_attribution_window': (str,), # noqa: E501
222
230
  }
@@ -240,6 +248,7 @@ class AsyncCampaignsReport(ModelNormal):
240
248
  'sales_channel': 'salesChannel', # noqa: E501
241
249
  'search_term_targetings': 'searchTermTargetings', # noqa: E501
242
250
  'search_term_types': 'searchTermTypes', # noqa: E501
251
+ 'targeted_keyword_types': 'targetedKeywordTypes', # noqa: E501
243
252
  'timezone': 'timezone', # noqa: E501
244
253
  'view_attribution_window': 'viewAttributionWindow', # noqa: E501
245
254
  }
@@ -300,6 +309,7 @@ class AsyncCampaignsReport(ModelNormal):
300
309
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
301
310
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
302
311
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
312
+ targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
303
313
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
304
314
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
305
315
  """
@@ -404,6 +414,7 @@ class AsyncCampaignsReport(ModelNormal):
404
414
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
405
415
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
406
416
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
417
+ targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
407
418
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
408
419
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
409
420
  """
@@ -99,6 +99,7 @@ class AsyncLineItemsReport(ModelNormal):
99
99
  'CREATIVETYPENAME': "creativeTypeName",
100
100
  'CREATIVETEMPLATEID': "creativeTemplateId",
101
101
  'CREATIVETEMPLATENAME': "creativeTemplateName",
102
+ 'TARGETEDKEYWORDTYPE': "targetedKeywordType",
102
103
  },
103
104
  ('format',): {
104
105
  'JSON': "json",
@@ -171,6 +172,12 @@ class AsyncLineItemsReport(ModelNormal):
171
172
  'SEARCHED': "searched",
172
173
  'ENTERED': "entered",
173
174
  },
175
+ ('targeted_keyword_types',): {
176
+ 'UNKNOWN': "unknown",
177
+ 'GENERIC': "generic",
178
+ 'BRANDED': "branded",
179
+ 'CONQUESTING': "conquesting",
180
+ },
174
181
  ('view_attribution_window',): {
175
182
  'NONE': "none",
176
183
  '1D': "1D",
@@ -217,6 +224,7 @@ class AsyncLineItemsReport(ModelNormal):
217
224
  'sales_channel': (str,), # noqa: E501
218
225
  'search_term_targetings': ([str],), # noqa: E501
219
226
  'search_term_types': ([str],), # noqa: E501
227
+ 'targeted_keyword_types': ([str],), # noqa: E501
220
228
  'timezone': (str,), # noqa: E501
221
229
  'view_attribution_window': (str,), # noqa: E501
222
230
  }
@@ -240,6 +248,7 @@ class AsyncLineItemsReport(ModelNormal):
240
248
  'sales_channel': 'salesChannel', # noqa: E501
241
249
  'search_term_targetings': 'searchTermTargetings', # noqa: E501
242
250
  'search_term_types': 'searchTermTypes', # noqa: E501
251
+ 'targeted_keyword_types': 'targetedKeywordTypes', # noqa: E501
243
252
  'timezone': 'timezone', # noqa: E501
244
253
  'view_attribution_window': 'viewAttributionWindow', # noqa: E501
245
254
  }
@@ -300,6 +309,7 @@ class AsyncLineItemsReport(ModelNormal):
300
309
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
301
310
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
302
311
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
312
+ targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
303
313
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
304
314
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
305
315
  """
@@ -404,6 +414,7 @@ class AsyncLineItemsReport(ModelNormal):
404
414
  sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
405
415
  search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
406
416
  search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
417
+ targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
407
418
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
408
419
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
409
420
  """
@@ -76,6 +76,12 @@ class AsyncRevenueReport(ModelNormal):
76
76
  '14D': "14D",
77
77
  '30D': "30D",
78
78
  },
79
+ ('click_match_level',): {
80
+ 'SAMESKU': "sameSku",
81
+ 'SAMECATEGORY': "sameCategory",
82
+ 'SAMEBRAND': "sameBrand",
83
+ 'CAMPAIGN': "campaign",
84
+ },
79
85
  ('dimensions',): {
80
86
  'DATE': "date",
81
87
  'HOUR': "hour",
@@ -220,6 +226,12 @@ class AsyncRevenueReport(ModelNormal):
220
226
  '14D': "14D",
221
227
  '30D': "30D",
222
228
  },
229
+ ('view_match_level',): {
230
+ 'SAMESKU': "sameSku",
231
+ 'SAMECATEGORY': "sameCategory",
232
+ 'SAMEBRAND': "sameBrand",
233
+ 'CAMPAIGN': "campaign",
234
+ },
223
235
  }
224
236
 
225
237
  validations = {
@@ -254,6 +266,7 @@ class AsyncRevenueReport(ModelNormal):
254
266
  'campaign_ids': ([str],), # noqa: E501
255
267
  'campaign_type': (str,), # noqa: E501
256
268
  'click_attribution_window': (str,), # noqa: E501
269
+ 'click_match_level': (str,), # noqa: E501
257
270
  'dimensions': ([str],), # noqa: E501
258
271
  'format': (str,), # noqa: E501
259
272
  'id': (str,), # noqa: E501
@@ -268,6 +281,7 @@ class AsyncRevenueReport(ModelNormal):
268
281
  'sold_by': (str,), # noqa: E501
269
282
  'timezone': (str,), # noqa: E501
270
283
  'view_attribution_window': (str,), # noqa: E501
284
+ 'view_match_level': (str,), # noqa: E501
271
285
  }
272
286
 
273
287
  @cached_property
@@ -284,6 +298,7 @@ class AsyncRevenueReport(ModelNormal):
284
298
  'campaign_ids': 'campaignIds', # noqa: E501
285
299
  'campaign_type': 'campaignType', # noqa: E501
286
300
  'click_attribution_window': 'clickAttributionWindow', # noqa: E501
301
+ 'click_match_level': 'clickMatchLevel', # noqa: E501
287
302
  'dimensions': 'dimensions', # noqa: E501
288
303
  'format': 'format', # noqa: E501
289
304
  'id': 'id', # noqa: E501
@@ -298,6 +313,7 @@ class AsyncRevenueReport(ModelNormal):
298
313
  'sold_by': 'soldBy', # noqa: E501
299
314
  'timezone': 'timezone', # noqa: E501
300
315
  'view_attribution_window': 'viewAttributionWindow', # noqa: E501
316
+ 'view_match_level': 'viewMatchLevel', # noqa: E501
301
317
  }
302
318
 
303
319
  read_only_vars = {
@@ -351,6 +367,7 @@ class AsyncRevenueReport(ModelNormal):
351
367
  campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
352
368
  campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
353
369
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
370
+ click_match_level (str): Click Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
354
371
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
355
372
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
356
373
  id (str): Supply account id to report on. [optional] # noqa: E501
@@ -365,6 +382,7 @@ class AsyncRevenueReport(ModelNormal):
365
382
  sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
366
383
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
367
384
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
385
+ view_match_level (str): View Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
368
386
  """
369
387
 
370
388
  _check_type = kwargs.pop('_check_type', True)
@@ -462,6 +480,7 @@ class AsyncRevenueReport(ModelNormal):
462
480
  campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
463
481
  campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
464
482
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
483
+ click_match_level (str): Click Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
465
484
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
466
485
  format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
467
486
  id (str): Supply account id to report on. [optional] # noqa: E501
@@ -476,6 +495,7 @@ class AsyncRevenueReport(ModelNormal):
476
495
  sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
477
496
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
478
497
  view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
498
+ view_match_level (str): View Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
479
499
  """
480
500
 
481
501
  _check_type = kwargs.pop('_check_type', True)