criteo-api-retailmedia-sdk 0.0.251009__py3-none-any.whl → 0.0.251015__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/audience_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +172 -24
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/campaign_availability.py +3 -3
- criteo_api_retailmedia_preview/model/line_item_budget_cap_out_history.py +266 -0
- criteo_api_retailmedia_preview/model/line_item_budget_cap_out_history_capout_times.py +269 -0
- criteo_api_retailmedia_preview/model/line_item_budget_cap_out_history_request.py +278 -0
- criteo_api_retailmedia_preview/model/line_item_budget_cap_out_history_response.py +262 -0
- criteo_api_retailmedia_preview/model/page_type_combination.py +2 -2
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +4 -3
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +9 -10
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py +0 -1
- criteo_api_retailmedia_preview/model/value_resource_input_line_item_budget_cap_out_history_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_line_item_budget_cap_out_history_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_line_item_budget_cap_out_history_response.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_outcome_line_item_budget_cap_out_history_response.py +274 -0
- criteo_api_retailmedia_preview/models/__init__.py +8 -0
- {criteo_api_retailmedia_sdk-0.0.251009.dist-info → criteo_api_retailmedia_sdk-0.0.251015.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.251009.dist-info → criteo_api_retailmedia_sdk-0.0.251015.dist-info}/RECORD +23 -15
- {criteo_api_retailmedia_sdk-0.0.251009.dist-info → criteo_api_retailmedia_sdk-0.0.251015.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.251009.dist-info → criteo_api_retailmedia_sdk-0.0.251015.dist-info}/top_level.txt +0 -0
|
@@ -530,7 +530,7 @@ class AudienceApi(object):
|
|
|
530
530
|
},
|
|
531
531
|
api_client=api_client
|
|
532
532
|
)
|
|
533
|
-
self.
|
|
533
|
+
self.delete_contact_list_by_audience_segment_endpoint = _Endpoint(
|
|
534
534
|
settings={
|
|
535
535
|
'response_type': None,
|
|
536
536
|
'auth': [
|
|
@@ -538,7 +538,7 @@ class AudienceApi(object):
|
|
|
538
538
|
'oauth'
|
|
539
539
|
],
|
|
540
540
|
'endpoint_path': '/preview/retail-media/audience-segments/{audience-segment-id}/contact-list/clear',
|
|
541
|
-
'operation_id': '
|
|
541
|
+
'operation_id': 'delete_contact_list_by_audience_segment',
|
|
542
542
|
'http_method': 'POST',
|
|
543
543
|
'servers': None,
|
|
544
544
|
},
|
|
@@ -908,7 +908,7 @@ class AudienceApi(object):
|
|
|
908
908
|
},
|
|
909
909
|
api_client=api_client
|
|
910
910
|
)
|
|
911
|
-
self.
|
|
911
|
+
self.update_contact_list_by_audience_segment_endpoint = _Endpoint(
|
|
912
912
|
settings={
|
|
913
913
|
'response_type': (RetailMediaContactlistOperation,),
|
|
914
914
|
'auth': [
|
|
@@ -916,7 +916,7 @@ class AudienceApi(object):
|
|
|
916
916
|
'oauth'
|
|
917
917
|
],
|
|
918
918
|
'endpoint_path': '/preview/retail-media/audience-segments/{audience-segment-id}/contact-list/add-remove',
|
|
919
|
-
'operation_id': '
|
|
919
|
+
'operation_id': 'update_contact_list_by_audience_segment',
|
|
920
920
|
'http_method': 'POST',
|
|
921
921
|
'servers': None,
|
|
922
922
|
},
|
|
@@ -1664,18 +1664,18 @@ class AudienceApi(object):
|
|
|
1664
1664
|
rm_audience_compute_sizes_input_v1
|
|
1665
1665
|
return self.compute_audiences_sizes_endpoint.call_with_http_info(**kwargs)
|
|
1666
1666
|
|
|
1667
|
-
def
|
|
1667
|
+
def delete_contact_list_by_audience_segment(
|
|
1668
1668
|
self,
|
|
1669
1669
|
audience_segment_id,
|
|
1670
1670
|
**kwargs
|
|
1671
1671
|
):
|
|
1672
|
-
"""
|
|
1672
|
+
"""delete_contact_list_by_audience_segment # noqa: E501
|
|
1673
1673
|
|
|
1674
1674
|
Delete all identifiers from a retail-media contact list audience-segment, with external audience segment id. # noqa: E501
|
|
1675
1675
|
This method makes a synchronous HTTP request by default. To make an
|
|
1676
1676
|
asynchronous HTTP request, please pass async_req=True
|
|
1677
1677
|
|
|
1678
|
-
>>> thread = api.
|
|
1678
|
+
>>> thread = api.delete_contact_list_by_audience_segment(audience_segment_id, async_req=True)
|
|
1679
1679
|
>>> result = thread.get()
|
|
1680
1680
|
|
|
1681
1681
|
Args:
|
|
@@ -1745,7 +1745,7 @@ class AudienceApi(object):
|
|
|
1745
1745
|
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1746
1746
|
kwargs['audience_segment_id'] = \
|
|
1747
1747
|
audience_segment_id
|
|
1748
|
-
return self.
|
|
1748
|
+
return self.delete_contact_list_by_audience_segment_endpoint.call_with_http_info(**kwargs)
|
|
1749
1749
|
|
|
1750
1750
|
def estimate_audience_segment_size(
|
|
1751
1751
|
self,
|
|
@@ -2186,19 +2186,19 @@ class AudienceApi(object):
|
|
|
2186
2186
|
rm_audience_search_input_v1
|
|
2187
2187
|
return self.search_audiences_endpoint.call_with_http_info(**kwargs)
|
|
2188
2188
|
|
|
2189
|
-
def
|
|
2189
|
+
def update_contact_list_by_audience_segment(
|
|
2190
2190
|
self,
|
|
2191
2191
|
audience_segment_id,
|
|
2192
2192
|
retail_media_contactlist_amendment_request,
|
|
2193
2193
|
**kwargs
|
|
2194
2194
|
):
|
|
2195
|
-
"""
|
|
2195
|
+
"""update_contact_list_by_audience_segment # noqa: E501
|
|
2196
2196
|
|
|
2197
2197
|
Add/remove identifiers to or from a retail-media contact list audience-segment, with external audience segment id. # noqa: E501
|
|
2198
2198
|
This method makes a synchronous HTTP request by default. To make an
|
|
2199
2199
|
asynchronous HTTP request, please pass async_req=True
|
|
2200
2200
|
|
|
2201
|
-
>>> thread = api.
|
|
2201
|
+
>>> thread = api.update_contact_list_by_audience_segment(audience_segment_id, retail_media_contactlist_amendment_request, async_req=True)
|
|
2202
2202
|
>>> result = thread.get()
|
|
2203
2203
|
|
|
2204
2204
|
Args:
|
|
@@ -2271,5 +2271,5 @@ class AudienceApi(object):
|
|
|
2271
2271
|
audience_segment_id
|
|
2272
2272
|
kwargs['retail_media_contactlist_amendment_request'] = \
|
|
2273
2273
|
retail_media_contactlist_amendment_request
|
|
2274
|
-
return self.
|
|
2274
|
+
return self.update_contact_list_by_audience_segment_endpoint.call_with_http_info(**kwargs)
|
|
2275
2275
|
|
|
@@ -55,6 +55,7 @@ from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import
|
|
|
55
55
|
from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
|
|
56
56
|
from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
|
|
57
57
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
58
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_line_item_budget_cap_out_history_request import ValueResourceInputLineItemBudgetCapOutHistoryRequest
|
|
58
59
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
59
60
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_retailer_search_request import ValueResourceInputOfRetailerSearchRequest
|
|
60
61
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
|
|
@@ -63,6 +64,7 @@ from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_prod
|
|
|
63
64
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
|
|
64
65
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
|
|
65
66
|
from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
|
|
67
|
+
from criteo_api_retailmedia_preview.model.value_resource_outcome_line_item_budget_cap_out_history_response import ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
|
|
66
68
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
|
|
67
69
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
|
|
68
70
|
|
|
@@ -1023,9 +1025,9 @@ class CampaignApi(object):
|
|
|
1023
1025
|
params_map={
|
|
1024
1026
|
'all': [
|
|
1025
1027
|
'campaign_id',
|
|
1026
|
-
'
|
|
1027
|
-
'
|
|
1028
|
-
'
|
|
1028
|
+
'limit',
|
|
1029
|
+
'limit_to_ids',
|
|
1030
|
+
'offset',
|
|
1029
1031
|
],
|
|
1030
1032
|
'required': [
|
|
1031
1033
|
'campaign_id',
|
|
@@ -1035,21 +1037,21 @@ class CampaignApi(object):
|
|
|
1035
1037
|
'enum': [
|
|
1036
1038
|
],
|
|
1037
1039
|
'validation': [
|
|
1038
|
-
'
|
|
1039
|
-
'
|
|
1040
|
+
'limit',
|
|
1041
|
+
'offset',
|
|
1040
1042
|
]
|
|
1041
1043
|
},
|
|
1042
1044
|
root_map={
|
|
1043
1045
|
'validations': {
|
|
1044
|
-
('
|
|
1046
|
+
('limit',): {
|
|
1045
1047
|
|
|
1046
|
-
'inclusive_maximum':
|
|
1047
|
-
'inclusive_minimum':
|
|
1048
|
+
'inclusive_maximum': 500,
|
|
1049
|
+
'inclusive_minimum': 1,
|
|
1048
1050
|
},
|
|
1049
|
-
('
|
|
1051
|
+
('offset',): {
|
|
1050
1052
|
|
|
1051
1053
|
'inclusive_maximum': 2147483647,
|
|
1052
|
-
'inclusive_minimum':
|
|
1054
|
+
'inclusive_minimum': 0,
|
|
1053
1055
|
},
|
|
1054
1056
|
},
|
|
1055
1057
|
'allowed_values': {
|
|
@@ -1057,27 +1059,27 @@ class CampaignApi(object):
|
|
|
1057
1059
|
'openapi_types': {
|
|
1058
1060
|
'campaign_id':
|
|
1059
1061
|
(str,),
|
|
1060
|
-
'
|
|
1061
|
-
([str],),
|
|
1062
|
-
'page_index':
|
|
1062
|
+
'limit':
|
|
1063
1063
|
(int,),
|
|
1064
|
-
'
|
|
1064
|
+
'limit_to_ids':
|
|
1065
|
+
([str],),
|
|
1066
|
+
'offset':
|
|
1065
1067
|
(int,),
|
|
1066
1068
|
},
|
|
1067
1069
|
'attribute_map': {
|
|
1068
1070
|
'campaign_id': 'campaignId',
|
|
1069
|
-
'
|
|
1070
|
-
'
|
|
1071
|
-
'
|
|
1071
|
+
'limit': 'limit',
|
|
1072
|
+
'limit_to_ids': 'limitToIds',
|
|
1073
|
+
'offset': 'offset',
|
|
1072
1074
|
},
|
|
1073
1075
|
'location_map': {
|
|
1074
1076
|
'campaign_id': 'path',
|
|
1075
|
-
'
|
|
1076
|
-
'
|
|
1077
|
-
'
|
|
1077
|
+
'limit': 'query',
|
|
1078
|
+
'limit_to_ids': 'query',
|
|
1079
|
+
'offset': 'query',
|
|
1078
1080
|
},
|
|
1079
1081
|
'collection_format_map': {
|
|
1080
|
-
'
|
|
1082
|
+
'limit_to_ids': 'multi',
|
|
1081
1083
|
}
|
|
1082
1084
|
},
|
|
1083
1085
|
headers_map={
|
|
@@ -1088,6 +1090,65 @@ class CampaignApi(object):
|
|
|
1088
1090
|
},
|
|
1089
1091
|
api_client=api_client
|
|
1090
1092
|
)
|
|
1093
|
+
self.get_capout_history_endpoint = _Endpoint(
|
|
1094
|
+
settings={
|
|
1095
|
+
'response_type': (ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse,),
|
|
1096
|
+
'auth': [
|
|
1097
|
+
'oauth',
|
|
1098
|
+
'oauth'
|
|
1099
|
+
],
|
|
1100
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/line-items/cap-out-history',
|
|
1101
|
+
'operation_id': 'get_capout_history',
|
|
1102
|
+
'http_method': 'POST',
|
|
1103
|
+
'servers': None,
|
|
1104
|
+
},
|
|
1105
|
+
params_map={
|
|
1106
|
+
'all': [
|
|
1107
|
+
'account_id',
|
|
1108
|
+
'value_resource_input_line_item_budget_cap_out_history_request',
|
|
1109
|
+
],
|
|
1110
|
+
'required': [
|
|
1111
|
+
'account_id',
|
|
1112
|
+
'value_resource_input_line_item_budget_cap_out_history_request',
|
|
1113
|
+
],
|
|
1114
|
+
'nullable': [
|
|
1115
|
+
],
|
|
1116
|
+
'enum': [
|
|
1117
|
+
],
|
|
1118
|
+
'validation': [
|
|
1119
|
+
]
|
|
1120
|
+
},
|
|
1121
|
+
root_map={
|
|
1122
|
+
'validations': {
|
|
1123
|
+
},
|
|
1124
|
+
'allowed_values': {
|
|
1125
|
+
},
|
|
1126
|
+
'openapi_types': {
|
|
1127
|
+
'account_id':
|
|
1128
|
+
(str,),
|
|
1129
|
+
'value_resource_input_line_item_budget_cap_out_history_request':
|
|
1130
|
+
(ValueResourceInputLineItemBudgetCapOutHistoryRequest,),
|
|
1131
|
+
},
|
|
1132
|
+
'attribute_map': {
|
|
1133
|
+
'account_id': 'account-id',
|
|
1134
|
+
},
|
|
1135
|
+
'location_map': {
|
|
1136
|
+
'account_id': 'path',
|
|
1137
|
+
'value_resource_input_line_item_budget_cap_out_history_request': 'body',
|
|
1138
|
+
},
|
|
1139
|
+
'collection_format_map': {
|
|
1140
|
+
}
|
|
1141
|
+
},
|
|
1142
|
+
headers_map={
|
|
1143
|
+
'accept': [
|
|
1144
|
+
'application/json'
|
|
1145
|
+
],
|
|
1146
|
+
'content_type': [
|
|
1147
|
+
'application/json'
|
|
1148
|
+
]
|
|
1149
|
+
},
|
|
1150
|
+
api_client=api_client
|
|
1151
|
+
)
|
|
1091
1152
|
self.get_creative_endpoint = _Endpoint(
|
|
1092
1153
|
settings={
|
|
1093
1154
|
'response_type': (Creative2Response,),
|
|
@@ -3978,9 +4039,9 @@ class CampaignApi(object):
|
|
|
3978
4039
|
campaign_id (str): The id of the campaign
|
|
3979
4040
|
|
|
3980
4041
|
Keyword Args:
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
4042
|
+
limit (int): The number of elements to be returned on a page.. [optional] if omitted the server will use the default value of 25
|
|
4043
|
+
limit_to_ids ([str]): The ids to limit the auction line item results to. [optional]
|
|
4044
|
+
offset (int): The (zero-based) starting offset into the collection.. [optional] if omitted the server will use the default value of 0
|
|
3984
4045
|
_return_http_data_only (bool): response data without head status
|
|
3985
4046
|
code and headers. Default is True.
|
|
3986
4047
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4046,6 +4107,93 @@ class CampaignApi(object):
|
|
|
4046
4107
|
campaign_id
|
|
4047
4108
|
return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
|
|
4048
4109
|
|
|
4110
|
+
def get_capout_history(
|
|
4111
|
+
self,
|
|
4112
|
+
account_id,
|
|
4113
|
+
value_resource_input_line_item_budget_cap_out_history_request,
|
|
4114
|
+
**kwargs
|
|
4115
|
+
):
|
|
4116
|
+
"""get_capout_history # noqa: E501
|
|
4117
|
+
|
|
4118
|
+
Get the cap out history for line items # noqa: E501
|
|
4119
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4120
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4121
|
+
|
|
4122
|
+
>>> thread = api.get_capout_history(account_id, value_resource_input_line_item_budget_cap_out_history_request, async_req=True)
|
|
4123
|
+
>>> result = thread.get()
|
|
4124
|
+
|
|
4125
|
+
Args:
|
|
4126
|
+
account_id (str): account id that own the lineitem
|
|
4127
|
+
value_resource_input_line_item_budget_cap_out_history_request (ValueResourceInputLineItemBudgetCapOutHistoryRequest): lineitem budgetcapout history object
|
|
4128
|
+
|
|
4129
|
+
Keyword Args:
|
|
4130
|
+
_return_http_data_only (bool): response data without head status
|
|
4131
|
+
code and headers. Default is True.
|
|
4132
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4133
|
+
will be returned without reading/decoding response data.
|
|
4134
|
+
Default is True.
|
|
4135
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4136
|
+
one number provided, it will be total request timeout. It can also
|
|
4137
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
4138
|
+
Default is None.
|
|
4139
|
+
_check_input_type (bool): specifies if type checking
|
|
4140
|
+
should be done one the data sent to the server.
|
|
4141
|
+
Default is True.
|
|
4142
|
+
_check_return_type (bool): specifies if type checking
|
|
4143
|
+
should be done one the data received from the server.
|
|
4144
|
+
Default is True.
|
|
4145
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
4146
|
+
are serialized names, as specified in the OpenAPI document.
|
|
4147
|
+
False if the variable names in the input data
|
|
4148
|
+
are pythonic names, e.g. snake case (default)
|
|
4149
|
+
_content_type (str/None): force body content-type.
|
|
4150
|
+
Default is None and content-type will be predicted by allowed
|
|
4151
|
+
content-types and body.
|
|
4152
|
+
_host_index (int/None): specifies the index of the server
|
|
4153
|
+
that we want to use.
|
|
4154
|
+
Default is read from the configuration.
|
|
4155
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
4156
|
+
request; this effectively ignores the authentication
|
|
4157
|
+
in the spec for a single request.
|
|
4158
|
+
Default is None
|
|
4159
|
+
async_req (bool): execute request asynchronously
|
|
4160
|
+
|
|
4161
|
+
Returns:
|
|
4162
|
+
ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
|
|
4163
|
+
If the method is called asynchronously, returns the request
|
|
4164
|
+
thread.
|
|
4165
|
+
"""
|
|
4166
|
+
kwargs['async_req'] = kwargs.get(
|
|
4167
|
+
'async_req', False
|
|
4168
|
+
)
|
|
4169
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4170
|
+
'_return_http_data_only', True
|
|
4171
|
+
)
|
|
4172
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
4173
|
+
'_preload_content', True
|
|
4174
|
+
)
|
|
4175
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
4176
|
+
'_request_timeout', None
|
|
4177
|
+
)
|
|
4178
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
4179
|
+
'_check_input_type', True
|
|
4180
|
+
)
|
|
4181
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
4182
|
+
'_check_return_type', True
|
|
4183
|
+
)
|
|
4184
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4185
|
+
'_spec_property_naming', False
|
|
4186
|
+
)
|
|
4187
|
+
kwargs['_content_type'] = kwargs.get(
|
|
4188
|
+
'_content_type')
|
|
4189
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4190
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4191
|
+
kwargs['account_id'] = \
|
|
4192
|
+
account_id
|
|
4193
|
+
kwargs['value_resource_input_line_item_budget_cap_out_history_request'] = \
|
|
4194
|
+
value_resource_input_line_item_budget_cap_out_history_request
|
|
4195
|
+
return self.get_capout_history_endpoint.call_with_http_info(**kwargs)
|
|
4196
|
+
|
|
4049
4197
|
def get_creative(
|
|
4050
4198
|
self,
|
|
4051
4199
|
account_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/0.0.
|
|
79
|
+
self.user_agent = 'OpenAPI-Generator/0.0.251015/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: Preview\n"\
|
|
398
|
-
"SDK Package Version: 0.0.
|
|
398
|
+
"SDK Package Version: 0.0.251015".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -63,15 +63,15 @@ class CampaignAvailability(ModelNormal):
|
|
|
63
63
|
'None': None,
|
|
64
64
|
'UNKNOWN': "unknown",
|
|
65
65
|
'AUCTION': "auction",
|
|
66
|
-
'PREFERREDDEALS': "
|
|
66
|
+
'PREFERREDDEALS': "preferredDeals",
|
|
67
67
|
'SPONSORSHIP': "sponsorship",
|
|
68
68
|
'OFFSITE': "offsite",
|
|
69
69
|
},
|
|
70
70
|
('campaign_type',): {
|
|
71
71
|
'None': None,
|
|
72
72
|
'UNKNOWN': "unknown",
|
|
73
|
-
'SPONSOREDPRODUCTS': "
|
|
74
|
-
'ONSITEDISPLAY': "
|
|
73
|
+
'SPONSOREDPRODUCTS': "sponsoredProducts",
|
|
74
|
+
'ONSITEDISPLAY': "onsiteDisplay",
|
|
75
75
|
'OFFSITE': "offsite",
|
|
76
76
|
},
|
|
77
77
|
}
|