criteo-api-retailmedia-sdk 2023.7.0.240626__py3-none-any.whl → 2023.7.0.240808__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_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/RECORD +20 -18
- {criteo_api_retailmedia_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2023_07/__init__.py +1 -1
- criteo_api_retailmedia_v2023_07/api/__init__.py +1 -1
- criteo_api_retailmedia_v2023_07/api/accounts_api.py +182 -0
- criteo_api_retailmedia_v2023_07/api/balance_api.py +347 -0
- criteo_api_retailmedia_v2023_07/api/campaign_api.py +10 -458
- criteo_api_retailmedia_v2023_07/api_client.py +5 -5
- criteo_api_retailmedia_v2023_07/apis/__init__.py +3 -1
- criteo_api_retailmedia_v2023_07/configuration.py +1 -1
- criteo_api_retailmedia_v2023_07/model/application_summary_model_response.py +0 -4
- criteo_api_retailmedia_v2023_07/model/async_campaigns_report.py +2 -0
- criteo_api_retailmedia_v2023_07/model/async_line_items_report.py +2 -0
- criteo_api_retailmedia_v2023_07/model/common_problem.py +2 -2
- criteo_api_retailmedia_v2023_07/model/external_balance202110.py +14 -2
- criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_account.py +8 -6
- criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_brand.py +8 -6
- criteo_api_retailmedia_v2023_07/model/json_api_page_response_of_retailer.py +8 -6
- {criteo_api_retailmedia_sdk-2023.7.0.240626.dist-info → criteo_api_retailmedia_sdk-2023.7.0.240808.dist-info}/top_level.txt +0 -0
|
@@ -33,7 +33,6 @@ from criteo_api_retailmedia_v2023_07.model.auction_line_item_update_model_reques
|
|
|
33
33
|
from criteo_api_retailmedia_v2023_07.model.audience_ids_update_model202110_request import AudienceIdsUpdateModel202110Request
|
|
34
34
|
from criteo_api_retailmedia_v2023_07.model.audience_target202110_request import AudienceTarget202110Request
|
|
35
35
|
from criteo_api_retailmedia_v2023_07.model.audience_target202110_response import AudienceTarget202110Response
|
|
36
|
-
from criteo_api_retailmedia_v2023_07.model.balance202110_paged_list_response import Balance202110PagedListResponse
|
|
37
36
|
from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_list_request import BalanceCampaign202110ListRequest
|
|
38
37
|
from criteo_api_retailmedia_v2023_07.model.balance_campaign202110_paged_list_response import BalanceCampaign202110PagedListResponse
|
|
39
38
|
from criteo_api_retailmedia_v2023_07.model.category202204 import Category202204
|
|
@@ -46,7 +45,6 @@ from criteo_api_retailmedia_v2023_07.model.creative202210_response import Creati
|
|
|
46
45
|
from criteo_api_retailmedia_v2023_07.model.creative_create_model202207 import CreativeCreateModel202207
|
|
47
46
|
from criteo_api_retailmedia_v2023_07.model.creative_update_model202207 import CreativeUpdateModel202207
|
|
48
47
|
from criteo_api_retailmedia_v2023_07.model.external_retailer_pages202110 import ExternalRetailerPages202110
|
|
49
|
-
from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
|
|
50
48
|
from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
|
|
51
49
|
from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_campaign_v202301 import JsonApiPageResponseOfCampaignV202301
|
|
52
50
|
from criteo_api_retailmedia_v2023_07.model.json_api_page_response_of_retailer import JsonApiPageResponseOfRetailer
|
|
@@ -306,74 +304,6 @@ class CampaignApi(object):
|
|
|
306
304
|
},
|
|
307
305
|
api_client=api_client
|
|
308
306
|
)
|
|
309
|
-
self.get_api202110_external_account_balances_by_account_id_endpoint = _Endpoint(
|
|
310
|
-
settings={
|
|
311
|
-
'response_type': (Balance202110PagedListResponse,),
|
|
312
|
-
'auth': [
|
|
313
|
-
'oauth',
|
|
314
|
-
'oauth'
|
|
315
|
-
],
|
|
316
|
-
'endpoint_path': '/2023-07/retail-media/accounts/{account-id}/balances',
|
|
317
|
-
'operation_id': 'get_api202110_external_account_balances_by_account_id',
|
|
318
|
-
'http_method': 'GET',
|
|
319
|
-
'servers': None,
|
|
320
|
-
},
|
|
321
|
-
params_map={
|
|
322
|
-
'all': [
|
|
323
|
-
'account_id',
|
|
324
|
-
'limit_to_id',
|
|
325
|
-
'page_index',
|
|
326
|
-
'page_size',
|
|
327
|
-
],
|
|
328
|
-
'required': [
|
|
329
|
-
'account_id',
|
|
330
|
-
],
|
|
331
|
-
'nullable': [
|
|
332
|
-
],
|
|
333
|
-
'enum': [
|
|
334
|
-
],
|
|
335
|
-
'validation': [
|
|
336
|
-
]
|
|
337
|
-
},
|
|
338
|
-
root_map={
|
|
339
|
-
'validations': {
|
|
340
|
-
},
|
|
341
|
-
'allowed_values': {
|
|
342
|
-
},
|
|
343
|
-
'openapi_types': {
|
|
344
|
-
'account_id':
|
|
345
|
-
(str,),
|
|
346
|
-
'limit_to_id':
|
|
347
|
-
([str],),
|
|
348
|
-
'page_index':
|
|
349
|
-
(int,),
|
|
350
|
-
'page_size':
|
|
351
|
-
(int,),
|
|
352
|
-
},
|
|
353
|
-
'attribute_map': {
|
|
354
|
-
'account_id': 'account-id',
|
|
355
|
-
'limit_to_id': 'limitToId',
|
|
356
|
-
'page_index': 'pageIndex',
|
|
357
|
-
'page_size': 'pageSize',
|
|
358
|
-
},
|
|
359
|
-
'location_map': {
|
|
360
|
-
'account_id': 'path',
|
|
361
|
-
'limit_to_id': 'query',
|
|
362
|
-
'page_index': 'query',
|
|
363
|
-
'page_size': 'query',
|
|
364
|
-
},
|
|
365
|
-
'collection_format_map': {
|
|
366
|
-
'limit_to_id': 'multi',
|
|
367
|
-
}
|
|
368
|
-
},
|
|
369
|
-
headers_map={
|
|
370
|
-
'accept': [
|
|
371
|
-
'application/json'
|
|
372
|
-
],
|
|
373
|
-
'content_type': [],
|
|
374
|
-
},
|
|
375
|
-
api_client=api_client
|
|
376
|
-
)
|
|
377
307
|
self.get_api202110_external_account_creatives_by_account_id_endpoint = _Endpoint(
|
|
378
308
|
settings={
|
|
379
309
|
'response_type': (Creative202110ListResponse,),
|
|
@@ -478,74 +408,6 @@ class CampaignApi(object):
|
|
|
478
408
|
},
|
|
479
409
|
api_client=api_client
|
|
480
410
|
)
|
|
481
|
-
self.get_api202110_external_balance_campaigns_by_balance_id_endpoint = _Endpoint(
|
|
482
|
-
settings={
|
|
483
|
-
'response_type': (BalanceCampaign202110PagedListResponse,),
|
|
484
|
-
'auth': [
|
|
485
|
-
'oauth',
|
|
486
|
-
'oauth'
|
|
487
|
-
],
|
|
488
|
-
'endpoint_path': '/2023-07/retail-media/balances/{balance-id}/campaigns',
|
|
489
|
-
'operation_id': 'get_api202110_external_balance_campaigns_by_balance_id',
|
|
490
|
-
'http_method': 'GET',
|
|
491
|
-
'servers': None,
|
|
492
|
-
},
|
|
493
|
-
params_map={
|
|
494
|
-
'all': [
|
|
495
|
-
'balance_id',
|
|
496
|
-
'limit_to_id',
|
|
497
|
-
'page_index',
|
|
498
|
-
'page_size',
|
|
499
|
-
],
|
|
500
|
-
'required': [
|
|
501
|
-
'balance_id',
|
|
502
|
-
],
|
|
503
|
-
'nullable': [
|
|
504
|
-
],
|
|
505
|
-
'enum': [
|
|
506
|
-
],
|
|
507
|
-
'validation': [
|
|
508
|
-
]
|
|
509
|
-
},
|
|
510
|
-
root_map={
|
|
511
|
-
'validations': {
|
|
512
|
-
},
|
|
513
|
-
'allowed_values': {
|
|
514
|
-
},
|
|
515
|
-
'openapi_types': {
|
|
516
|
-
'balance_id':
|
|
517
|
-
(str,),
|
|
518
|
-
'limit_to_id':
|
|
519
|
-
([str],),
|
|
520
|
-
'page_index':
|
|
521
|
-
(int,),
|
|
522
|
-
'page_size':
|
|
523
|
-
(int,),
|
|
524
|
-
},
|
|
525
|
-
'attribute_map': {
|
|
526
|
-
'balance_id': 'balance-id',
|
|
527
|
-
'limit_to_id': 'limitToId',
|
|
528
|
-
'page_index': 'pageIndex',
|
|
529
|
-
'page_size': 'pageSize',
|
|
530
|
-
},
|
|
531
|
-
'location_map': {
|
|
532
|
-
'balance_id': 'path',
|
|
533
|
-
'limit_to_id': 'query',
|
|
534
|
-
'page_index': 'query',
|
|
535
|
-
'page_size': 'query',
|
|
536
|
-
},
|
|
537
|
-
'collection_format_map': {
|
|
538
|
-
'limit_to_id': 'multi',
|
|
539
|
-
}
|
|
540
|
-
},
|
|
541
|
-
headers_map={
|
|
542
|
-
'accept': [
|
|
543
|
-
'application/json'
|
|
544
|
-
],
|
|
545
|
-
'content_type': [],
|
|
546
|
-
},
|
|
547
|
-
api_client=api_client
|
|
548
|
-
)
|
|
549
411
|
self.get_api202110_external_campaign_preferred_line_items_by_campaign_id_endpoint = _Endpoint(
|
|
550
412
|
settings={
|
|
551
413
|
'response_type': (PreferredLineItem202110PagedListResponse,),
|
|
@@ -1475,7 +1337,9 @@ class CampaignApi(object):
|
|
|
1475
1337
|
},
|
|
1476
1338
|
headers_map={
|
|
1477
1339
|
'accept': [
|
|
1478
|
-
'
|
|
1340
|
+
'text/plain',
|
|
1341
|
+
'application/json',
|
|
1342
|
+
'text/json'
|
|
1479
1343
|
],
|
|
1480
1344
|
'content_type': [],
|
|
1481
1345
|
},
|
|
@@ -1543,68 +1407,9 @@ class CampaignApi(object):
|
|
|
1543
1407
|
},
|
|
1544
1408
|
headers_map={
|
|
1545
1409
|
'accept': [
|
|
1546
|
-
'
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
},
|
|
1550
|
-
api_client=api_client
|
|
1551
|
-
)
|
|
1552
|
-
self.get_api_v1_external_accounts_endpoint = _Endpoint(
|
|
1553
|
-
settings={
|
|
1554
|
-
'response_type': (JsonApiPageResponseOfAccount,),
|
|
1555
|
-
'auth': [
|
|
1556
|
-
'oauth',
|
|
1557
|
-
'oauth'
|
|
1558
|
-
],
|
|
1559
|
-
'endpoint_path': '/2023-07/retail-media/accounts',
|
|
1560
|
-
'operation_id': 'get_api_v1_external_accounts',
|
|
1561
|
-
'http_method': 'GET',
|
|
1562
|
-
'servers': None,
|
|
1563
|
-
},
|
|
1564
|
-
params_map={
|
|
1565
|
-
'all': [
|
|
1566
|
-
'limit_to_id',
|
|
1567
|
-
'page_index',
|
|
1568
|
-
'page_size',
|
|
1569
|
-
],
|
|
1570
|
-
'required': [],
|
|
1571
|
-
'nullable': [
|
|
1572
|
-
],
|
|
1573
|
-
'enum': [
|
|
1574
|
-
],
|
|
1575
|
-
'validation': [
|
|
1576
|
-
]
|
|
1577
|
-
},
|
|
1578
|
-
root_map={
|
|
1579
|
-
'validations': {
|
|
1580
|
-
},
|
|
1581
|
-
'allowed_values': {
|
|
1582
|
-
},
|
|
1583
|
-
'openapi_types': {
|
|
1584
|
-
'limit_to_id':
|
|
1585
|
-
([str],),
|
|
1586
|
-
'page_index':
|
|
1587
|
-
(int,),
|
|
1588
|
-
'page_size':
|
|
1589
|
-
(int,),
|
|
1590
|
-
},
|
|
1591
|
-
'attribute_map': {
|
|
1592
|
-
'limit_to_id': 'limitToId',
|
|
1593
|
-
'page_index': 'pageIndex',
|
|
1594
|
-
'page_size': 'pageSize',
|
|
1595
|
-
},
|
|
1596
|
-
'location_map': {
|
|
1597
|
-
'limit_to_id': 'query',
|
|
1598
|
-
'page_index': 'query',
|
|
1599
|
-
'page_size': 'query',
|
|
1600
|
-
},
|
|
1601
|
-
'collection_format_map': {
|
|
1602
|
-
'limit_to_id': 'multi',
|
|
1603
|
-
}
|
|
1604
|
-
},
|
|
1605
|
-
headers_map={
|
|
1606
|
-
'accept': [
|
|
1607
|
-
'application/json'
|
|
1410
|
+
'text/plain',
|
|
1411
|
+
'application/json',
|
|
1412
|
+
'text/json'
|
|
1608
1413
|
],
|
|
1609
1414
|
'content_type': [],
|
|
1610
1415
|
},
|
|
@@ -4045,92 +3850,6 @@ class CampaignApi(object):
|
|
|
4045
3850
|
id
|
|
4046
3851
|
return self.fetch_proposal_endpoint.call_with_http_info(**kwargs)
|
|
4047
3852
|
|
|
4048
|
-
def get_api202110_external_account_balances_by_account_id(
|
|
4049
|
-
self,
|
|
4050
|
-
account_id,
|
|
4051
|
-
**kwargs
|
|
4052
|
-
):
|
|
4053
|
-
"""get_api202110_external_account_balances_by_account_id # noqa: E501
|
|
4054
|
-
|
|
4055
|
-
Gets page of balance objects for the given account id # noqa: E501
|
|
4056
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4057
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4058
|
-
|
|
4059
|
-
>>> thread = api.get_api202110_external_account_balances_by_account_id(account_id, async_req=True)
|
|
4060
|
-
>>> result = thread.get()
|
|
4061
|
-
|
|
4062
|
-
Args:
|
|
4063
|
-
account_id (str): The account to get balances for
|
|
4064
|
-
|
|
4065
|
-
Keyword Args:
|
|
4066
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
4067
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
4068
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
4069
|
-
_return_http_data_only (bool): response data without head status
|
|
4070
|
-
code and headers. Default is True.
|
|
4071
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4072
|
-
will be returned without reading/decoding response data.
|
|
4073
|
-
Default is True.
|
|
4074
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4075
|
-
one number provided, it will be total request timeout. It can also
|
|
4076
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4077
|
-
Default is None.
|
|
4078
|
-
_check_input_type (bool): specifies if type checking
|
|
4079
|
-
should be done one the data sent to the server.
|
|
4080
|
-
Default is True.
|
|
4081
|
-
_check_return_type (bool): specifies if type checking
|
|
4082
|
-
should be done one the data received from the server.
|
|
4083
|
-
Default is True.
|
|
4084
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4085
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4086
|
-
False if the variable names in the input data
|
|
4087
|
-
are pythonic names, e.g. snake case (default)
|
|
4088
|
-
_content_type (str/None): force body content-type.
|
|
4089
|
-
Default is None and content-type will be predicted by allowed
|
|
4090
|
-
content-types and body.
|
|
4091
|
-
_host_index (int/None): specifies the index of the server
|
|
4092
|
-
that we want to use.
|
|
4093
|
-
Default is read from the configuration.
|
|
4094
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4095
|
-
request; this effectively ignores the authentication
|
|
4096
|
-
in the spec for a single request.
|
|
4097
|
-
Default is None
|
|
4098
|
-
async_req (bool): execute request asynchronously
|
|
4099
|
-
|
|
4100
|
-
Returns:
|
|
4101
|
-
Balance202110PagedListResponse
|
|
4102
|
-
If the method is called asynchronously, returns the request
|
|
4103
|
-
thread.
|
|
4104
|
-
"""
|
|
4105
|
-
kwargs['async_req'] = kwargs.get(
|
|
4106
|
-
'async_req', False
|
|
4107
|
-
)
|
|
4108
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4109
|
-
'_return_http_data_only', True
|
|
4110
|
-
)
|
|
4111
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4112
|
-
'_preload_content', True
|
|
4113
|
-
)
|
|
4114
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4115
|
-
'_request_timeout', None
|
|
4116
|
-
)
|
|
4117
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4118
|
-
'_check_input_type', True
|
|
4119
|
-
)
|
|
4120
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4121
|
-
'_check_return_type', True
|
|
4122
|
-
)
|
|
4123
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4124
|
-
'_spec_property_naming', False
|
|
4125
|
-
)
|
|
4126
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4127
|
-
'_content_type')
|
|
4128
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4129
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4130
|
-
kwargs['account_id'] = \
|
|
4131
|
-
account_id
|
|
4132
|
-
return self.get_api202110_external_account_balances_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
4133
|
-
|
|
4134
3853
|
def get_api202110_external_account_creatives_by_account_id(
|
|
4135
3854
|
self,
|
|
4136
3855
|
account_id,
|
|
@@ -4297,92 +4016,6 @@ class CampaignApi(object):
|
|
|
4297
4016
|
line_item_id
|
|
4298
4017
|
return self.get_api202110_external_auction_line_item_targeting_keywords_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
4299
4018
|
|
|
4300
|
-
def get_api202110_external_balance_campaigns_by_balance_id(
|
|
4301
|
-
self,
|
|
4302
|
-
balance_id,
|
|
4303
|
-
**kwargs
|
|
4304
|
-
):
|
|
4305
|
-
"""get_api202110_external_balance_campaigns_by_balance_id # noqa: E501
|
|
4306
|
-
|
|
4307
|
-
Gets page of campaigns for the given balanceId # noqa: E501
|
|
4308
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4309
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4310
|
-
|
|
4311
|
-
>>> thread = api.get_api202110_external_balance_campaigns_by_balance_id(balance_id, async_req=True)
|
|
4312
|
-
>>> result = thread.get()
|
|
4313
|
-
|
|
4314
|
-
Args:
|
|
4315
|
-
balance_id (str): The balance to get campaigns from
|
|
4316
|
-
|
|
4317
|
-
Keyword Args:
|
|
4318
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
4319
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
4320
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
4321
|
-
_return_http_data_only (bool): response data without head status
|
|
4322
|
-
code and headers. Default is True.
|
|
4323
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4324
|
-
will be returned without reading/decoding response data.
|
|
4325
|
-
Default is True.
|
|
4326
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4327
|
-
one number provided, it will be total request timeout. It can also
|
|
4328
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4329
|
-
Default is None.
|
|
4330
|
-
_check_input_type (bool): specifies if type checking
|
|
4331
|
-
should be done one the data sent to the server.
|
|
4332
|
-
Default is True.
|
|
4333
|
-
_check_return_type (bool): specifies if type checking
|
|
4334
|
-
should be done one the data received from the server.
|
|
4335
|
-
Default is True.
|
|
4336
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4337
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4338
|
-
False if the variable names in the input data
|
|
4339
|
-
are pythonic names, e.g. snake case (default)
|
|
4340
|
-
_content_type (str/None): force body content-type.
|
|
4341
|
-
Default is None and content-type will be predicted by allowed
|
|
4342
|
-
content-types and body.
|
|
4343
|
-
_host_index (int/None): specifies the index of the server
|
|
4344
|
-
that we want to use.
|
|
4345
|
-
Default is read from the configuration.
|
|
4346
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4347
|
-
request; this effectively ignores the authentication
|
|
4348
|
-
in the spec for a single request.
|
|
4349
|
-
Default is None
|
|
4350
|
-
async_req (bool): execute request asynchronously
|
|
4351
|
-
|
|
4352
|
-
Returns:
|
|
4353
|
-
BalanceCampaign202110PagedListResponse
|
|
4354
|
-
If the method is called asynchronously, returns the request
|
|
4355
|
-
thread.
|
|
4356
|
-
"""
|
|
4357
|
-
kwargs['async_req'] = kwargs.get(
|
|
4358
|
-
'async_req', False
|
|
4359
|
-
)
|
|
4360
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4361
|
-
'_return_http_data_only', True
|
|
4362
|
-
)
|
|
4363
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4364
|
-
'_preload_content', True
|
|
4365
|
-
)
|
|
4366
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4367
|
-
'_request_timeout', None
|
|
4368
|
-
)
|
|
4369
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4370
|
-
'_check_input_type', True
|
|
4371
|
-
)
|
|
4372
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4373
|
-
'_check_return_type', True
|
|
4374
|
-
)
|
|
4375
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4376
|
-
'_spec_property_naming', False
|
|
4377
|
-
)
|
|
4378
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4379
|
-
'_content_type')
|
|
4380
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4381
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4382
|
-
kwargs['balance_id'] = \
|
|
4383
|
-
balance_id
|
|
4384
|
-
return self.get_api202110_external_balance_campaigns_by_balance_id_endpoint.call_with_http_info(**kwargs)
|
|
4385
|
-
|
|
4386
4019
|
def get_api202110_external_campaign_preferred_line_items_by_campaign_id(
|
|
4387
4020
|
self,
|
|
4388
4021
|
campaign_id,
|
|
@@ -5663,8 +5296,8 @@ class CampaignApi(object):
|
|
|
5663
5296
|
|
|
5664
5297
|
Keyword Args:
|
|
5665
5298
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
5666
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
5667
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
5299
|
+
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
|
|
5300
|
+
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
|
|
5668
5301
|
_return_http_data_only (bool): response data without head status
|
|
5669
5302
|
code and headers. Default is True.
|
|
5670
5303
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5749,8 +5382,8 @@ class CampaignApi(object):
|
|
|
5749
5382
|
|
|
5750
5383
|
Keyword Args:
|
|
5751
5384
|
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
5752
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
5753
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
5385
|
+
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
|
|
5386
|
+
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
|
|
5754
5387
|
_return_http_data_only (bool): response data without head status
|
|
5755
5388
|
code and headers. Default is True.
|
|
5756
5389
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -5816,87 +5449,6 @@ class CampaignApi(object):
|
|
|
5816
5449
|
account_id
|
|
5817
5450
|
return self.get_api_v1_external_account_retailers_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
5818
5451
|
|
|
5819
|
-
def get_api_v1_external_accounts(
|
|
5820
|
-
self,
|
|
5821
|
-
**kwargs
|
|
5822
|
-
):
|
|
5823
|
-
"""get_api_v1_external_accounts # noqa: E501
|
|
5824
|
-
|
|
5825
|
-
Gets page of account objects that the current user can access # noqa: E501
|
|
5826
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
5827
|
-
asynchronous HTTP request, please pass async_req=True
|
|
5828
|
-
|
|
5829
|
-
>>> thread = api.get_api_v1_external_accounts(async_req=True)
|
|
5830
|
-
>>> result = thread.get()
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
Keyword Args:
|
|
5834
|
-
limit_to_id ([str]): The ids that you would like to limit your result set to. [optional]
|
|
5835
|
-
page_index (int): The 0 indexed page index you would like to receive given the page size. [optional]
|
|
5836
|
-
page_size (int): The maximum number of items you would like to receive in this request. [optional]
|
|
5837
|
-
_return_http_data_only (bool): response data without head status
|
|
5838
|
-
code and headers. Default is True.
|
|
5839
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
5840
|
-
will be returned without reading/decoding response data.
|
|
5841
|
-
Default is True.
|
|
5842
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
5843
|
-
one number provided, it will be total request timeout. It can also
|
|
5844
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
5845
|
-
Default is None.
|
|
5846
|
-
_check_input_type (bool): specifies if type checking
|
|
5847
|
-
should be done one the data sent to the server.
|
|
5848
|
-
Default is True.
|
|
5849
|
-
_check_return_type (bool): specifies if type checking
|
|
5850
|
-
should be done one the data received from the server.
|
|
5851
|
-
Default is True.
|
|
5852
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
5853
|
-
are serialized names, as specified in the OpenAPI document.
|
|
5854
|
-
False if the variable names in the input data
|
|
5855
|
-
are pythonic names, e.g. snake case (default)
|
|
5856
|
-
_content_type (str/None): force body content-type.
|
|
5857
|
-
Default is None and content-type will be predicted by allowed
|
|
5858
|
-
content-types and body.
|
|
5859
|
-
_host_index (int/None): specifies the index of the server
|
|
5860
|
-
that we want to use.
|
|
5861
|
-
Default is read from the configuration.
|
|
5862
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
5863
|
-
request; this effectively ignores the authentication
|
|
5864
|
-
in the spec for a single request.
|
|
5865
|
-
Default is None
|
|
5866
|
-
async_req (bool): execute request asynchronously
|
|
5867
|
-
|
|
5868
|
-
Returns:
|
|
5869
|
-
JsonApiPageResponseOfAccount
|
|
5870
|
-
If the method is called asynchronously, returns the request
|
|
5871
|
-
thread.
|
|
5872
|
-
"""
|
|
5873
|
-
kwargs['async_req'] = kwargs.get(
|
|
5874
|
-
'async_req', False
|
|
5875
|
-
)
|
|
5876
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
5877
|
-
'_return_http_data_only', True
|
|
5878
|
-
)
|
|
5879
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
5880
|
-
'_preload_content', True
|
|
5881
|
-
)
|
|
5882
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
5883
|
-
'_request_timeout', None
|
|
5884
|
-
)
|
|
5885
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
5886
|
-
'_check_input_type', True
|
|
5887
|
-
)
|
|
5888
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
5889
|
-
'_check_return_type', True
|
|
5890
|
-
)
|
|
5891
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
5892
|
-
'_spec_property_naming', False
|
|
5893
|
-
)
|
|
5894
|
-
kwargs['_content_type'] = kwargs.get(
|
|
5895
|
-
'_content_type')
|
|
5896
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
5897
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
5898
|
-
return self.get_api_v1_external_accounts_endpoint.call_with_http_info(**kwargs)
|
|
5899
|
-
|
|
5900
5452
|
def get_api_v1_external_catalog_output_by_catalog_id(
|
|
5901
5453
|
self,
|
|
5902
5454
|
catalog_id,
|
|
@@ -76,7 +76,7 @@ class ApiClient(object):
|
|
|
76
76
|
self.default_headers[header_name] = header_value
|
|
77
77
|
self.cookie = cookie
|
|
78
78
|
# Set default User-Agent.
|
|
79
|
-
self.user_agent = 'OpenAPI-Generator/2023.07.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2023.07.0.240808/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -803,11 +803,11 @@ class Endpoint(object):
|
|
|
803
803
|
""" This method is invoked when endpoints are called
|
|
804
804
|
Example:
|
|
805
805
|
|
|
806
|
-
api_instance =
|
|
807
|
-
api_instance.
|
|
808
|
-
api_instance.
|
|
806
|
+
api_instance = AccountsApi()
|
|
807
|
+
api_instance.get_api_v1_external_accounts # this is an instance of the class Endpoint
|
|
808
|
+
api_instance.get_api_v1_external_accounts() # this invokes api_instance.get_api_v1_external_accounts.__call__()
|
|
809
809
|
which then invokes the callable functions stored in that endpoint at
|
|
810
|
-
api_instance.
|
|
810
|
+
api_instance.get_api_v1_external_accounts.callable or self.callable in this class
|
|
811
811
|
|
|
812
812
|
"""
|
|
813
813
|
return self.callable(self, *args, **kwargs)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
# raise a `RecursionError`.
|
|
7
7
|
# In order to avoid this, import only the API that you directly need like:
|
|
8
8
|
#
|
|
9
|
-
# from criteo_api_retailmedia_v2023_07.api.
|
|
9
|
+
# from criteo_api_retailmedia_v2023_07.api.accounts_api import AccountsApi
|
|
10
10
|
#
|
|
11
11
|
# or import this package, but before doing it, use:
|
|
12
12
|
#
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
# sys.setrecursionlimit(n)
|
|
15
15
|
|
|
16
16
|
# Import APIs into API package:
|
|
17
|
+
from criteo_api_retailmedia_v2023_07.api.accounts_api import AccountsApi
|
|
17
18
|
from criteo_api_retailmedia_v2023_07.api.analytics_api import AnalyticsApi
|
|
18
19
|
from criteo_api_retailmedia_v2023_07.api.audience_api import AudienceApi
|
|
20
|
+
from criteo_api_retailmedia_v2023_07.api.balance_api import BalanceApi
|
|
19
21
|
from criteo_api_retailmedia_v2023_07.api.campaign_api import CampaignApi
|
|
20
22
|
from criteo_api_retailmedia_v2023_07.api.gateway_api import GatewayApi
|
|
@@ -395,7 +395,7 @@ class Configuration(object):
|
|
|
395
395
|
"OS: {env}\n"\
|
|
396
396
|
"Python Version: {pyversion}\n"\
|
|
397
397
|
"Version of the API: 2023-07\n"\
|
|
398
|
-
"SDK Package Version: 2023.07.0.
|
|
398
|
+
"SDK Package Version: 2023.07.0.240808".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -121,6 +121,8 @@ class AsyncCampaignsReport(ModelNormal):
|
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
123
|
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'PAGECATEGORY': "pageCategory",
|
|
125
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
124
126
|
'KEYWORD': "keyword",
|
|
125
127
|
'SEARCHTERM': "searchTerm",
|
|
126
128
|
},
|
|
@@ -121,6 +121,8 @@ class AsyncLineItemsReport(ModelNormal):
|
|
|
121
121
|
'SALESCHANNEL': "salesChannel",
|
|
122
122
|
'ENVIRONMENT': "environment",
|
|
123
123
|
'PAGETYPENAME': "pageTypeName",
|
|
124
|
+
'PAGECATEGORY': "pageCategory",
|
|
125
|
+
'TAXONOMYBREADCRUMB': "taxonomyBreadcrumb",
|
|
124
126
|
'KEYWORD': "keyword",
|
|
125
127
|
'SEARCHTERM': "searchTerm",
|
|
126
128
|
},
|
|
@@ -164,7 +164,7 @@ class CommonProblem(ModelNormal):
|
|
|
164
164
|
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
165
165
|
trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
|
|
166
166
|
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
167
|
-
code (str, none_type): A machine-readable
|
|
167
|
+
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
168
168
|
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
169
169
|
title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
|
|
170
170
|
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|
|
@@ -258,7 +258,7 @@ class CommonProblem(ModelNormal):
|
|
|
258
258
|
trace_id (str, none_type): The request correlation ID this problem comes from.. [optional] # noqa: E501
|
|
259
259
|
trace_identifier (str, none_type): The request correlation ID this problem comes from. (deprecated, use traceId instead). [optional] # noqa: E501
|
|
260
260
|
type (str, none_type): The problem's category.. [optional] # noqa: E501
|
|
261
|
-
code (str, none_type): A machine-readable
|
|
261
|
+
code (str, none_type): A machine-readable error code, expressed as a string value.. [optional] # noqa: E501
|
|
262
262
|
instance (str, none_type): A URI that identifies the specific occurrence of the problem.. [optional] # noqa: E501
|
|
263
263
|
title (str, none_type): A short human-readable description of the problem type. [optional] # noqa: E501
|
|
264
264
|
detail (str, none_type): A human-readable explanation specific to this occurrence of the problem. [optional] # noqa: E501
|