criteo-api-retailmedia-sdk 0.0.250409__py3-none-any.whl → 0.0.250606__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 +3 -147
- criteo_api_retailmedia_preview/api/analytics_api.py +1 -1
- criteo_api_retailmedia_preview/api/audience_api.py +1204 -135
- criteo_api_retailmedia_preview/api/campaign_api.py +741 -104
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/account_fees_update_request.py +4 -0
- criteo_api_retailmedia_preview/model/async_accounts_report.py +6 -6
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +4 -4
- criteo_api_retailmedia_preview/model/async_line_items_report.py +4 -4
- criteo_api_retailmedia_preview/model/async_offsite_report.py +25 -18
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +7 -1
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +7 -1
- criteo_api_retailmedia_preview/model/categories_search_request_v1.py +270 -0
- criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +8 -1
- criteo_api_retailmedia_preview/model/entity_resource_category202204.py +277 -0
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +8 -1
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_category202204.py +281 -0
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_category202204_metadata.py +287 -0
- criteo_api_retailmedia_preview/model/entity_resource_of_sponsored_products_line_item.py +270 -0
- criteo_api_retailmedia_preview/model/entity_resource_outcome_of_sponsored_products_line_item.py +274 -0
- criteo_api_retailmedia_preview/model/{input_keywords.py → flight_leg.py} +39 -17
- criteo_api_retailmedia_preview/model/{recommended_keywords_result.py → flight_schedule.py} +9 -13
- criteo_api_retailmedia_preview/model/nillable_decimal.py +263 -0
- criteo_api_retailmedia_preview/model/page_of_sponsored_products_line_item.py +276 -0
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +7 -1
- criteo_api_retailmedia_preview/model/{grant_consent_model.py → recommended_categories_request_v1.py} +14 -21
- criteo_api_retailmedia_preview/model/recommended_keywords_request_v1.py +266 -0
- criteo_api_retailmedia_preview/model/recommended_keywords_response_v1.py +263 -0
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_request.py → rm_audience_bulk_create_input_v1.py} +9 -9
- criteo_api_retailmedia_preview/model/{grant_consent_input.py → rm_audience_bulk_delete_input_v1.py} +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_bulk_update_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1.py +272 -0
- criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_entity_v1_resource.py +273 -0
- criteo_api_retailmedia_preview/model/rm_audience_compute_sizes_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_create_entity_v1.py +291 -0
- criteo_api_retailmedia_preview/model/{grant_consent_model_value_resource.py → rm_audience_create_entity_v1_resource.py} +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_delete_entity_v1_resource.py +271 -0
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_recommended_keywords_result.py → rm_audience_entity_v1_list_response.py} +16 -9
- criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1.py +282 -0
- criteo_api_retailmedia_preview/model/rm_audience_estimate_size_entity_v1_resource.py +273 -0
- criteo_api_retailmedia_preview/model/rm_audience_estimate_size_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1.py +272 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_compute_size_entity_v1_resource.py +273 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_compute_sizes_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +6 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1.py +282 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_entity_v1_resource.py +273 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_estimate_size_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_size_entity_v1.py +267 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_size_entity_v1_list_response.py +281 -0
- criteo_api_retailmedia_preview/model/{resource_of_line_item_bid_multipliers_v2.py → rm_audience_segment_size_entity_v1_resource.py} +11 -11
- criteo_api_retailmedia_preview/model/rm_audience_segment_size_estimation_v1.py +267 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_size_estimation_v1_resource.py +273 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_size_estimation_v1_response.py +281 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +6 -0
- criteo_api_retailmedia_preview/model/rm_audience_size_entity_v1.py +267 -0
- criteo_api_retailmedia_preview/model/rm_audience_size_entity_v1_list_response.py +281 -0
- criteo_api_retailmedia_preview/model/rm_audience_size_entity_v1_resource.py +277 -0
- criteo_api_retailmedia_preview/model/rm_audience_size_estimation_v1.py +267 -0
- criteo_api_retailmedia_preview/model/rm_audience_size_estimation_v1_resource.py +273 -0
- criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_response.py → rm_audience_size_estimation_v1_response.py} +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_update_entity_v1.py +279 -0
- criteo_api_retailmedia_preview/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → rm_audience_update_entity_v1_resource.py} +17 -19
- criteo_api_retailmedia_preview/model/rm_events_create_v1.py +305 -0
- criteo_api_retailmedia_preview/model/rm_events_estimation_v1.py +305 -0
- criteo_api_retailmedia_preview/model/rm_events_update_v1.py +307 -0
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +6 -6
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +387 -0
- criteo_api_retailmedia_preview/model/{json_api_single_response_of_line_item_bid_multipliers_v2.py → sponsored_products_line_item_create_request_model.py} +81 -33
- criteo_api_retailmedia_preview/model/{keywords.py → sponsored_products_line_item_update_request_model.py} +82 -44
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +2 -2
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +4 -4
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +8 -1
- criteo_api_retailmedia_preview/model/value_resource_categories_search_request_v1.py +273 -0
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_private_market_account_fees.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +9 -3
- criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +8 -1
- criteo_api_retailmedia_preview/model/value_resource_input_categories_search_request_v1.py +269 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_sponsored_products_line_item_update_request_model.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_recommended_categories_request_v1.py +269 -0
- criteo_api_retailmedia_preview/model/value_resource_input_recommended_keywords_request_v1.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_of_sponsored_products_line_item_update_request_model.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_outcome_recommended_keywords_response_v1.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_recommended_categories_request_v1.py +273 -0
- criteo_api_retailmedia_preview/model/value_resource_recommended_keywords_request_v1.py +266 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_recommended_keywords_result.py → value_resource_recommended_keywords_response_v1.py} +10 -10
- criteo_api_retailmedia_preview/models/__init__.py +63 -17
- {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/RECORD +93 -47
- {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/common_error.py +0 -301
- criteo_api_retailmedia_preview/model/common_warning.py +0 -301
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
- {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250606.dist-info}/top_level.txt +0 -0
|
@@ -24,15 +24,27 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
24
24
|
from criteo_api_retailmedia_preview.model.error_code_response import ErrorCodeResponse
|
|
25
25
|
from criteo_api_retailmedia_preview.model.retail_media_contactlist_amendment_request import RetailMediaContactlistAmendmentRequest
|
|
26
26
|
from criteo_api_retailmedia_preview.model.retail_media_contactlist_operation import RetailMediaContactlistOperation
|
|
27
|
+
from criteo_api_retailmedia_preview.model.rm_audience_bulk_create_input_v1 import RmAudienceBulkCreateInputV1
|
|
28
|
+
from criteo_api_retailmedia_preview.model.rm_audience_bulk_delete_input_v1 import RmAudienceBulkDeleteInputV1
|
|
29
|
+
from criteo_api_retailmedia_preview.model.rm_audience_bulk_update_input_v1 import RmAudienceBulkUpdateInputV1
|
|
30
|
+
from criteo_api_retailmedia_preview.model.rm_audience_compute_sizes_input_v1 import RmAudienceComputeSizesInputV1
|
|
31
|
+
from criteo_api_retailmedia_preview.model.rm_audience_entity_v1_list_response import RmAudienceEntityV1ListResponse
|
|
27
32
|
from criteo_api_retailmedia_preview.model.rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response import RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse
|
|
33
|
+
from criteo_api_retailmedia_preview.model.rm_audience_estimate_size_input_v1 import RmAudienceEstimateSizeInputV1
|
|
28
34
|
from criteo_api_retailmedia_preview.model.rm_audience_search_input_v1 import RmAudienceSearchInputV1
|
|
29
35
|
from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_create_input_v1 import RmAudienceSegmentBulkCreateInputV1
|
|
30
36
|
from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_delete_input_v1 import RmAudienceSegmentBulkDeleteInputV1
|
|
31
37
|
from criteo_api_retailmedia_preview.model.rm_audience_segment_bulk_update_input_v1 import RmAudienceSegmentBulkUpdateInputV1
|
|
38
|
+
from criteo_api_retailmedia_preview.model.rm_audience_segment_compute_sizes_input_v1 import RmAudienceSegmentComputeSizesInputV1
|
|
32
39
|
from criteo_api_retailmedia_preview.model.rm_audience_segment_entity_v1_list_response import RmAudienceSegmentEntityV1ListResponse
|
|
33
40
|
from criteo_api_retailmedia_preview.model.rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response import RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse
|
|
41
|
+
from criteo_api_retailmedia_preview.model.rm_audience_segment_estimate_size_input_v1 import RmAudienceSegmentEstimateSizeInputV1
|
|
34
42
|
from criteo_api_retailmedia_preview.model.rm_audience_segment_id_entity_v1_list_response import RmAudienceSegmentIdEntityV1ListResponse
|
|
35
43
|
from criteo_api_retailmedia_preview.model.rm_audience_segment_search_input_v1 import RmAudienceSegmentSearchInputV1
|
|
44
|
+
from criteo_api_retailmedia_preview.model.rm_audience_segment_size_entity_v1_list_response import RmAudienceSegmentSizeEntityV1ListResponse
|
|
45
|
+
from criteo_api_retailmedia_preview.model.rm_audience_segment_size_estimation_v1_response import RmAudienceSegmentSizeEstimationV1Response
|
|
46
|
+
from criteo_api_retailmedia_preview.model.rm_audience_size_entity_v1_list_response import RmAudienceSizeEntityV1ListResponse
|
|
47
|
+
from criteo_api_retailmedia_preview.model.rm_audience_size_estimation_v1_response import RmAudienceSizeEstimationV1Response
|
|
36
48
|
from criteo_api_retailmedia_preview.model.rm_contact_list_statistics_entity_v1_response import RmContactListStatisticsEntityV1Response
|
|
37
49
|
|
|
38
50
|
|
|
@@ -47,6 +59,70 @@ class AudienceApi(object):
|
|
|
47
59
|
if api_client is None:
|
|
48
60
|
api_client = ApiClient()
|
|
49
61
|
self.api_client = api_client
|
|
62
|
+
self.bulk_create_audience_endpoint = _Endpoint(
|
|
63
|
+
settings={
|
|
64
|
+
'response_type': (RmAudienceEntityV1ListResponse,),
|
|
65
|
+
'auth': [
|
|
66
|
+
'oauth',
|
|
67
|
+
'oauth'
|
|
68
|
+
],
|
|
69
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences/create',
|
|
70
|
+
'operation_id': 'bulk_create_audience',
|
|
71
|
+
'http_method': 'POST',
|
|
72
|
+
'servers': None,
|
|
73
|
+
},
|
|
74
|
+
params_map={
|
|
75
|
+
'all': [
|
|
76
|
+
'account_id',
|
|
77
|
+
'rm_audience_bulk_create_input_v1',
|
|
78
|
+
],
|
|
79
|
+
'required': [
|
|
80
|
+
'account_id',
|
|
81
|
+
'rm_audience_bulk_create_input_v1',
|
|
82
|
+
],
|
|
83
|
+
'nullable': [
|
|
84
|
+
],
|
|
85
|
+
'enum': [
|
|
86
|
+
],
|
|
87
|
+
'validation': [
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
root_map={
|
|
91
|
+
'validations': {
|
|
92
|
+
},
|
|
93
|
+
'allowed_values': {
|
|
94
|
+
},
|
|
95
|
+
'openapi_types': {
|
|
96
|
+
'account_id':
|
|
97
|
+
(str,),
|
|
98
|
+
'rm_audience_bulk_create_input_v1':
|
|
99
|
+
(RmAudienceBulkCreateInputV1,),
|
|
100
|
+
},
|
|
101
|
+
'attribute_map': {
|
|
102
|
+
'account_id': 'account-id',
|
|
103
|
+
},
|
|
104
|
+
'location_map': {
|
|
105
|
+
'account_id': 'path',
|
|
106
|
+
'rm_audience_bulk_create_input_v1': 'body',
|
|
107
|
+
},
|
|
108
|
+
'collection_format_map': {
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
headers_map={
|
|
112
|
+
'accept': [
|
|
113
|
+
'text/plain',
|
|
114
|
+
'application/json',
|
|
115
|
+
'text/json'
|
|
116
|
+
],
|
|
117
|
+
'content_type': [
|
|
118
|
+
'application/json-patch+json',
|
|
119
|
+
'application/json',
|
|
120
|
+
'text/json',
|
|
121
|
+
'application/*+json'
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
api_client=api_client
|
|
125
|
+
)
|
|
50
126
|
self.bulk_create_audience_segments_endpoint = _Endpoint(
|
|
51
127
|
settings={
|
|
52
128
|
'response_type': (RmAudienceSegmentEntityV1ListResponse,),
|
|
@@ -175,26 +251,26 @@ class AudienceApi(object):
|
|
|
175
251
|
},
|
|
176
252
|
api_client=api_client
|
|
177
253
|
)
|
|
178
|
-
self.
|
|
254
|
+
self.bulk_delete_audiences_endpoint = _Endpoint(
|
|
179
255
|
settings={
|
|
180
|
-
'response_type': (
|
|
256
|
+
'response_type': (RmAudienceSegmentIdEntityV1ListResponse,),
|
|
181
257
|
'auth': [
|
|
182
258
|
'oauth',
|
|
183
259
|
'oauth'
|
|
184
260
|
],
|
|
185
|
-
'endpoint_path': '/preview/retail-media/accounts/{account-id}/
|
|
186
|
-
'operation_id': '
|
|
187
|
-
'http_method': '
|
|
261
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences/delete',
|
|
262
|
+
'operation_id': 'bulk_delete_audiences',
|
|
263
|
+
'http_method': 'POST',
|
|
188
264
|
'servers': None,
|
|
189
265
|
},
|
|
190
266
|
params_map={
|
|
191
267
|
'all': [
|
|
192
268
|
'account_id',
|
|
193
|
-
'
|
|
269
|
+
'rm_audience_bulk_delete_input_v1',
|
|
194
270
|
],
|
|
195
271
|
'required': [
|
|
196
272
|
'account_id',
|
|
197
|
-
'
|
|
273
|
+
'rm_audience_bulk_delete_input_v1',
|
|
198
274
|
],
|
|
199
275
|
'nullable': [
|
|
200
276
|
],
|
|
@@ -211,15 +287,15 @@ class AudienceApi(object):
|
|
|
211
287
|
'openapi_types': {
|
|
212
288
|
'account_id':
|
|
213
289
|
(str,),
|
|
214
|
-
'
|
|
215
|
-
(
|
|
290
|
+
'rm_audience_bulk_delete_input_v1':
|
|
291
|
+
(RmAudienceBulkDeleteInputV1,),
|
|
216
292
|
},
|
|
217
293
|
'attribute_map': {
|
|
218
294
|
'account_id': 'account-id',
|
|
219
295
|
},
|
|
220
296
|
'location_map': {
|
|
221
297
|
'account_id': 'path',
|
|
222
|
-
'
|
|
298
|
+
'rm_audience_bulk_delete_input_v1': 'body',
|
|
223
299
|
},
|
|
224
300
|
'collection_format_map': {
|
|
225
301
|
}
|
|
@@ -239,24 +315,26 @@ class AudienceApi(object):
|
|
|
239
315
|
},
|
|
240
316
|
api_client=api_client
|
|
241
317
|
)
|
|
242
|
-
self.
|
|
318
|
+
self.bulk_update_audience_endpoint = _Endpoint(
|
|
243
319
|
settings={
|
|
244
|
-
'response_type':
|
|
320
|
+
'response_type': (RmAudienceEntityV1ListResponse,),
|
|
245
321
|
'auth': [
|
|
246
322
|
'oauth',
|
|
247
323
|
'oauth'
|
|
248
324
|
],
|
|
249
|
-
'endpoint_path': '/preview/retail-media/
|
|
250
|
-
'operation_id': '
|
|
251
|
-
'http_method': '
|
|
325
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences',
|
|
326
|
+
'operation_id': 'bulk_update_audience',
|
|
327
|
+
'http_method': 'PATCH',
|
|
252
328
|
'servers': None,
|
|
253
329
|
},
|
|
254
330
|
params_map={
|
|
255
331
|
'all': [
|
|
256
|
-
'
|
|
332
|
+
'account_id',
|
|
333
|
+
'rm_audience_bulk_update_input_v1',
|
|
257
334
|
],
|
|
258
335
|
'required': [
|
|
259
|
-
'
|
|
336
|
+
'account_id',
|
|
337
|
+
'rm_audience_bulk_update_input_v1',
|
|
260
338
|
],
|
|
261
339
|
'nullable': [
|
|
262
340
|
],
|
|
@@ -271,46 +349,56 @@ class AudienceApi(object):
|
|
|
271
349
|
'allowed_values': {
|
|
272
350
|
},
|
|
273
351
|
'openapi_types': {
|
|
274
|
-
'
|
|
275
|
-
(
|
|
352
|
+
'account_id':
|
|
353
|
+
(str,),
|
|
354
|
+
'rm_audience_bulk_update_input_v1':
|
|
355
|
+
(RmAudienceBulkUpdateInputV1,),
|
|
276
356
|
},
|
|
277
357
|
'attribute_map': {
|
|
278
|
-
'
|
|
358
|
+
'account_id': 'account-id',
|
|
279
359
|
},
|
|
280
360
|
'location_map': {
|
|
281
|
-
'
|
|
361
|
+
'account_id': 'path',
|
|
362
|
+
'rm_audience_bulk_update_input_v1': 'body',
|
|
282
363
|
},
|
|
283
364
|
'collection_format_map': {
|
|
284
365
|
}
|
|
285
366
|
},
|
|
286
367
|
headers_map={
|
|
287
368
|
'accept': [
|
|
288
|
-
'
|
|
369
|
+
'text/plain',
|
|
370
|
+
'application/json',
|
|
371
|
+
'text/json'
|
|
289
372
|
],
|
|
290
|
-
'content_type': [
|
|
373
|
+
'content_type': [
|
|
374
|
+
'application/json-patch+json',
|
|
375
|
+
'application/json',
|
|
376
|
+
'text/json',
|
|
377
|
+
'application/*+json'
|
|
378
|
+
]
|
|
291
379
|
},
|
|
292
380
|
api_client=api_client
|
|
293
381
|
)
|
|
294
|
-
self.
|
|
382
|
+
self.bulk_update_audience_segments_endpoint = _Endpoint(
|
|
295
383
|
settings={
|
|
296
|
-
'response_type': (
|
|
384
|
+
'response_type': (RmAudienceSegmentEntityV1ListResponse,),
|
|
297
385
|
'auth': [
|
|
298
386
|
'oauth',
|
|
299
387
|
'oauth'
|
|
300
388
|
],
|
|
301
|
-
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments
|
|
302
|
-
'operation_id': '
|
|
303
|
-
'http_method': '
|
|
389
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments',
|
|
390
|
+
'operation_id': 'bulk_update_audience_segments',
|
|
391
|
+
'http_method': 'PATCH',
|
|
304
392
|
'servers': None,
|
|
305
393
|
},
|
|
306
394
|
params_map={
|
|
307
395
|
'all': [
|
|
308
396
|
'account_id',
|
|
309
|
-
'
|
|
397
|
+
'rm_audience_segment_bulk_update_input_v1',
|
|
310
398
|
],
|
|
311
399
|
'required': [
|
|
312
400
|
'account_id',
|
|
313
|
-
'
|
|
401
|
+
'rm_audience_segment_bulk_update_input_v1',
|
|
314
402
|
],
|
|
315
403
|
'nullable': [
|
|
316
404
|
],
|
|
@@ -327,16 +415,15 @@ class AudienceApi(object):
|
|
|
327
415
|
'openapi_types': {
|
|
328
416
|
'account_id':
|
|
329
417
|
(str,),
|
|
330
|
-
'
|
|
331
|
-
(
|
|
418
|
+
'rm_audience_segment_bulk_update_input_v1':
|
|
419
|
+
(RmAudienceSegmentBulkUpdateInputV1,),
|
|
332
420
|
},
|
|
333
421
|
'attribute_map': {
|
|
334
422
|
'account_id': 'account-id',
|
|
335
|
-
'audience_segment_id': 'audience-segment-id',
|
|
336
423
|
},
|
|
337
424
|
'location_map': {
|
|
338
425
|
'account_id': 'path',
|
|
339
|
-
'
|
|
426
|
+
'rm_audience_segment_bulk_update_input_v1': 'body',
|
|
340
427
|
},
|
|
341
428
|
'collection_format_map': {
|
|
342
429
|
}
|
|
@@ -347,71 +434,60 @@ class AudienceApi(object):
|
|
|
347
434
|
'application/json',
|
|
348
435
|
'text/json'
|
|
349
436
|
],
|
|
350
|
-
'content_type': [
|
|
437
|
+
'content_type': [
|
|
438
|
+
'application/json-patch+json',
|
|
439
|
+
'application/json',
|
|
440
|
+
'text/json',
|
|
441
|
+
'application/*+json'
|
|
442
|
+
]
|
|
351
443
|
},
|
|
352
444
|
api_client=api_client
|
|
353
445
|
)
|
|
354
|
-
self.
|
|
446
|
+
self.compute_audience_segments_sizes_endpoint = _Endpoint(
|
|
355
447
|
settings={
|
|
356
|
-
'response_type': (
|
|
448
|
+
'response_type': (RmAudienceSegmentSizeEntityV1ListResponse,),
|
|
357
449
|
'auth': [
|
|
358
450
|
'oauth',
|
|
359
451
|
'oauth'
|
|
360
452
|
],
|
|
361
|
-
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/
|
|
362
|
-
'operation_id': '
|
|
453
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/compute-sizes',
|
|
454
|
+
'operation_id': 'compute_audience_segments_sizes',
|
|
363
455
|
'http_method': 'POST',
|
|
364
456
|
'servers': None,
|
|
365
457
|
},
|
|
366
458
|
params_map={
|
|
367
459
|
'all': [
|
|
368
460
|
'account_id',
|
|
369
|
-
'
|
|
370
|
-
'limit',
|
|
371
|
-
'offset',
|
|
461
|
+
'rm_audience_segment_compute_sizes_input_v1',
|
|
372
462
|
],
|
|
373
463
|
'required': [
|
|
374
464
|
'account_id',
|
|
375
|
-
'
|
|
465
|
+
'rm_audience_segment_compute_sizes_input_v1',
|
|
376
466
|
],
|
|
377
467
|
'nullable': [
|
|
378
468
|
],
|
|
379
469
|
'enum': [
|
|
380
470
|
],
|
|
381
471
|
'validation': [
|
|
382
|
-
'limit',
|
|
383
472
|
]
|
|
384
473
|
},
|
|
385
474
|
root_map={
|
|
386
475
|
'validations': {
|
|
387
|
-
('limit',): {
|
|
388
|
-
|
|
389
|
-
'inclusive_maximum': 100,
|
|
390
|
-
'inclusive_minimum': 0,
|
|
391
|
-
},
|
|
392
476
|
},
|
|
393
477
|
'allowed_values': {
|
|
394
478
|
},
|
|
395
479
|
'openapi_types': {
|
|
396
480
|
'account_id':
|
|
397
481
|
(str,),
|
|
398
|
-
'
|
|
399
|
-
(
|
|
400
|
-
'limit':
|
|
401
|
-
(int,),
|
|
402
|
-
'offset':
|
|
403
|
-
(int,),
|
|
482
|
+
'rm_audience_segment_compute_sizes_input_v1':
|
|
483
|
+
(RmAudienceSegmentComputeSizesInputV1,),
|
|
404
484
|
},
|
|
405
485
|
'attribute_map': {
|
|
406
486
|
'account_id': 'account-id',
|
|
407
|
-
'limit': 'limit',
|
|
408
|
-
'offset': 'offset',
|
|
409
487
|
},
|
|
410
488
|
'location_map': {
|
|
411
489
|
'account_id': 'path',
|
|
412
|
-
'
|
|
413
|
-
'limit': 'query',
|
|
414
|
-
'offset': 'query',
|
|
490
|
+
'rm_audience_segment_compute_sizes_input_v1': 'body',
|
|
415
491
|
},
|
|
416
492
|
'collection_format_map': {
|
|
417
493
|
}
|
|
@@ -431,67 +507,51 @@ class AudienceApi(object):
|
|
|
431
507
|
},
|
|
432
508
|
api_client=api_client
|
|
433
509
|
)
|
|
434
|
-
self.
|
|
510
|
+
self.compute_audiences_sizes_endpoint = _Endpoint(
|
|
435
511
|
settings={
|
|
436
|
-
'response_type': (
|
|
512
|
+
'response_type': (RmAudienceSizeEntityV1ListResponse,),
|
|
437
513
|
'auth': [
|
|
438
514
|
'oauth',
|
|
439
515
|
'oauth'
|
|
440
516
|
],
|
|
441
|
-
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences/
|
|
442
|
-
'operation_id': '
|
|
517
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences/compute-sizes',
|
|
518
|
+
'operation_id': 'compute_audiences_sizes',
|
|
443
519
|
'http_method': 'POST',
|
|
444
520
|
'servers': None,
|
|
445
521
|
},
|
|
446
522
|
params_map={
|
|
447
523
|
'all': [
|
|
448
524
|
'account_id',
|
|
449
|
-
'
|
|
450
|
-
'limit',
|
|
451
|
-
'offset',
|
|
525
|
+
'rm_audience_compute_sizes_input_v1',
|
|
452
526
|
],
|
|
453
527
|
'required': [
|
|
454
528
|
'account_id',
|
|
455
|
-
'
|
|
529
|
+
'rm_audience_compute_sizes_input_v1',
|
|
456
530
|
],
|
|
457
531
|
'nullable': [
|
|
458
532
|
],
|
|
459
533
|
'enum': [
|
|
460
534
|
],
|
|
461
535
|
'validation': [
|
|
462
|
-
'limit',
|
|
463
536
|
]
|
|
464
537
|
},
|
|
465
538
|
root_map={
|
|
466
539
|
'validations': {
|
|
467
|
-
('limit',): {
|
|
468
|
-
|
|
469
|
-
'inclusive_maximum': 100,
|
|
470
|
-
'inclusive_minimum': 0,
|
|
471
|
-
},
|
|
472
540
|
},
|
|
473
541
|
'allowed_values': {
|
|
474
542
|
},
|
|
475
543
|
'openapi_types': {
|
|
476
544
|
'account_id':
|
|
477
545
|
(str,),
|
|
478
|
-
'
|
|
479
|
-
(
|
|
480
|
-
'limit':
|
|
481
|
-
(int,),
|
|
482
|
-
'offset':
|
|
483
|
-
(int,),
|
|
546
|
+
'rm_audience_compute_sizes_input_v1':
|
|
547
|
+
(RmAudienceComputeSizesInputV1,),
|
|
484
548
|
},
|
|
485
549
|
'attribute_map': {
|
|
486
550
|
'account_id': 'account-id',
|
|
487
|
-
'limit': 'limit',
|
|
488
|
-
'offset': 'offset',
|
|
489
551
|
},
|
|
490
552
|
'location_map': {
|
|
491
553
|
'account_id': 'path',
|
|
492
|
-
'
|
|
493
|
-
'limit': 'query',
|
|
494
|
-
'offset': 'query',
|
|
554
|
+
'rm_audience_compute_sizes_input_v1': 'body',
|
|
495
555
|
},
|
|
496
556
|
'collection_format_map': {
|
|
497
557
|
}
|
|
@@ -511,26 +571,24 @@ class AudienceApi(object):
|
|
|
511
571
|
},
|
|
512
572
|
api_client=api_client
|
|
513
573
|
)
|
|
514
|
-
self.
|
|
574
|
+
self.delete_contact_list_identifiers_endpoint = _Endpoint(
|
|
515
575
|
settings={
|
|
516
|
-
'response_type':
|
|
576
|
+
'response_type': None,
|
|
517
577
|
'auth': [
|
|
518
578
|
'oauth',
|
|
519
579
|
'oauth'
|
|
520
580
|
],
|
|
521
|
-
'endpoint_path': '/preview/retail-media/audience-segments/{audience-segment-id}/contact-list/
|
|
522
|
-
'operation_id': '
|
|
581
|
+
'endpoint_path': '/preview/retail-media/audience-segments/{audience-segment-id}/contact-list/clear',
|
|
582
|
+
'operation_id': 'delete_contact_list_identifiers',
|
|
523
583
|
'http_method': 'POST',
|
|
524
584
|
'servers': None,
|
|
525
585
|
},
|
|
526
586
|
params_map={
|
|
527
587
|
'all': [
|
|
528
588
|
'audience_segment_id',
|
|
529
|
-
'retail_media_contactlist_amendment_request',
|
|
530
589
|
],
|
|
531
590
|
'required': [
|
|
532
591
|
'audience_segment_id',
|
|
533
|
-
'retail_media_contactlist_amendment_request',
|
|
534
592
|
],
|
|
535
593
|
'nullable': [
|
|
536
594
|
],
|
|
@@ -547,15 +605,12 @@ class AudienceApi(object):
|
|
|
547
605
|
'openapi_types': {
|
|
548
606
|
'audience_segment_id':
|
|
549
607
|
(int,),
|
|
550
|
-
'retail_media_contactlist_amendment_request':
|
|
551
|
-
(RetailMediaContactlistAmendmentRequest,),
|
|
552
608
|
},
|
|
553
609
|
'attribute_map': {
|
|
554
610
|
'audience_segment_id': 'audience-segment-id',
|
|
555
611
|
},
|
|
556
612
|
'location_map': {
|
|
557
613
|
'audience_segment_id': 'path',
|
|
558
|
-
'retail_media_contactlist_amendment_request': 'body',
|
|
559
614
|
},
|
|
560
615
|
'collection_format_map': {
|
|
561
616
|
}
|
|
@@ -564,31 +619,871 @@ class AudienceApi(object):
|
|
|
564
619
|
'accept': [
|
|
565
620
|
'application/json'
|
|
566
621
|
],
|
|
622
|
+
'content_type': [],
|
|
623
|
+
},
|
|
624
|
+
api_client=api_client
|
|
625
|
+
)
|
|
626
|
+
self.estimate_audience_segment_size_endpoint = _Endpoint(
|
|
627
|
+
settings={
|
|
628
|
+
'response_type': (RmAudienceSegmentSizeEstimationV1Response,),
|
|
629
|
+
'auth': [
|
|
630
|
+
'oauth',
|
|
631
|
+
'oauth'
|
|
632
|
+
],
|
|
633
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/estimate-size',
|
|
634
|
+
'operation_id': 'estimate_audience_segment_size',
|
|
635
|
+
'http_method': 'POST',
|
|
636
|
+
'servers': None,
|
|
637
|
+
},
|
|
638
|
+
params_map={
|
|
639
|
+
'all': [
|
|
640
|
+
'account_id',
|
|
641
|
+
'rm_audience_segment_estimate_size_input_v1',
|
|
642
|
+
],
|
|
643
|
+
'required': [
|
|
644
|
+
'account_id',
|
|
645
|
+
'rm_audience_segment_estimate_size_input_v1',
|
|
646
|
+
],
|
|
647
|
+
'nullable': [
|
|
648
|
+
],
|
|
649
|
+
'enum': [
|
|
650
|
+
],
|
|
651
|
+
'validation': [
|
|
652
|
+
]
|
|
653
|
+
},
|
|
654
|
+
root_map={
|
|
655
|
+
'validations': {
|
|
656
|
+
},
|
|
657
|
+
'allowed_values': {
|
|
658
|
+
},
|
|
659
|
+
'openapi_types': {
|
|
660
|
+
'account_id':
|
|
661
|
+
(str,),
|
|
662
|
+
'rm_audience_segment_estimate_size_input_v1':
|
|
663
|
+
(RmAudienceSegmentEstimateSizeInputV1,),
|
|
664
|
+
},
|
|
665
|
+
'attribute_map': {
|
|
666
|
+
'account_id': 'account-id',
|
|
667
|
+
},
|
|
668
|
+
'location_map': {
|
|
669
|
+
'account_id': 'path',
|
|
670
|
+
'rm_audience_segment_estimate_size_input_v1': 'body',
|
|
671
|
+
},
|
|
672
|
+
'collection_format_map': {
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
headers_map={
|
|
676
|
+
'accept': [
|
|
677
|
+
'text/plain',
|
|
678
|
+
'application/json',
|
|
679
|
+
'text/json'
|
|
680
|
+
],
|
|
567
681
|
'content_type': [
|
|
568
|
-
'application/json'
|
|
682
|
+
'application/json-patch+json',
|
|
683
|
+
'application/json',
|
|
684
|
+
'text/json',
|
|
685
|
+
'application/*+json'
|
|
569
686
|
]
|
|
570
687
|
},
|
|
571
688
|
api_client=api_client
|
|
572
689
|
)
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
690
|
+
self.estimate_audience_size_endpoint = _Endpoint(
|
|
691
|
+
settings={
|
|
692
|
+
'response_type': (RmAudienceSizeEstimationV1Response,),
|
|
693
|
+
'auth': [
|
|
694
|
+
'oauth',
|
|
695
|
+
'oauth'
|
|
696
|
+
],
|
|
697
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences/estimate-size',
|
|
698
|
+
'operation_id': 'estimate_audience_size',
|
|
699
|
+
'http_method': 'POST',
|
|
700
|
+
'servers': None,
|
|
701
|
+
},
|
|
702
|
+
params_map={
|
|
703
|
+
'all': [
|
|
704
|
+
'account_id',
|
|
705
|
+
'rm_audience_estimate_size_input_v1',
|
|
706
|
+
],
|
|
707
|
+
'required': [
|
|
708
|
+
'account_id',
|
|
709
|
+
'rm_audience_estimate_size_input_v1',
|
|
710
|
+
],
|
|
711
|
+
'nullable': [
|
|
712
|
+
],
|
|
713
|
+
'enum': [
|
|
714
|
+
],
|
|
715
|
+
'validation': [
|
|
716
|
+
]
|
|
717
|
+
},
|
|
718
|
+
root_map={
|
|
719
|
+
'validations': {
|
|
720
|
+
},
|
|
721
|
+
'allowed_values': {
|
|
722
|
+
},
|
|
723
|
+
'openapi_types': {
|
|
724
|
+
'account_id':
|
|
725
|
+
(str,),
|
|
726
|
+
'rm_audience_estimate_size_input_v1':
|
|
727
|
+
(RmAudienceEstimateSizeInputV1,),
|
|
728
|
+
},
|
|
729
|
+
'attribute_map': {
|
|
730
|
+
'account_id': 'account-id',
|
|
731
|
+
},
|
|
732
|
+
'location_map': {
|
|
733
|
+
'account_id': 'path',
|
|
734
|
+
'rm_audience_estimate_size_input_v1': 'body',
|
|
735
|
+
},
|
|
736
|
+
'collection_format_map': {
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
headers_map={
|
|
740
|
+
'accept': [
|
|
741
|
+
'text/plain',
|
|
742
|
+
'application/json',
|
|
743
|
+
'text/json'
|
|
744
|
+
],
|
|
745
|
+
'content_type': [
|
|
746
|
+
'application/json-patch+json',
|
|
747
|
+
'application/json',
|
|
748
|
+
'text/json',
|
|
749
|
+
'application/*+json'
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
api_client=api_client
|
|
753
|
+
)
|
|
754
|
+
self.get_audience_segment_contact_list_statistics_endpoint = _Endpoint(
|
|
755
|
+
settings={
|
|
756
|
+
'response_type': (RmContactListStatisticsEntityV1Response,),
|
|
757
|
+
'auth': [
|
|
758
|
+
'oauth',
|
|
759
|
+
'oauth'
|
|
760
|
+
],
|
|
761
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/{audience-segment-id}/contact-list',
|
|
762
|
+
'operation_id': 'get_audience_segment_contact_list_statistics',
|
|
763
|
+
'http_method': 'GET',
|
|
764
|
+
'servers': None,
|
|
765
|
+
},
|
|
766
|
+
params_map={
|
|
767
|
+
'all': [
|
|
768
|
+
'account_id',
|
|
769
|
+
'audience_segment_id',
|
|
770
|
+
],
|
|
771
|
+
'required': [
|
|
772
|
+
'account_id',
|
|
773
|
+
'audience_segment_id',
|
|
774
|
+
],
|
|
775
|
+
'nullable': [
|
|
776
|
+
],
|
|
777
|
+
'enum': [
|
|
778
|
+
],
|
|
779
|
+
'validation': [
|
|
780
|
+
]
|
|
781
|
+
},
|
|
782
|
+
root_map={
|
|
783
|
+
'validations': {
|
|
784
|
+
},
|
|
785
|
+
'allowed_values': {
|
|
786
|
+
},
|
|
787
|
+
'openapi_types': {
|
|
788
|
+
'account_id':
|
|
789
|
+
(str,),
|
|
790
|
+
'audience_segment_id':
|
|
791
|
+
(str,),
|
|
792
|
+
},
|
|
793
|
+
'attribute_map': {
|
|
794
|
+
'account_id': 'account-id',
|
|
795
|
+
'audience_segment_id': 'audience-segment-id',
|
|
796
|
+
},
|
|
797
|
+
'location_map': {
|
|
798
|
+
'account_id': 'path',
|
|
799
|
+
'audience_segment_id': 'path',
|
|
800
|
+
},
|
|
801
|
+
'collection_format_map': {
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
headers_map={
|
|
805
|
+
'accept': [
|
|
806
|
+
'text/plain',
|
|
807
|
+
'application/json',
|
|
808
|
+
'text/json'
|
|
809
|
+
],
|
|
810
|
+
'content_type': [],
|
|
811
|
+
},
|
|
812
|
+
api_client=api_client
|
|
813
|
+
)
|
|
814
|
+
self.search_audience_segments_endpoint = _Endpoint(
|
|
815
|
+
settings={
|
|
816
|
+
'response_type': (RmAudienceSegmentEntityV1RmAudienceSegmentSearchMetadataV1ListResponse,),
|
|
817
|
+
'auth': [
|
|
818
|
+
'oauth',
|
|
819
|
+
'oauth'
|
|
820
|
+
],
|
|
821
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audience-segments/search',
|
|
822
|
+
'operation_id': 'search_audience_segments',
|
|
823
|
+
'http_method': 'POST',
|
|
824
|
+
'servers': None,
|
|
825
|
+
},
|
|
826
|
+
params_map={
|
|
827
|
+
'all': [
|
|
828
|
+
'account_id',
|
|
829
|
+
'rm_audience_segment_search_input_v1',
|
|
830
|
+
'limit',
|
|
831
|
+
'offset',
|
|
832
|
+
],
|
|
833
|
+
'required': [
|
|
834
|
+
'account_id',
|
|
835
|
+
'rm_audience_segment_search_input_v1',
|
|
836
|
+
],
|
|
837
|
+
'nullable': [
|
|
838
|
+
],
|
|
839
|
+
'enum': [
|
|
840
|
+
],
|
|
841
|
+
'validation': [
|
|
842
|
+
'limit',
|
|
843
|
+
]
|
|
844
|
+
},
|
|
845
|
+
root_map={
|
|
846
|
+
'validations': {
|
|
847
|
+
('limit',): {
|
|
848
|
+
|
|
849
|
+
'inclusive_maximum': 100,
|
|
850
|
+
'inclusive_minimum': 0,
|
|
851
|
+
},
|
|
852
|
+
},
|
|
853
|
+
'allowed_values': {
|
|
854
|
+
},
|
|
855
|
+
'openapi_types': {
|
|
856
|
+
'account_id':
|
|
857
|
+
(str,),
|
|
858
|
+
'rm_audience_segment_search_input_v1':
|
|
859
|
+
(RmAudienceSegmentSearchInputV1,),
|
|
860
|
+
'limit':
|
|
861
|
+
(int,),
|
|
862
|
+
'offset':
|
|
863
|
+
(int,),
|
|
864
|
+
},
|
|
865
|
+
'attribute_map': {
|
|
866
|
+
'account_id': 'account-id',
|
|
867
|
+
'limit': 'limit',
|
|
868
|
+
'offset': 'offset',
|
|
869
|
+
},
|
|
870
|
+
'location_map': {
|
|
871
|
+
'account_id': 'path',
|
|
872
|
+
'rm_audience_segment_search_input_v1': 'body',
|
|
873
|
+
'limit': 'query',
|
|
874
|
+
'offset': 'query',
|
|
875
|
+
},
|
|
876
|
+
'collection_format_map': {
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
headers_map={
|
|
880
|
+
'accept': [
|
|
881
|
+
'text/plain',
|
|
882
|
+
'application/json',
|
|
883
|
+
'text/json'
|
|
884
|
+
],
|
|
885
|
+
'content_type': [
|
|
886
|
+
'application/json-patch+json',
|
|
887
|
+
'application/json',
|
|
888
|
+
'text/json',
|
|
889
|
+
'application/*+json'
|
|
890
|
+
]
|
|
891
|
+
},
|
|
892
|
+
api_client=api_client
|
|
893
|
+
)
|
|
894
|
+
self.search_audiences_endpoint = _Endpoint(
|
|
895
|
+
settings={
|
|
896
|
+
'response_type': (RmAudienceEntityV1RmAudienceSearchMetadataV1ListResponse,),
|
|
897
|
+
'auth': [
|
|
898
|
+
'oauth',
|
|
899
|
+
'oauth'
|
|
900
|
+
],
|
|
901
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/audiences/search',
|
|
902
|
+
'operation_id': 'search_audiences',
|
|
903
|
+
'http_method': 'POST',
|
|
904
|
+
'servers': None,
|
|
905
|
+
},
|
|
906
|
+
params_map={
|
|
907
|
+
'all': [
|
|
908
|
+
'account_id',
|
|
909
|
+
'rm_audience_search_input_v1',
|
|
910
|
+
'limit',
|
|
911
|
+
'offset',
|
|
912
|
+
],
|
|
913
|
+
'required': [
|
|
914
|
+
'account_id',
|
|
915
|
+
'rm_audience_search_input_v1',
|
|
916
|
+
],
|
|
917
|
+
'nullable': [
|
|
918
|
+
],
|
|
919
|
+
'enum': [
|
|
920
|
+
],
|
|
921
|
+
'validation': [
|
|
922
|
+
'limit',
|
|
923
|
+
]
|
|
924
|
+
},
|
|
925
|
+
root_map={
|
|
926
|
+
'validations': {
|
|
927
|
+
('limit',): {
|
|
928
|
+
|
|
929
|
+
'inclusive_maximum': 100,
|
|
930
|
+
'inclusive_minimum': 0,
|
|
931
|
+
},
|
|
932
|
+
},
|
|
933
|
+
'allowed_values': {
|
|
934
|
+
},
|
|
935
|
+
'openapi_types': {
|
|
936
|
+
'account_id':
|
|
937
|
+
(str,),
|
|
938
|
+
'rm_audience_search_input_v1':
|
|
939
|
+
(RmAudienceSearchInputV1,),
|
|
940
|
+
'limit':
|
|
941
|
+
(int,),
|
|
942
|
+
'offset':
|
|
943
|
+
(int,),
|
|
944
|
+
},
|
|
945
|
+
'attribute_map': {
|
|
946
|
+
'account_id': 'account-id',
|
|
947
|
+
'limit': 'limit',
|
|
948
|
+
'offset': 'offset',
|
|
949
|
+
},
|
|
950
|
+
'location_map': {
|
|
951
|
+
'account_id': 'path',
|
|
952
|
+
'rm_audience_search_input_v1': 'body',
|
|
953
|
+
'limit': 'query',
|
|
954
|
+
'offset': 'query',
|
|
955
|
+
},
|
|
956
|
+
'collection_format_map': {
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
headers_map={
|
|
960
|
+
'accept': [
|
|
961
|
+
'text/plain',
|
|
962
|
+
'application/json',
|
|
963
|
+
'text/json'
|
|
964
|
+
],
|
|
965
|
+
'content_type': [
|
|
966
|
+
'application/json-patch+json',
|
|
967
|
+
'application/json',
|
|
968
|
+
'text/json',
|
|
969
|
+
'application/*+json'
|
|
970
|
+
]
|
|
971
|
+
},
|
|
972
|
+
api_client=api_client
|
|
973
|
+
)
|
|
974
|
+
self.update_contact_list_identifiers_endpoint = _Endpoint(
|
|
975
|
+
settings={
|
|
976
|
+
'response_type': (RetailMediaContactlistOperation,),
|
|
977
|
+
'auth': [
|
|
978
|
+
'oauth',
|
|
979
|
+
'oauth'
|
|
980
|
+
],
|
|
981
|
+
'endpoint_path': '/preview/retail-media/audience-segments/{audience-segment-id}/contact-list/add-remove',
|
|
982
|
+
'operation_id': 'update_contact_list_identifiers',
|
|
983
|
+
'http_method': 'POST',
|
|
984
|
+
'servers': None,
|
|
985
|
+
},
|
|
986
|
+
params_map={
|
|
987
|
+
'all': [
|
|
988
|
+
'audience_segment_id',
|
|
989
|
+
'retail_media_contactlist_amendment_request',
|
|
990
|
+
],
|
|
991
|
+
'required': [
|
|
992
|
+
'audience_segment_id',
|
|
993
|
+
'retail_media_contactlist_amendment_request',
|
|
994
|
+
],
|
|
995
|
+
'nullable': [
|
|
996
|
+
],
|
|
997
|
+
'enum': [
|
|
998
|
+
],
|
|
999
|
+
'validation': [
|
|
1000
|
+
]
|
|
1001
|
+
},
|
|
1002
|
+
root_map={
|
|
1003
|
+
'validations': {
|
|
1004
|
+
},
|
|
1005
|
+
'allowed_values': {
|
|
1006
|
+
},
|
|
1007
|
+
'openapi_types': {
|
|
1008
|
+
'audience_segment_id':
|
|
1009
|
+
(int,),
|
|
1010
|
+
'retail_media_contactlist_amendment_request':
|
|
1011
|
+
(RetailMediaContactlistAmendmentRequest,),
|
|
1012
|
+
},
|
|
1013
|
+
'attribute_map': {
|
|
1014
|
+
'audience_segment_id': 'audience-segment-id',
|
|
1015
|
+
},
|
|
1016
|
+
'location_map': {
|
|
1017
|
+
'audience_segment_id': 'path',
|
|
1018
|
+
'retail_media_contactlist_amendment_request': 'body',
|
|
1019
|
+
},
|
|
1020
|
+
'collection_format_map': {
|
|
1021
|
+
}
|
|
1022
|
+
},
|
|
1023
|
+
headers_map={
|
|
1024
|
+
'accept': [
|
|
1025
|
+
'application/json'
|
|
1026
|
+
],
|
|
1027
|
+
'content_type': [
|
|
1028
|
+
'application/json'
|
|
1029
|
+
]
|
|
1030
|
+
},
|
|
1031
|
+
api_client=api_client
|
|
1032
|
+
)
|
|
1033
|
+
|
|
1034
|
+
def bulk_create_audience(
|
|
1035
|
+
self,
|
|
1036
|
+
account_id,
|
|
1037
|
+
rm_audience_bulk_create_input_v1,
|
|
1038
|
+
**kwargs
|
|
1039
|
+
):
|
|
1040
|
+
"""bulk_create_audience # noqa: E501
|
|
1041
|
+
|
|
1042
|
+
Creates all audiences with a valid configuration, and returns their IDs. For those that cannot be created, one or multiple errors are returned. # noqa: E501
|
|
1043
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1044
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1045
|
+
|
|
1046
|
+
>>> thread = api.bulk_create_audience(account_id, rm_audience_bulk_create_input_v1, async_req=True)
|
|
1047
|
+
>>> result = thread.get()
|
|
1048
|
+
|
|
1049
|
+
Args:
|
|
1050
|
+
account_id (str): Account Id
|
|
1051
|
+
rm_audience_bulk_create_input_v1 (RmAudienceBulkCreateInputV1): Audience creation parameter
|
|
1052
|
+
|
|
1053
|
+
Keyword Args:
|
|
1054
|
+
_return_http_data_only (bool): response data without head status
|
|
1055
|
+
code and headers. Default is True.
|
|
1056
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1057
|
+
will be returned without reading/decoding response data.
|
|
1058
|
+
Default is True.
|
|
1059
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1060
|
+
one number provided, it will be total request timeout. It can also
|
|
1061
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1062
|
+
Default is None.
|
|
1063
|
+
_check_input_type (bool): specifies if type checking
|
|
1064
|
+
should be done one the data sent to the server.
|
|
1065
|
+
Default is True.
|
|
1066
|
+
_check_return_type (bool): specifies if type checking
|
|
1067
|
+
should be done one the data received from the server.
|
|
1068
|
+
Default is True.
|
|
1069
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1070
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1071
|
+
False if the variable names in the input data
|
|
1072
|
+
are pythonic names, e.g. snake case (default)
|
|
1073
|
+
_content_type (str/None): force body content-type.
|
|
1074
|
+
Default is None and content-type will be predicted by allowed
|
|
1075
|
+
content-types and body.
|
|
1076
|
+
_host_index (int/None): specifies the index of the server
|
|
1077
|
+
that we want to use.
|
|
1078
|
+
Default is read from the configuration.
|
|
1079
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1080
|
+
request; this effectively ignores the authentication
|
|
1081
|
+
in the spec for a single request.
|
|
1082
|
+
Default is None
|
|
1083
|
+
async_req (bool): execute request asynchronously
|
|
1084
|
+
|
|
1085
|
+
Returns:
|
|
1086
|
+
RmAudienceEntityV1ListResponse
|
|
1087
|
+
If the method is called asynchronously, returns the request
|
|
1088
|
+
thread.
|
|
1089
|
+
"""
|
|
1090
|
+
kwargs['async_req'] = kwargs.get(
|
|
1091
|
+
'async_req', False
|
|
1092
|
+
)
|
|
1093
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1094
|
+
'_return_http_data_only', True
|
|
1095
|
+
)
|
|
1096
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1097
|
+
'_preload_content', True
|
|
1098
|
+
)
|
|
1099
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1100
|
+
'_request_timeout', None
|
|
1101
|
+
)
|
|
1102
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1103
|
+
'_check_input_type', True
|
|
1104
|
+
)
|
|
1105
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1106
|
+
'_check_return_type', True
|
|
1107
|
+
)
|
|
1108
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1109
|
+
'_spec_property_naming', False
|
|
1110
|
+
)
|
|
1111
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1112
|
+
'_content_type')
|
|
1113
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1114
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1115
|
+
kwargs['account_id'] = \
|
|
1116
|
+
account_id
|
|
1117
|
+
kwargs['rm_audience_bulk_create_input_v1'] = \
|
|
1118
|
+
rm_audience_bulk_create_input_v1
|
|
1119
|
+
return self.bulk_create_audience_endpoint.call_with_http_info(**kwargs)
|
|
1120
|
+
|
|
1121
|
+
def bulk_create_audience_segments(
|
|
1122
|
+
self,
|
|
1123
|
+
account_id,
|
|
1124
|
+
rm_audience_segment_bulk_create_input_v1,
|
|
1125
|
+
**kwargs
|
|
1126
|
+
):
|
|
1127
|
+
"""bulk_create_audience_segments # noqa: E501
|
|
1128
|
+
|
|
1129
|
+
Creates all segments with a valid configuration, and returns the full segments. For those that cannot be created, one or multiple errors are returned. # noqa: E501
|
|
1130
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1131
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1132
|
+
|
|
1133
|
+
>>> thread = api.bulk_create_audience_segments(account_id, rm_audience_segment_bulk_create_input_v1, async_req=True)
|
|
1134
|
+
>>> result = thread.get()
|
|
1135
|
+
|
|
1136
|
+
Args:
|
|
1137
|
+
account_id (str): Account Id
|
|
1138
|
+
rm_audience_segment_bulk_create_input_v1 (RmAudienceSegmentBulkCreateInputV1): Segment creation parameter
|
|
1139
|
+
|
|
1140
|
+
Keyword Args:
|
|
1141
|
+
_return_http_data_only (bool): response data without head status
|
|
1142
|
+
code and headers. Default is True.
|
|
1143
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1144
|
+
will be returned without reading/decoding response data.
|
|
1145
|
+
Default is True.
|
|
1146
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1147
|
+
one number provided, it will be total request timeout. It can also
|
|
1148
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1149
|
+
Default is None.
|
|
1150
|
+
_check_input_type (bool): specifies if type checking
|
|
1151
|
+
should be done one the data sent to the server.
|
|
1152
|
+
Default is True.
|
|
1153
|
+
_check_return_type (bool): specifies if type checking
|
|
1154
|
+
should be done one the data received from the server.
|
|
1155
|
+
Default is True.
|
|
1156
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1157
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1158
|
+
False if the variable names in the input data
|
|
1159
|
+
are pythonic names, e.g. snake case (default)
|
|
1160
|
+
_content_type (str/None): force body content-type.
|
|
1161
|
+
Default is None and content-type will be predicted by allowed
|
|
1162
|
+
content-types and body.
|
|
1163
|
+
_host_index (int/None): specifies the index of the server
|
|
1164
|
+
that we want to use.
|
|
1165
|
+
Default is read from the configuration.
|
|
1166
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1167
|
+
request; this effectively ignores the authentication
|
|
1168
|
+
in the spec for a single request.
|
|
1169
|
+
Default is None
|
|
1170
|
+
async_req (bool): execute request asynchronously
|
|
1171
|
+
|
|
1172
|
+
Returns:
|
|
1173
|
+
RmAudienceSegmentEntityV1ListResponse
|
|
1174
|
+
If the method is called asynchronously, returns the request
|
|
1175
|
+
thread.
|
|
1176
|
+
"""
|
|
1177
|
+
kwargs['async_req'] = kwargs.get(
|
|
1178
|
+
'async_req', False
|
|
1179
|
+
)
|
|
1180
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1181
|
+
'_return_http_data_only', True
|
|
1182
|
+
)
|
|
1183
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1184
|
+
'_preload_content', True
|
|
1185
|
+
)
|
|
1186
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1187
|
+
'_request_timeout', None
|
|
1188
|
+
)
|
|
1189
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1190
|
+
'_check_input_type', True
|
|
1191
|
+
)
|
|
1192
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1193
|
+
'_check_return_type', True
|
|
1194
|
+
)
|
|
1195
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1196
|
+
'_spec_property_naming', False
|
|
1197
|
+
)
|
|
1198
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1199
|
+
'_content_type')
|
|
1200
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1201
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1202
|
+
kwargs['account_id'] = \
|
|
1203
|
+
account_id
|
|
1204
|
+
kwargs['rm_audience_segment_bulk_create_input_v1'] = \
|
|
1205
|
+
rm_audience_segment_bulk_create_input_v1
|
|
1206
|
+
return self.bulk_create_audience_segments_endpoint.call_with_http_info(**kwargs)
|
|
1207
|
+
|
|
1208
|
+
def bulk_delete_audience_segments(
|
|
1209
|
+
self,
|
|
1210
|
+
account_id,
|
|
1211
|
+
rm_audience_segment_bulk_delete_input_v1,
|
|
1212
|
+
**kwargs
|
|
1213
|
+
):
|
|
1214
|
+
"""bulk_delete_audience_segments # noqa: E501
|
|
1215
|
+
|
|
1216
|
+
Delete the segments associated to the given IDs. # noqa: E501
|
|
1217
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1218
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1219
|
+
|
|
1220
|
+
>>> thread = api.bulk_delete_audience_segments(account_id, rm_audience_segment_bulk_delete_input_v1, async_req=True)
|
|
1221
|
+
>>> result = thread.get()
|
|
1222
|
+
|
|
1223
|
+
Args:
|
|
1224
|
+
account_id (str): Account id
|
|
1225
|
+
rm_audience_segment_bulk_delete_input_v1 (RmAudienceSegmentBulkDeleteInputV1): Segment delete request.
|
|
1226
|
+
|
|
1227
|
+
Keyword Args:
|
|
1228
|
+
_return_http_data_only (bool): response data without head status
|
|
1229
|
+
code and headers. Default is True.
|
|
1230
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1231
|
+
will be returned without reading/decoding response data.
|
|
1232
|
+
Default is True.
|
|
1233
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1234
|
+
one number provided, it will be total request timeout. It can also
|
|
1235
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1236
|
+
Default is None.
|
|
1237
|
+
_check_input_type (bool): specifies if type checking
|
|
1238
|
+
should be done one the data sent to the server.
|
|
1239
|
+
Default is True.
|
|
1240
|
+
_check_return_type (bool): specifies if type checking
|
|
1241
|
+
should be done one the data received from the server.
|
|
1242
|
+
Default is True.
|
|
1243
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1244
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1245
|
+
False if the variable names in the input data
|
|
1246
|
+
are pythonic names, e.g. snake case (default)
|
|
1247
|
+
_content_type (str/None): force body content-type.
|
|
1248
|
+
Default is None and content-type will be predicted by allowed
|
|
1249
|
+
content-types and body.
|
|
1250
|
+
_host_index (int/None): specifies the index of the server
|
|
1251
|
+
that we want to use.
|
|
1252
|
+
Default is read from the configuration.
|
|
1253
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1254
|
+
request; this effectively ignores the authentication
|
|
1255
|
+
in the spec for a single request.
|
|
1256
|
+
Default is None
|
|
1257
|
+
async_req (bool): execute request asynchronously
|
|
1258
|
+
|
|
1259
|
+
Returns:
|
|
1260
|
+
RmAudienceSegmentIdEntityV1ListResponse
|
|
1261
|
+
If the method is called asynchronously, returns the request
|
|
1262
|
+
thread.
|
|
1263
|
+
"""
|
|
1264
|
+
kwargs['async_req'] = kwargs.get(
|
|
1265
|
+
'async_req', False
|
|
1266
|
+
)
|
|
1267
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1268
|
+
'_return_http_data_only', True
|
|
1269
|
+
)
|
|
1270
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1271
|
+
'_preload_content', True
|
|
1272
|
+
)
|
|
1273
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1274
|
+
'_request_timeout', None
|
|
1275
|
+
)
|
|
1276
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1277
|
+
'_check_input_type', True
|
|
1278
|
+
)
|
|
1279
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1280
|
+
'_check_return_type', True
|
|
1281
|
+
)
|
|
1282
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1283
|
+
'_spec_property_naming', False
|
|
1284
|
+
)
|
|
1285
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1286
|
+
'_content_type')
|
|
1287
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1288
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1289
|
+
kwargs['account_id'] = \
|
|
1290
|
+
account_id
|
|
1291
|
+
kwargs['rm_audience_segment_bulk_delete_input_v1'] = \
|
|
1292
|
+
rm_audience_segment_bulk_delete_input_v1
|
|
1293
|
+
return self.bulk_delete_audience_segments_endpoint.call_with_http_info(**kwargs)
|
|
1294
|
+
|
|
1295
|
+
def bulk_delete_audiences(
|
|
1296
|
+
self,
|
|
1297
|
+
account_id,
|
|
1298
|
+
rm_audience_bulk_delete_input_v1,
|
|
1299
|
+
**kwargs
|
|
1300
|
+
):
|
|
1301
|
+
"""bulk_delete_audiences # noqa: E501
|
|
1302
|
+
|
|
1303
|
+
Deletes the audiences associated to the given IDs. # noqa: E501
|
|
1304
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1305
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1306
|
+
|
|
1307
|
+
>>> thread = api.bulk_delete_audiences(account_id, rm_audience_bulk_delete_input_v1, async_req=True)
|
|
1308
|
+
>>> result = thread.get()
|
|
1309
|
+
|
|
1310
|
+
Args:
|
|
1311
|
+
account_id (str): Account Id
|
|
1312
|
+
rm_audience_bulk_delete_input_v1 (RmAudienceBulkDeleteInputV1):
|
|
1313
|
+
|
|
1314
|
+
Keyword Args:
|
|
1315
|
+
_return_http_data_only (bool): response data without head status
|
|
1316
|
+
code and headers. Default is True.
|
|
1317
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1318
|
+
will be returned without reading/decoding response data.
|
|
1319
|
+
Default is True.
|
|
1320
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1321
|
+
one number provided, it will be total request timeout. It can also
|
|
1322
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1323
|
+
Default is None.
|
|
1324
|
+
_check_input_type (bool): specifies if type checking
|
|
1325
|
+
should be done one the data sent to the server.
|
|
1326
|
+
Default is True.
|
|
1327
|
+
_check_return_type (bool): specifies if type checking
|
|
1328
|
+
should be done one the data received from the server.
|
|
1329
|
+
Default is True.
|
|
1330
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1331
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1332
|
+
False if the variable names in the input data
|
|
1333
|
+
are pythonic names, e.g. snake case (default)
|
|
1334
|
+
_content_type (str/None): force body content-type.
|
|
1335
|
+
Default is None and content-type will be predicted by allowed
|
|
1336
|
+
content-types and body.
|
|
1337
|
+
_host_index (int/None): specifies the index of the server
|
|
1338
|
+
that we want to use.
|
|
1339
|
+
Default is read from the configuration.
|
|
1340
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1341
|
+
request; this effectively ignores the authentication
|
|
1342
|
+
in the spec for a single request.
|
|
1343
|
+
Default is None
|
|
1344
|
+
async_req (bool): execute request asynchronously
|
|
1345
|
+
|
|
1346
|
+
Returns:
|
|
1347
|
+
RmAudienceSegmentIdEntityV1ListResponse
|
|
1348
|
+
If the method is called asynchronously, returns the request
|
|
1349
|
+
thread.
|
|
1350
|
+
"""
|
|
1351
|
+
kwargs['async_req'] = kwargs.get(
|
|
1352
|
+
'async_req', False
|
|
1353
|
+
)
|
|
1354
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1355
|
+
'_return_http_data_only', True
|
|
1356
|
+
)
|
|
1357
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1358
|
+
'_preload_content', True
|
|
1359
|
+
)
|
|
1360
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1361
|
+
'_request_timeout', None
|
|
1362
|
+
)
|
|
1363
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1364
|
+
'_check_input_type', True
|
|
1365
|
+
)
|
|
1366
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1367
|
+
'_check_return_type', True
|
|
1368
|
+
)
|
|
1369
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1370
|
+
'_spec_property_naming', False
|
|
1371
|
+
)
|
|
1372
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1373
|
+
'_content_type')
|
|
1374
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1375
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1376
|
+
kwargs['account_id'] = \
|
|
1377
|
+
account_id
|
|
1378
|
+
kwargs['rm_audience_bulk_delete_input_v1'] = \
|
|
1379
|
+
rm_audience_bulk_delete_input_v1
|
|
1380
|
+
return self.bulk_delete_audiences_endpoint.call_with_http_info(**kwargs)
|
|
1381
|
+
|
|
1382
|
+
def bulk_update_audience(
|
|
1383
|
+
self,
|
|
1384
|
+
account_id,
|
|
1385
|
+
rm_audience_bulk_update_input_v1,
|
|
1386
|
+
**kwargs
|
|
1387
|
+
):
|
|
1388
|
+
"""bulk_update_audience # noqa: E501
|
|
1389
|
+
|
|
1390
|
+
Updates the properties of all audiences with a valid configuration, and returns their IDs. For those that cannot be updated, one or multiple errors are returned. # noqa: E501
|
|
1391
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1392
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1393
|
+
|
|
1394
|
+
>>> thread = api.bulk_update_audience(account_id, rm_audience_bulk_update_input_v1, async_req=True)
|
|
1395
|
+
>>> result = thread.get()
|
|
1396
|
+
|
|
1397
|
+
Args:
|
|
1398
|
+
account_id (str): Account Id
|
|
1399
|
+
rm_audience_bulk_update_input_v1 (RmAudienceBulkUpdateInputV1):
|
|
1400
|
+
|
|
1401
|
+
Keyword Args:
|
|
1402
|
+
_return_http_data_only (bool): response data without head status
|
|
1403
|
+
code and headers. Default is True.
|
|
1404
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1405
|
+
will be returned without reading/decoding response data.
|
|
1406
|
+
Default is True.
|
|
1407
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1408
|
+
one number provided, it will be total request timeout. It can also
|
|
1409
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1410
|
+
Default is None.
|
|
1411
|
+
_check_input_type (bool): specifies if type checking
|
|
1412
|
+
should be done one the data sent to the server.
|
|
1413
|
+
Default is True.
|
|
1414
|
+
_check_return_type (bool): specifies if type checking
|
|
1415
|
+
should be done one the data received from the server.
|
|
1416
|
+
Default is True.
|
|
1417
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1418
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1419
|
+
False if the variable names in the input data
|
|
1420
|
+
are pythonic names, e.g. snake case (default)
|
|
1421
|
+
_content_type (str/None): force body content-type.
|
|
1422
|
+
Default is None and content-type will be predicted by allowed
|
|
1423
|
+
content-types and body.
|
|
1424
|
+
_host_index (int/None): specifies the index of the server
|
|
1425
|
+
that we want to use.
|
|
1426
|
+
Default is read from the configuration.
|
|
1427
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1428
|
+
request; this effectively ignores the authentication
|
|
1429
|
+
in the spec for a single request.
|
|
1430
|
+
Default is None
|
|
1431
|
+
async_req (bool): execute request asynchronously
|
|
1432
|
+
|
|
1433
|
+
Returns:
|
|
1434
|
+
RmAudienceEntityV1ListResponse
|
|
1435
|
+
If the method is called asynchronously, returns the request
|
|
1436
|
+
thread.
|
|
1437
|
+
"""
|
|
1438
|
+
kwargs['async_req'] = kwargs.get(
|
|
1439
|
+
'async_req', False
|
|
1440
|
+
)
|
|
1441
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1442
|
+
'_return_http_data_only', True
|
|
1443
|
+
)
|
|
1444
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1445
|
+
'_preload_content', True
|
|
1446
|
+
)
|
|
1447
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1448
|
+
'_request_timeout', None
|
|
1449
|
+
)
|
|
1450
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1451
|
+
'_check_input_type', True
|
|
1452
|
+
)
|
|
1453
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1454
|
+
'_check_return_type', True
|
|
1455
|
+
)
|
|
1456
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1457
|
+
'_spec_property_naming', False
|
|
1458
|
+
)
|
|
1459
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1460
|
+
'_content_type')
|
|
1461
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1462
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1463
|
+
kwargs['account_id'] = \
|
|
1464
|
+
account_id
|
|
1465
|
+
kwargs['rm_audience_bulk_update_input_v1'] = \
|
|
1466
|
+
rm_audience_bulk_update_input_v1
|
|
1467
|
+
return self.bulk_update_audience_endpoint.call_with_http_info(**kwargs)
|
|
1468
|
+
|
|
1469
|
+
def bulk_update_audience_segments(
|
|
1470
|
+
self,
|
|
1471
|
+
account_id,
|
|
1472
|
+
rm_audience_segment_bulk_update_input_v1,
|
|
1473
|
+
**kwargs
|
|
1474
|
+
):
|
|
1475
|
+
"""bulk_update_audience_segments # noqa: E501
|
|
1476
|
+
|
|
1477
|
+
Updates the properties of all segments with a valid configuration, and returns the full segments. For those that cannot be updated, one or multiple errors are returned. # noqa: E501
|
|
1478
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1479
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1480
|
+
|
|
1481
|
+
>>> thread = api.bulk_update_audience_segments(account_id, rm_audience_segment_bulk_update_input_v1, async_req=True)
|
|
587
1482
|
>>> result = thread.get()
|
|
588
1483
|
|
|
589
1484
|
Args:
|
|
590
|
-
account_id (str): Account
|
|
591
|
-
|
|
1485
|
+
account_id (str): Account id
|
|
1486
|
+
rm_audience_segment_bulk_update_input_v1 (RmAudienceSegmentBulkUpdateInputV1): Segment Update request
|
|
592
1487
|
|
|
593
1488
|
Keyword Args:
|
|
594
1489
|
_return_http_data_only (bool): response data without head status
|
|
@@ -654,28 +1549,28 @@ class AudienceApi(object):
|
|
|
654
1549
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
655
1550
|
kwargs['account_id'] = \
|
|
656
1551
|
account_id
|
|
657
|
-
kwargs['
|
|
658
|
-
|
|
659
|
-
return self.
|
|
1552
|
+
kwargs['rm_audience_segment_bulk_update_input_v1'] = \
|
|
1553
|
+
rm_audience_segment_bulk_update_input_v1
|
|
1554
|
+
return self.bulk_update_audience_segments_endpoint.call_with_http_info(**kwargs)
|
|
660
1555
|
|
|
661
|
-
def
|
|
1556
|
+
def compute_audience_segments_sizes(
|
|
662
1557
|
self,
|
|
663
1558
|
account_id,
|
|
664
|
-
|
|
1559
|
+
rm_audience_segment_compute_sizes_input_v1,
|
|
665
1560
|
**kwargs
|
|
666
1561
|
):
|
|
667
|
-
"""
|
|
1562
|
+
"""compute_audience_segments_sizes # noqa: E501
|
|
668
1563
|
|
|
669
|
-
|
|
1564
|
+
Gets the size of all segments. An error is returned for those whose size calculation is not supported. # noqa: E501
|
|
670
1565
|
This method makes a synchronous HTTP request by default. To make an
|
|
671
1566
|
asynchronous HTTP request, please pass async_req=True
|
|
672
1567
|
|
|
673
|
-
>>> thread = api.
|
|
1568
|
+
>>> thread = api.compute_audience_segments_sizes(account_id, rm_audience_segment_compute_sizes_input_v1, async_req=True)
|
|
674
1569
|
>>> result = thread.get()
|
|
675
1570
|
|
|
676
1571
|
Args:
|
|
677
1572
|
account_id (str): Account id
|
|
678
|
-
|
|
1573
|
+
rm_audience_segment_compute_sizes_input_v1 (RmAudienceSegmentComputeSizesInputV1):
|
|
679
1574
|
|
|
680
1575
|
Keyword Args:
|
|
681
1576
|
_return_http_data_only (bool): response data without head status
|
|
@@ -710,7 +1605,7 @@ class AudienceApi(object):
|
|
|
710
1605
|
async_req (bool): execute request asynchronously
|
|
711
1606
|
|
|
712
1607
|
Returns:
|
|
713
|
-
|
|
1608
|
+
RmAudienceSegmentSizeEntityV1ListResponse
|
|
714
1609
|
If the method is called asynchronously, returns the request
|
|
715
1610
|
thread.
|
|
716
1611
|
"""
|
|
@@ -741,28 +1636,28 @@ class AudienceApi(object):
|
|
|
741
1636
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
742
1637
|
kwargs['account_id'] = \
|
|
743
1638
|
account_id
|
|
744
|
-
kwargs['
|
|
745
|
-
|
|
746
|
-
return self.
|
|
1639
|
+
kwargs['rm_audience_segment_compute_sizes_input_v1'] = \
|
|
1640
|
+
rm_audience_segment_compute_sizes_input_v1
|
|
1641
|
+
return self.compute_audience_segments_sizes_endpoint.call_with_http_info(**kwargs)
|
|
747
1642
|
|
|
748
|
-
def
|
|
1643
|
+
def compute_audiences_sizes(
|
|
749
1644
|
self,
|
|
750
1645
|
account_id,
|
|
751
|
-
|
|
1646
|
+
rm_audience_compute_sizes_input_v1,
|
|
752
1647
|
**kwargs
|
|
753
1648
|
):
|
|
754
|
-
"""
|
|
1649
|
+
"""compute_audiences_sizes # noqa: E501
|
|
755
1650
|
|
|
756
|
-
|
|
1651
|
+
Gets the size of all audiences. An error is returned for those whose size calculation is not supported. # noqa: E501
|
|
757
1652
|
This method makes a synchronous HTTP request by default. To make an
|
|
758
1653
|
asynchronous HTTP request, please pass async_req=True
|
|
759
1654
|
|
|
760
|
-
>>> thread = api.
|
|
1655
|
+
>>> thread = api.compute_audiences_sizes(account_id, rm_audience_compute_sizes_input_v1, async_req=True)
|
|
761
1656
|
>>> result = thread.get()
|
|
762
1657
|
|
|
763
1658
|
Args:
|
|
764
|
-
account_id (str): Account
|
|
765
|
-
|
|
1659
|
+
account_id (str): Account Id
|
|
1660
|
+
rm_audience_compute_sizes_input_v1 (RmAudienceComputeSizesInputV1):
|
|
766
1661
|
|
|
767
1662
|
Keyword Args:
|
|
768
1663
|
_return_http_data_only (bool): response data without head status
|
|
@@ -797,7 +1692,7 @@ class AudienceApi(object):
|
|
|
797
1692
|
async_req (bool): execute request asynchronously
|
|
798
1693
|
|
|
799
1694
|
Returns:
|
|
800
|
-
|
|
1695
|
+
RmAudienceSizeEntityV1ListResponse
|
|
801
1696
|
If the method is called asynchronously, returns the request
|
|
802
1697
|
thread.
|
|
803
1698
|
"""
|
|
@@ -828,9 +1723,9 @@ class AudienceApi(object):
|
|
|
828
1723
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
829
1724
|
kwargs['account_id'] = \
|
|
830
1725
|
account_id
|
|
831
|
-
kwargs['
|
|
832
|
-
|
|
833
|
-
return self.
|
|
1726
|
+
kwargs['rm_audience_compute_sizes_input_v1'] = \
|
|
1727
|
+
rm_audience_compute_sizes_input_v1
|
|
1728
|
+
return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
|
|
834
1729
|
|
|
835
1730
|
def delete_contact_list_identifiers(
|
|
836
1731
|
self,
|
|
@@ -915,6 +1810,180 @@ class AudienceApi(object):
|
|
|
915
1810
|
audience_segment_id
|
|
916
1811
|
return self.delete_contact_list_identifiers_endpoint.call_with_http_info(**kwargs)
|
|
917
1812
|
|
|
1813
|
+
def estimate_audience_segment_size(
|
|
1814
|
+
self,
|
|
1815
|
+
account_id,
|
|
1816
|
+
rm_audience_segment_estimate_size_input_v1,
|
|
1817
|
+
**kwargs
|
|
1818
|
+
):
|
|
1819
|
+
"""estimate_audience_segment_size # noqa: E501
|
|
1820
|
+
|
|
1821
|
+
Gets the size estimation of a non existent segment. An error is returned when size calculation is not supported. # noqa: E501
|
|
1822
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1823
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1824
|
+
|
|
1825
|
+
>>> thread = api.estimate_audience_segment_size(account_id, rm_audience_segment_estimate_size_input_v1, async_req=True)
|
|
1826
|
+
>>> result = thread.get()
|
|
1827
|
+
|
|
1828
|
+
Args:
|
|
1829
|
+
account_id (str): Account Id
|
|
1830
|
+
rm_audience_segment_estimate_size_input_v1 (RmAudienceSegmentEstimateSizeInputV1):
|
|
1831
|
+
|
|
1832
|
+
Keyword Args:
|
|
1833
|
+
_return_http_data_only (bool): response data without head status
|
|
1834
|
+
code and headers. Default is True.
|
|
1835
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1836
|
+
will be returned without reading/decoding response data.
|
|
1837
|
+
Default is True.
|
|
1838
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1839
|
+
one number provided, it will be total request timeout. It can also
|
|
1840
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1841
|
+
Default is None.
|
|
1842
|
+
_check_input_type (bool): specifies if type checking
|
|
1843
|
+
should be done one the data sent to the server.
|
|
1844
|
+
Default is True.
|
|
1845
|
+
_check_return_type (bool): specifies if type checking
|
|
1846
|
+
should be done one the data received from the server.
|
|
1847
|
+
Default is True.
|
|
1848
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1849
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1850
|
+
False if the variable names in the input data
|
|
1851
|
+
are pythonic names, e.g. snake case (default)
|
|
1852
|
+
_content_type (str/None): force body content-type.
|
|
1853
|
+
Default is None and content-type will be predicted by allowed
|
|
1854
|
+
content-types and body.
|
|
1855
|
+
_host_index (int/None): specifies the index of the server
|
|
1856
|
+
that we want to use.
|
|
1857
|
+
Default is read from the configuration.
|
|
1858
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1859
|
+
request; this effectively ignores the authentication
|
|
1860
|
+
in the spec for a single request.
|
|
1861
|
+
Default is None
|
|
1862
|
+
async_req (bool): execute request asynchronously
|
|
1863
|
+
|
|
1864
|
+
Returns:
|
|
1865
|
+
RmAudienceSegmentSizeEstimationV1Response
|
|
1866
|
+
If the method is called asynchronously, returns the request
|
|
1867
|
+
thread.
|
|
1868
|
+
"""
|
|
1869
|
+
kwargs['async_req'] = kwargs.get(
|
|
1870
|
+
'async_req', False
|
|
1871
|
+
)
|
|
1872
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1873
|
+
'_return_http_data_only', True
|
|
1874
|
+
)
|
|
1875
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1876
|
+
'_preload_content', True
|
|
1877
|
+
)
|
|
1878
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1879
|
+
'_request_timeout', None
|
|
1880
|
+
)
|
|
1881
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1882
|
+
'_check_input_type', True
|
|
1883
|
+
)
|
|
1884
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1885
|
+
'_check_return_type', True
|
|
1886
|
+
)
|
|
1887
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1888
|
+
'_spec_property_naming', False
|
|
1889
|
+
)
|
|
1890
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1891
|
+
'_content_type')
|
|
1892
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1893
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1894
|
+
kwargs['account_id'] = \
|
|
1895
|
+
account_id
|
|
1896
|
+
kwargs['rm_audience_segment_estimate_size_input_v1'] = \
|
|
1897
|
+
rm_audience_segment_estimate_size_input_v1
|
|
1898
|
+
return self.estimate_audience_segment_size_endpoint.call_with_http_info(**kwargs)
|
|
1899
|
+
|
|
1900
|
+
def estimate_audience_size(
|
|
1901
|
+
self,
|
|
1902
|
+
account_id,
|
|
1903
|
+
rm_audience_estimate_size_input_v1,
|
|
1904
|
+
**kwargs
|
|
1905
|
+
):
|
|
1906
|
+
"""estimate_audience_size # noqa: E501
|
|
1907
|
+
|
|
1908
|
+
Gets the size estimation of a non existent audience. An error is returned when size calculation is not supported. # noqa: E501
|
|
1909
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1910
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1911
|
+
|
|
1912
|
+
>>> thread = api.estimate_audience_size(account_id, rm_audience_estimate_size_input_v1, async_req=True)
|
|
1913
|
+
>>> result = thread.get()
|
|
1914
|
+
|
|
1915
|
+
Args:
|
|
1916
|
+
account_id (str): Account Id
|
|
1917
|
+
rm_audience_estimate_size_input_v1 (RmAudienceEstimateSizeInputV1):
|
|
1918
|
+
|
|
1919
|
+
Keyword Args:
|
|
1920
|
+
_return_http_data_only (bool): response data without head status
|
|
1921
|
+
code and headers. Default is True.
|
|
1922
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1923
|
+
will be returned without reading/decoding response data.
|
|
1924
|
+
Default is True.
|
|
1925
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1926
|
+
one number provided, it will be total request timeout. It can also
|
|
1927
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1928
|
+
Default is None.
|
|
1929
|
+
_check_input_type (bool): specifies if type checking
|
|
1930
|
+
should be done one the data sent to the server.
|
|
1931
|
+
Default is True.
|
|
1932
|
+
_check_return_type (bool): specifies if type checking
|
|
1933
|
+
should be done one the data received from the server.
|
|
1934
|
+
Default is True.
|
|
1935
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1936
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1937
|
+
False if the variable names in the input data
|
|
1938
|
+
are pythonic names, e.g. snake case (default)
|
|
1939
|
+
_content_type (str/None): force body content-type.
|
|
1940
|
+
Default is None and content-type will be predicted by allowed
|
|
1941
|
+
content-types and body.
|
|
1942
|
+
_host_index (int/None): specifies the index of the server
|
|
1943
|
+
that we want to use.
|
|
1944
|
+
Default is read from the configuration.
|
|
1945
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1946
|
+
request; this effectively ignores the authentication
|
|
1947
|
+
in the spec for a single request.
|
|
1948
|
+
Default is None
|
|
1949
|
+
async_req (bool): execute request asynchronously
|
|
1950
|
+
|
|
1951
|
+
Returns:
|
|
1952
|
+
RmAudienceSizeEstimationV1Response
|
|
1953
|
+
If the method is called asynchronously, returns the request
|
|
1954
|
+
thread.
|
|
1955
|
+
"""
|
|
1956
|
+
kwargs['async_req'] = kwargs.get(
|
|
1957
|
+
'async_req', False
|
|
1958
|
+
)
|
|
1959
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1960
|
+
'_return_http_data_only', True
|
|
1961
|
+
)
|
|
1962
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1963
|
+
'_preload_content', True
|
|
1964
|
+
)
|
|
1965
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1966
|
+
'_request_timeout', None
|
|
1967
|
+
)
|
|
1968
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1969
|
+
'_check_input_type', True
|
|
1970
|
+
)
|
|
1971
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1972
|
+
'_check_return_type', True
|
|
1973
|
+
)
|
|
1974
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1975
|
+
'_spec_property_naming', False
|
|
1976
|
+
)
|
|
1977
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1978
|
+
'_content_type')
|
|
1979
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1980
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1981
|
+
kwargs['account_id'] = \
|
|
1982
|
+
account_id
|
|
1983
|
+
kwargs['rm_audience_estimate_size_input_v1'] = \
|
|
1984
|
+
rm_audience_estimate_size_input_v1
|
|
1985
|
+
return self.estimate_audience_size_endpoint.call_with_http_info(**kwargs)
|
|
1986
|
+
|
|
918
1987
|
def get_audience_segment_contact_list_statistics(
|
|
919
1988
|
self,
|
|
920
1989
|
account_id,
|