criteo-api-retailmedia-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-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +70 -73
- criteo_api_retailmedia_preview/api/analytics_api.py +137 -0
- criteo_api_retailmedia_preview/api/audience_api.py +12 -12
- criteo_api_retailmedia_preview/api/billing_api.py +18 -18
- criteo_api_retailmedia_preview/api/campaign_api.py +493 -325
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +5 -0
- criteo_api_retailmedia_preview/model/async_unfilled_placements_report.py +392 -0
- criteo_api_retailmedia_preview/model/async_unfilled_placements_report_request.py +269 -0
- criteo_api_retailmedia_preview/model/async_unfilled_placements_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/campaign_availability.py +289 -0
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +1 -1
- criteo_api_retailmedia_preview/model/{value_resource_outcome_account_fees_update_result.py → entity_resource_collection_outcome_of_retailer_result_and_metadata.py} +14 -8
- criteo_api_retailmedia_preview/model/entity_resource_of_retailer_result.py +270 -0
- criteo_api_retailmedia_preview/model/files_variable_value.py +0 -3
- criteo_api_retailmedia_preview/model/managed_service_fee.py +1 -1
- criteo_api_retailmedia_preview/model/page_type_combination.py +287 -0
- criteo_api_retailmedia_preview/model/private_market_fees.py +6 -14
- criteo_api_retailmedia_preview/model/retailer_result.py +266 -0
- criteo_api_retailmedia_preview/model/{account_fees_update_result.py → retailer_search_request.py} +8 -12
- criteo_api_retailmedia_preview/model/rm_contact_list_create_v1.py +1 -0
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +1 -0
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +11 -2
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +8 -0
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py +34 -28
- criteo_api_retailmedia_preview/model/value_resource_input_of_retailer_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/{value_resource_account_fees_update_result.py → value_resource_of_retailer_search_request.py} +9 -9
- criteo_api_retailmedia_preview/models/__init__.py +11 -3
- {criteo_api_retailmedia_sdk-0.0.250915.dist-info → criteo_api_retailmedia_sdk-0.0.251014.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250915.dist-info → criteo_api_retailmedia_sdk-0.0.251014.dist-info}/RECORD +34 -26
- {criteo_api_retailmedia_sdk-0.0.250915.dist-info → criteo_api_retailmedia_sdk-0.0.251014.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250915.dist-info → criteo_api_retailmedia_sdk-0.0.251014.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,6 @@ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_
|
|
|
25
25
|
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_private_market_account_fees_and_metadata import ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata
|
|
26
26
|
from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_search_request import ValueResourceInputAccountFeesSearchRequest
|
|
27
27
|
from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_update_request import ValueResourceInputAccountFeesUpdateRequest
|
|
28
|
-
from criteo_api_retailmedia_preview.model.value_resource_outcome_account_fees_update_result import ValueResourceOutcomeAccountFeesUpdateResult
|
|
29
28
|
|
|
30
29
|
|
|
31
30
|
class AccountsApi(object):
|
|
@@ -39,56 +38,65 @@ class AccountsApi(object):
|
|
|
39
38
|
if api_client is None:
|
|
40
39
|
api_client = ApiClient()
|
|
41
40
|
self.api_client = api_client
|
|
42
|
-
self.
|
|
41
|
+
self.account_fees_search_endpoint = _Endpoint(
|
|
43
42
|
settings={
|
|
44
|
-
'response_type': (
|
|
43
|
+
'response_type': (ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata,),
|
|
45
44
|
'auth': [
|
|
46
45
|
'oauth',
|
|
47
46
|
'oauth'
|
|
48
47
|
],
|
|
49
|
-
'endpoint_path': '/preview/retail-media/
|
|
50
|
-
'operation_id': '
|
|
51
|
-
'http_method': '
|
|
48
|
+
'endpoint_path': '/preview/retail-media/accounts/fees/search',
|
|
49
|
+
'operation_id': 'account_fees_search',
|
|
50
|
+
'http_method': 'POST',
|
|
52
51
|
'servers': None,
|
|
53
52
|
},
|
|
54
53
|
params_map={
|
|
55
54
|
'all': [
|
|
56
|
-
'account_id',
|
|
57
55
|
'limit',
|
|
58
56
|
'offset',
|
|
57
|
+
'value_resource_input_account_fees_search_request',
|
|
59
58
|
],
|
|
60
|
-
'required': [
|
|
61
|
-
'account_id',
|
|
62
|
-
],
|
|
59
|
+
'required': [],
|
|
63
60
|
'nullable': [
|
|
64
61
|
],
|
|
65
62
|
'enum': [
|
|
66
63
|
],
|
|
67
64
|
'validation': [
|
|
65
|
+
'limit',
|
|
66
|
+
'offset',
|
|
68
67
|
]
|
|
69
68
|
},
|
|
70
69
|
root_map={
|
|
71
70
|
'validations': {
|
|
71
|
+
('limit',): {
|
|
72
|
+
|
|
73
|
+
'inclusive_maximum': 500,
|
|
74
|
+
'inclusive_minimum': 1,
|
|
75
|
+
},
|
|
76
|
+
('offset',): {
|
|
77
|
+
|
|
78
|
+
'inclusive_maximum': 2147483647,
|
|
79
|
+
'inclusive_minimum': 0,
|
|
80
|
+
},
|
|
72
81
|
},
|
|
73
82
|
'allowed_values': {
|
|
74
83
|
},
|
|
75
84
|
'openapi_types': {
|
|
76
|
-
'account_id':
|
|
77
|
-
(str,),
|
|
78
85
|
'limit':
|
|
79
86
|
(int,),
|
|
80
87
|
'offset':
|
|
81
88
|
(int,),
|
|
89
|
+
'value_resource_input_account_fees_search_request':
|
|
90
|
+
(ValueResourceInputAccountFeesSearchRequest,),
|
|
82
91
|
},
|
|
83
92
|
'attribute_map': {
|
|
84
|
-
'account_id': 'accountId',
|
|
85
93
|
'limit': 'limit',
|
|
86
94
|
'offset': 'offset',
|
|
87
95
|
},
|
|
88
96
|
'location_map': {
|
|
89
|
-
'account_id': 'path',
|
|
90
97
|
'limit': 'query',
|
|
91
98
|
'offset': 'query',
|
|
99
|
+
'value_resource_input_account_fees_search_request': 'body',
|
|
92
100
|
},
|
|
93
101
|
'collection_format_map': {
|
|
94
102
|
}
|
|
@@ -97,69 +105,62 @@ class AccountsApi(object):
|
|
|
97
105
|
'accept': [
|
|
98
106
|
'application/json'
|
|
99
107
|
],
|
|
100
|
-
'content_type': [
|
|
108
|
+
'content_type': [
|
|
109
|
+
'application/json'
|
|
110
|
+
]
|
|
101
111
|
},
|
|
102
112
|
api_client=api_client
|
|
103
113
|
)
|
|
104
|
-
self.
|
|
114
|
+
self.get_private_market_child_accounts_by_account_id_endpoint = _Endpoint(
|
|
105
115
|
settings={
|
|
106
|
-
'response_type': (
|
|
116
|
+
'response_type': (EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata,),
|
|
107
117
|
'auth': [
|
|
108
118
|
'oauth',
|
|
109
119
|
'oauth'
|
|
110
120
|
],
|
|
111
|
-
'endpoint_path': '/preview/retail-media/accounts/
|
|
112
|
-
'operation_id': '
|
|
113
|
-
'http_method': '
|
|
121
|
+
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/private-market-child-accounts',
|
|
122
|
+
'operation_id': 'get_private_market_child_accounts_by_account_id',
|
|
123
|
+
'http_method': 'GET',
|
|
114
124
|
'servers': None,
|
|
115
125
|
},
|
|
116
126
|
params_map={
|
|
117
127
|
'all': [
|
|
128
|
+
'account_id',
|
|
118
129
|
'limit',
|
|
119
130
|
'offset',
|
|
120
|
-
'value_resource_input_account_fees_search_request',
|
|
121
131
|
],
|
|
122
|
-
'required': [
|
|
132
|
+
'required': [
|
|
133
|
+
'account_id',
|
|
134
|
+
],
|
|
123
135
|
'nullable': [
|
|
124
136
|
],
|
|
125
137
|
'enum': [
|
|
126
138
|
],
|
|
127
139
|
'validation': [
|
|
128
|
-
'limit',
|
|
129
|
-
'offset',
|
|
130
140
|
]
|
|
131
141
|
},
|
|
132
142
|
root_map={
|
|
133
143
|
'validations': {
|
|
134
|
-
('limit',): {
|
|
135
|
-
|
|
136
|
-
'inclusive_maximum': 500,
|
|
137
|
-
'inclusive_minimum': 1,
|
|
138
|
-
},
|
|
139
|
-
('offset',): {
|
|
140
|
-
|
|
141
|
-
'inclusive_maximum': 2147483647,
|
|
142
|
-
'inclusive_minimum': 0,
|
|
143
|
-
},
|
|
144
144
|
},
|
|
145
145
|
'allowed_values': {
|
|
146
146
|
},
|
|
147
147
|
'openapi_types': {
|
|
148
|
+
'account_id':
|
|
149
|
+
(str,),
|
|
148
150
|
'limit':
|
|
149
151
|
(int,),
|
|
150
152
|
'offset':
|
|
151
153
|
(int,),
|
|
152
|
-
'value_resource_input_account_fees_search_request':
|
|
153
|
-
(ValueResourceInputAccountFeesSearchRequest,),
|
|
154
154
|
},
|
|
155
155
|
'attribute_map': {
|
|
156
|
+
'account_id': 'accountId',
|
|
156
157
|
'limit': 'limit',
|
|
157
158
|
'offset': 'offset',
|
|
158
159
|
},
|
|
159
160
|
'location_map': {
|
|
161
|
+
'account_id': 'path',
|
|
160
162
|
'limit': 'query',
|
|
161
163
|
'offset': 'query',
|
|
162
|
-
'value_resource_input_account_fees_search_request': 'body',
|
|
163
164
|
},
|
|
164
165
|
'collection_format_map': {
|
|
165
166
|
}
|
|
@@ -168,21 +169,19 @@ class AccountsApi(object):
|
|
|
168
169
|
'accept': [
|
|
169
170
|
'application/json'
|
|
170
171
|
],
|
|
171
|
-
'content_type': [
|
|
172
|
-
'application/json'
|
|
173
|
-
]
|
|
172
|
+
'content_type': [],
|
|
174
173
|
},
|
|
175
174
|
api_client=api_client
|
|
176
175
|
)
|
|
177
|
-
self.
|
|
176
|
+
self.update_account_fees_endpoint = _Endpoint(
|
|
178
177
|
settings={
|
|
179
|
-
'response_type':
|
|
178
|
+
'response_type': None,
|
|
180
179
|
'auth': [
|
|
181
180
|
'oauth',
|
|
182
181
|
'oauth'
|
|
183
182
|
],
|
|
184
183
|
'endpoint_path': '/preview/retail-media/accounts/fees/update',
|
|
185
|
-
'operation_id': '
|
|
184
|
+
'operation_id': 'update_account_fees',
|
|
186
185
|
'http_method': 'POST',
|
|
187
186
|
'servers': None,
|
|
188
187
|
},
|
|
@@ -216,9 +215,7 @@ class AccountsApi(object):
|
|
|
216
215
|
}
|
|
217
216
|
},
|
|
218
217
|
headers_map={
|
|
219
|
-
'accept': [
|
|
220
|
-
'application/json'
|
|
221
|
-
],
|
|
218
|
+
'accept': [],
|
|
222
219
|
'content_type': [
|
|
223
220
|
'application/json'
|
|
224
221
|
]
|
|
@@ -226,26 +223,24 @@ class AccountsApi(object):
|
|
|
226
223
|
api_client=api_client
|
|
227
224
|
)
|
|
228
225
|
|
|
229
|
-
def
|
|
226
|
+
def account_fees_search(
|
|
230
227
|
self,
|
|
231
|
-
account_id,
|
|
232
228
|
**kwargs
|
|
233
229
|
):
|
|
234
|
-
"""
|
|
230
|
+
"""account_fees_search # noqa: E501
|
|
235
231
|
|
|
236
|
-
|
|
232
|
+
Get fees for provided accounts # noqa: E501
|
|
237
233
|
This method makes a synchronous HTTP request by default. To make an
|
|
238
234
|
asynchronous HTTP request, please pass async_req=True
|
|
239
235
|
|
|
240
|
-
>>> thread = api.
|
|
236
|
+
>>> thread = api.account_fees_search(async_req=True)
|
|
241
237
|
>>> result = thread.get()
|
|
242
238
|
|
|
243
|
-
Args:
|
|
244
|
-
account_id (str): Account Id
|
|
245
239
|
|
|
246
240
|
Keyword Args:
|
|
247
|
-
limit (int):
|
|
248
|
-
offset (int):
|
|
241
|
+
limit (int): used for paging, number of results returned per request, Maximum of 500. [optional] if omitted the server will use the default value of 50
|
|
242
|
+
offset (int): used for paging, number of records to skip. [optional] if omitted the server will use the default value of 0
|
|
243
|
+
value_resource_input_account_fees_search_request (ValueResourceInputAccountFeesSearchRequest): [optional]
|
|
249
244
|
_return_http_data_only (bool): response data without head status
|
|
250
245
|
code and headers. Default is True.
|
|
251
246
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -278,7 +273,7 @@ class AccountsApi(object):
|
|
|
278
273
|
async_req (bool): execute request asynchronously
|
|
279
274
|
|
|
280
275
|
Returns:
|
|
281
|
-
|
|
276
|
+
ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata
|
|
282
277
|
If the method is called asynchronously, returns the request
|
|
283
278
|
thread.
|
|
284
279
|
"""
|
|
@@ -307,28 +302,28 @@ class AccountsApi(object):
|
|
|
307
302
|
'_content_type')
|
|
308
303
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
309
304
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
310
|
-
kwargs
|
|
311
|
-
account_id
|
|
312
|
-
return self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
305
|
+
return self.account_fees_search_endpoint.call_with_http_info(**kwargs)
|
|
313
306
|
|
|
314
|
-
def
|
|
307
|
+
def get_private_market_child_accounts_by_account_id(
|
|
315
308
|
self,
|
|
309
|
+
account_id,
|
|
316
310
|
**kwargs
|
|
317
311
|
):
|
|
318
|
-
"""
|
|
312
|
+
"""get_private_market_child_accounts_by_account_id # noqa: E501
|
|
319
313
|
|
|
320
|
-
|
|
314
|
+
Gets page of private market child accounts that are associated with the given account # noqa: E501
|
|
321
315
|
This method makes a synchronous HTTP request by default. To make an
|
|
322
316
|
asynchronous HTTP request, please pass async_req=True
|
|
323
317
|
|
|
324
|
-
>>> thread = api.
|
|
318
|
+
>>> thread = api.get_private_market_child_accounts_by_account_id(account_id, async_req=True)
|
|
325
319
|
>>> result = thread.get()
|
|
326
320
|
|
|
321
|
+
Args:
|
|
322
|
+
account_id (str): Account Id
|
|
327
323
|
|
|
328
324
|
Keyword Args:
|
|
329
|
-
limit (int):
|
|
330
|
-
offset (int):
|
|
331
|
-
value_resource_input_account_fees_search_request (ValueResourceInputAccountFeesSearchRequest): [optional]
|
|
325
|
+
limit (int): The number of accounts to be returned. The default is 25.. [optional] if omitted the server will use the default value of 25
|
|
326
|
+
offset (int): The (zero-based) offset into the collection of accounts. The default is 0.. [optional] if omitted the server will use the default value of 0
|
|
332
327
|
_return_http_data_only (bool): response data without head status
|
|
333
328
|
code and headers. Default is True.
|
|
334
329
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -361,7 +356,7 @@ class AccountsApi(object):
|
|
|
361
356
|
async_req (bool): execute request asynchronously
|
|
362
357
|
|
|
363
358
|
Returns:
|
|
364
|
-
|
|
359
|
+
EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata
|
|
365
360
|
If the method is called asynchronously, returns the request
|
|
366
361
|
thread.
|
|
367
362
|
"""
|
|
@@ -390,19 +385,21 @@ class AccountsApi(object):
|
|
|
390
385
|
'_content_type')
|
|
391
386
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
392
387
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
393
|
-
|
|
388
|
+
kwargs['account_id'] = \
|
|
389
|
+
account_id
|
|
390
|
+
return self.get_private_market_child_accounts_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
394
391
|
|
|
395
|
-
def
|
|
392
|
+
def update_account_fees(
|
|
396
393
|
self,
|
|
397
394
|
**kwargs
|
|
398
395
|
):
|
|
399
|
-
"""
|
|
396
|
+
"""update_account_fees # noqa: E501
|
|
400
397
|
|
|
401
398
|
Set fees for provided accounts # noqa: E501
|
|
402
399
|
This method makes a synchronous HTTP request by default. To make an
|
|
403
400
|
asynchronous HTTP request, please pass async_req=True
|
|
404
401
|
|
|
405
|
-
>>> thread = api.
|
|
402
|
+
>>> thread = api.update_account_fees(async_req=True)
|
|
406
403
|
>>> result = thread.get()
|
|
407
404
|
|
|
408
405
|
|
|
@@ -440,7 +437,7 @@ class AccountsApi(object):
|
|
|
440
437
|
async_req (bool): execute request asynchronously
|
|
441
438
|
|
|
442
439
|
Returns:
|
|
443
|
-
|
|
440
|
+
None
|
|
444
441
|
If the method is called asynchronously, returns the request
|
|
445
442
|
thread.
|
|
446
443
|
"""
|
|
@@ -469,5 +466,5 @@ class AccountsApi(object):
|
|
|
469
466
|
'_content_type')
|
|
470
467
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
471
468
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
472
|
-
return self.
|
|
469
|
+
return self.update_account_fees_endpoint.call_with_http_info(**kwargs)
|
|
473
470
|
|
|
@@ -27,6 +27,7 @@ from criteo_api_retailmedia_preview.model.async_fill_rate_report_request import
|
|
|
27
27
|
from criteo_api_retailmedia_preview.model.async_line_items_report_request import AsyncLineItemsReportRequest
|
|
28
28
|
from criteo_api_retailmedia_preview.model.async_offsite_report_request import AsyncOffsiteReportRequest
|
|
29
29
|
from criteo_api_retailmedia_preview.model.async_report_response import AsyncReportResponse
|
|
30
|
+
from criteo_api_retailmedia_preview.model.async_unfilled_placements_report_request import AsyncUnfilledPlacementsReportRequest
|
|
30
31
|
from criteo_api_retailmedia_preview.model.report_response import ReportResponse
|
|
31
32
|
from criteo_api_retailmedia_preview.model.sync_attributed_transactions_report_request import SyncAttributedTransactionsReportRequest
|
|
32
33
|
from criteo_api_retailmedia_preview.model.sync_campaigns_report_request import SyncCampaignsReportRequest
|
|
@@ -309,6 +310,59 @@ class AnalyticsApi(object):
|
|
|
309
310
|
},
|
|
310
311
|
api_client=api_client
|
|
311
312
|
)
|
|
313
|
+
self.generate_async_unfilled_placements_report_endpoint = _Endpoint(
|
|
314
|
+
settings={
|
|
315
|
+
'response_type': (AsyncReportResponse,),
|
|
316
|
+
'auth': [
|
|
317
|
+
'oauth',
|
|
318
|
+
'oauth'
|
|
319
|
+
],
|
|
320
|
+
'endpoint_path': '/preview/retail-media/reports/unfilled-placements',
|
|
321
|
+
'operation_id': 'generate_async_unfilled_placements_report',
|
|
322
|
+
'http_method': 'POST',
|
|
323
|
+
'servers': None,
|
|
324
|
+
},
|
|
325
|
+
params_map={
|
|
326
|
+
'all': [
|
|
327
|
+
'async_unfilled_placements_report_request',
|
|
328
|
+
],
|
|
329
|
+
'required': [
|
|
330
|
+
'async_unfilled_placements_report_request',
|
|
331
|
+
],
|
|
332
|
+
'nullable': [
|
|
333
|
+
],
|
|
334
|
+
'enum': [
|
|
335
|
+
],
|
|
336
|
+
'validation': [
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
root_map={
|
|
340
|
+
'validations': {
|
|
341
|
+
},
|
|
342
|
+
'allowed_values': {
|
|
343
|
+
},
|
|
344
|
+
'openapi_types': {
|
|
345
|
+
'async_unfilled_placements_report_request':
|
|
346
|
+
(AsyncUnfilledPlacementsReportRequest,),
|
|
347
|
+
},
|
|
348
|
+
'attribute_map': {
|
|
349
|
+
},
|
|
350
|
+
'location_map': {
|
|
351
|
+
'async_unfilled_placements_report_request': 'body',
|
|
352
|
+
},
|
|
353
|
+
'collection_format_map': {
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
headers_map={
|
|
357
|
+
'accept': [
|
|
358
|
+
'application/json'
|
|
359
|
+
],
|
|
360
|
+
'content_type': [
|
|
361
|
+
'application/json'
|
|
362
|
+
]
|
|
363
|
+
},
|
|
364
|
+
api_client=api_client
|
|
365
|
+
)
|
|
312
366
|
self.generate_sync_attributed_transactions_report_endpoint = _Endpoint(
|
|
313
367
|
settings={
|
|
314
368
|
'response_type': (ReportResponse,),
|
|
@@ -988,6 +1042,89 @@ class AnalyticsApi(object):
|
|
|
988
1042
|
async_offsite_report_request
|
|
989
1043
|
return self.generate_async_offsite_report_endpoint.call_with_http_info(**kwargs)
|
|
990
1044
|
|
|
1045
|
+
def generate_async_unfilled_placements_report(
|
|
1046
|
+
self,
|
|
1047
|
+
async_unfilled_placements_report_request,
|
|
1048
|
+
**kwargs
|
|
1049
|
+
):
|
|
1050
|
+
"""generate_async_unfilled_placements_report # noqa: E501
|
|
1051
|
+
|
|
1052
|
+
Returns an asynchronous Unfilled Placements Report This endpoint is subject to specific rate limits. # noqa: E501
|
|
1053
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1054
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1055
|
+
|
|
1056
|
+
>>> thread = api.generate_async_unfilled_placements_report(async_unfilled_placements_report_request, async_req=True)
|
|
1057
|
+
>>> result = thread.get()
|
|
1058
|
+
|
|
1059
|
+
Args:
|
|
1060
|
+
async_unfilled_placements_report_request (AsyncUnfilledPlacementsReportRequest):
|
|
1061
|
+
|
|
1062
|
+
Keyword Args:
|
|
1063
|
+
_return_http_data_only (bool): response data without head status
|
|
1064
|
+
code and headers. Default is True.
|
|
1065
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1066
|
+
will be returned without reading/decoding response data.
|
|
1067
|
+
Default is True.
|
|
1068
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1069
|
+
one number provided, it will be total request timeout. It can also
|
|
1070
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1071
|
+
Default is None.
|
|
1072
|
+
_check_input_type (bool): specifies if type checking
|
|
1073
|
+
should be done one the data sent to the server.
|
|
1074
|
+
Default is True.
|
|
1075
|
+
_check_return_type (bool): specifies if type checking
|
|
1076
|
+
should be done one the data received from the server.
|
|
1077
|
+
Default is True.
|
|
1078
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1079
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1080
|
+
False if the variable names in the input data
|
|
1081
|
+
are pythonic names, e.g. snake case (default)
|
|
1082
|
+
_content_type (str/None): force body content-type.
|
|
1083
|
+
Default is None and content-type will be predicted by allowed
|
|
1084
|
+
content-types and body.
|
|
1085
|
+
_host_index (int/None): specifies the index of the server
|
|
1086
|
+
that we want to use.
|
|
1087
|
+
Default is read from the configuration.
|
|
1088
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1089
|
+
request; this effectively ignores the authentication
|
|
1090
|
+
in the spec for a single request.
|
|
1091
|
+
Default is None
|
|
1092
|
+
async_req (bool): execute request asynchronously
|
|
1093
|
+
|
|
1094
|
+
Returns:
|
|
1095
|
+
AsyncReportResponse
|
|
1096
|
+
If the method is called asynchronously, returns the request
|
|
1097
|
+
thread.
|
|
1098
|
+
"""
|
|
1099
|
+
kwargs['async_req'] = kwargs.get(
|
|
1100
|
+
'async_req', False
|
|
1101
|
+
)
|
|
1102
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1103
|
+
'_return_http_data_only', True
|
|
1104
|
+
)
|
|
1105
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1106
|
+
'_preload_content', True
|
|
1107
|
+
)
|
|
1108
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1109
|
+
'_request_timeout', None
|
|
1110
|
+
)
|
|
1111
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1112
|
+
'_check_input_type', True
|
|
1113
|
+
)
|
|
1114
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1115
|
+
'_check_return_type', True
|
|
1116
|
+
)
|
|
1117
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1118
|
+
'_spec_property_naming', False
|
|
1119
|
+
)
|
|
1120
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1121
|
+
'_content_type')
|
|
1122
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1123
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1124
|
+
kwargs['async_unfilled_placements_report_request'] = \
|
|
1125
|
+
async_unfilled_placements_report_request
|
|
1126
|
+
return self.generate_async_unfilled_placements_report_endpoint.call_with_http_info(**kwargs)
|
|
1127
|
+
|
|
991
1128
|
def generate_sync_attributed_transactions_report(
|
|
992
1129
|
self,
|
|
993
1130
|
sync_attributed_transactions_report_request,
|
|
@@ -530,7 +530,7 @@ class AudienceApi(object):
|
|
|
530
530
|
},
|
|
531
531
|
api_client=api_client
|
|
532
532
|
)
|
|
533
|
-
self.
|
|
533
|
+
self.delete_contact_list_by_audience_segment_endpoint = _Endpoint(
|
|
534
534
|
settings={
|
|
535
535
|
'response_type': None,
|
|
536
536
|
'auth': [
|
|
@@ -538,7 +538,7 @@ class AudienceApi(object):
|
|
|
538
538
|
'oauth'
|
|
539
539
|
],
|
|
540
540
|
'endpoint_path': '/preview/retail-media/audience-segments/{audience-segment-id}/contact-list/clear',
|
|
541
|
-
'operation_id': '
|
|
541
|
+
'operation_id': 'delete_contact_list_by_audience_segment',
|
|
542
542
|
'http_method': 'POST',
|
|
543
543
|
'servers': None,
|
|
544
544
|
},
|
|
@@ -908,7 +908,7 @@ class AudienceApi(object):
|
|
|
908
908
|
},
|
|
909
909
|
api_client=api_client
|
|
910
910
|
)
|
|
911
|
-
self.
|
|
911
|
+
self.update_contact_list_by_audience_segment_endpoint = _Endpoint(
|
|
912
912
|
settings={
|
|
913
913
|
'response_type': (RetailMediaContactlistOperation,),
|
|
914
914
|
'auth': [
|
|
@@ -916,7 +916,7 @@ class AudienceApi(object):
|
|
|
916
916
|
'oauth'
|
|
917
917
|
],
|
|
918
918
|
'endpoint_path': '/preview/retail-media/audience-segments/{audience-segment-id}/contact-list/add-remove',
|
|
919
|
-
'operation_id': '
|
|
919
|
+
'operation_id': 'update_contact_list_by_audience_segment',
|
|
920
920
|
'http_method': 'POST',
|
|
921
921
|
'servers': None,
|
|
922
922
|
},
|
|
@@ -1664,18 +1664,18 @@ class AudienceApi(object):
|
|
|
1664
1664
|
rm_audience_compute_sizes_input_v1
|
|
1665
1665
|
return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
|
|
1666
1666
|
|
|
1667
|
-
def
|
|
1667
|
+
def delete_contact_list_by_audience_segment(
|
|
1668
1668
|
self,
|
|
1669
1669
|
audience_segment_id,
|
|
1670
1670
|
**kwargs
|
|
1671
1671
|
):
|
|
1672
|
-
"""
|
|
1672
|
+
"""delete_contact_list_by_audience_segment # noqa: E501
|
|
1673
1673
|
|
|
1674
1674
|
Delete all identifiers from a retail-media contact list audience-segment, with external audience segment id. # noqa: E501
|
|
1675
1675
|
This method makes a synchronous HTTP request by default. To make an
|
|
1676
1676
|
asynchronous HTTP request, please pass async_req=True
|
|
1677
1677
|
|
|
1678
|
-
>>> thread = api.
|
|
1678
|
+
>>> thread = api.delete_contact_list_by_audience_segment(audience_segment_id, async_req=True)
|
|
1679
1679
|
>>> result = thread.get()
|
|
1680
1680
|
|
|
1681
1681
|
Args:
|
|
@@ -1745,7 +1745,7 @@ class AudienceApi(object):
|
|
|
1745
1745
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1746
1746
|
kwargs['audience_segment_id'] = \
|
|
1747
1747
|
audience_segment_id
|
|
1748
|
-
return self.
|
|
1748
|
+
return self.delete_contact_list_by_audience_segment_endpoint.call_with_http_info(**kwargs)
|
|
1749
1749
|
|
|
1750
1750
|
def estimate_audience_segment_size(
|
|
1751
1751
|
self,
|
|
@@ -2186,19 +2186,19 @@ class AudienceApi(object):
|
|
|
2186
2186
|
rm_audience_search_input_v1
|
|
2187
2187
|
return self.search_audiences_endpoint.call_with_http_info(**kwargs)
|
|
2188
2188
|
|
|
2189
|
-
def
|
|
2189
|
+
def update_contact_list_by_audience_segment(
|
|
2190
2190
|
self,
|
|
2191
2191
|
audience_segment_id,
|
|
2192
2192
|
retail_media_contactlist_amendment_request,
|
|
2193
2193
|
**kwargs
|
|
2194
2194
|
):
|
|
2195
|
-
"""
|
|
2195
|
+
"""update_contact_list_by_audience_segment # noqa: E501
|
|
2196
2196
|
|
|
2197
2197
|
Add/remove identifiers to or from a retail-media contact list audience-segment, with external audience segment id. # noqa: E501
|
|
2198
2198
|
This method makes a synchronous HTTP request by default. To make an
|
|
2199
2199
|
asynchronous HTTP request, please pass async_req=True
|
|
2200
2200
|
|
|
2201
|
-
>>> thread = api.
|
|
2201
|
+
>>> thread = api.update_contact_list_by_audience_segment(audience_segment_id, retail_media_contactlist_amendment_request, async_req=True)
|
|
2202
2202
|
>>> result = thread.get()
|
|
2203
2203
|
|
|
2204
2204
|
Args:
|
|
@@ -2271,5 +2271,5 @@ class AudienceApi(object):
|
|
|
2271
2271
|
audience_segment_id
|
|
2272
2272
|
kwargs['retail_media_contactlist_amendment_request'] = \
|
|
2273
2273
|
retail_media_contactlist_amendment_request
|
|
2274
|
-
return self.
|
|
2274
|
+
return self.update_contact_list_by_audience_segment_endpoint.call_with_http_info(**kwargs)
|
|
2275
2275
|
|