criteo-api-marketingsolutions-sdk 0.0.251028__py3-none-any.whl → 0.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.

@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.251028"
11
+ __version__ = "0.0.251030"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_marketingsolutions_preview.api_client import ApiClient
@@ -655,7 +655,7 @@ class AudienceApi(object):
655
655
  },
656
656
  api_client=api_client
657
657
  )
658
- self.modify_audience_users_with_attributes_endpoint = _Endpoint(
658
+ self.preview_audiences_audience_id_contactlist_attributes_patch_endpoint = _Endpoint(
659
659
  settings={
660
660
  'response_type': (ModifyAudienceResponse,),
661
661
  'auth': [
@@ -663,7 +663,7 @@ class AudienceApi(object):
663
663
  'oauth'
664
664
  ],
665
665
  'endpoint_path': '/preview/audiences/{audience-id}/contactlist-attributes',
666
- 'operation_id': 'modify_audience_users_with_attributes',
666
+ 'operation_id': 'preview_audiences_audience_id_contactlist_attributes_patch',
667
667
  'http_method': 'PATCH',
668
668
  'servers': None,
669
669
  },
@@ -825,6 +825,65 @@ class AudienceApi(object):
825
825
  },
826
826
  api_client=api_client
827
827
  )
828
+ self.preview_marketing_solutions_audiences_audience_id_contactlist_attributes_patch_endpoint = _Endpoint(
829
+ settings={
830
+ 'response_type': (ModifyAudienceResponse,),
831
+ 'auth': [
832
+ 'oauth',
833
+ 'oauth'
834
+ ],
835
+ 'endpoint_path': '/preview/marketing-solutions/audiences/{audience-id}/contactlist-attributes',
836
+ 'operation_id': 'preview_marketing_solutions_audiences_audience_id_contactlist_attributes_patch',
837
+ 'http_method': 'PATCH',
838
+ 'servers': None,
839
+ },
840
+ params_map={
841
+ 'all': [
842
+ 'audience_id',
843
+ 'contactlist_with_attributes_amendment_request',
844
+ ],
845
+ 'required': [
846
+ 'audience_id',
847
+ 'contactlist_with_attributes_amendment_request',
848
+ ],
849
+ 'nullable': [
850
+ ],
851
+ 'enum': [
852
+ ],
853
+ 'validation': [
854
+ ]
855
+ },
856
+ root_map={
857
+ 'validations': {
858
+ },
859
+ 'allowed_values': {
860
+ },
861
+ 'openapi_types': {
862
+ 'audience_id':
863
+ (str,),
864
+ 'contactlist_with_attributes_amendment_request':
865
+ (ContactlistWithAttributesAmendmentRequest,),
866
+ },
867
+ 'attribute_map': {
868
+ 'audience_id': 'audience-id',
869
+ },
870
+ 'location_map': {
871
+ 'audience_id': 'path',
872
+ 'contactlist_with_attributes_amendment_request': 'body',
873
+ },
874
+ 'collection_format_map': {
875
+ }
876
+ },
877
+ headers_map={
878
+ 'accept': [
879
+ 'application/json'
880
+ ],
881
+ 'content_type': [
882
+ 'application/json'
883
+ ]
884
+ },
885
+ api_client=api_client
886
+ )
828
887
  self.search_audience_segments_endpoint = _Endpoint(
829
888
  settings={
830
889
  'response_type': (AudienceSegmentEntityV1AudienceSegmentSearchMetadataV1ListResponse,),
@@ -1991,19 +2050,19 @@ class AudienceApi(object):
1991
2050
  country
1992
2051
  return self.get_audience_segments_in_market_interests_endpoint.call_with_http_info(**kwargs)
1993
2052
 
1994
- def modify_audience_users_with_attributes(
2053
+ def preview_audiences_audience_id_contactlist_attributes_patch(
1995
2054
  self,
1996
2055
  audience_id,
1997
2056
  contactlist_with_attributes_amendment_request,
1998
2057
  **kwargs
1999
2058
  ):
2000
- """modify_audience_users_with_attributes # noqa: E501
2059
+ """preview_audiences_audience_id_contactlist_attributes_patch # noqa: E501
2001
2060
 
2002
2061
  Add/remove identifiers to or from a contact list. # noqa: E501
2003
2062
  This method makes a synchronous HTTP request by default. To make an
2004
2063
  asynchronous HTTP request, please pass async_req=True
2005
2064
 
2006
- >>> thread = api.modify_audience_users_with_attributes(audience_id, contactlist_with_attributes_amendment_request, async_req=True)
2065
+ >>> thread = api.preview_audiences_audience_id_contactlist_attributes_patch(audience_id, contactlist_with_attributes_amendment_request, async_req=True)
2007
2066
  >>> result = thread.get()
2008
2067
 
2009
2068
  Args:
@@ -2076,7 +2135,7 @@ class AudienceApi(object):
2076
2135
  audience_id
2077
2136
  kwargs['contactlist_with_attributes_amendment_request'] = \
2078
2137
  contactlist_with_attributes_amendment_request
2079
- return self.modify_audience_users_with_attributes_endpoint.call_with_http_info(**kwargs)
2138
+ return self.preview_audiences_audience_id_contactlist_attributes_patch_endpoint.call_with_http_info(**kwargs)
2080
2139
 
2081
2140
  def preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_delete(
2082
2141
  self,
@@ -2248,6 +2307,93 @@ class AudienceApi(object):
2248
2307
  contactlist_amendment_request
2249
2308
  return self.preview_marketing_solutions_audience_segments_audience_segment_id_contact_list_patch_endpoint.call_with_http_info(**kwargs)
2250
2309
 
2310
+ def preview_marketing_solutions_audiences_audience_id_contactlist_attributes_patch(
2311
+ self,
2312
+ audience_id,
2313
+ contactlist_with_attributes_amendment_request,
2314
+ **kwargs
2315
+ ):
2316
+ """preview_marketing_solutions_audiences_audience_id_contactlist_attributes_patch # noqa: E501
2317
+
2318
+ Add/remove identifiers to or from a contact list. # noqa: E501
2319
+ This method makes a synchronous HTTP request by default. To make an
2320
+ asynchronous HTTP request, please pass async_req=True
2321
+
2322
+ >>> thread = api.preview_marketing_solutions_audiences_audience_id_contactlist_attributes_patch(audience_id, contactlist_with_attributes_amendment_request, async_req=True)
2323
+ >>> result = thread.get()
2324
+
2325
+ Args:
2326
+ audience_id (str): The id of the contact list audience-segment to amend
2327
+ contactlist_with_attributes_amendment_request (ContactlistWithAttributesAmendmentRequest):
2328
+
2329
+ Keyword Args:
2330
+ _return_http_data_only (bool): response data without head status
2331
+ code and headers. Default is True.
2332
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
2333
+ will be returned without reading/decoding response data.
2334
+ Default is True.
2335
+ _request_timeout (int/float/tuple): timeout setting for this request. If
2336
+ one number provided, it will be total request timeout. It can also
2337
+ be a pair (tuple) of (connection, read) timeouts.
2338
+ Default is None.
2339
+ _check_input_type (bool): specifies if type checking
2340
+ should be done one the data sent to the server.
2341
+ Default is True.
2342
+ _check_return_type (bool): specifies if type checking
2343
+ should be done one the data received from the server.
2344
+ Default is True.
2345
+ _spec_property_naming (bool): True if the variable names in the input data
2346
+ are serialized names, as specified in the OpenAPI document.
2347
+ False if the variable names in the input data
2348
+ are pythonic names, e.g. snake case (default)
2349
+ _content_type (str/None): force body content-type.
2350
+ Default is None and content-type will be predicted by allowed
2351
+ content-types and body.
2352
+ _host_index (int/None): specifies the index of the server
2353
+ that we want to use.
2354
+ Default is read from the configuration.
2355
+ _request_auths (list): set to override the auth_settings for an a single
2356
+ request; this effectively ignores the authentication
2357
+ in the spec for a single request.
2358
+ Default is None
2359
+ async_req (bool): execute request asynchronously
2360
+
2361
+ Returns:
2362
+ ModifyAudienceResponse
2363
+ If the method is called asynchronously, returns the request
2364
+ thread.
2365
+ """
2366
+ kwargs['async_req'] = kwargs.get(
2367
+ 'async_req', False
2368
+ )
2369
+ kwargs['_return_http_data_only'] = kwargs.get(
2370
+ '_return_http_data_only', True
2371
+ )
2372
+ kwargs['_preload_content'] = kwargs.get(
2373
+ '_preload_content', True
2374
+ )
2375
+ kwargs['_request_timeout'] = kwargs.get(
2376
+ '_request_timeout', None
2377
+ )
2378
+ kwargs['_check_input_type'] = kwargs.get(
2379
+ '_check_input_type', True
2380
+ )
2381
+ kwargs['_check_return_type'] = kwargs.get(
2382
+ '_check_return_type', True
2383
+ )
2384
+ kwargs['_spec_property_naming'] = kwargs.get(
2385
+ '_spec_property_naming', False
2386
+ )
2387
+ kwargs['_content_type'] = kwargs.get(
2388
+ '_content_type')
2389
+ kwargs['_host_index'] = kwargs.get('_host_index')
2390
+ kwargs['_request_auths'] = kwargs.get('_request_auths', None)
2391
+ kwargs['audience_id'] = \
2392
+ audience_id
2393
+ kwargs['contactlist_with_attributes_amendment_request'] = \
2394
+ contactlist_with_attributes_amendment_request
2395
+ return self.preview_marketing_solutions_audiences_audience_id_contactlist_attributes_patch_endpoint.call_with_http_info(**kwargs)
2396
+
2251
2397
  def search_audience_segments(
2252
2398
  self,
2253
2399
  audience_segment_search_input_v1,
@@ -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/0.0.251028/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.251030/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: Preview\n"\
398
- "SDK Package Version: 0.0.251028".\
398
+ "SDK Package Version: 0.0.251030".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: criteo-api-marketingsolutions-sdk
3
- Version: 0.0.251028
3
+ Version: 0.0.251030
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-marketingsolutions-sdk==0.0.251028
38
+ pip install criteo-api-marketingsolutions-sdk==0.0.251030
39
39
  ```
40
- (you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.251028`)
40
+ (you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.251030`)
41
41
 
42
42
  Then import the package:
43
43
  ```python
@@ -1,7 +1,7 @@
1
- criteo_api_marketingsolutions_preview/__init__.py,sha256=G4YGCkcasqCeihFzB-hURfnqxVTf93ePdqEntGotqzY,1107
2
- criteo_api_marketingsolutions_preview/api_client.py,sha256=es1b9JkuVe42obOFL0Z2dJJ5ae0k5LhbJycsC0UiRio,39242
1
+ criteo_api_marketingsolutions_preview/__init__.py,sha256=9Qs7r6sqkkKtJ4RKS5S2Eiz3woCyy9WgOPS-BzDwyqw,1107
2
+ criteo_api_marketingsolutions_preview/api_client.py,sha256=SDkyzTjMEYZmIShjhMnIIuKpxdX5BUheRCQP0qYN77o,39242
3
3
  criteo_api_marketingsolutions_preview/api_client_builder.py,sha256=2W-j9f5re32PZooV4BngIi3AvmOOpKl7SAEQc6FXVWg,1525
4
- criteo_api_marketingsolutions_preview/configuration.py,sha256=-YfA3ympqd9qMA1GIbCNtj5nbkIUBS98EnWararTEs8,16735
4
+ criteo_api_marketingsolutions_preview/configuration.py,sha256=8zYtU9sjr_384HwEjb4x9mWacS-Y1d-LqvjsVulMaII,16735
5
5
  criteo_api_marketingsolutions_preview/criteo_api_client.py,sha256=4uNu3e__oYicTD-lcpFerUCXl3c3_7LEugoMFqfRTM8,666
6
6
  criteo_api_marketingsolutions_preview/criteo_auth.py,sha256=RXBNjv9iz2JSqB25me0iMWN7jfeKRYe0EF6y37hw__A,4714
7
7
  criteo_api_marketingsolutions_preview/criteo_rest.py,sha256=oIDGHdVI2kWe1st1X7IHl8OAa1zJn7g1uQUSKYWwFDc,3431
@@ -12,7 +12,7 @@ criteo_api_marketingsolutions_preview/rest.py,sha256=gXk-QrNdnVj2c-M_oZYB3_KqFfb
12
12
  criteo_api_marketingsolutions_preview/api/__init__.py,sha256=pyzFTbyUcV2DhfsX0qU5ScOa78505IDsd_KbkUsVXm0,244
13
13
  criteo_api_marketingsolutions_preview/api/advertiser_api.py,sha256=E15ZILhJ9eq-H8l02ZdNvYXhNZY_vCCfuCoTsKz_kzs,15910
14
14
  criteo_api_marketingsolutions_preview/api/analytics_api.py,sha256=6r5IyKAIta4VX-TabHnNfC8w-aTfgIusTOYD8WMFSzA,67936
15
- criteo_api_marketingsolutions_preview/api/audience_api.py,sha256=4zRObJA_6hVKDbF9Qgwy9EzO-z09BJLadevq4miolH0,107164
15
+ criteo_api_marketingsolutions_preview/api/audience_api.py,sha256=nH9M7aKecjWKc8vb_THmdd1ZwdCWJAg1VQE54ab1Ztk,113568
16
16
  criteo_api_marketingsolutions_preview/api/campaign_api.py,sha256=QUN9PJ2kjKtnhlLD1kEnhVybXUBfCqyM4CyrlJDT9NE,210274
17
17
  criteo_api_marketingsolutions_preview/api/catalog_api.py,sha256=cE7sPtFWVRJ9FVW6bNg6SHe1vGsXpLialexflLswn3U,17802
18
18
  criteo_api_marketingsolutions_preview/api/creative_api.py,sha256=tba29l8_BFPoq3A_rhb4LiKjn3idTG7zssvfwy_cSyw,95798
@@ -390,7 +390,7 @@ criteo_api_marketingsolutions_preview/model/video_detail.py,sha256=i-qvnBOBpuijR
390
390
  criteo_api_marketingsolutions_preview/model/write_model_ad_set_id.py,sha256=AEk9Ss4tXVTbSfDxJjpDW643MJwbV5iMs_Y3BG4839I,11755
391
391
  criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py,sha256=-GkiNut1VMiXMlpO4-wlbjtTXaDfvDptvzZejfkRZpg,12234
392
392
  criteo_api_marketingsolutions_preview/models/__init__.py,sha256=hK5sRCRcYG6gVpo-SyxePzLkMYq1o6GUm99aciy2xaM,42219
393
- criteo_api_marketingsolutions_sdk-0.0.251028.dist-info/METADATA,sha256=SVNB6XET2FrXUdW2ep0775usYXL4CAC2DQh5wQFIh0o,1876
394
- criteo_api_marketingsolutions_sdk-0.0.251028.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
395
- criteo_api_marketingsolutions_sdk-0.0.251028.dist-info/top_level.txt,sha256=4xVpjptYrJ_AiVXZAhkhYuSp6rJRgq_VrBDhg-Eyi5Y,38
396
- criteo_api_marketingsolutions_sdk-0.0.251028.dist-info/RECORD,,
393
+ criteo_api_marketingsolutions_sdk-0.0.251030.dist-info/METADATA,sha256=-jxBwmP5Ew5mjHD9q0XX1iji8KxCAt80Q4cd4kweM9I,1876
394
+ criteo_api_marketingsolutions_sdk-0.0.251030.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
395
+ criteo_api_marketingsolutions_sdk-0.0.251030.dist-info/top_level.txt,sha256=4xVpjptYrJ_AiVXZAhkhYuSp6rJRgq_VrBDhg-Eyi5Y,38
396
+ criteo_api_marketingsolutions_sdk-0.0.251030.dist-info/RECORD,,