criteo-api-retailmedia-sdk 0.0.240626__py3-none-any.whl → 0.0.240731__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 +42 -629
- criteo_api_retailmedia_preview/api/audience_api.py +835 -58
- criteo_api_retailmedia_preview/api/balance_api.py +1146 -0
- criteo_api_retailmedia_preview/api/campaign_api.py +165 -158
- criteo_api_retailmedia_preview/api_client.py +4 -4
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/add_funds_to_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_seller_account_creation.py → add_funds_to_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +0 -4
- criteo_api_retailmedia_preview/model/async_accounts_report.py +2 -0
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +2 -0
- criteo_api_retailmedia_preview/model/async_line_items_report.py +2 -0
- criteo_api_retailmedia_preview/model/{insertion_order_history_change_data_capture.py → balance_history_change_data_capture_v1.py} +11 -11
- criteo_api_retailmedia_preview/model/balance_response_v2.py +351 -0
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +281 -0
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +271 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brand_account_creation.py → change_dates_of_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/{change_details.py → change_details_v1.py} +3 -3
- criteo_api_retailmedia_preview/model/change_details_v2.py +275 -0
- criteo_api_retailmedia_preview/model/common_problem.py +2 -2
- criteo_api_retailmedia_preview/model/create_balance_v2.py +302 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_retail_media_brands.py → create_balance_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/model/external_catalog_status.py +312 -0
- criteo_api_retailmedia_preview/model/insertion_order_history_change_data_capture_v2.py +303 -0
- criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_catalog_status_and_catalog_status.py +285 -0
- criteo_api_retailmedia_preview/model/json_api_body_without_id_of_seller_catalog_request_and_seller_catalog_request.py +279 -0
- criteo_api_retailmedia_preview/model/json_api_page_response_of_account.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_page_response_of_brand.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_page_response_of_retailer.py +8 -6
- criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request.py +269 -0
- criteo_api_retailmedia_preview/model/json_api_single_response_of_catalog_status.py +287 -0
- criteo_api_retailmedia_preview/model/{retail_media_seller.py → nillable_string.py} +14 -12
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +276 -0
- criteo_api_retailmedia_preview/model/{page_of_insertion_order_history_change_data_capture.py → page_of_insertion_order_history_change_data_capture_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +287 -0
- criteo_api_retailmedia_preview/model/resource_of_add_funds_to_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_balance_response_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_change_dates_of_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_create_balance_v2.py +277 -0
- criteo_api_retailmedia_preview/model/resource_of_update_balance_model_v2.py +277 -0
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +6 -6
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_create_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_delete_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_bulk_update_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +281 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brand_account_creation.py → rm_audience_segment_create_entity_v1_resource.py} +16 -9
- criteo_api_retailmedia_preview/model/{resource_of_retail_media_account.py → rm_audience_segment_delete_entity_v1_resource.py} +15 -14
- criteo_api_retailmedia_preview/model/{retail_media_account.py → rm_audience_segment_entity_v1.py} +52 -37
- criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_of_retail_media_seller.py → rm_audience_segment_entity_v1_list_response.py} +16 -9
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller_account_creation.py → rm_audience_segment_entity_v1_resource.py} +21 -10
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +287 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +281 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_seller.py → rm_audience_segment_id_entity_v1_resource.py} +18 -13
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +267 -0
- criteo_api_retailmedia_preview/model/{value_resource_of_retail_media_brands.py → rm_audience_segment_search_entity_v1_resource.py} +16 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/{retail_media_brand_account_creation.py → rm_audience_segment_search_metadata_v1.py} +22 -16
- criteo_api_retailmedia_preview/model/{retail_media_seller_account_creation.py → rm_audience_segment_update_entity_v1.py} +23 -16
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1_resource.py +277 -0
- criteo_api_retailmedia_preview/model/{retail_media_brands.py → rm_contact_list_create_v1.py} +21 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +271 -0
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_resource.py +277 -0
- criteo_api_retailmedia_preview/model/{resource_outcome_of_retail_media_account.py → rm_contact_list_statistics_entity_v1_response.py} +16 -9
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +275 -0
- criteo_api_retailmedia_preview/model/seller_catalog_request.py +269 -0
- criteo_api_retailmedia_preview/model/seller_identifier.py +275 -0
- criteo_api_retailmedia_preview/model/sku_data_preview.py +8 -6
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +8 -6
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +2 -0
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +2 -0
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +279 -0
- criteo_api_retailmedia_preview/model/{value_resource_collection_input_of_retail_media_seller.py → update_balance_model_v2_request.py} +16 -9
- criteo_api_retailmedia_preview/models/__init__.py +53 -19
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/RECORD +79 -44
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.240626.dist-info → criteo_api_retailmedia_sdk-0.0.240731.dist-info}/top_level.txt +0 -0
|
@@ -22,13 +22,7 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
24
|
from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
|
|
25
|
-
from criteo_api_retailmedia_preview.model.
|
|
26
|
-
from criteo_api_retailmedia_preview.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller
|
|
27
|
-
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller
|
|
28
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_brand_account_creation import ValueResourceInputOfRetailMediaBrandAccountCreation
|
|
29
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_brands import ValueResourceInputOfRetailMediaBrands
|
|
30
|
-
from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation
|
|
31
|
-
from criteo_api_retailmedia_preview.model.value_resource_of_retail_media_brands import ValueResourceOfRetailMediaBrands
|
|
25
|
+
from criteo_api_retailmedia_preview.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
|
|
32
26
|
|
|
33
27
|
|
|
34
28
|
class AccountsApi(object):
|
|
@@ -42,87 +36,25 @@ class AccountsApi(object):
|
|
|
42
36
|
if api_client is None:
|
|
43
37
|
api_client = ApiClient()
|
|
44
38
|
self.api_client = api_client
|
|
45
|
-
self.
|
|
39
|
+
self.get_api_v1_external_accounts_endpoint = _Endpoint(
|
|
46
40
|
settings={
|
|
47
|
-
'response_type': (
|
|
41
|
+
'response_type': (JsonApiPageResponseOfAccount,),
|
|
48
42
|
'auth': [
|
|
49
43
|
'oauth',
|
|
50
44
|
'oauth'
|
|
51
45
|
],
|
|
52
|
-
'endpoint_path': '/preview/retail-media/
|
|
53
|
-
'operation_id': '
|
|
54
|
-
'http_method': '
|
|
55
|
-
'servers': None,
|
|
56
|
-
},
|
|
57
|
-
params_map={
|
|
58
|
-
'all': [
|
|
59
|
-
'account_id',
|
|
60
|
-
'value_resource_input_of_retail_media_brands',
|
|
61
|
-
],
|
|
62
|
-
'required': [
|
|
63
|
-
'account_id',
|
|
64
|
-
],
|
|
65
|
-
'nullable': [
|
|
66
|
-
],
|
|
67
|
-
'enum': [
|
|
68
|
-
],
|
|
69
|
-
'validation': [
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
root_map={
|
|
73
|
-
'validations': {
|
|
74
|
-
},
|
|
75
|
-
'allowed_values': {
|
|
76
|
-
},
|
|
77
|
-
'openapi_types': {
|
|
78
|
-
'account_id':
|
|
79
|
-
(str,),
|
|
80
|
-
'value_resource_input_of_retail_media_brands':
|
|
81
|
-
(ValueResourceInputOfRetailMediaBrands,),
|
|
82
|
-
},
|
|
83
|
-
'attribute_map': {
|
|
84
|
-
'account_id': 'accountId',
|
|
85
|
-
},
|
|
86
|
-
'location_map': {
|
|
87
|
-
'account_id': 'path',
|
|
88
|
-
'value_resource_input_of_retail_media_brands': 'body',
|
|
89
|
-
},
|
|
90
|
-
'collection_format_map': {
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
headers_map={
|
|
94
|
-
'accept': [
|
|
95
|
-
'application/json'
|
|
96
|
-
],
|
|
97
|
-
'content_type': [
|
|
98
|
-
'application/json-patch+json',
|
|
99
|
-
'application/json',
|
|
100
|
-
'text/json',
|
|
101
|
-
'application/*+json'
|
|
102
|
-
]
|
|
103
|
-
},
|
|
104
|
-
api_client=api_client
|
|
105
|
-
)
|
|
106
|
-
self.create_private_market_demand_brand_account_endpoint = _Endpoint(
|
|
107
|
-
settings={
|
|
108
|
-
'response_type': (ResourceOutcomeOfRetailMediaAccount,),
|
|
109
|
-
'auth': [
|
|
110
|
-
'oauth',
|
|
111
|
-
'oauth'
|
|
112
|
-
],
|
|
113
|
-
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/create-brand-account',
|
|
114
|
-
'operation_id': 'create_private_market_demand_brand_account',
|
|
115
|
-
'http_method': 'POST',
|
|
46
|
+
'endpoint_path': '/preview/retail-media/accounts',
|
|
47
|
+
'operation_id': 'get_api_v1_external_accounts',
|
|
48
|
+
'http_method': 'GET',
|
|
116
49
|
'servers': None,
|
|
117
50
|
},
|
|
118
51
|
params_map={
|
|
119
52
|
'all': [
|
|
120
|
-
'
|
|
121
|
-
'
|
|
122
|
-
|
|
123
|
-
'required': [
|
|
124
|
-
'account_id',
|
|
53
|
+
'limit_to_id',
|
|
54
|
+
'page_index',
|
|
55
|
+
'page_size',
|
|
125
56
|
],
|
|
57
|
+
'required': [],
|
|
126
58
|
'nullable': [
|
|
127
59
|
],
|
|
128
60
|
'enum': [
|
|
@@ -136,92 +68,34 @@ class AccountsApi(object):
|
|
|
136
68
|
'allowed_values': {
|
|
137
69
|
},
|
|
138
70
|
'openapi_types': {
|
|
139
|
-
'
|
|
140
|
-
(str,),
|
|
141
|
-
'
|
|
142
|
-
(
|
|
71
|
+
'limit_to_id':
|
|
72
|
+
([str],),
|
|
73
|
+
'page_index':
|
|
74
|
+
(int,),
|
|
75
|
+
'page_size':
|
|
76
|
+
(int,),
|
|
143
77
|
},
|
|
144
78
|
'attribute_map': {
|
|
145
|
-
'
|
|
79
|
+
'limit_to_id': 'limitToId',
|
|
80
|
+
'page_index': 'pageIndex',
|
|
81
|
+
'page_size': 'pageSize',
|
|
146
82
|
},
|
|
147
83
|
'location_map': {
|
|
148
|
-
'
|
|
149
|
-
'
|
|
84
|
+
'limit_to_id': 'query',
|
|
85
|
+
'page_index': 'query',
|
|
86
|
+
'page_size': 'query',
|
|
150
87
|
},
|
|
151
88
|
'collection_format_map': {
|
|
89
|
+
'limit_to_id': 'multi',
|
|
152
90
|
}
|
|
153
91
|
},
|
|
154
92
|
headers_map={
|
|
155
93
|
'accept': [
|
|
156
|
-
'
|
|
157
|
-
],
|
|
158
|
-
'content_type': [
|
|
159
|
-
'application/json-patch+json',
|
|
94
|
+
'text/plain',
|
|
160
95
|
'application/json',
|
|
161
|
-
'text/json'
|
|
162
|
-
'application/*+json'
|
|
163
|
-
]
|
|
164
|
-
},
|
|
165
|
-
api_client=api_client
|
|
166
|
-
)
|
|
167
|
-
self.create_private_market_demand_seller_account_endpoint = _Endpoint(
|
|
168
|
-
settings={
|
|
169
|
-
'response_type': (ResourceOutcomeOfRetailMediaAccount,),
|
|
170
|
-
'auth': [
|
|
171
|
-
'oauth',
|
|
172
|
-
'oauth'
|
|
173
|
-
],
|
|
174
|
-
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/create-seller-account',
|
|
175
|
-
'operation_id': 'create_private_market_demand_seller_account',
|
|
176
|
-
'http_method': 'POST',
|
|
177
|
-
'servers': None,
|
|
178
|
-
},
|
|
179
|
-
params_map={
|
|
180
|
-
'all': [
|
|
181
|
-
'account_id',
|
|
182
|
-
'value_resource_input_of_retail_media_seller_account_creation',
|
|
183
|
-
],
|
|
184
|
-
'required': [
|
|
185
|
-
'account_id',
|
|
186
|
-
],
|
|
187
|
-
'nullable': [
|
|
188
|
-
],
|
|
189
|
-
'enum': [
|
|
190
|
-
],
|
|
191
|
-
'validation': [
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
root_map={
|
|
195
|
-
'validations': {
|
|
196
|
-
},
|
|
197
|
-
'allowed_values': {
|
|
198
|
-
},
|
|
199
|
-
'openapi_types': {
|
|
200
|
-
'account_id':
|
|
201
|
-
(str,),
|
|
202
|
-
'value_resource_input_of_retail_media_seller_account_creation':
|
|
203
|
-
(ValueResourceInputOfRetailMediaSellerAccountCreation,),
|
|
204
|
-
},
|
|
205
|
-
'attribute_map': {
|
|
206
|
-
'account_id': 'accountId',
|
|
207
|
-
},
|
|
208
|
-
'location_map': {
|
|
209
|
-
'account_id': 'path',
|
|
210
|
-
'value_resource_input_of_retail_media_seller_account_creation': 'body',
|
|
211
|
-
},
|
|
212
|
-
'collection_format_map': {
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
headers_map={
|
|
216
|
-
'accept': [
|
|
217
|
-
'application/json'
|
|
96
|
+
'text/json'
|
|
218
97
|
],
|
|
219
|
-
'content_type': [
|
|
220
|
-
'application/json-patch+json',
|
|
221
|
-
'application/json',
|
|
222
|
-
'text/json',
|
|
223
|
-
'application/*+json'
|
|
224
|
-
]
|
|
98
|
+
'content_type': [],
|
|
225
99
|
},
|
|
226
100
|
api_client=api_client
|
|
227
101
|
)
|
|
@@ -284,148 +158,25 @@ class AccountsApi(object):
|
|
|
284
158
|
},
|
|
285
159
|
api_client=api_client
|
|
286
160
|
)
|
|
287
|
-
self.remove_brands_endpoint = _Endpoint(
|
|
288
|
-
settings={
|
|
289
|
-
'response_type': (ValueResourceOfRetailMediaBrands,),
|
|
290
|
-
'auth': [
|
|
291
|
-
'oauth',
|
|
292
|
-
'oauth'
|
|
293
|
-
],
|
|
294
|
-
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/brands/remove',
|
|
295
|
-
'operation_id': 'remove_brands',
|
|
296
|
-
'http_method': 'POST',
|
|
297
|
-
'servers': None,
|
|
298
|
-
},
|
|
299
|
-
params_map={
|
|
300
|
-
'all': [
|
|
301
|
-
'account_id',
|
|
302
|
-
'value_resource_input_of_retail_media_brands',
|
|
303
|
-
],
|
|
304
|
-
'required': [
|
|
305
|
-
'account_id',
|
|
306
|
-
],
|
|
307
|
-
'nullable': [
|
|
308
|
-
],
|
|
309
|
-
'enum': [
|
|
310
|
-
],
|
|
311
|
-
'validation': [
|
|
312
|
-
]
|
|
313
|
-
},
|
|
314
|
-
root_map={
|
|
315
|
-
'validations': {
|
|
316
|
-
},
|
|
317
|
-
'allowed_values': {
|
|
318
|
-
},
|
|
319
|
-
'openapi_types': {
|
|
320
|
-
'account_id':
|
|
321
|
-
(str,),
|
|
322
|
-
'value_resource_input_of_retail_media_brands':
|
|
323
|
-
(ValueResourceInputOfRetailMediaBrands,),
|
|
324
|
-
},
|
|
325
|
-
'attribute_map': {
|
|
326
|
-
'account_id': 'accountId',
|
|
327
|
-
},
|
|
328
|
-
'location_map': {
|
|
329
|
-
'account_id': 'path',
|
|
330
|
-
'value_resource_input_of_retail_media_brands': 'body',
|
|
331
|
-
},
|
|
332
|
-
'collection_format_map': {
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
headers_map={
|
|
336
|
-
'accept': [
|
|
337
|
-
'application/json'
|
|
338
|
-
],
|
|
339
|
-
'content_type': [
|
|
340
|
-
'application/json-patch+json',
|
|
341
|
-
'application/json',
|
|
342
|
-
'text/json',
|
|
343
|
-
'application/*+json'
|
|
344
|
-
]
|
|
345
|
-
},
|
|
346
|
-
api_client=api_client
|
|
347
|
-
)
|
|
348
|
-
self.update_sellers_endpoint = _Endpoint(
|
|
349
|
-
settings={
|
|
350
|
-
'response_type': (ValueResourceCollectionOutcomeOfRetailMediaSeller,),
|
|
351
|
-
'auth': [
|
|
352
|
-
'oauth',
|
|
353
|
-
'oauth'
|
|
354
|
-
],
|
|
355
|
-
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/sellers',
|
|
356
|
-
'operation_id': 'update_sellers',
|
|
357
|
-
'http_method': 'PUT',
|
|
358
|
-
'servers': None,
|
|
359
|
-
},
|
|
360
|
-
params_map={
|
|
361
|
-
'all': [
|
|
362
|
-
'account_id',
|
|
363
|
-
'value_resource_collection_input_of_retail_media_seller',
|
|
364
|
-
],
|
|
365
|
-
'required': [
|
|
366
|
-
'account_id',
|
|
367
|
-
],
|
|
368
|
-
'nullable': [
|
|
369
|
-
],
|
|
370
|
-
'enum': [
|
|
371
|
-
],
|
|
372
|
-
'validation': [
|
|
373
|
-
]
|
|
374
|
-
},
|
|
375
|
-
root_map={
|
|
376
|
-
'validations': {
|
|
377
|
-
},
|
|
378
|
-
'allowed_values': {
|
|
379
|
-
},
|
|
380
|
-
'openapi_types': {
|
|
381
|
-
'account_id':
|
|
382
|
-
(str,),
|
|
383
|
-
'value_resource_collection_input_of_retail_media_seller':
|
|
384
|
-
(ValueResourceCollectionInputOfRetailMediaSeller,),
|
|
385
|
-
},
|
|
386
|
-
'attribute_map': {
|
|
387
|
-
'account_id': 'accountId',
|
|
388
|
-
},
|
|
389
|
-
'location_map': {
|
|
390
|
-
'account_id': 'path',
|
|
391
|
-
'value_resource_collection_input_of_retail_media_seller': 'body',
|
|
392
|
-
},
|
|
393
|
-
'collection_format_map': {
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
headers_map={
|
|
397
|
-
'accept': [
|
|
398
|
-
'application/json'
|
|
399
|
-
],
|
|
400
|
-
'content_type': [
|
|
401
|
-
'application/json-patch+json',
|
|
402
|
-
'application/json',
|
|
403
|
-
'text/json',
|
|
404
|
-
'application/*+json'
|
|
405
|
-
]
|
|
406
|
-
},
|
|
407
|
-
api_client=api_client
|
|
408
|
-
)
|
|
409
161
|
|
|
410
|
-
def
|
|
162
|
+
def get_api_v1_external_accounts(
|
|
411
163
|
self,
|
|
412
|
-
account_id,
|
|
413
164
|
**kwargs
|
|
414
165
|
):
|
|
415
|
-
"""
|
|
166
|
+
"""get_api_v1_external_accounts # noqa: E501
|
|
416
167
|
|
|
417
|
-
|
|
168
|
+
Gets page of account objects that the current user can access # noqa: E501
|
|
418
169
|
This method makes a synchronous HTTP request by default. To make an
|
|
419
170
|
asynchronous HTTP request, please pass async_req=True
|
|
420
171
|
|
|
421
|
-
>>> thread = api.
|
|
172
|
+
>>> thread = api.get_api_v1_external_accounts(async_req=True)
|
|
422
173
|
>>> result = thread.get()
|
|
423
174
|
|
|
424
|
-
Args:
|
|
425
|
-
account_id (str): the account id to update
|
|
426
175
|
|
|
427
176
|
Keyword Args:
|
|
428
|
-
|
|
177
|
+
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
178
|
+
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional] if omitted the server will use the default value of 0
|
|
179
|
+
page_size (int): The maximum number of items you would like to receive in this request. [optional] if omitted the server will use the default value of 25
|
|
429
180
|
_return_http_data_only (bool): response data without head status
|
|
430
181
|
code and headers. Default is True.
|
|
431
182
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -458,7 +209,7 @@ class AccountsApi(object):
|
|
|
458
209
|
async_req (bool): execute request asynchronously
|
|
459
210
|
|
|
460
211
|
Returns:
|
|
461
|
-
|
|
212
|
+
JsonApiPageResponseOfAccount
|
|
462
213
|
If the method is called asynchronously, returns the request
|
|
463
214
|
thread.
|
|
464
215
|
"""
|
|
@@ -487,29 +238,27 @@ class AccountsApi(object):
|
|
|
487
238
|
'_content_type')
|
|
488
239
|
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
489
240
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
490
|
-
kwargs
|
|
491
|
-
account_id
|
|
492
|
-
return self.add_brands_endpoint.call_with_http_info(**kwargs)
|
|
241
|
+
return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
|
|
493
242
|
|
|
494
|
-
def
|
|
243
|
+
def grant_consent(
|
|
495
244
|
self,
|
|
496
245
|
account_id,
|
|
497
246
|
**kwargs
|
|
498
247
|
):
|
|
499
|
-
"""
|
|
248
|
+
""" # noqa: E501
|
|
500
249
|
|
|
501
|
-
|
|
250
|
+
Grant consent to a business application on behalf of a Private Market demand account # noqa: E501
|
|
502
251
|
This method makes a synchronous HTTP request by default. To make an
|
|
503
252
|
asynchronous HTTP request, please pass async_req=True
|
|
504
253
|
|
|
505
|
-
>>> thread = api.
|
|
254
|
+
>>> thread = api.grant_consent(account_id, async_req=True)
|
|
506
255
|
>>> result = thread.get()
|
|
507
256
|
|
|
508
257
|
Args:
|
|
509
|
-
account_id (str):
|
|
258
|
+
account_id (str): The demand account ID on which to grant consent
|
|
510
259
|
|
|
511
260
|
Keyword Args:
|
|
512
|
-
|
|
261
|
+
grant_consent_input (GrantConsentInput): [optional]
|
|
513
262
|
_return_http_data_only (bool): response data without head status
|
|
514
263
|
code and headers. Default is True.
|
|
515
264
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -542,175 +291,7 @@ class AccountsApi(object):
|
|
|
542
291
|
async_req (bool): execute request asynchronously
|
|
543
292
|
|
|
544
293
|
Returns:
|
|
545
|
-
|
|
546
|
-
If the method is called asynchronously, returns the request
|
|
547
|
-
thread.
|
|
548
|
-
"""
|
|
549
|
-
kwargs['async_req'] = kwargs.get(
|
|
550
|
-
'async_req', False
|
|
551
|
-
)
|
|
552
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
553
|
-
'_return_http_data_only', True
|
|
554
|
-
)
|
|
555
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
556
|
-
'_preload_content', True
|
|
557
|
-
)
|
|
558
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
559
|
-
'_request_timeout', None
|
|
560
|
-
)
|
|
561
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
562
|
-
'_check_input_type', True
|
|
563
|
-
)
|
|
564
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
565
|
-
'_check_return_type', True
|
|
566
|
-
)
|
|
567
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
568
|
-
'_spec_property_naming', False
|
|
569
|
-
)
|
|
570
|
-
kwargs['_content_type'] = kwargs.get(
|
|
571
|
-
'_content_type')
|
|
572
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
573
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
574
|
-
kwargs['account_id'] = \
|
|
575
|
-
account_id
|
|
576
|
-
return self.create_private_market_demand_brand_account_endpoint.call_with_http_info(**kwargs)
|
|
577
|
-
|
|
578
|
-
def create_private_market_demand_seller_account(
|
|
579
|
-
self,
|
|
580
|
-
account_id,
|
|
581
|
-
**kwargs
|
|
582
|
-
):
|
|
583
|
-
"""create_private_market_demand_seller_account # noqa: E501
|
|
584
|
-
|
|
585
|
-
Creates a new child Demand Seller Account for the provided parent private market account # noqa: E501
|
|
586
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
587
|
-
asynchronous HTTP request, please pass async_req=True
|
|
588
|
-
|
|
589
|
-
>>> thread = api.create_private_market_demand_seller_account(account_id, async_req=True)
|
|
590
|
-
>>> result = thread.get()
|
|
591
|
-
|
|
592
|
-
Args:
|
|
593
|
-
account_id (str): Account Id for the parent private market account
|
|
594
|
-
|
|
595
|
-
Keyword Args:
|
|
596
|
-
value_resource_input_of_retail_media_seller_account_creation (ValueResourceInputOfRetailMediaSellerAccountCreation): Initial creation and configuration options for the new account. [optional]
|
|
597
|
-
_return_http_data_only (bool): response data without head status
|
|
598
|
-
code and headers. Default is True.
|
|
599
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
600
|
-
will be returned without reading/decoding response data.
|
|
601
|
-
Default is True.
|
|
602
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
603
|
-
one number provided, it will be total request timeout. It can also
|
|
604
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
605
|
-
Default is None.
|
|
606
|
-
_check_input_type (bool): specifies if type checking
|
|
607
|
-
should be done one the data sent to the server.
|
|
608
|
-
Default is True.
|
|
609
|
-
_check_return_type (bool): specifies if type checking
|
|
610
|
-
should be done one the data received from the server.
|
|
611
|
-
Default is True.
|
|
612
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
613
|
-
are serialized names, as specified in the OpenAPI document.
|
|
614
|
-
False if the variable names in the input data
|
|
615
|
-
are pythonic names, e.g. snake case (default)
|
|
616
|
-
_content_type (str/None): force body content-type.
|
|
617
|
-
Default is None and content-type will be predicted by allowed
|
|
618
|
-
content-types and body.
|
|
619
|
-
_host_index (int/None): specifies the index of the server
|
|
620
|
-
that we want to use.
|
|
621
|
-
Default is read from the configuration.
|
|
622
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
623
|
-
request; this effectively ignores the authentication
|
|
624
|
-
in the spec for a single request.
|
|
625
|
-
Default is None
|
|
626
|
-
async_req (bool): execute request asynchronously
|
|
627
|
-
|
|
628
|
-
Returns:
|
|
629
|
-
ResourceOutcomeOfRetailMediaAccount
|
|
630
|
-
If the method is called asynchronously, returns the request
|
|
631
|
-
thread.
|
|
632
|
-
"""
|
|
633
|
-
kwargs['async_req'] = kwargs.get(
|
|
634
|
-
'async_req', False
|
|
635
|
-
)
|
|
636
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
637
|
-
'_return_http_data_only', True
|
|
638
|
-
)
|
|
639
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
640
|
-
'_preload_content', True
|
|
641
|
-
)
|
|
642
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
643
|
-
'_request_timeout', None
|
|
644
|
-
)
|
|
645
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
646
|
-
'_check_input_type', True
|
|
647
|
-
)
|
|
648
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
649
|
-
'_check_return_type', True
|
|
650
|
-
)
|
|
651
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
652
|
-
'_spec_property_naming', False
|
|
653
|
-
)
|
|
654
|
-
kwargs['_content_type'] = kwargs.get(
|
|
655
|
-
'_content_type')
|
|
656
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
657
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
658
|
-
kwargs['account_id'] = \
|
|
659
|
-
account_id
|
|
660
|
-
return self.create_private_market_demand_seller_account_endpoint.call_with_http_info(**kwargs)
|
|
661
|
-
|
|
662
|
-
def grant_consent(
|
|
663
|
-
self,
|
|
664
|
-
account_id,
|
|
665
|
-
**kwargs
|
|
666
|
-
):
|
|
667
|
-
"""grant_consent # noqa: E501
|
|
668
|
-
|
|
669
|
-
Grant consent to a business application on behalf of a Private Market demand account # noqa: E501
|
|
670
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
671
|
-
asynchronous HTTP request, please pass async_req=True
|
|
672
|
-
|
|
673
|
-
>>> thread = api.grant_consent(account_id, async_req=True)
|
|
674
|
-
>>> result = thread.get()
|
|
675
|
-
|
|
676
|
-
Args:
|
|
677
|
-
account_id (str): The demand account ID on which to grant consent
|
|
678
|
-
|
|
679
|
-
Keyword Args:
|
|
680
|
-
grant_consent_input (GrantConsentInput): [optional]
|
|
681
|
-
_return_http_data_only (bool): response data without head status
|
|
682
|
-
code and headers. Default is True.
|
|
683
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
684
|
-
will be returned without reading/decoding response data.
|
|
685
|
-
Default is True.
|
|
686
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
687
|
-
one number provided, it will be total request timeout. It can also
|
|
688
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
689
|
-
Default is None.
|
|
690
|
-
_check_input_type (bool): specifies if type checking
|
|
691
|
-
should be done one the data sent to the server.
|
|
692
|
-
Default is True.
|
|
693
|
-
_check_return_type (bool): specifies if type checking
|
|
694
|
-
should be done one the data received from the server.
|
|
695
|
-
Default is True.
|
|
696
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
697
|
-
are serialized names, as specified in the OpenAPI document.
|
|
698
|
-
False if the variable names in the input data
|
|
699
|
-
are pythonic names, e.g. snake case (default)
|
|
700
|
-
_content_type (str/None): force body content-type.
|
|
701
|
-
Default is None and content-type will be predicted by allowed
|
|
702
|
-
content-types and body.
|
|
703
|
-
_host_index (int/None): specifies the index of the server
|
|
704
|
-
that we want to use.
|
|
705
|
-
Default is read from the configuration.
|
|
706
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
707
|
-
request; this effectively ignores the authentication
|
|
708
|
-
in the spec for a single request.
|
|
709
|
-
Default is None
|
|
710
|
-
async_req (bool): execute request asynchronously
|
|
711
|
-
|
|
712
|
-
Returns:
|
|
713
|
-
None
|
|
294
|
+
None
|
|
714
295
|
If the method is called asynchronously, returns the request
|
|
715
296
|
thread.
|
|
716
297
|
"""
|
|
@@ -743,171 +324,3 @@ class AccountsApi(object):
|
|
|
743
324
|
account_id
|
|
744
325
|
return self.grant_consent_endpoint.call_with_http_info(**kwargs)
|
|
745
326
|
|
|
746
|
-
def remove_brands(
|
|
747
|
-
self,
|
|
748
|
-
account_id,
|
|
749
|
-
**kwargs
|
|
750
|
-
):
|
|
751
|
-
"""remove_brands # noqa: E501
|
|
752
|
-
|
|
753
|
-
Remove a brand from an account # noqa: E501
|
|
754
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
755
|
-
asynchronous HTTP request, please pass async_req=True
|
|
756
|
-
|
|
757
|
-
>>> thread = api.remove_brands(account_id, async_req=True)
|
|
758
|
-
>>> result = thread.get()
|
|
759
|
-
|
|
760
|
-
Args:
|
|
761
|
-
account_id (str): the account id to update
|
|
762
|
-
|
|
763
|
-
Keyword Args:
|
|
764
|
-
value_resource_input_of_retail_media_brands (ValueResourceInputOfRetailMediaBrands): [optional]
|
|
765
|
-
_return_http_data_only (bool): response data without head status
|
|
766
|
-
code and headers. Default is True.
|
|
767
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
768
|
-
will be returned without reading/decoding response data.
|
|
769
|
-
Default is True.
|
|
770
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
771
|
-
one number provided, it will be total request timeout. It can also
|
|
772
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
773
|
-
Default is None.
|
|
774
|
-
_check_input_type (bool): specifies if type checking
|
|
775
|
-
should be done one the data sent to the server.
|
|
776
|
-
Default is True.
|
|
777
|
-
_check_return_type (bool): specifies if type checking
|
|
778
|
-
should be done one the data received from the server.
|
|
779
|
-
Default is True.
|
|
780
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
781
|
-
are serialized names, as specified in the OpenAPI document.
|
|
782
|
-
False if the variable names in the input data
|
|
783
|
-
are pythonic names, e.g. snake case (default)
|
|
784
|
-
_content_type (str/None): force body content-type.
|
|
785
|
-
Default is None and content-type will be predicted by allowed
|
|
786
|
-
content-types and body.
|
|
787
|
-
_host_index (int/None): specifies the index of the server
|
|
788
|
-
that we want to use.
|
|
789
|
-
Default is read from the configuration.
|
|
790
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
791
|
-
request; this effectively ignores the authentication
|
|
792
|
-
in the spec for a single request.
|
|
793
|
-
Default is None
|
|
794
|
-
async_req (bool): execute request asynchronously
|
|
795
|
-
|
|
796
|
-
Returns:
|
|
797
|
-
ValueResourceOfRetailMediaBrands
|
|
798
|
-
If the method is called asynchronously, returns the request
|
|
799
|
-
thread.
|
|
800
|
-
"""
|
|
801
|
-
kwargs['async_req'] = kwargs.get(
|
|
802
|
-
'async_req', False
|
|
803
|
-
)
|
|
804
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
805
|
-
'_return_http_data_only', True
|
|
806
|
-
)
|
|
807
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
808
|
-
'_preload_content', True
|
|
809
|
-
)
|
|
810
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
811
|
-
'_request_timeout', None
|
|
812
|
-
)
|
|
813
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
814
|
-
'_check_input_type', True
|
|
815
|
-
)
|
|
816
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
817
|
-
'_check_return_type', True
|
|
818
|
-
)
|
|
819
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
820
|
-
'_spec_property_naming', False
|
|
821
|
-
)
|
|
822
|
-
kwargs['_content_type'] = kwargs.get(
|
|
823
|
-
'_content_type')
|
|
824
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
825
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
826
|
-
kwargs['account_id'] = \
|
|
827
|
-
account_id
|
|
828
|
-
return self.remove_brands_endpoint.call_with_http_info(**kwargs)
|
|
829
|
-
|
|
830
|
-
def update_sellers(
|
|
831
|
-
self,
|
|
832
|
-
account_id,
|
|
833
|
-
**kwargs
|
|
834
|
-
):
|
|
835
|
-
"""update_sellers # noqa: E501
|
|
836
|
-
|
|
837
|
-
replace the sellers assoiated with an account # noqa: E501
|
|
838
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
839
|
-
asynchronous HTTP request, please pass async_req=True
|
|
840
|
-
|
|
841
|
-
>>> thread = api.update_sellers(account_id, async_req=True)
|
|
842
|
-
>>> result = thread.get()
|
|
843
|
-
|
|
844
|
-
Args:
|
|
845
|
-
account_id (str): the account id to update
|
|
846
|
-
|
|
847
|
-
Keyword Args:
|
|
848
|
-
value_resource_collection_input_of_retail_media_seller (ValueResourceCollectionInputOfRetailMediaSeller): sellers to associate. [optional]
|
|
849
|
-
_return_http_data_only (bool): response data without head status
|
|
850
|
-
code and headers. Default is True.
|
|
851
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
852
|
-
will be returned without reading/decoding response data.
|
|
853
|
-
Default is True.
|
|
854
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
855
|
-
one number provided, it will be total request timeout. It can also
|
|
856
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
857
|
-
Default is None.
|
|
858
|
-
_check_input_type (bool): specifies if type checking
|
|
859
|
-
should be done one the data sent to the server.
|
|
860
|
-
Default is True.
|
|
861
|
-
_check_return_type (bool): specifies if type checking
|
|
862
|
-
should be done one the data received from the server.
|
|
863
|
-
Default is True.
|
|
864
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
865
|
-
are serialized names, as specified in the OpenAPI document.
|
|
866
|
-
False if the variable names in the input data
|
|
867
|
-
are pythonic names, e.g. snake case (default)
|
|
868
|
-
_content_type (str/None): force body content-type.
|
|
869
|
-
Default is None and content-type will be predicted by allowed
|
|
870
|
-
content-types and body.
|
|
871
|
-
_host_index (int/None): specifies the index of the server
|
|
872
|
-
that we want to use.
|
|
873
|
-
Default is read from the configuration.
|
|
874
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
875
|
-
request; this effectively ignores the authentication
|
|
876
|
-
in the spec for a single request.
|
|
877
|
-
Default is None
|
|
878
|
-
async_req (bool): execute request asynchronously
|
|
879
|
-
|
|
880
|
-
Returns:
|
|
881
|
-
ValueResourceCollectionOutcomeOfRetailMediaSeller
|
|
882
|
-
If the method is called asynchronously, returns the request
|
|
883
|
-
thread.
|
|
884
|
-
"""
|
|
885
|
-
kwargs['async_req'] = kwargs.get(
|
|
886
|
-
'async_req', False
|
|
887
|
-
)
|
|
888
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
889
|
-
'_return_http_data_only', True
|
|
890
|
-
)
|
|
891
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
892
|
-
'_preload_content', True
|
|
893
|
-
)
|
|
894
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
895
|
-
'_request_timeout', None
|
|
896
|
-
)
|
|
897
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
898
|
-
'_check_input_type', True
|
|
899
|
-
)
|
|
900
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
901
|
-
'_check_return_type', True
|
|
902
|
-
)
|
|
903
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
904
|
-
'_spec_property_naming', False
|
|
905
|
-
)
|
|
906
|
-
kwargs['_content_type'] = kwargs.get(
|
|
907
|
-
'_content_type')
|
|
908
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
909
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
910
|
-
kwargs['account_id'] = \
|
|
911
|
-
account_id
|
|
912
|
-
return self.update_sellers_endpoint.call_with_http_info(**kwargs)
|
|
913
|
-
|