criteo-api-marketingsolutions-sdk 0.0.250915__py3-none-any.whl → 0.0.251014__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_preview/__init__.py +1 -1
- criteo_api_marketingsolutions_preview/api/advertiser_api.py +12 -12
- criteo_api_marketingsolutions_preview/api/audience_api.py +394 -394
- criteo_api_marketingsolutions_preview/api/campaign_api.py +200 -200
- criteo_api_marketingsolutions_preview/api/creative_api.py +3 -3
- criteo_api_marketingsolutions_preview/api/on_site_recommendation_api.py +6 -6
- criteo_api_marketingsolutions_preview/api_client.py +4 -4
- criteo_api_marketingsolutions_preview/configuration.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +12 -12
- criteo_api_marketingsolutions_preview/model/adaptive_colors.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_read_attributes.py +330 -0
- criteo_api_marketingsolutions_preview/model/creative_read.py +327 -0
- criteo_api_marketingsolutions_preview/model/{resource_collection_outcome_of_creative.py → resource_collection_outcome_of_creative_read.py} +8 -8
- criteo_api_marketingsolutions_preview/model/resource_of_creative_read.py +277 -0
- criteo_api_marketingsolutions_preview/models/__init__.py +4 -1
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251014.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251014.dist-info}/RECORD +19 -16
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251014.dist-info}/WHEEL +0 -0
- {criteo_api_marketingsolutions_sdk-0.0.250915.dist-info → criteo_api_marketingsolutions_sdk-0.0.251014.dist-info}/top_level.txt +0 -0
|
@@ -37,7 +37,7 @@ class AdvertiserApi(object):
|
|
|
37
37
|
if api_client is None:
|
|
38
38
|
api_client = ApiClient()
|
|
39
39
|
self.api_client = api_client
|
|
40
|
-
self.
|
|
40
|
+
self.list_advertisers_endpoint = _Endpoint(
|
|
41
41
|
settings={
|
|
42
42
|
'response_type': (GetPortfolioResponse,),
|
|
43
43
|
'auth': [
|
|
@@ -45,7 +45,7 @@ class AdvertiserApi(object):
|
|
|
45
45
|
'oauth'
|
|
46
46
|
],
|
|
47
47
|
'endpoint_path': '/preview/advertisers/me',
|
|
48
|
-
'operation_id': '
|
|
48
|
+
'operation_id': 'list_advertisers',
|
|
49
49
|
'http_method': 'GET',
|
|
50
50
|
'servers': None,
|
|
51
51
|
},
|
|
@@ -82,7 +82,7 @@ class AdvertiserApi(object):
|
|
|
82
82
|
},
|
|
83
83
|
api_client=api_client
|
|
84
84
|
)
|
|
85
|
-
self.
|
|
85
|
+
self.list_datasets_by_advertiser_endpoint = _Endpoint(
|
|
86
86
|
settings={
|
|
87
87
|
'response_type': (AdvertiserDatasetListResponse,),
|
|
88
88
|
'auth': [
|
|
@@ -90,7 +90,7 @@ class AdvertiserApi(object):
|
|
|
90
90
|
'oauth'
|
|
91
91
|
],
|
|
92
92
|
'endpoint_path': '/preview/advertisers/{advertiser-id}/datasets',
|
|
93
|
-
'operation_id': '
|
|
93
|
+
'operation_id': 'list_datasets_by_advertiser',
|
|
94
94
|
'http_method': 'GET',
|
|
95
95
|
'servers': None,
|
|
96
96
|
},
|
|
@@ -180,17 +180,17 @@ class AdvertiserApi(object):
|
|
|
180
180
|
api_client=api_client
|
|
181
181
|
)
|
|
182
182
|
|
|
183
|
-
def
|
|
183
|
+
def list_advertisers(
|
|
184
184
|
self,
|
|
185
185
|
**kwargs
|
|
186
186
|
):
|
|
187
|
-
"""
|
|
187
|
+
"""list_advertisers # noqa: E501
|
|
188
188
|
|
|
189
189
|
Fetch the portfolio of Advertisers for this account # noqa: E501
|
|
190
190
|
This method makes a synchronous HTTP request by default. To make an
|
|
191
191
|
asynchronous HTTP request, please pass async_req=True
|
|
192
192
|
|
|
193
|
-
>>> thread = api.
|
|
193
|
+
>>> thread = api.list_advertisers(async_req=True)
|
|
194
194
|
>>> result = thread.get()
|
|
195
195
|
|
|
196
196
|
|
|
@@ -256,20 +256,20 @@ class AdvertiserApi(object):
|
|
|
256
256
|
'_content_type')
|
|
257
257
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
258
258
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
259
|
-
return self.
|
|
259
|
+
return self.list_advertisers_endpoint.call_with_http_info(**kwargs)
|
|
260
260
|
|
|
261
|
-
def
|
|
261
|
+
def list_datasets_by_advertiser(
|
|
262
262
|
self,
|
|
263
263
|
advertiser_id,
|
|
264
264
|
**kwargs
|
|
265
265
|
):
|
|
266
|
-
"""
|
|
266
|
+
"""list_datasets_by_advertiser # noqa: E501
|
|
267
267
|
|
|
268
268
|
Retrieves corresponding Datasets for a given Advertiser. Only those Datasets are included for which the given Advertiser is marked a primary. # noqa: E501
|
|
269
269
|
This method makes a synchronous HTTP request by default. To make an
|
|
270
270
|
asynchronous HTTP request, please pass async_req=True
|
|
271
271
|
|
|
272
|
-
>>> thread = api.
|
|
272
|
+
>>> thread = api.list_datasets_by_advertiser(advertiser_id, async_req=True)
|
|
273
273
|
>>> result = thread.get()
|
|
274
274
|
|
|
275
275
|
Args:
|
|
@@ -339,7 +339,7 @@ class AdvertiserApi(object):
|
|
|
339
339
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
340
340
|
kwargs['advertiser_id'] = \
|
|
341
341
|
advertiser_id
|
|
342
|
-
return self.
|
|
342
|
+
return self.list_datasets_by_advertiser_endpoint.call_with_http_info(**kwargs)
|
|
343
343
|
|
|
344
344
|
def list_industries(
|
|
345
345
|
self,
|