criteo-api-retailmedia-sdk 2023.1.0.240118__py3-none-any.whl → 2023.1.0.240404__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.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2023.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/RECORD +36 -48
- {criteo_api_retailmedia_sdk-2023.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2023_01/__init__.py +1 -1
- criteo_api_retailmedia_v2023_01/api/audience_api.py +113 -100
- criteo_api_retailmedia_v2023_01/api/campaign_api.py +0 -442
- criteo_api_retailmedia_v2023_01/api_client.py +1 -1
- criteo_api_retailmedia_v2023_01/configuration.py +1 -1
- criteo_api_retailmedia_v2023_01/model/async_campaigns_report.py +57 -53
- criteo_api_retailmedia_v2023_01/model/async_line_items_report.py +57 -54
- criteo_api_retailmedia_v2023_01/model/campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2023_01/model/campaign_v202301.py +4 -0
- criteo_api_retailmedia_v2023_01/model/editable_campaign_attributes_v202301.py +4 -0
- criteo_api_retailmedia_v2023_01/model/external_account.py +4 -0
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_attributes.py → rm_legacy_audience_create_entity_v1.py} +10 -5
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_body.py → rm_legacy_audience_create_entity_v1_resource.py} +18 -22
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_v2_response.py → rm_legacy_audience_create_entity_v1_response.py} +15 -15
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_v2_attributes.py → rm_legacy_audience_create_entity_v2.py} +10 -10
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_v2_data.py → rm_legacy_audience_create_entity_v2_resource.py} +18 -22
- criteo_api_retailmedia_v2023_01/model/{common_status_code_response.py → rm_legacy_audience_create_entity_v2_response.py} +16 -10
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_v2_request.py → rm_legacy_audience_create_input_entity_v1.py} +10 -16
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_request.py → rm_legacy_audience_create_input_entity_v2.py} +10 -16
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_v2_attributes.py → rm_legacy_audience_get_entity_v1.py} +23 -23
- criteo_api_retailmedia_v2023_01/model/{creative202207_response.py → rm_legacy_audience_get_entity_v1_list_response.py} +16 -16
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_v2.py → rm_legacy_audience_get_entity_v1_resource.py} +24 -29
- criteo_api_retailmedia_v2023_01/model/{retail_media_audience_attributes.py → rm_legacy_audience_get_entity_v2.py} +15 -15
- criteo_api_retailmedia_v2023_01/model/{create_retail_media_audience_response.py → rm_legacy_audience_get_entity_v2_list_response.py} +18 -20
- criteo_api_retailmedia_v2023_01/model/{resource_of_creative202207.py → rm_legacy_audience_get_entity_v2_resource.py} +10 -10
- criteo_api_retailmedia_v2023_01/model/rm_legacy_audience_user_behavior_create_v2.py +279 -0
- criteo_api_retailmedia_v2023_01/model/{user_behavior_details_v2.py → rm_legacy_audience_user_behavior_details_v2.py} +11 -11
- criteo_api_retailmedia_v2023_01/model/{customer_list_details.py → rm_legacy_segment_customer_list.py} +11 -5
- criteo_api_retailmedia_v2023_01/model/{color_variable_value.py → rm_legacy_segment_user_behavior_create_v2.py} +44 -15
- criteo_api_retailmedia_v2023_01/model/{user_behavior_details.py → rm_legacy_segment_user_behavior_v1.py} +28 -28
- criteo_api_retailmedia_v2023_01/model/{create_user_behavior_segment_v2.py → rm_legacy_segment_user_behavior_v2.py} +7 -5
- criteo_api_retailmedia_v2023_01/models/__init__.py +20 -32
- criteo_api_retailmedia_v2023_01/model/choice_variable_value.py +0 -269
- criteo_api_retailmedia_v2023_01/model/create_retail_media_audience.py +0 -287
- criteo_api_retailmedia_v2023_01/model/create_retail_media_audience_v2.py +0 -287
- criteo_api_retailmedia_v2023_01/model/creative202207.py +0 -340
- criteo_api_retailmedia_v2023_01/model/creative_create_model202207.py +0 -297
- criteo_api_retailmedia_v2023_01/model/creative_update_model202207.py +0 -297
- criteo_api_retailmedia_v2023_01/model/files_variable_value.py +0 -271
- criteo_api_retailmedia_v2023_01/model/get_page_of_audiences_by_account_id_response.py +0 -295
- criteo_api_retailmedia_v2023_01/model/hyperlink_variable_value.py +0 -269
- criteo_api_retailmedia_v2023_01/model/retail_media_audience.py +0 -297
- criteo_api_retailmedia_v2023_01/model/retail_media_audience_v2_list_response.py +0 -293
- criteo_api_retailmedia_v2023_01/model/template_variable_value.py +0 -303
- criteo_api_retailmedia_v2023_01/model/text_variable_value.py +0 -269
- {criteo_api_retailmedia_sdk-2023.1.0.240118.dist-info → criteo_api_retailmedia_sdk-2023.1.0.240404.dist-info}/top_level.txt +0 -0
|
@@ -40,9 +40,6 @@ from criteo_api_retailmedia_v2023_01.model.category202204_list_response import C
|
|
|
40
40
|
from criteo_api_retailmedia_v2023_01.model.common_line_item_paged_list_response import CommonLineItemPagedListResponse
|
|
41
41
|
from criteo_api_retailmedia_v2023_01.model.common_line_item_response import CommonLineItemResponse
|
|
42
42
|
from criteo_api_retailmedia_v2023_01.model.creative202110_list_response import Creative202110ListResponse
|
|
43
|
-
from criteo_api_retailmedia_v2023_01.model.creative202207_response import Creative202207Response
|
|
44
|
-
from criteo_api_retailmedia_v2023_01.model.creative_create_model202207 import CreativeCreateModel202207
|
|
45
|
-
from criteo_api_retailmedia_v2023_01.model.creative_update_model202207 import CreativeUpdateModel202207
|
|
46
43
|
from criteo_api_retailmedia_v2023_01.model.external_retailer_pages202110 import ExternalRetailerPages202110
|
|
47
44
|
from criteo_api_retailmedia_v2023_01.model.json_api_page_response_of_account import JsonApiPageResponseOfAccount
|
|
48
45
|
from criteo_api_retailmedia_v2023_01.model.json_api_page_response_of_brand import JsonApiPageResponseOfBrand
|
|
@@ -903,64 +900,6 @@ class CampaignApi(object):
|
|
|
903
900
|
},
|
|
904
901
|
api_client=api_client
|
|
905
902
|
)
|
|
906
|
-
self.get_api202207_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
|
|
907
|
-
settings={
|
|
908
|
-
'response_type': (Creative202207Response,),
|
|
909
|
-
'auth': [
|
|
910
|
-
'oauth',
|
|
911
|
-
'oauth'
|
|
912
|
-
],
|
|
913
|
-
'endpoint_path': '/2023-01/retail-media/accounts/{account-id}/creatives/{creative-id}',
|
|
914
|
-
'operation_id': 'get_api202207_external_account_by_account_id_creativescreative_id',
|
|
915
|
-
'http_method': 'GET',
|
|
916
|
-
'servers': None,
|
|
917
|
-
},
|
|
918
|
-
params_map={
|
|
919
|
-
'all': [
|
|
920
|
-
'account_id',
|
|
921
|
-
'creative_id',
|
|
922
|
-
],
|
|
923
|
-
'required': [
|
|
924
|
-
'account_id',
|
|
925
|
-
'creative_id',
|
|
926
|
-
],
|
|
927
|
-
'nullable': [
|
|
928
|
-
],
|
|
929
|
-
'enum': [
|
|
930
|
-
],
|
|
931
|
-
'validation': [
|
|
932
|
-
]
|
|
933
|
-
},
|
|
934
|
-
root_map={
|
|
935
|
-
'validations': {
|
|
936
|
-
},
|
|
937
|
-
'allowed_values': {
|
|
938
|
-
},
|
|
939
|
-
'openapi_types': {
|
|
940
|
-
'account_id':
|
|
941
|
-
(str,),
|
|
942
|
-
'creative_id':
|
|
943
|
-
(str,),
|
|
944
|
-
},
|
|
945
|
-
'attribute_map': {
|
|
946
|
-
'account_id': 'account-id',
|
|
947
|
-
'creative_id': 'creative-id',
|
|
948
|
-
},
|
|
949
|
-
'location_map': {
|
|
950
|
-
'account_id': 'path',
|
|
951
|
-
'creative_id': 'path',
|
|
952
|
-
},
|
|
953
|
-
'collection_format_map': {
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
headers_map={
|
|
957
|
-
'accept': [
|
|
958
|
-
'application/json'
|
|
959
|
-
],
|
|
960
|
-
'content_type': [],
|
|
961
|
-
},
|
|
962
|
-
api_client=api_client
|
|
963
|
-
)
|
|
964
903
|
self.get_api202207_external_retailer_by_retailer_id_templatestemplate_id_endpoint = _Endpoint(
|
|
965
904
|
settings={
|
|
966
905
|
'response_type': (TemplateResponse,),
|
|
@@ -2671,64 +2610,6 @@ class CampaignApi(object):
|
|
|
2671
2610
|
},
|
|
2672
2611
|
api_client=api_client
|
|
2673
2612
|
)
|
|
2674
|
-
self.post_api202207_external_account_creatives_by_account_id_endpoint = _Endpoint(
|
|
2675
|
-
settings={
|
|
2676
|
-
'response_type': (Creative202207Response,),
|
|
2677
|
-
'auth': [
|
|
2678
|
-
'oauth',
|
|
2679
|
-
'oauth'
|
|
2680
|
-
],
|
|
2681
|
-
'endpoint_path': '/2023-01/retail-media/accounts/{account-id}/creatives',
|
|
2682
|
-
'operation_id': 'post_api202207_external_account_creatives_by_account_id',
|
|
2683
|
-
'http_method': 'POST',
|
|
2684
|
-
'servers': None,
|
|
2685
|
-
},
|
|
2686
|
-
params_map={
|
|
2687
|
-
'all': [
|
|
2688
|
-
'account_id',
|
|
2689
|
-
'creative_create_model202207',
|
|
2690
|
-
],
|
|
2691
|
-
'required': [
|
|
2692
|
-
'account_id',
|
|
2693
|
-
],
|
|
2694
|
-
'nullable': [
|
|
2695
|
-
],
|
|
2696
|
-
'enum': [
|
|
2697
|
-
],
|
|
2698
|
-
'validation': [
|
|
2699
|
-
]
|
|
2700
|
-
},
|
|
2701
|
-
root_map={
|
|
2702
|
-
'validations': {
|
|
2703
|
-
},
|
|
2704
|
-
'allowed_values': {
|
|
2705
|
-
},
|
|
2706
|
-
'openapi_types': {
|
|
2707
|
-
'account_id':
|
|
2708
|
-
(str,),
|
|
2709
|
-
'creative_create_model202207':
|
|
2710
|
-
(CreativeCreateModel202207,),
|
|
2711
|
-
},
|
|
2712
|
-
'attribute_map': {
|
|
2713
|
-
'account_id': 'account-id',
|
|
2714
|
-
},
|
|
2715
|
-
'location_map': {
|
|
2716
|
-
'account_id': 'path',
|
|
2717
|
-
'creative_create_model202207': 'body',
|
|
2718
|
-
},
|
|
2719
|
-
'collection_format_map': {
|
|
2720
|
-
}
|
|
2721
|
-
},
|
|
2722
|
-
headers_map={
|
|
2723
|
-
'accept': [
|
|
2724
|
-
'application/json'
|
|
2725
|
-
],
|
|
2726
|
-
'content_type': [
|
|
2727
|
-
'application/json'
|
|
2728
|
-
]
|
|
2729
|
-
},
|
|
2730
|
-
api_client=api_client
|
|
2731
|
-
)
|
|
2732
2613
|
self.post_api202301_external_account_campaigns_by_account_id_endpoint = _Endpoint(
|
|
2733
2614
|
settings={
|
|
2734
2615
|
'response_type': (JsonApiSingleResponseOfCampaignV202301,),
|
|
@@ -3135,70 +3016,6 @@ class CampaignApi(object):
|
|
|
3135
3016
|
},
|
|
3136
3017
|
api_client=api_client
|
|
3137
3018
|
)
|
|
3138
|
-
self.put_api202207_external_account_by_account_id_creativescreative_id_endpoint = _Endpoint(
|
|
3139
|
-
settings={
|
|
3140
|
-
'response_type': (Creative202207Response,),
|
|
3141
|
-
'auth': [
|
|
3142
|
-
'oauth',
|
|
3143
|
-
'oauth'
|
|
3144
|
-
],
|
|
3145
|
-
'endpoint_path': '/2023-01/retail-media/accounts/{account-id}/creatives/{creative-id}',
|
|
3146
|
-
'operation_id': 'put_api202207_external_account_by_account_id_creativescreative_id',
|
|
3147
|
-
'http_method': 'PUT',
|
|
3148
|
-
'servers': None,
|
|
3149
|
-
},
|
|
3150
|
-
params_map={
|
|
3151
|
-
'all': [
|
|
3152
|
-
'account_id',
|
|
3153
|
-
'creative_id',
|
|
3154
|
-
'creative_update_model202207',
|
|
3155
|
-
],
|
|
3156
|
-
'required': [
|
|
3157
|
-
'account_id',
|
|
3158
|
-
'creative_id',
|
|
3159
|
-
],
|
|
3160
|
-
'nullable': [
|
|
3161
|
-
],
|
|
3162
|
-
'enum': [
|
|
3163
|
-
],
|
|
3164
|
-
'validation': [
|
|
3165
|
-
]
|
|
3166
|
-
},
|
|
3167
|
-
root_map={
|
|
3168
|
-
'validations': {
|
|
3169
|
-
},
|
|
3170
|
-
'allowed_values': {
|
|
3171
|
-
},
|
|
3172
|
-
'openapi_types': {
|
|
3173
|
-
'account_id':
|
|
3174
|
-
(str,),
|
|
3175
|
-
'creative_id':
|
|
3176
|
-
(str,),
|
|
3177
|
-
'creative_update_model202207':
|
|
3178
|
-
(CreativeUpdateModel202207,),
|
|
3179
|
-
},
|
|
3180
|
-
'attribute_map': {
|
|
3181
|
-
'account_id': 'account-id',
|
|
3182
|
-
'creative_id': 'creative-id',
|
|
3183
|
-
},
|
|
3184
|
-
'location_map': {
|
|
3185
|
-
'account_id': 'path',
|
|
3186
|
-
'creative_id': 'path',
|
|
3187
|
-
'creative_update_model202207': 'body',
|
|
3188
|
-
},
|
|
3189
|
-
'collection_format_map': {
|
|
3190
|
-
}
|
|
3191
|
-
},
|
|
3192
|
-
headers_map={
|
|
3193
|
-
'accept': [
|
|
3194
|
-
'application/json'
|
|
3195
|
-
],
|
|
3196
|
-
'content_type': [
|
|
3197
|
-
'application/json'
|
|
3198
|
-
]
|
|
3199
|
-
},
|
|
3200
|
-
api_client=api_client
|
|
3201
|
-
)
|
|
3202
3019
|
self.put_api202301_external_campaign_by_campaign_id_endpoint = _Endpoint(
|
|
3203
3020
|
settings={
|
|
3204
3021
|
'response_type': (JsonApiSingleResponseOfCampaignV202301,),
|
|
@@ -4549,93 +4366,6 @@ class CampaignApi(object):
|
|
|
4549
4366
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4550
4367
|
return self.get_api202204_external_categories_endpoint.call_with_http_info(**kwargs)
|
|
4551
4368
|
|
|
4552
|
-
def get_api202207_external_account_by_account_id_creativescreative_id(
|
|
4553
|
-
self,
|
|
4554
|
-
account_id,
|
|
4555
|
-
creative_id,
|
|
4556
|
-
**kwargs
|
|
4557
|
-
):
|
|
4558
|
-
"""get_api202207_external_account_by_account_id_creativescreative_id # noqa: E501
|
|
4559
|
-
|
|
4560
|
-
Get the specified creative # noqa: E501
|
|
4561
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
4562
|
-
asynchronous HTTP request, please pass async_req=True
|
|
4563
|
-
|
|
4564
|
-
>>> thread = api.get_api202207_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
|
|
4565
|
-
>>> result = thread.get()
|
|
4566
|
-
|
|
4567
|
-
Args:
|
|
4568
|
-
account_id (str): External account id to retrieve creatives for
|
|
4569
|
-
creative_id (str): Creative to get
|
|
4570
|
-
|
|
4571
|
-
Keyword Args:
|
|
4572
|
-
_return_http_data_only (bool): response data without head status
|
|
4573
|
-
code and headers. Default is True.
|
|
4574
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4575
|
-
will be returned without reading/decoding response data.
|
|
4576
|
-
Default is True.
|
|
4577
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4578
|
-
one number provided, it will be total request timeout. It can also
|
|
4579
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
4580
|
-
Default is None.
|
|
4581
|
-
_check_input_type (bool): specifies if type checking
|
|
4582
|
-
should be done one the data sent to the server.
|
|
4583
|
-
Default is True.
|
|
4584
|
-
_check_return_type (bool): specifies if type checking
|
|
4585
|
-
should be done one the data received from the server.
|
|
4586
|
-
Default is True.
|
|
4587
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
4588
|
-
are serialized names, as specified in the OpenAPI document.
|
|
4589
|
-
False if the variable names in the input data
|
|
4590
|
-
are pythonic names, e.g. snake case (default)
|
|
4591
|
-
_content_type (str/None): force body content-type.
|
|
4592
|
-
Default is None and content-type will be predicted by allowed
|
|
4593
|
-
content-types and body.
|
|
4594
|
-
_host_index (int/None): specifies the index of the server
|
|
4595
|
-
that we want to use.
|
|
4596
|
-
Default is read from the configuration.
|
|
4597
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
4598
|
-
request; this effectively ignores the authentication
|
|
4599
|
-
in the spec for a single request.
|
|
4600
|
-
Default is None
|
|
4601
|
-
async_req (bool): execute request asynchronously
|
|
4602
|
-
|
|
4603
|
-
Returns:
|
|
4604
|
-
Creative202207Response
|
|
4605
|
-
If the method is called asynchronously, returns the request
|
|
4606
|
-
thread.
|
|
4607
|
-
"""
|
|
4608
|
-
kwargs['async_req'] = kwargs.get(
|
|
4609
|
-
'async_req', False
|
|
4610
|
-
)
|
|
4611
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4612
|
-
'_return_http_data_only', True
|
|
4613
|
-
)
|
|
4614
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
4615
|
-
'_preload_content', True
|
|
4616
|
-
)
|
|
4617
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
4618
|
-
'_request_timeout', None
|
|
4619
|
-
)
|
|
4620
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
4621
|
-
'_check_input_type', True
|
|
4622
|
-
)
|
|
4623
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
4624
|
-
'_check_return_type', True
|
|
4625
|
-
)
|
|
4626
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4627
|
-
'_spec_property_naming', False
|
|
4628
|
-
)
|
|
4629
|
-
kwargs['_content_type'] = kwargs.get(
|
|
4630
|
-
'_content_type')
|
|
4631
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4632
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4633
|
-
kwargs['account_id'] = \
|
|
4634
|
-
account_id
|
|
4635
|
-
kwargs['creative_id'] = \
|
|
4636
|
-
creative_id
|
|
4637
|
-
return self.get_api202207_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
|
|
4638
|
-
|
|
4639
4369
|
def get_api202207_external_retailer_by_retailer_id_templatestemplate_id(
|
|
4640
4370
|
self,
|
|
4641
4371
|
retailer_id,
|
|
@@ -7077,90 +6807,6 @@ class CampaignApi(object):
|
|
|
7077
6807
|
line_item_id
|
|
7078
6808
|
return self.post_api202110_external_preferred_line_item_targeting_stores_delete_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
7079
6809
|
|
|
7080
|
-
def post_api202207_external_account_creatives_by_account_id(
|
|
7081
|
-
self,
|
|
7082
|
-
account_id,
|
|
7083
|
-
**kwargs
|
|
7084
|
-
):
|
|
7085
|
-
"""post_api202207_external_account_creatives_by_account_id # noqa: E501
|
|
7086
|
-
|
|
7087
|
-
Create a creative for an account # noqa: E501
|
|
7088
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
7089
|
-
asynchronous HTTP request, please pass async_req=True
|
|
7090
|
-
|
|
7091
|
-
>>> thread = api.post_api202207_external_account_creatives_by_account_id(account_id, async_req=True)
|
|
7092
|
-
>>> result = thread.get()
|
|
7093
|
-
|
|
7094
|
-
Args:
|
|
7095
|
-
account_id (str): External account id to create a creative for
|
|
7096
|
-
|
|
7097
|
-
Keyword Args:
|
|
7098
|
-
creative_create_model202207 (CreativeCreateModel202207): The creative to create. [optional]
|
|
7099
|
-
_return_http_data_only (bool): response data without head status
|
|
7100
|
-
code and headers. Default is True.
|
|
7101
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
7102
|
-
will be returned without reading/decoding response data.
|
|
7103
|
-
Default is True.
|
|
7104
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
7105
|
-
one number provided, it will be total request timeout. It can also
|
|
7106
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
7107
|
-
Default is None.
|
|
7108
|
-
_check_input_type (bool): specifies if type checking
|
|
7109
|
-
should be done one the data sent to the server.
|
|
7110
|
-
Default is True.
|
|
7111
|
-
_check_return_type (bool): specifies if type checking
|
|
7112
|
-
should be done one the data received from the server.
|
|
7113
|
-
Default is True.
|
|
7114
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
7115
|
-
are serialized names, as specified in the OpenAPI document.
|
|
7116
|
-
False if the variable names in the input data
|
|
7117
|
-
are pythonic names, e.g. snake case (default)
|
|
7118
|
-
_content_type (str/None): force body content-type.
|
|
7119
|
-
Default is None and content-type will be predicted by allowed
|
|
7120
|
-
content-types and body.
|
|
7121
|
-
_host_index (int/None): specifies the index of the server
|
|
7122
|
-
that we want to use.
|
|
7123
|
-
Default is read from the configuration.
|
|
7124
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
7125
|
-
request; this effectively ignores the authentication
|
|
7126
|
-
in the spec for a single request.
|
|
7127
|
-
Default is None
|
|
7128
|
-
async_req (bool): execute request asynchronously
|
|
7129
|
-
|
|
7130
|
-
Returns:
|
|
7131
|
-
Creative202207Response
|
|
7132
|
-
If the method is called asynchronously, returns the request
|
|
7133
|
-
thread.
|
|
7134
|
-
"""
|
|
7135
|
-
kwargs['async_req'] = kwargs.get(
|
|
7136
|
-
'async_req', False
|
|
7137
|
-
)
|
|
7138
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
7139
|
-
'_return_http_data_only', True
|
|
7140
|
-
)
|
|
7141
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
7142
|
-
'_preload_content', True
|
|
7143
|
-
)
|
|
7144
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
7145
|
-
'_request_timeout', None
|
|
7146
|
-
)
|
|
7147
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
7148
|
-
'_check_input_type', True
|
|
7149
|
-
)
|
|
7150
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
7151
|
-
'_check_return_type', True
|
|
7152
|
-
)
|
|
7153
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
7154
|
-
'_spec_property_naming', False
|
|
7155
|
-
)
|
|
7156
|
-
kwargs['_content_type'] = kwargs.get(
|
|
7157
|
-
'_content_type')
|
|
7158
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
7159
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
7160
|
-
kwargs['account_id'] = \
|
|
7161
|
-
account_id
|
|
7162
|
-
return self.post_api202207_external_account_creatives_by_account_id_endpoint.call_with_http_info(**kwargs)
|
|
7163
|
-
|
|
7164
6810
|
def post_api202301_external_account_campaigns_by_account_id(
|
|
7165
6811
|
self,
|
|
7166
6812
|
account_id,
|
|
@@ -7749,94 +7395,6 @@ class CampaignApi(object):
|
|
|
7749
7395
|
line_item_id
|
|
7750
7396
|
return self.put_api202110_external_preferred_line_item_targeting_stores_by_line_item_id_endpoint.call_with_http_info(**kwargs)
|
|
7751
7397
|
|
|
7752
|
-
def put_api202207_external_account_by_account_id_creativescreative_id(
|
|
7753
|
-
self,
|
|
7754
|
-
account_id,
|
|
7755
|
-
creative_id,
|
|
7756
|
-
**kwargs
|
|
7757
|
-
):
|
|
7758
|
-
"""put_api202207_external_account_by_account_id_creativescreative_id # noqa: E501
|
|
7759
|
-
|
|
7760
|
-
Update a creative # noqa: E501
|
|
7761
|
-
This method makes a synchronous HTTP request by default. To make an
|
|
7762
|
-
asynchronous HTTP request, please pass async_req=True
|
|
7763
|
-
|
|
7764
|
-
>>> thread = api.put_api202207_external_account_by_account_id_creativescreative_id(account_id, creative_id, async_req=True)
|
|
7765
|
-
>>> result = thread.get()
|
|
7766
|
-
|
|
7767
|
-
Args:
|
|
7768
|
-
account_id (str): External account id containing the creative
|
|
7769
|
-
creative_id (str): Creative to update
|
|
7770
|
-
|
|
7771
|
-
Keyword Args:
|
|
7772
|
-
creative_update_model202207 (CreativeUpdateModel202207): The creative to create. [optional]
|
|
7773
|
-
_return_http_data_only (bool): response data without head status
|
|
7774
|
-
code and headers. Default is True.
|
|
7775
|
-
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
7776
|
-
will be returned without reading/decoding response data.
|
|
7777
|
-
Default is True.
|
|
7778
|
-
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
7779
|
-
one number provided, it will be total request timeout. It can also
|
|
7780
|
-
be a pair (tuple) of (connection, read) timeouts.
|
|
7781
|
-
Default is None.
|
|
7782
|
-
_check_input_type (bool): specifies if type checking
|
|
7783
|
-
should be done one the data sent to the server.
|
|
7784
|
-
Default is True.
|
|
7785
|
-
_check_return_type (bool): specifies if type checking
|
|
7786
|
-
should be done one the data received from the server.
|
|
7787
|
-
Default is True.
|
|
7788
|
-
_spec_property_naming (bool): True if the variable names in the input data
|
|
7789
|
-
are serialized names, as specified in the OpenAPI document.
|
|
7790
|
-
False if the variable names in the input data
|
|
7791
|
-
are pythonic names, e.g. snake case (default)
|
|
7792
|
-
_content_type (str/None): force body content-type.
|
|
7793
|
-
Default is None and content-type will be predicted by allowed
|
|
7794
|
-
content-types and body.
|
|
7795
|
-
_host_index (int/None): specifies the index of the server
|
|
7796
|
-
that we want to use.
|
|
7797
|
-
Default is read from the configuration.
|
|
7798
|
-
_request_auths (list): set to override the auth_settings for an a single
|
|
7799
|
-
request; this effectively ignores the authentication
|
|
7800
|
-
in the spec for a single request.
|
|
7801
|
-
Default is None
|
|
7802
|
-
async_req (bool): execute request asynchronously
|
|
7803
|
-
|
|
7804
|
-
Returns:
|
|
7805
|
-
Creative202207Response
|
|
7806
|
-
If the method is called asynchronously, returns the request
|
|
7807
|
-
thread.
|
|
7808
|
-
"""
|
|
7809
|
-
kwargs['async_req'] = kwargs.get(
|
|
7810
|
-
'async_req', False
|
|
7811
|
-
)
|
|
7812
|
-
kwargs['_return_http_data_only'] = kwargs.get(
|
|
7813
|
-
'_return_http_data_only', True
|
|
7814
|
-
)
|
|
7815
|
-
kwargs['_preload_content'] = kwargs.get(
|
|
7816
|
-
'_preload_content', True
|
|
7817
|
-
)
|
|
7818
|
-
kwargs['_request_timeout'] = kwargs.get(
|
|
7819
|
-
'_request_timeout', None
|
|
7820
|
-
)
|
|
7821
|
-
kwargs['_check_input_type'] = kwargs.get(
|
|
7822
|
-
'_check_input_type', True
|
|
7823
|
-
)
|
|
7824
|
-
kwargs['_check_return_type'] = kwargs.get(
|
|
7825
|
-
'_check_return_type', True
|
|
7826
|
-
)
|
|
7827
|
-
kwargs['_spec_property_naming'] = kwargs.get(
|
|
7828
|
-
'_spec_property_naming', False
|
|
7829
|
-
)
|
|
7830
|
-
kwargs['_content_type'] = kwargs.get(
|
|
7831
|
-
'_content_type')
|
|
7832
|
-
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
7833
|
-
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
7834
|
-
kwargs['account_id'] = \
|
|
7835
|
-
account_id
|
|
7836
|
-
kwargs['creative_id'] = \
|
|
7837
|
-
creative_id
|
|
7838
|
-
return self.put_api202207_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
|
|
7839
|
-
|
|
7840
7398
|
def put_api202301_external_campaign_by_campaign_id(
|
|
7841
7399
|
self,
|
|
7842
7400
|
campaign_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.01.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/2023.01.0.240404/python'
|
|
80
80
|
|
|
81
81
|
def __enter__(self):
|
|
82
82
|
return self
|
|
@@ -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-01\n"\
|
|
398
|
-
"SDK Package Version: 2023.01.0.
|
|
398
|
+
"SDK Package Version: 2023.01.0.240404".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|