criteo-api-retailmedia-sdk 0.0.251014__py3-none-any.whl → 0.0.251021__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +1 -1
- criteo_api_retailmedia_preview/api/campaign_api.py +316 -24
- criteo_api_retailmedia_preview/api/third_party_accounts_api.py +757 -0
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/apis/__init__.py +1 -0
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/campaign_availability.py +3 -3
- criteo_api_retailmedia_preview/model/display_auction_min_bid_request.py +268 -0
- criteo_api_retailmedia_preview/model/display_auction_min_bid_result.py +280 -0
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_account_v2.py +270 -0
- criteo_api_retailmedia_preview/model/entity_resource_outcome_of_retail_media_account_v2.py +274 -0
- criteo_api_retailmedia_preview/model/external_retail_media_account_v2.py +301 -0
- criteo_api_retailmedia_preview/model/external_retail_media_brand_account_creation_v2.py +269 -0
- criteo_api_retailmedia_preview/model/external_retail_media_brands.py +263 -0
- criteo_api_retailmedia_preview/model/external_retail_media_seller.py +269 -0
- criteo_api_retailmedia_preview/model/external_retail_media_seller_account_creation_v2.py +280 -0
- 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_collection_input_of_retail_media_seller.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_display_auction_min_bid_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_retail_media_seller.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_display_auction_min_bid_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_display_auction_min_bid_result.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_input_display_auction_min_bid_request.py +262 -0
- 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_input_of_retail_media_brand_account_creation_v2.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_brands.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_of_retail_media_seller_account_creation_v2.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_of_retail_media_brand_account_creation_v2.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_brands.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_of_retail_media_seller_account_creation_v2.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/model/value_resource_outcome_of_retail_media_brands.py +274 -0
- criteo_api_retailmedia_preview/models/__init__.py +31 -0
- {criteo_api_retailmedia_sdk-0.0.251014.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.251014.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/RECORD +48 -16
- {criteo_api_retailmedia_sdk-0.0.251014.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.251014.dist-info → criteo_api_retailmedia_sdk-0.0.251021.dist-info}/top_level.txt +0 -0
|
@@ -311,7 +311,7 @@ class AccountsApi(object):
|
|
|
311
311
|
):
|
|
312
312
|
"""get_private_market_child_accounts_by_account_id # noqa: E501
|
|
313
313
|
|
|
314
|
-
Gets
|
|
314
|
+
Gets Private Market child accounts that are associated with the given account # noqa: E501
|
|
315
315
|
This method makes a synchronous HTTP request by default. To make an
|
|
316
316
|
asynchronous HTTP request, please pass async_req=True
|
|
317
317
|
|
|
@@ -53,8 +53,11 @@ from criteo_api_retailmedia_preview.model.seller_preview_response import SellerP
|
|
|
53
53
|
from criteo_api_retailmedia_preview.model.set_bids_model_request import SetBidsModelRequest
|
|
54
54
|
from criteo_api_retailmedia_preview.model.sku_data_preview_list_response import SkuDataPreviewListResponse
|
|
55
55
|
from criteo_api_retailmedia_preview.model.sku_search_request_preview_request import SkuSearchRequestPreviewRequest
|
|
56
|
+
from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_display_auction_min_bid_result import ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
|
|
56
57
|
from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
|
|
57
58
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
59
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_display_auction_min_bid_request import ValueResourceInputDisplayAuctionMinBidRequest
|
|
60
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_line_item_budget_cap_out_history_request import ValueResourceInputLineItemBudgetCapOutHistoryRequest
|
|
58
61
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
59
62
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_retailer_search_request import ValueResourceInputOfRetailerSearchRequest
|
|
60
63
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
|
|
@@ -63,6 +66,7 @@ from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_prod
|
|
|
63
66
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
|
|
64
67
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
|
|
65
68
|
from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
|
|
69
|
+
from criteo_api_retailmedia_preview.model.value_resource_outcome_line_item_budget_cap_out_history_response import ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
|
|
66
70
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
|
|
67
71
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
|
|
68
72
|
|
|
@@ -253,6 +257,64 @@ class CampaignApi(object):
|
|
|
253
257
|
},
|
|
254
258
|
api_client=api_client
|
|
255
259
|
)
|
|
260
|
+
self.compute_display_min_bid_by_retailer_id_endpoint = _Endpoint(
|
|
261
|
+
settings={
|
|
262
|
+
'response_type': (ValueResourceCollectionOutcomeDisplayAuctionMinBidResult,),
|
|
263
|
+
'auth': [
|
|
264
|
+
'oauth',
|
|
265
|
+
'oauth'
|
|
266
|
+
],
|
|
267
|
+
'endpoint_path': '/preview/retail-media/retailers/{retailerId}/compute-display-min-bid',
|
|
268
|
+
'operation_id': 'compute_display_min_bid_by_retailer_id',
|
|
269
|
+
'http_method': 'POST',
|
|
270
|
+
'servers': None,
|
|
271
|
+
},
|
|
272
|
+
params_map={
|
|
273
|
+
'all': [
|
|
274
|
+
'retailer_id',
|
|
275
|
+
'value_resource_input_display_auction_min_bid_request',
|
|
276
|
+
],
|
|
277
|
+
'required': [
|
|
278
|
+
'retailer_id',
|
|
279
|
+
],
|
|
280
|
+
'nullable': [
|
|
281
|
+
],
|
|
282
|
+
'enum': [
|
|
283
|
+
],
|
|
284
|
+
'validation': [
|
|
285
|
+
]
|
|
286
|
+
},
|
|
287
|
+
root_map={
|
|
288
|
+
'validations': {
|
|
289
|
+
},
|
|
290
|
+
'allowed_values': {
|
|
291
|
+
},
|
|
292
|
+
'openapi_types': {
|
|
293
|
+
'retailer_id':
|
|
294
|
+
(int,),
|
|
295
|
+
'value_resource_input_display_auction_min_bid_request':
|
|
296
|
+
(ValueResourceInputDisplayAuctionMinBidRequest,),
|
|
297
|
+
},
|
|
298
|
+
'attribute_map': {
|
|
299
|
+
'retailer_id': 'retailerId',
|
|
300
|
+
},
|
|
301
|
+
'location_map': {
|
|
302
|
+
'retailer_id': 'path',
|
|
303
|
+
'value_resource_input_display_auction_min_bid_request': 'body',
|
|
304
|
+
},
|
|
305
|
+
'collection_format_map': {
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
headers_map={
|
|
309
|
+
'accept': [
|
|
310
|
+
'application/json'
|
|
311
|
+
],
|
|
312
|
+
'content_type': [
|
|
313
|
+
'application/json'
|
|
314
|
+
]
|
|
315
|
+
},
|
|
316
|
+
api_client=api_client
|
|
317
|
+
)
|
|
256
318
|
self.create_auction_line_item_v2_endpoint = _Endpoint(
|
|
257
319
|
settings={
|
|
258
320
|
'response_type': (EntityResourceOutcomeOfSponsoredProductsLineItem,),
|
|
@@ -1023,9 +1085,9 @@ class CampaignApi(object):
|
|
|
1023
1085
|
params_map={
|
|
1024
1086
|
'all': [
|
|
1025
1087
|
'campaign_id',
|
|
1026
|
-
'
|
|
1027
|
-
'
|
|
1028
|
-
'
|
|
1088
|
+
'limit',
|
|
1089
|
+
'limit_to_ids',
|
|
1090
|
+
'offset',
|
|
1029
1091
|
],
|
|
1030
1092
|
'required': [
|
|
1031
1093
|
'campaign_id',
|
|
@@ -1035,21 +1097,21 @@ class CampaignApi(object):
|
|
|
1035
1097
|
'enum': [
|
|
1036
1098
|
],
|
|
1037
1099
|
'validation': [
|
|
1038
|
-
'
|
|
1039
|
-
'
|
|
1100
|
+
'limit',
|
|
1101
|
+
'offset',
|
|
1040
1102
|
]
|
|
1041
1103
|
},
|
|
1042
1104
|
root_map={
|
|
1043
1105
|
'validations': {
|
|
1044
|
-
('
|
|
1106
|
+
('limit',): {
|
|
1045
1107
|
|
|
1046
|
-
'inclusive_maximum':
|
|
1047
|
-
'inclusive_minimum':
|
|
1108
|
+
'inclusive_maximum': 500,
|
|
1109
|
+
'inclusive_minimum': 1,
|
|
1048
1110
|
},
|
|
1049
|
-
('
|
|
1111
|
+
('offset',): {
|
|
1050
1112
|
|
|
1051
1113
|
'inclusive_maximum': 2147483647,
|
|
1052
|
-
'inclusive_minimum':
|
|
1114
|
+
'inclusive_minimum': 0,
|
|
1053
1115
|
},
|
|
1054
1116
|
},
|
|
1055
1117
|
'allowed_values': {
|
|
@@ -1057,27 +1119,27 @@ class CampaignApi(object):
|
|
|
1057
1119
|
'openapi_types': {
|
|
1058
1120
|
'campaign_id':
|
|
1059
1121
|
(str,),
|
|
1060
|
-
'
|
|
1061
|
-
([str],),
|
|
1062
|
-
'page_index':
|
|
1122
|
+
'limit':
|
|
1063
1123
|
(int,),
|
|
1064
|
-
'
|
|
1124
|
+
'limit_to_ids':
|
|
1125
|
+
([str],),
|
|
1126
|
+
'offset':
|
|
1065
1127
|
(int,),
|
|
1066
1128
|
},
|
|
1067
1129
|
'attribute_map': {
|
|
1068
1130
|
'campaign_id': 'campaignId',
|
|
1069
|
-
'
|
|
1070
|
-
'
|
|
1071
|
-
'
|
|
1131
|
+
'limit': 'limit',
|
|
1132
|
+
'limit_to_ids': 'limitToIds',
|
|
1133
|
+
'offset': 'offset',
|
|
1072
1134
|
},
|
|
1073
1135
|
'location_map': {
|
|
1074
1136
|
'campaign_id': 'path',
|
|
1075
|
-
'
|
|
1076
|
-
'
|
|
1077
|
-
'
|
|
1137
|
+
'limit': 'query',
|
|
1138
|
+
'limit_to_ids': 'query',
|
|
1139
|
+
'offset': 'query',
|
|
1078
1140
|
},
|
|
1079
1141
|
'collection_format_map': {
|
|
1080
|
-
'
|
|
1142
|
+
'limit_to_ids': 'multi',
|
|
1081
1143
|
}
|
|
1082
1144
|
},
|
|
1083
1145
|
headers_map={
|
|
@@ -1088,6 +1150,65 @@ class CampaignApi(object):
|
|
|
1088
1150
|
},
|
|
1089
1151
|
api_client=api_client
|
|
1090
1152
|
)
|
|
1153
|
+
self.get_capout_history_endpoint = _Endpoint(
|
|
1154
|
+
settings={
|
|
1155
|
+
'response_type': (ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse,),
|
|
1156
|
+
'auth': [
|
|
1157
|
+
'oauth',
|
|
1158
|
+
'oauth'
|
|
1159
|
+
],
|
|
1160
|
+
'endpoint_path': '/preview/retail-media/accounts/{account-id}/line-items/cap-out-history',
|
|
1161
|
+
'operation_id': 'get_capout_history',
|
|
1162
|
+
'http_method': 'POST',
|
|
1163
|
+
'servers': None,
|
|
1164
|
+
},
|
|
1165
|
+
params_map={
|
|
1166
|
+
'all': [
|
|
1167
|
+
'account_id',
|
|
1168
|
+
'value_resource_input_line_item_budget_cap_out_history_request',
|
|
1169
|
+
],
|
|
1170
|
+
'required': [
|
|
1171
|
+
'account_id',
|
|
1172
|
+
'value_resource_input_line_item_budget_cap_out_history_request',
|
|
1173
|
+
],
|
|
1174
|
+
'nullable': [
|
|
1175
|
+
],
|
|
1176
|
+
'enum': [
|
|
1177
|
+
],
|
|
1178
|
+
'validation': [
|
|
1179
|
+
]
|
|
1180
|
+
},
|
|
1181
|
+
root_map={
|
|
1182
|
+
'validations': {
|
|
1183
|
+
},
|
|
1184
|
+
'allowed_values': {
|
|
1185
|
+
},
|
|
1186
|
+
'openapi_types': {
|
|
1187
|
+
'account_id':
|
|
1188
|
+
(str,),
|
|
1189
|
+
'value_resource_input_line_item_budget_cap_out_history_request':
|
|
1190
|
+
(ValueResourceInputLineItemBudgetCapOutHistoryRequest,),
|
|
1191
|
+
},
|
|
1192
|
+
'attribute_map': {
|
|
1193
|
+
'account_id': 'account-id',
|
|
1194
|
+
},
|
|
1195
|
+
'location_map': {
|
|
1196
|
+
'account_id': 'path',
|
|
1197
|
+
'value_resource_input_line_item_budget_cap_out_history_request': 'body',
|
|
1198
|
+
},
|
|
1199
|
+
'collection_format_map': {
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
headers_map={
|
|
1203
|
+
'accept': [
|
|
1204
|
+
'application/json'
|
|
1205
|
+
],
|
|
1206
|
+
'content_type': [
|
|
1207
|
+
'application/json'
|
|
1208
|
+
]
|
|
1209
|
+
},
|
|
1210
|
+
api_client=api_client
|
|
1211
|
+
)
|
|
1091
1212
|
self.get_creative_endpoint = _Endpoint(
|
|
1092
1213
|
settings={
|
|
1093
1214
|
'response_type': (Creative2Response,),
|
|
@@ -2863,6 +2984,90 @@ class CampaignApi(object):
|
|
|
2863
2984
|
line_item_id
|
|
2864
2985
|
return self.append_promoted_products_endpoint.call_with_http_info(**kwargs)
|
|
2865
2986
|
|
|
2987
|
+
def compute_display_min_bid_by_retailer_id(
|
|
2988
|
+
self,
|
|
2989
|
+
retailer_id,
|
|
2990
|
+
**kwargs
|
|
2991
|
+
):
|
|
2992
|
+
"""compute_display_min_bid_by_retailer_id # noqa: E501
|
|
2993
|
+
|
|
2994
|
+
computes the min bid for relevant page types based on the provided information # noqa: E501
|
|
2995
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2996
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2997
|
+
|
|
2998
|
+
>>> thread = api.compute_display_min_bid_by_retailer_id(retailer_id, async_req=True)
|
|
2999
|
+
>>> result = thread.get()
|
|
3000
|
+
|
|
3001
|
+
Args:
|
|
3002
|
+
retailer_id (int): the retailer id
|
|
3003
|
+
|
|
3004
|
+
Keyword Args:
|
|
3005
|
+
value_resource_input_display_auction_min_bid_request (ValueResourceInputDisplayAuctionMinBidRequest): the details for what cratives and product ids to use to compute the min bids. [optional]
|
|
3006
|
+
_return_http_data_only (bool): response data without head status
|
|
3007
|
+
code and headers. Default is True.
|
|
3008
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
3009
|
+
will be returned without reading/decoding response data.
|
|
3010
|
+
Default is True.
|
|
3011
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
3012
|
+
one number provided, it will be total request timeout. It can also
|
|
3013
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
3014
|
+
Default is None.
|
|
3015
|
+
_check_input_type (bool): specifies if type checking
|
|
3016
|
+
should be done one the data sent to the server.
|
|
3017
|
+
Default is True.
|
|
3018
|
+
_check_return_type (bool): specifies if type checking
|
|
3019
|
+
should be done one the data received from the server.
|
|
3020
|
+
Default is True.
|
|
3021
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
3022
|
+
are serialized names, as specified in the OpenAPI document.
|
|
3023
|
+
False if the variable names in the input data
|
|
3024
|
+
are pythonic names, e.g. snake case (default)
|
|
3025
|
+
_content_type (str/None): force body content-type.
|
|
3026
|
+
Default is None and content-type will be predicted by allowed
|
|
3027
|
+
content-types and body.
|
|
3028
|
+
_host_index (int/None): specifies the index of the server
|
|
3029
|
+
that we want to use.
|
|
3030
|
+
Default is read from the configuration.
|
|
3031
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
3032
|
+
request; this effectively ignores the authentication
|
|
3033
|
+
in the spec for a single request.
|
|
3034
|
+
Default is None
|
|
3035
|
+
async_req (bool): execute request asynchronously
|
|
3036
|
+
|
|
3037
|
+
Returns:
|
|
3038
|
+
ValueResourceCollectionOutcomeDisplayAuctionMinBidResult
|
|
3039
|
+
If the method is called asynchronously, returns the request
|
|
3040
|
+
thread.
|
|
3041
|
+
"""
|
|
3042
|
+
kwargs['async_req'] = kwargs.get(
|
|
3043
|
+
'async_req', False
|
|
3044
|
+
)
|
|
3045
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
3046
|
+
'_return_http_data_only', True
|
|
3047
|
+
)
|
|
3048
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
3049
|
+
'_preload_content', True
|
|
3050
|
+
)
|
|
3051
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
3052
|
+
'_request_timeout', None
|
|
3053
|
+
)
|
|
3054
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
3055
|
+
'_check_input_type', True
|
|
3056
|
+
)
|
|
3057
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
3058
|
+
'_check_return_type', True
|
|
3059
|
+
)
|
|
3060
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
3061
|
+
'_spec_property_naming', False
|
|
3062
|
+
)
|
|
3063
|
+
kwargs['_content_type'] = kwargs.get(
|
|
3064
|
+
'_content_type')
|
|
3065
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
3066
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
3067
|
+
kwargs['retailer_id'] = \
|
|
3068
|
+
retailer_id
|
|
3069
|
+
return self.compute_display_min_bid_by_retailer_id_endpoint.call_with_http_info(**kwargs)
|
|
3070
|
+
|
|
2866
3071
|
def create_auction_line_item_v2(
|
|
2867
3072
|
self,
|
|
2868
3073
|
campaign_id,
|
|
@@ -3978,9 +4183,9 @@ class CampaignApi(object):
|
|
|
3978
4183
|
campaign_id (str): The id of the campaign
|
|
3979
4184
|
|
|
3980
4185
|
Keyword Args:
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
4186
|
+
limit (int): The number of elements to be returned on a page.. [optional] if omitted the server will use the default value of 25
|
|
4187
|
+
limit_to_ids ([str]): The ids to limit the auction line item results to. [optional]
|
|
4188
|
+
offset (int): The (zero-based) starting offset into the collection.. [optional] if omitted the server will use the default value of 0
|
|
3984
4189
|
_return_http_data_only (bool): response data without head status
|
|
3985
4190
|
code and headers. Default is True.
|
|
3986
4191
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4046,6 +4251,93 @@ class CampaignApi(object):
|
|
|
4046
4251
|
campaign_id
|
|
4047
4252
|
return self.get_auction_line_items_by_campaign_id_v2_endpoint.call_with_http_info(**kwargs)
|
|
4048
4253
|
|
|
4254
|
+
def get_capout_history(
|
|
4255
|
+
self,
|
|
4256
|
+
account_id,
|
|
4257
|
+
value_resource_input_line_item_budget_cap_out_history_request,
|
|
4258
|
+
**kwargs
|
|
4259
|
+
):
|
|
4260
|
+
"""get_capout_history # noqa: E501
|
|
4261
|
+
|
|
4262
|
+
Get the cap out history for line items # noqa: E501
|
|
4263
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4264
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4265
|
+
|
|
4266
|
+
>>> thread = api.get_capout_history(account_id, value_resource_input_line_item_budget_cap_out_history_request, async_req=True)
|
|
4267
|
+
>>> result = thread.get()
|
|
4268
|
+
|
|
4269
|
+
Args:
|
|
4270
|
+
account_id (str): account id that own the lineitem
|
|
4271
|
+
value_resource_input_line_item_budget_cap_out_history_request (ValueResourceInputLineItemBudgetCapOutHistoryRequest): lineitem budgetcapout history object
|
|
4272
|
+
|
|
4273
|
+
Keyword Args:
|
|
4274
|
+
_return_http_data_only (bool): response data without head status
|
|
4275
|
+
code and headers. Default is True.
|
|
4276
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4277
|
+
will be returned without reading/decoding response data.
|
|
4278
|
+
Default is True.
|
|
4279
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4280
|
+
one number provided, it will be total request timeout. It can also
|
|
4281
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
4282
|
+
Default is None.
|
|
4283
|
+
_check_input_type (bool): specifies if type checking
|
|
4284
|
+
should be done one the data sent to the server.
|
|
4285
|
+
Default is True.
|
|
4286
|
+
_check_return_type (bool): specifies if type checking
|
|
4287
|
+
should be done one the data received from the server.
|
|
4288
|
+
Default is True.
|
|
4289
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
4290
|
+
are serialized names, as specified in the OpenAPI document.
|
|
4291
|
+
False if the variable names in the input data
|
|
4292
|
+
are pythonic names, e.g. snake case (default)
|
|
4293
|
+
_content_type (str/None): force body content-type.
|
|
4294
|
+
Default is None and content-type will be predicted by allowed
|
|
4295
|
+
content-types and body.
|
|
4296
|
+
_host_index (int/None): specifies the index of the server
|
|
4297
|
+
that we want to use.
|
|
4298
|
+
Default is read from the configuration.
|
|
4299
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
4300
|
+
request; this effectively ignores the authentication
|
|
4301
|
+
in the spec for a single request.
|
|
4302
|
+
Default is None
|
|
4303
|
+
async_req (bool): execute request asynchronously
|
|
4304
|
+
|
|
4305
|
+
Returns:
|
|
4306
|
+
ValueResourceOutcomeLineItemBudgetCapOutHistoryResponse
|
|
4307
|
+
If the method is called asynchronously, returns the request
|
|
4308
|
+
thread.
|
|
4309
|
+
"""
|
|
4310
|
+
kwargs['async_req'] = kwargs.get(
|
|
4311
|
+
'async_req', False
|
|
4312
|
+
)
|
|
4313
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4314
|
+
'_return_http_data_only', True
|
|
4315
|
+
)
|
|
4316
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
4317
|
+
'_preload_content', True
|
|
4318
|
+
)
|
|
4319
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
4320
|
+
'_request_timeout', None
|
|
4321
|
+
)
|
|
4322
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
4323
|
+
'_check_input_type', True
|
|
4324
|
+
)
|
|
4325
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
4326
|
+
'_check_return_type', True
|
|
4327
|
+
)
|
|
4328
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4329
|
+
'_spec_property_naming', False
|
|
4330
|
+
)
|
|
4331
|
+
kwargs['_content_type'] = kwargs.get(
|
|
4332
|
+
'_content_type')
|
|
4333
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4334
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4335
|
+
kwargs['account_id'] = \
|
|
4336
|
+
account_id
|
|
4337
|
+
kwargs['value_resource_input_line_item_budget_cap_out_history_request'] = \
|
|
4338
|
+
value_resource_input_line_item_budget_cap_out_history_request
|
|
4339
|
+
return self.get_capout_history_endpoint.call_with_http_info(**kwargs)
|
|
4340
|
+
|
|
4049
4341
|
def get_creative(
|
|
4050
4342
|
self,
|
|
4051
4343
|
account_id,
|