criteo-api-retailmedia-sdk 0.0.240731__py3-none-any.whl → 0.0.241029__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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +442 -0
- criteo_api_retailmedia_preview/api/analytics_api.py +3 -3
- criteo_api_retailmedia_preview/api/audience_api.py +89 -232
- criteo_api_retailmedia_preview/api/balance_api.py +4 -16
- criteo_api_retailmedia_preview/api/campaign_api.py +10 -574
- criteo_api_retailmedia_preview/api/on_site_recommendation_api.py +186 -0
- 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/balance_response_v2.py +10 -10
- criteo_api_retailmedia_preview/model/bot_message.py +277 -0
- criteo_api_retailmedia_preview/model/botmessage.py +329 -0
- criteo_api_retailmedia_preview/model/create_balance_v2.py +6 -6
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2_list_response.py → entity_resource_collection_outcome_of_retail_media_account.py} +8 -8
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_resource.py → entity_resource_of_retail_media_account.py} +9 -18
- criteo_api_retailmedia_preview/model/external_account.py +4 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2.py → external_retail_media_account.py} +54 -32
- criteo_api_retailmedia_preview/model/http_validation_error.py +269 -0
- criteo_api_retailmedia_preview/model/inbot_discussion.py +272 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_segment_customer_list.py → inbot_discussion_body_model.py} +17 -17
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_user_behavior_details_v2.py → inbot_discussion_data_instance_model.py} +17 -17
- criteo_api_retailmedia_preview/model/location_inner.py +259 -0
- criteo_api_retailmedia_preview/model/message.py +273 -0
- criteo_api_retailmedia_preview/model/message_body_model.py +275 -0
- criteo_api_retailmedia_preview/model/message_data_instance_model.py +279 -0
- criteo_api_retailmedia_preview/model/message_error.py +275 -0
- criteo_api_retailmedia_preview/model/product.py +4 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_segment_user_behavior_v1.py → product_recommendation.py} +46 -47
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +6 -4
- criteo_api_retailmedia_preview/model/report_detail_warning.py +285 -0
- criteo_api_retailmedia_preview/model/report_detail_warnings.py +281 -0
- criteo_api_retailmedia_preview/model/report_ok_response.py +16 -2
- criteo_api_retailmedia_preview/model/resource_of_retail_media_account.py +270 -0
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_line_item_budget_overrides.py → resource_outcome_of_retail_media_account.py} +8 -8
- criteo_api_retailmedia_preview/model/retail_media_account.py +301 -0
- criteo_api_retailmedia_preview/model/retail_media_seller.py +261 -0
- criteo_api_retailmedia_preview/model/retail_media_seller_account_creation.py +274 -0
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +275 -0
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +307 -0
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v2_resource.py → rm_audience_entity_v1_resource.py} +8 -8
- criteo_api_retailmedia_preview/model/{rm_legacy_audience_get_entity_v1_list_response.py → rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py} +14 -8
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +271 -0
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +273 -0
- criteo_api_retailmedia_preview/model/rm_audience_search_input_v1.py +269 -0
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +271 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +17 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +11 -0
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +10 -0
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +16 -5
- criteo_api_retailmedia_preview/model/{rm_legacy_segment_user_behavior_v2.py → rm_events_v1.py} +41 -49
- criteo_api_retailmedia_preview/model/validation_error.py +287 -0
- criteo_api_retailmedia_preview/model/{value_resource_input_of_campaign_budget_overrides.py → value_resource_collection_input_of_retail_media_seller.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_outcome_of_campaign_budget_overrides.py → value_resource_collection_outcome_of_retail_media_seller.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_input_of_line_item_budget_overrides.py → value_resource_input_of_retail_media_seller_account_creation.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_of_campaign_budget_overrides.py → value_resource_of_retail_media_seller.py} +8 -8
- criteo_api_retailmedia_preview/model/{value_resource_of_line_item_budget_overrides.py → value_resource_of_retail_media_seller_account_creation.py} +8 -8
- criteo_api_retailmedia_preview/models/__init__.py +37 -22
- {criteo_api_retailmedia_sdk-0.0.240731.dist-info → criteo_api_retailmedia_sdk-0.0.241029.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.240731.dist-info → criteo_api_retailmedia_sdk-0.0.241029.dist-info}/RECORD +62 -46
- {criteo_api_retailmedia_sdk-0.0.240731.dist-info → criteo_api_retailmedia_sdk-0.0.241029.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_preview/model/campaign_budget_overrides.py +0 -276
- criteo_api_retailmedia_preview/model/campaign_daily_budget_override.py +0 -283
- criteo_api_retailmedia_preview/model/campaign_monthly_budget_override.py +0 -283
- criteo_api_retailmedia_preview/model/daily_line_item_budget_override.py +0 -281
- criteo_api_retailmedia_preview/model/line_item_budget_overrides.py +0 -276
- criteo_api_retailmedia_preview/model/monthly_line_item_budeget_override.py +0 -283
- criteo_api_retailmedia_preview/model/rm_legacy_audience_get_entity_v1.py +0 -291
- {criteo_api_retailmedia_sdk-0.0.240731.dist-info → criteo_api_retailmedia_sdk-0.0.241029.dist-info}/top_level.txt +0 -0
|
@@ -21,8 +21,13 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
|
21
21
|
none_type,
|
|
22
22
|
validate_and_convert_types
|
|
23
23
|
)
|
|
24
|
+
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_account import EntityResourceCollectionOutcomeOfRetailMediaAccount
|
|
24
25
|
from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
|
|
25
26
|
from criteo_api_retailmedia_preview.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
|
|
27
|
+
from criteo_api_retailmedia_preview.model.resource_outcome_of_retail_media_account import ResourceOutcomeOfRetailMediaAccount
|
|
28
|
+
from criteo_api_retailmedia_preview.model.value_resource_collection_input_of_retail_media_seller import ValueResourceCollectionInputOfRetailMediaSeller
|
|
29
|
+
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_retail_media_seller import ValueResourceCollectionOutcomeOfRetailMediaSeller
|
|
30
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_of_retail_media_seller_account_creation import ValueResourceInputOfRetailMediaSellerAccountCreation
|
|
26
31
|
|
|
27
32
|
|
|
28
33
|
class AccountsApi(object):
|
|
@@ -36,6 +41,129 @@ class AccountsApi(object):
|
|
|
36
41
|
if api_client is None:
|
|
37
42
|
api_client = ApiClient()
|
|
38
43
|
self.api_client = api_client
|
|
44
|
+
self.create_private_market_demand_seller_account_endpoint = _Endpoint(
|
|
45
|
+
settings={
|
|
46
|
+
'response_type': (ResourceOutcomeOfRetailMediaAccount,),
|
|
47
|
+
'auth': [
|
|
48
|
+
'oauth',
|
|
49
|
+
'oauth'
|
|
50
|
+
],
|
|
51
|
+
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/create-seller-account',
|
|
52
|
+
'operation_id': 'create_private_market_demand_seller_account',
|
|
53
|
+
'http_method': 'POST',
|
|
54
|
+
'servers': None,
|
|
55
|
+
},
|
|
56
|
+
params_map={
|
|
57
|
+
'all': [
|
|
58
|
+
'account_id',
|
|
59
|
+
'value_resource_input_of_retail_media_seller_account_creation',
|
|
60
|
+
],
|
|
61
|
+
'required': [
|
|
62
|
+
'account_id',
|
|
63
|
+
],
|
|
64
|
+
'nullable': [
|
|
65
|
+
],
|
|
66
|
+
'enum': [
|
|
67
|
+
],
|
|
68
|
+
'validation': [
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
root_map={
|
|
72
|
+
'validations': {
|
|
73
|
+
},
|
|
74
|
+
'allowed_values': {
|
|
75
|
+
},
|
|
76
|
+
'openapi_types': {
|
|
77
|
+
'account_id':
|
|
78
|
+
(str,),
|
|
79
|
+
'value_resource_input_of_retail_media_seller_account_creation':
|
|
80
|
+
(ValueResourceInputOfRetailMediaSellerAccountCreation,),
|
|
81
|
+
},
|
|
82
|
+
'attribute_map': {
|
|
83
|
+
'account_id': 'accountId',
|
|
84
|
+
},
|
|
85
|
+
'location_map': {
|
|
86
|
+
'account_id': 'path',
|
|
87
|
+
'value_resource_input_of_retail_media_seller_account_creation': 'body',
|
|
88
|
+
},
|
|
89
|
+
'collection_format_map': {
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
headers_map={
|
|
93
|
+
'accept': [
|
|
94
|
+
'application/json'
|
|
95
|
+
],
|
|
96
|
+
'content_type': [
|
|
97
|
+
'application/json-patch+json',
|
|
98
|
+
'application/json',
|
|
99
|
+
'text/json',
|
|
100
|
+
'application/*+json'
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
api_client=api_client
|
|
104
|
+
)
|
|
105
|
+
self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint = _Endpoint(
|
|
106
|
+
settings={
|
|
107
|
+
'response_type': (EntityResourceCollectionOutcomeOfRetailMediaAccount,),
|
|
108
|
+
'auth': [
|
|
109
|
+
'oauth',
|
|
110
|
+
'oauth'
|
|
111
|
+
],
|
|
112
|
+
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/private-market-child-accounts',
|
|
113
|
+
'operation_id': 'get_api_external_v1_account_private_market_child_accounts_by_account_id',
|
|
114
|
+
'http_method': 'GET',
|
|
115
|
+
'servers': None,
|
|
116
|
+
},
|
|
117
|
+
params_map={
|
|
118
|
+
'all': [
|
|
119
|
+
'account_id',
|
|
120
|
+
'offset',
|
|
121
|
+
'limit',
|
|
122
|
+
],
|
|
123
|
+
'required': [
|
|
124
|
+
'account_id',
|
|
125
|
+
],
|
|
126
|
+
'nullable': [
|
|
127
|
+
],
|
|
128
|
+
'enum': [
|
|
129
|
+
],
|
|
130
|
+
'validation': [
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
root_map={
|
|
134
|
+
'validations': {
|
|
135
|
+
},
|
|
136
|
+
'allowed_values': {
|
|
137
|
+
},
|
|
138
|
+
'openapi_types': {
|
|
139
|
+
'account_id':
|
|
140
|
+
(str,),
|
|
141
|
+
'offset':
|
|
142
|
+
(int,),
|
|
143
|
+
'limit':
|
|
144
|
+
(int,),
|
|
145
|
+
},
|
|
146
|
+
'attribute_map': {
|
|
147
|
+
'account_id': 'accountId',
|
|
148
|
+
'offset': 'offset',
|
|
149
|
+
'limit': 'limit',
|
|
150
|
+
},
|
|
151
|
+
'location_map': {
|
|
152
|
+
'account_id': 'path',
|
|
153
|
+
'offset': 'query',
|
|
154
|
+
'limit': 'query',
|
|
155
|
+
},
|
|
156
|
+
'collection_format_map': {
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
headers_map={
|
|
160
|
+
'accept': [
|
|
161
|
+
'application/json'
|
|
162
|
+
],
|
|
163
|
+
'content_type': [],
|
|
164
|
+
},
|
|
165
|
+
api_client=api_client
|
|
166
|
+
)
|
|
39
167
|
self.get_api_v1_external_accounts_endpoint = _Endpoint(
|
|
40
168
|
settings={
|
|
41
169
|
'response_type': (JsonApiPageResponseOfAccount,),
|
|
@@ -158,6 +286,236 @@ class AccountsApi(object):
|
|
|
158
286
|
},
|
|
159
287
|
api_client=api_client
|
|
160
288
|
)
|
|
289
|
+
self.update_sellers_endpoint = _Endpoint(
|
|
290
|
+
settings={
|
|
291
|
+
'response_type': (ValueResourceCollectionOutcomeOfRetailMediaSeller,),
|
|
292
|
+
'auth': [
|
|
293
|
+
'oauth',
|
|
294
|
+
'oauth'
|
|
295
|
+
],
|
|
296
|
+
'endpoint_path': '/preview/retail-media/account-management/accounts/{accountId}/sellers',
|
|
297
|
+
'operation_id': 'update_sellers',
|
|
298
|
+
'http_method': 'PUT',
|
|
299
|
+
'servers': None,
|
|
300
|
+
},
|
|
301
|
+
params_map={
|
|
302
|
+
'all': [
|
|
303
|
+
'account_id',
|
|
304
|
+
'value_resource_collection_input_of_retail_media_seller',
|
|
305
|
+
],
|
|
306
|
+
'required': [
|
|
307
|
+
'account_id',
|
|
308
|
+
],
|
|
309
|
+
'nullable': [
|
|
310
|
+
],
|
|
311
|
+
'enum': [
|
|
312
|
+
],
|
|
313
|
+
'validation': [
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
root_map={
|
|
317
|
+
'validations': {
|
|
318
|
+
},
|
|
319
|
+
'allowed_values': {
|
|
320
|
+
},
|
|
321
|
+
'openapi_types': {
|
|
322
|
+
'account_id':
|
|
323
|
+
(str,),
|
|
324
|
+
'value_resource_collection_input_of_retail_media_seller':
|
|
325
|
+
(ValueResourceCollectionInputOfRetailMediaSeller,),
|
|
326
|
+
},
|
|
327
|
+
'attribute_map': {
|
|
328
|
+
'account_id': 'accountId',
|
|
329
|
+
},
|
|
330
|
+
'location_map': {
|
|
331
|
+
'account_id': 'path',
|
|
332
|
+
'value_resource_collection_input_of_retail_media_seller': 'body',
|
|
333
|
+
},
|
|
334
|
+
'collection_format_map': {
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
headers_map={
|
|
338
|
+
'accept': [
|
|
339
|
+
'application/json'
|
|
340
|
+
],
|
|
341
|
+
'content_type': [
|
|
342
|
+
'application/json-patch+json',
|
|
343
|
+
'application/json',
|
|
344
|
+
'text/json',
|
|
345
|
+
'application/*+json'
|
|
346
|
+
]
|
|
347
|
+
},
|
|
348
|
+
api_client=api_client
|
|
349
|
+
)
|
|
350
|
+
|
|
351
|
+
def create_private_market_demand_seller_account(
|
|
352
|
+
self,
|
|
353
|
+
account_id,
|
|
354
|
+
**kwargs
|
|
355
|
+
):
|
|
356
|
+
"""create_private_market_demand_seller_account # noqa: E501
|
|
357
|
+
|
|
358
|
+
Creates a new child Demand Seller Account for the provided parent private market account # noqa: E501
|
|
359
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
360
|
+
asynchronous HTTP request, please pass async_req=True
|
|
361
|
+
|
|
362
|
+
>>> thread = api.create_private_market_demand_seller_account(account_id, async_req=True)
|
|
363
|
+
>>> result = thread.get()
|
|
364
|
+
|
|
365
|
+
Args:
|
|
366
|
+
account_id (str): Account Id for the parent private market account
|
|
367
|
+
|
|
368
|
+
Keyword Args:
|
|
369
|
+
value_resource_input_of_retail_media_seller_account_creation (ValueResourceInputOfRetailMediaSellerAccountCreation): Initial creation and configuration options for the new account. [optional]
|
|
370
|
+
_return_http_data_only (bool): response data without head status
|
|
371
|
+
code and headers. Default is True.
|
|
372
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
373
|
+
will be returned without reading/decoding response data.
|
|
374
|
+
Default is True.
|
|
375
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
376
|
+
one number provided, it will be total request timeout. It can also
|
|
377
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
378
|
+
Default is None.
|
|
379
|
+
_check_input_type (bool): specifies if type checking
|
|
380
|
+
should be done one the data sent to the server.
|
|
381
|
+
Default is True.
|
|
382
|
+
_check_return_type (bool): specifies if type checking
|
|
383
|
+
should be done one the data received from the server.
|
|
384
|
+
Default is True.
|
|
385
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
386
|
+
are serialized names, as specified in the OpenAPI document.
|
|
387
|
+
False if the variable names in the input data
|
|
388
|
+
are pythonic names, e.g. snake case (default)
|
|
389
|
+
_content_type (str/None): force body content-type.
|
|
390
|
+
Default is None and content-type will be predicted by allowed
|
|
391
|
+
content-types and body.
|
|
392
|
+
_host_index (int/None): specifies the index of the server
|
|
393
|
+
that we want to use.
|
|
394
|
+
Default is read from the configuration.
|
|
395
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
396
|
+
request; this effectively ignores the authentication
|
|
397
|
+
in the spec for a single request.
|
|
398
|
+
Default is None
|
|
399
|
+
async_req (bool): execute request asynchronously
|
|
400
|
+
|
|
401
|
+
Returns:
|
|
402
|
+
ResourceOutcomeOfRetailMediaAccount
|
|
403
|
+
If the method is called asynchronously, returns the request
|
|
404
|
+
thread.
|
|
405
|
+
"""
|
|
406
|
+
kwargs['async_req'] = kwargs.get(
|
|
407
|
+
'async_req', False
|
|
408
|
+
)
|
|
409
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
410
|
+
'_return_http_data_only', True
|
|
411
|
+
)
|
|
412
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
413
|
+
'_preload_content', True
|
|
414
|
+
)
|
|
415
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
416
|
+
'_request_timeout', None
|
|
417
|
+
)
|
|
418
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
419
|
+
'_check_input_type', True
|
|
420
|
+
)
|
|
421
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
422
|
+
'_check_return_type', True
|
|
423
|
+
)
|
|
424
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
425
|
+
'_spec_property_naming', False
|
|
426
|
+
)
|
|
427
|
+
kwargs['_content_type'] = kwargs.get(
|
|
428
|
+
'_content_type')
|
|
429
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
430
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
431
|
+
kwargs['account_id'] = \
|
|
432
|
+
account_id
|
|
433
|
+
return self.create_private_market_demand_seller_account_endpoint.call_with_http_info(**kwargs)
|
|
434
|
+
|
|
435
|
+
def get_api_external_v1_account_private_market_child_accounts_by_account_id(
|
|
436
|
+
self,
|
|
437
|
+
account_id,
|
|
438
|
+
**kwargs
|
|
439
|
+
):
|
|
440
|
+
"""get_api_external_v1_account_private_market_child_accounts_by_account_id # noqa: E501
|
|
441
|
+
|
|
442
|
+
Gets page of private market child accounts that are associated with the given account # noqa: E501
|
|
443
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
444
|
+
asynchronous HTTP request, please pass async_req=True
|
|
445
|
+
|
|
446
|
+
>>> thread = api.get_api_external_v1_account_private_market_child_accounts_by_account_id(account_id, async_req=True)
|
|
447
|
+
>>> result = thread.get()
|
|
448
|
+
|
|
449
|
+
Args:
|
|
450
|
+
account_id (str): Account Id
|
|
451
|
+
|
|
452
|
+
Keyword Args:
|
|
453
|
+
offset (int): The (zero-based) offset into the collection of accounts. The default is 0.. [optional] if omitted the server will use the default value of 0
|
|
454
|
+
limit (int): The number of accounts to be returned. The default is 25.. [optional] if omitted the server will use the default value of 25
|
|
455
|
+
_return_http_data_only (bool): response data without head status
|
|
456
|
+
code and headers. Default is True.
|
|
457
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
458
|
+
will be returned without reading/decoding response data.
|
|
459
|
+
Default is True.
|
|
460
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
461
|
+
one number provided, it will be total request timeout. It can also
|
|
462
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
463
|
+
Default is None.
|
|
464
|
+
_check_input_type (bool): specifies if type checking
|
|
465
|
+
should be done one the data sent to the server.
|
|
466
|
+
Default is True.
|
|
467
|
+
_check_return_type (bool): specifies if type checking
|
|
468
|
+
should be done one the data received from the server.
|
|
469
|
+
Default is True.
|
|
470
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
471
|
+
are serialized names, as specified in the OpenAPI document.
|
|
472
|
+
False if the variable names in the input data
|
|
473
|
+
are pythonic names, e.g. snake case (default)
|
|
474
|
+
_content_type (str/None): force body content-type.
|
|
475
|
+
Default is None and content-type will be predicted by allowed
|
|
476
|
+
content-types and body.
|
|
477
|
+
_host_index (int/None): specifies the index of the server
|
|
478
|
+
that we want to use.
|
|
479
|
+
Default is read from the configuration.
|
|
480
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
481
|
+
request; this effectively ignores the authentication
|
|
482
|
+
in the spec for a single request.
|
|
483
|
+
Default is None
|
|
484
|
+
async_req (bool): execute request asynchronously
|
|
485
|
+
|
|
486
|
+
Returns:
|
|
487
|
+
EntityResourceCollectionOutcomeOfRetailMediaAccount
|
|
488
|
+
If the method is called asynchronously, returns the request
|
|
489
|
+
thread.
|
|
490
|
+
"""
|
|
491
|
+
kwargs['async_req'] = kwargs.get(
|
|
492
|
+
'async_req', False
|
|
493
|
+
)
|
|
494
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
495
|
+
'_return_http_data_only', True
|
|
496
|
+
)
|
|
497
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
498
|
+
'_preload_content', True
|
|
499
|
+
)
|
|
500
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
501
|
+
'_request_timeout', None
|
|
502
|
+
)
|
|
503
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
504
|
+
'_check_input_type', True
|
|
505
|
+
)
|
|
506
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
507
|
+
'_check_return_type', True
|
|
508
|
+
)
|
|
509
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
510
|
+
'_spec_property_naming', False
|
|
511
|
+
)
|
|
512
|
+
kwargs['_content_type'] = kwargs.get(
|
|
513
|
+
'_content_type')
|
|
514
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
515
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
516
|
+
kwargs['account_id'] = \
|
|
517
|
+
account_id
|
|
518
|
+
return self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
161
519
|
|
|
162
520
|
def get_api_v1_external_accounts(
|
|
163
521
|
self,
|
|
@@ -324,3 +682,87 @@ class AccountsApi(object):
|
|
|
324
682
|
account_id
|
|
325
683
|
return self.grant_consent_endpoint.call_with_http_info(**kwargs)
|
|
326
684
|
|
|
685
|
+
def update_sellers(
|
|
686
|
+
self,
|
|
687
|
+
account_id,
|
|
688
|
+
**kwargs
|
|
689
|
+
):
|
|
690
|
+
"""update_sellers # noqa: E501
|
|
691
|
+
|
|
692
|
+
replace the sellers assoiated with an account # noqa: E501
|
|
693
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
694
|
+
asynchronous HTTP request, please pass async_req=True
|
|
695
|
+
|
|
696
|
+
>>> thread = api.update_sellers(account_id, async_req=True)
|
|
697
|
+
>>> result = thread.get()
|
|
698
|
+
|
|
699
|
+
Args:
|
|
700
|
+
account_id (str): the account id to update
|
|
701
|
+
|
|
702
|
+
Keyword Args:
|
|
703
|
+
value_resource_collection_input_of_retail_media_seller (ValueResourceCollectionInputOfRetailMediaSeller): sellers to associate. [optional]
|
|
704
|
+
_return_http_data_only (bool): response data without head status
|
|
705
|
+
code and headers. Default is True.
|
|
706
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
707
|
+
will be returned without reading/decoding response data.
|
|
708
|
+
Default is True.
|
|
709
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
710
|
+
one number provided, it will be total request timeout. It can also
|
|
711
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
712
|
+
Default is None.
|
|
713
|
+
_check_input_type (bool): specifies if type checking
|
|
714
|
+
should be done one the data sent to the server.
|
|
715
|
+
Default is True.
|
|
716
|
+
_check_return_type (bool): specifies if type checking
|
|
717
|
+
should be done one the data received from the server.
|
|
718
|
+
Default is True.
|
|
719
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
720
|
+
are serialized names, as specified in the OpenAPI document.
|
|
721
|
+
False if the variable names in the input data
|
|
722
|
+
are pythonic names, e.g. snake case (default)
|
|
723
|
+
_content_type (str/None): force body content-type.
|
|
724
|
+
Default is None and content-type will be predicted by allowed
|
|
725
|
+
content-types and body.
|
|
726
|
+
_host_index (int/None): specifies the index of the server
|
|
727
|
+
that we want to use.
|
|
728
|
+
Default is read from the configuration.
|
|
729
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
730
|
+
request; this effectively ignores the authentication
|
|
731
|
+
in the spec for a single request.
|
|
732
|
+
Default is None
|
|
733
|
+
async_req (bool): execute request asynchronously
|
|
734
|
+
|
|
735
|
+
Returns:
|
|
736
|
+
ValueResourceCollectionOutcomeOfRetailMediaSeller
|
|
737
|
+
If the method is called asynchronously, returns the request
|
|
738
|
+
thread.
|
|
739
|
+
"""
|
|
740
|
+
kwargs['async_req'] = kwargs.get(
|
|
741
|
+
'async_req', False
|
|
742
|
+
)
|
|
743
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
744
|
+
'_return_http_data_only', True
|
|
745
|
+
)
|
|
746
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
747
|
+
'_preload_content', True
|
|
748
|
+
)
|
|
749
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
750
|
+
'_request_timeout', None
|
|
751
|
+
)
|
|
752
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
753
|
+
'_check_input_type', True
|
|
754
|
+
)
|
|
755
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
756
|
+
'_check_return_type', True
|
|
757
|
+
)
|
|
758
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
759
|
+
'_spec_property_naming', False
|
|
760
|
+
)
|
|
761
|
+
kwargs['_content_type'] = kwargs.get(
|
|
762
|
+
'_content_type')
|
|
763
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
764
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
765
|
+
kwargs['account_id'] = \
|
|
766
|
+
account_id
|
|
767
|
+
return self.update_sellers_endpoint.call_with_http_info(**kwargs)
|
|
768
|
+
|
|
@@ -507,7 +507,7 @@ class AnalyticsApi(object):
|
|
|
507
507
|
):
|
|
508
508
|
"""generate_async_accounts_report # noqa: E501
|
|
509
509
|
|
|
510
|
-
Returns an asynchronous Accounts Report # noqa: E501
|
|
510
|
+
Returns an asynchronous Accounts Report This endpoint is subject to specific rate limits. # noqa: E501
|
|
511
511
|
This method makes a synchronous HTTP request by default. To make an
|
|
512
512
|
asynchronous HTTP request, please pass async_req=True
|
|
513
513
|
|
|
@@ -590,7 +590,7 @@ class AnalyticsApi(object):
|
|
|
590
590
|
):
|
|
591
591
|
"""generate_async_campaigns_report # noqa: E501
|
|
592
592
|
|
|
593
|
-
Return an asynchronous Campaigns Report # noqa: E501
|
|
593
|
+
Return an asynchronous Campaigns Report This endpoint is subject to specific rate limits. # noqa: E501
|
|
594
594
|
This method makes a synchronous HTTP request by default. To make an
|
|
595
595
|
asynchronous HTTP request, please pass async_req=True
|
|
596
596
|
|
|
@@ -673,7 +673,7 @@ class AnalyticsApi(object):
|
|
|
673
673
|
):
|
|
674
674
|
"""generate_async_line_items_report # noqa: E501
|
|
675
675
|
|
|
676
|
-
Returns an asynchronous Line Items Report # noqa: E501
|
|
676
|
+
Returns an asynchronous Line Items Report This endpoint is subject to specific rate limits. # noqa: E501
|
|
677
677
|
This method makes a synchronous HTTP request by default. To make an
|
|
678
678
|
asynchronous HTTP request, please pass async_req=True
|
|
679
679
|
|