criteo-api-retailmedia-sdk 0.0.250409__py3-none-any.whl → 0.0.250425__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.

Files changed (44) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +3 -147
  3. criteo_api_retailmedia_preview/api/analytics_api.py +1 -1
  4. criteo_api_retailmedia_preview/api/campaign_api.py +0 -421
  5. criteo_api_retailmedia_preview/api_client.py +1 -1
  6. criteo_api_retailmedia_preview/configuration.py +1 -1
  7. criteo_api_retailmedia_preview/model/account_fees_update_request.py +4 -0
  8. criteo_api_retailmedia_preview/model/async_accounts_report.py +6 -6
  9. criteo_api_retailmedia_preview/model/async_campaigns_report.py +4 -4
  10. criteo_api_retailmedia_preview/model/async_line_items_report.py +4 -4
  11. criteo_api_retailmedia_preview/model/async_offsite_report.py +25 -18
  12. criteo_api_retailmedia_preview/model/brand_id_search_request.py +7 -1
  13. criteo_api_retailmedia_preview/model/brand_id_search_result.py +7 -1
  14. criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +8 -1
  15. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +8 -1
  16. criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +7 -1
  17. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +6 -6
  18. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +2 -2
  19. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +4 -4
  20. criteo_api_retailmedia_preview/model/sync_line_items_report.py +4 -4
  21. criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +8 -1
  22. criteo_api_retailmedia_preview/model/{value_resource_collection_outcome_private_market_account_fees.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +9 -3
  23. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +8 -1
  24. criteo_api_retailmedia_preview/models/__init__.py +1 -17
  25. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/METADATA +3 -3
  26. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/RECORD +28 -44
  27. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/WHEEL +1 -1
  28. criteo_api_retailmedia_preview/model/common_error.py +0 -301
  29. criteo_api_retailmedia_preview/model/common_warning.py +0 -301
  30. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
  31. criteo_api_retailmedia_preview/model/grant_consent_input.py +0 -269
  32. criteo_api_retailmedia_preview/model/grant_consent_model.py +0 -279
  33. criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +0 -273
  34. criteo_api_retailmedia_preview/model/input_keywords.py +0 -265
  35. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +0 -279
  36. criteo_api_retailmedia_preview/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +0 -287
  37. criteo_api_retailmedia_preview/model/keywords.py +0 -297
  38. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_request.py +0 -269
  39. criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +0 -281
  40. criteo_api_retailmedia_preview/model/recommended_keywords_result.py +0 -266
  41. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +0 -277
  42. criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +0 -266
  43. criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +0 -274
  44. {criteo_api_retailmedia_sdk-0.0.250409.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,7 @@
8
8
  """
9
9
 
10
10
 
11
- __version__ = "0.0.250409"
11
+ __version__ = "0.0.250425"
12
12
 
13
13
  # import ApiClient
14
14
  from criteo_api_retailmedia_preview.api_client import ApiClient
@@ -22,10 +22,9 @@ from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
22
22
  validate_and_convert_types
23
23
  )
24
24
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account_and_metadata import EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata
25
- from criteo_api_retailmedia_preview.model.grant_consent_input import GrantConsentInput
26
25
  from criteo_api_retailmedia_preview.model.outcome import Outcome
27
26
  from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_of_seller_search_result import ValueResourceCollectionOutcomeOfSellerSearchResult
28
- from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_private_market_account_fees import ValueResourceCollectionOutcomePrivateMarketAccountFees
27
+ from criteo_api_retailmedia_preview.model.value_resource_collection_outcome_private_market_account_fees_and_metadata import ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata
29
28
  from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_search_request import ValueResourceInputAccountFeesSearchRequest
30
29
  from criteo_api_retailmedia_preview.model.value_resource_input_account_fees_update_request import ValueResourceInputAccountFeesUpdateRequest
31
30
  from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_search import ValueResourceInputOfSellerSearch
@@ -105,68 +104,9 @@ class AccountsApi(object):
105
104
  },
106
105
  api_client=api_client
107
106
  )
108
- self.grant_consent_endpoint = _Endpoint(
109
- settings={
110
- 'response_type': None,
111
- 'auth': [
112
- 'oauth',
113
- 'oauth'
114
- ],
115
- 'endpoint_path': '/preview/retail-media/accounts/{accountId}/grant-consent',
116
- 'operation_id': 'grant_consent',
117
- 'http_method': 'POST',
118
- 'servers': None,
119
- },
120
- params_map={
121
- 'all': [
122
- 'account_id',
123
- 'grant_consent_input',
124
- ],
125
- 'required': [
126
- 'account_id',
127
- ],
128
- 'nullable': [
129
- ],
130
- 'enum': [
131
- ],
132
- 'validation': [
133
- ]
134
- },
135
- root_map={
136
- 'validations': {
137
- },
138
- 'allowed_values': {
139
- },
140
- 'openapi_types': {
141
- 'account_id':
142
- (str,),
143
- 'grant_consent_input':
144
- (GrantConsentInput,),
145
- },
146
- 'attribute_map': {
147
- 'account_id': 'accountId',
148
- },
149
- 'location_map': {
150
- 'account_id': 'path',
151
- 'grant_consent_input': 'body',
152
- },
153
- 'collection_format_map': {
154
- }
155
- },
156
- headers_map={
157
- 'accept': [],
158
- 'content_type': [
159
- 'application/json-patch+json',
160
- 'application/json',
161
- 'text/json',
162
- 'application/*+json'
163
- ]
164
- },
165
- api_client=api_client
166
- )
167
107
  self.preview_retail_media_accounts_fees_search_post_endpoint = _Endpoint(
168
108
  settings={
169
- 'response_type': (ValueResourceCollectionOutcomePrivateMarketAccountFees,),
109
+ 'response_type': (ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata,),
170
110
  'auth': [
171
111
  'oauth',
172
112
  'oauth'
@@ -438,90 +378,6 @@ class AccountsApi(object):
438
378
  account_id
439
379
  return self.get_api_external_v1_account_private_market_child_accounts_by_account_id_endpoint.call_with_http_info(**kwargs)
440
380
 
441
- def grant_consent(
442
- self,
443
- account_id,
444
- **kwargs
445
- ):
446
- """ # noqa: E501
447
-
448
- Grant consent to a business application on behalf of a Private Market demand account # noqa: E501
449
- This method makes a synchronous HTTP request by default. To make an
450
- asynchronous HTTP request, please pass async_req=True
451
-
452
- >>> thread = api.grant_consent(account_id, async_req=True)
453
- >>> result = thread.get()
454
-
455
- Args:
456
- account_id (str): The demand account ID on which to grant consent
457
-
458
- Keyword Args:
459
- grant_consent_input (GrantConsentInput): [optional]
460
- _return_http_data_only (bool): response data without head status
461
- code and headers. Default is True.
462
- _preload_content (bool): if False, the urllib3.HTTPResponse object
463
- will be returned without reading/decoding response data.
464
- Default is True.
465
- _request_timeout (int/float/tuple): timeout setting for this request. If
466
- one number provided, it will be total request timeout. It can also
467
- be a pair (tuple) of (connection, read) timeouts.
468
- Default is None.
469
- _check_input_type (bool): specifies if type checking
470
- should be done one the data sent to the server.
471
- Default is True.
472
- _check_return_type (bool): specifies if type checking
473
- should be done one the data received from the server.
474
- Default is True.
475
- _spec_property_naming (bool): True if the variable names in the input data
476
- are serialized names, as specified in the OpenAPI document.
477
- False if the variable names in the input data
478
- are pythonic names, e.g. snake case (default)
479
- _content_type (str/None): force body content-type.
480
- Default is None and content-type will be predicted by allowed
481
- content-types and body.
482
- _host_index (int/None): specifies the index of the server
483
- that we want to use.
484
- Default is read from the configuration.
485
- _request_auths (list): set to override the auth_settings for an a single
486
- request; this effectively ignores the authentication
487
- in the spec for a single request.
488
- Default is None
489
- async_req (bool): execute request asynchronously
490
-
491
- Returns:
492
- None
493
- If the method is called asynchronously, returns the request
494
- thread.
495
- """
496
- kwargs['async_req'] = kwargs.get(
497
- 'async_req', False
498
- )
499
- kwargs['_return_http_data_only'] = kwargs.get(
500
- '_return_http_data_only', True
501
- )
502
- kwargs['_preload_content'] = kwargs.get(
503
- '_preload_content', True
504
- )
505
- kwargs['_request_timeout'] = kwargs.get(
506
- '_request_timeout', None
507
- )
508
- kwargs['_check_input_type'] = kwargs.get(
509
- '_check_input_type', True
510
- )
511
- kwargs['_check_return_type'] = kwargs.get(
512
- '_check_return_type', True
513
- )
514
- kwargs['_spec_property_naming'] = kwargs.get(
515
- '_spec_property_naming', False
516
- )
517
- kwargs['_content_type'] = kwargs.get(
518
- '_content_type')
519
- kwargs['_host_index'] = kwargs.get('_host_index')
520
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
521
- kwargs['account_id'] = \
522
- account_id
523
- return self.grant_consent_endpoint.call_with_http_info(**kwargs)
524
-
525
381
  def preview_retail_media_accounts_fees_search_post(
526
382
  self,
527
383
  **kwargs
@@ -572,7 +428,7 @@ class AccountsApi(object):
572
428
  async_req (bool): execute request asynchronously
573
429
 
574
430
  Returns:
575
- ValueResourceCollectionOutcomePrivateMarketAccountFees
431
+ ValueResourceCollectionOutcomePrivateMarketAccountFeesAndMetadata
576
432
  If the method is called asynchronously, returns the request
577
433
  thread.
578
434
  """
@@ -957,7 +957,7 @@ class AnalyticsApi(object):
957
957
  ):
958
958
  """generate_async_offsite_report # noqa: E501
959
959
 
960
- Returns an asynchronous Offsite Activity Report This endpoint is subject to specific rate limits. # noqa: E501
960
+ Returns an asynchronous Offsite Report This endpoint is subject to specific rate limits. # noqa: E501
961
961
  This method makes a synchronous HTTP request by default. To make an
962
962
  asynchronous HTTP request, please pass async_req=True
963
963
 
@@ -31,10 +31,7 @@ from criteo_api_retailmedia_preview.model.creative_update_model2 import Creative
31
31
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata import EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata
32
32
  from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
33
33
  from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_status_v2 import EntityResourceOutcomeOfCatalogStatusV2
34
- from criteo_api_retailmedia_preview.model.json_api_single_response_of_line_item_bid_multipliers_v2 import JsonApiSingleResponseOfLineItemBidMultipliersV2
35
34
  from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
36
- from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_request import LineItemBidMultipliersV2Request
37
- from criteo_api_retailmedia_preview.model.line_item_bid_multipliers_v2_response import LineItemBidMultipliersV2Response
38
35
  from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
39
36
  from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
40
37
  from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
@@ -61,7 +58,6 @@ from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_
61
58
  from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
62
59
  from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
63
60
  from criteo_api_retailmedia_preview.model.value_resource_outcome_cpc_min_bids_response import ValueResourceOutcomeCpcMinBidsResponse
64
- from criteo_api_retailmedia_preview.model.value_resource_outcome_of_recommended_keywords_result import ValueResourceOutcomeOfRecommendedKeywordsResult
65
61
  from criteo_api_retailmedia_preview.model.value_resource_outcome_retail_media_keywords_review_result import ValueResourceOutcomeRetailMediaKeywordsReviewResult
66
62
 
67
63
 
@@ -961,60 +957,6 @@ class CampaignApi(object):
961
957
  },
962
958
  api_client=api_client
963
959
  )
964
- self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint(
965
- settings={
966
- 'response_type': (JsonApiSingleResponseOfLineItemBidMultipliersV2,),
967
- 'auth': [
968
- 'oauth',
969
- 'oauth'
970
- ],
971
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/bid-multipliers',
972
- 'operation_id': 'get_api_v2_external_line_item_bid_multipliers_by_line_item_id',
973
- 'http_method': 'GET',
974
- 'servers': None,
975
- },
976
- params_map={
977
- 'all': [
978
- 'line_item_id',
979
- ],
980
- 'required': [
981
- 'line_item_id',
982
- ],
983
- 'nullable': [
984
- ],
985
- 'enum': [
986
- ],
987
- 'validation': [
988
- ]
989
- },
990
- root_map={
991
- 'validations': {
992
- },
993
- 'allowed_values': {
994
- },
995
- 'openapi_types': {
996
- 'line_item_id':
997
- (str,),
998
- },
999
- 'attribute_map': {
1000
- 'line_item_id': 'line-item-id',
1001
- },
1002
- 'location_map': {
1003
- 'line_item_id': 'path',
1004
- },
1005
- 'collection_format_map': {
1006
- }
1007
- },
1008
- headers_map={
1009
- 'accept': [
1010
- 'text/plain',
1011
- 'application/json',
1012
- 'text/json'
1013
- ],
1014
- 'content_type': [],
1015
- },
1016
- api_client=api_client
1017
- )
1018
960
  self.get_api_v2_external_preferred_line_item_by_line_item_id_endpoint = _Endpoint(
1019
961
  settings={
1020
962
  'response_type': (PreferredLineItemV2Response,),
@@ -1130,58 +1072,6 @@ class CampaignApi(object):
1130
1072
  },
1131
1073
  api_client=api_client
1132
1074
  )
1133
- self.get_recommended_keywords_endpoint = _Endpoint(
1134
- settings={
1135
- 'response_type': (ValueResourceOutcomeOfRecommendedKeywordsResult,),
1136
- 'auth': [
1137
- 'oauth',
1138
- 'oauth'
1139
- ],
1140
- 'endpoint_path': '/preview/retail-media/line-items/{externalLineItemId}/keywords/recommended',
1141
- 'operation_id': 'get_recommended_keywords',
1142
- 'http_method': 'GET',
1143
- 'servers': None,
1144
- },
1145
- params_map={
1146
- 'all': [
1147
- 'external_line_item_id',
1148
- ],
1149
- 'required': [
1150
- 'external_line_item_id',
1151
- ],
1152
- 'nullable': [
1153
- ],
1154
- 'enum': [
1155
- ],
1156
- 'validation': [
1157
- ]
1158
- },
1159
- root_map={
1160
- 'validations': {
1161
- },
1162
- 'allowed_values': {
1163
- },
1164
- 'openapi_types': {
1165
- 'external_line_item_id':
1166
- (str,),
1167
- },
1168
- 'attribute_map': {
1169
- 'external_line_item_id': 'externalLineItemId',
1170
- },
1171
- 'location_map': {
1172
- 'external_line_item_id': 'path',
1173
- },
1174
- 'collection_format_map': {
1175
- }
1176
- },
1177
- headers_map={
1178
- 'accept': [
1179
- 'application/json'
1180
- ],
1181
- 'content_type': [],
1182
- },
1183
- api_client=api_client
1184
- )
1185
1075
  self.in_review_report_v1_endpoint = _Endpoint(
1186
1076
  settings={
1187
1077
  'response_type': (EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata,),
@@ -2173,67 +2063,6 @@ class CampaignApi(object):
2173
2063
  },
2174
2064
  api_client=api_client
2175
2065
  )
2176
- self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint = _Endpoint(
2177
- settings={
2178
- 'response_type': (LineItemBidMultipliersV2Response,),
2179
- 'auth': [
2180
- 'oauth',
2181
- 'oauth'
2182
- ],
2183
- 'endpoint_path': '/preview/retail-media/line-items/{line-item-id}/bid-multipliers',
2184
- 'operation_id': 'put_api_v2_external_line_item_bid_multipliers_by_line_item_id',
2185
- 'http_method': 'PUT',
2186
- 'servers': None,
2187
- },
2188
- params_map={
2189
- 'all': [
2190
- 'line_item_id',
2191
- 'line_item_bid_multipliers_v2_request',
2192
- ],
2193
- 'required': [
2194
- 'line_item_id',
2195
- ],
2196
- 'nullable': [
2197
- 'line_item_bid_multipliers_v2_request',
2198
- ],
2199
- 'enum': [
2200
- ],
2201
- 'validation': [
2202
- ]
2203
- },
2204
- root_map={
2205
- 'validations': {
2206
- },
2207
- 'allowed_values': {
2208
- },
2209
- 'openapi_types': {
2210
- 'line_item_id':
2211
- (str,),
2212
- 'line_item_bid_multipliers_v2_request':
2213
- (LineItemBidMultipliersV2Request,),
2214
- },
2215
- 'attribute_map': {
2216
- 'line_item_id': 'line-item-id',
2217
- },
2218
- 'location_map': {
2219
- 'line_item_id': 'path',
2220
- 'line_item_bid_multipliers_v2_request': 'body',
2221
- },
2222
- 'collection_format_map': {
2223
- }
2224
- },
2225
- headers_map={
2226
- 'accept': [
2227
- 'text/plain',
2228
- 'application/json',
2229
- 'text/json'
2230
- ],
2231
- 'content_type': [
2232
- 'application/json'
2233
- ]
2234
- },
2235
- api_client=api_client
2236
- )
2237
2066
  self.search_brands_by_name_async_v1_endpoint = _Endpoint(
2238
2067
  settings={
2239
2068
  'response_type': (EntityResourceCollectionOutcomeBrandIdSearchResultPagingOffsetLimitMetadata,),
@@ -3765,89 +3594,6 @@ class CampaignApi(object):
3765
3594
  campaign_id
3766
3595
  return self.get_api_v2_external_campaign_preferred_line_items_by_campaign_id_endpoint.call_with_http_info(**kwargs)
3767
3596
 
3768
- def get_api_v2_external_line_item_bid_multipliers_by_line_item_id(
3769
- self,
3770
- line_item_id,
3771
- **kwargs
3772
- ):
3773
- """get_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
3774
-
3775
- Fetch all bid multipliers for a given line item # noqa: E501
3776
- This method makes a synchronous HTTP request by default. To make an
3777
- asynchronous HTTP request, please pass async_req=True
3778
-
3779
- >>> thread = api.get_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
3780
- >>> result = thread.get()
3781
-
3782
- Args:
3783
- line_item_id (str): External LineItemId for bid multiplier retrieval
3784
-
3785
- Keyword Args:
3786
- _return_http_data_only (bool): response data without head status
3787
- code and headers. Default is True.
3788
- _preload_content (bool): if False, the urllib3.HTTPResponse object
3789
- will be returned without reading/decoding response data.
3790
- Default is True.
3791
- _request_timeout (int/float/tuple): timeout setting for this request. If
3792
- one number provided, it will be total request timeout. It can also
3793
- be a pair (tuple) of (connection, read) timeouts.
3794
- Default is None.
3795
- _check_input_type (bool): specifies if type checking
3796
- should be done one the data sent to the server.
3797
- Default is True.
3798
- _check_return_type (bool): specifies if type checking
3799
- should be done one the data received from the server.
3800
- Default is True.
3801
- _spec_property_naming (bool): True if the variable names in the input data
3802
- are serialized names, as specified in the OpenAPI document.
3803
- False if the variable names in the input data
3804
- are pythonic names, e.g. snake case (default)
3805
- _content_type (str/None): force body content-type.
3806
- Default is None and content-type will be predicted by allowed
3807
- content-types and body.
3808
- _host_index (int/None): specifies the index of the server
3809
- that we want to use.
3810
- Default is read from the configuration.
3811
- _request_auths (list): set to override the auth_settings for an a single
3812
- request; this effectively ignores the authentication
3813
- in the spec for a single request.
3814
- Default is None
3815
- async_req (bool): execute request asynchronously
3816
-
3817
- Returns:
3818
- JsonApiSingleResponseOfLineItemBidMultipliersV2
3819
- If the method is called asynchronously, returns the request
3820
- thread.
3821
- """
3822
- kwargs['async_req'] = kwargs.get(
3823
- 'async_req', False
3824
- )
3825
- kwargs['_return_http_data_only'] = kwargs.get(
3826
- '_return_http_data_only', True
3827
- )
3828
- kwargs['_preload_content'] = kwargs.get(
3829
- '_preload_content', True
3830
- )
3831
- kwargs['_request_timeout'] = kwargs.get(
3832
- '_request_timeout', None
3833
- )
3834
- kwargs['_check_input_type'] = kwargs.get(
3835
- '_check_input_type', True
3836
- )
3837
- kwargs['_check_return_type'] = kwargs.get(
3838
- '_check_return_type', True
3839
- )
3840
- kwargs['_spec_property_naming'] = kwargs.get(
3841
- '_spec_property_naming', False
3842
- )
3843
- kwargs['_content_type'] = kwargs.get(
3844
- '_content_type')
3845
- kwargs['_host_index'] = kwargs.get('_host_index')
3846
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
3847
- kwargs['line_item_id'] = \
3848
- line_item_id
3849
- return self.get_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
3850
-
3851
3597
  def get_api_v2_external_preferred_line_item_by_line_item_id(
3852
3598
  self,
3853
3599
  line_item_id,
@@ -4015,89 +3761,6 @@ class CampaignApi(object):
4015
3761
  retailer_id
4016
3762
  return self.get_cpc_min_bids_by_sku_ids_v1_endpoint.call_with_http_info(**kwargs)
4017
3763
 
4018
- def get_recommended_keywords(
4019
- self,
4020
- external_line_item_id,
4021
- **kwargs
4022
- ):
4023
- """get_recommended_keywords # noqa: E501
4024
-
4025
- Retrieves a collection of recommended keywords for a line item # noqa: E501
4026
- This method makes a synchronous HTTP request by default. To make an
4027
- asynchronous HTTP request, please pass async_req=True
4028
-
4029
- >>> thread = api.get_recommended_keywords(external_line_item_id, async_req=True)
4030
- >>> result = thread.get()
4031
-
4032
- Args:
4033
- external_line_item_id (str): The external line item identifier
4034
-
4035
- Keyword Args:
4036
- _return_http_data_only (bool): response data without head status
4037
- code and headers. Default is True.
4038
- _preload_content (bool): if False, the urllib3.HTTPResponse object
4039
- will be returned without reading/decoding response data.
4040
- Default is True.
4041
- _request_timeout (int/float/tuple): timeout setting for this request. If
4042
- one number provided, it will be total request timeout. It can also
4043
- be a pair (tuple) of (connection, read) timeouts.
4044
- Default is None.
4045
- _check_input_type (bool): specifies if type checking
4046
- should be done one the data sent to the server.
4047
- Default is True.
4048
- _check_return_type (bool): specifies if type checking
4049
- should be done one the data received from the server.
4050
- Default is True.
4051
- _spec_property_naming (bool): True if the variable names in the input data
4052
- are serialized names, as specified in the OpenAPI document.
4053
- False if the variable names in the input data
4054
- are pythonic names, e.g. snake case (default)
4055
- _content_type (str/None): force body content-type.
4056
- Default is None and content-type will be predicted by allowed
4057
- content-types and body.
4058
- _host_index (int/None): specifies the index of the server
4059
- that we want to use.
4060
- Default is read from the configuration.
4061
- _request_auths (list): set to override the auth_settings for an a single
4062
- request; this effectively ignores the authentication
4063
- in the spec for a single request.
4064
- Default is None
4065
- async_req (bool): execute request asynchronously
4066
-
4067
- Returns:
4068
- ValueResourceOutcomeOfRecommendedKeywordsResult
4069
- If the method is called asynchronously, returns the request
4070
- thread.
4071
- """
4072
- kwargs['async_req'] = kwargs.get(
4073
- 'async_req', False
4074
- )
4075
- kwargs['_return_http_data_only'] = kwargs.get(
4076
- '_return_http_data_only', True
4077
- )
4078
- kwargs['_preload_content'] = kwargs.get(
4079
- '_preload_content', True
4080
- )
4081
- kwargs['_request_timeout'] = kwargs.get(
4082
- '_request_timeout', None
4083
- )
4084
- kwargs['_check_input_type'] = kwargs.get(
4085
- '_check_input_type', True
4086
- )
4087
- kwargs['_check_return_type'] = kwargs.get(
4088
- '_check_return_type', True
4089
- )
4090
- kwargs['_spec_property_naming'] = kwargs.get(
4091
- '_spec_property_naming', False
4092
- )
4093
- kwargs['_content_type'] = kwargs.get(
4094
- '_content_type')
4095
- kwargs['_host_index'] = kwargs.get('_host_index')
4096
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
4097
- kwargs['external_line_item_id'] = \
4098
- external_line_item_id
4099
- return self.get_recommended_keywords_endpoint.call_with_http_info(**kwargs)
4100
-
4101
3764
  def in_review_report_v1(
4102
3765
  self,
4103
3766
  account_id,
@@ -5376,90 +5039,6 @@ class CampaignApi(object):
5376
5039
  creative_id
5377
5040
  return self.put_api_v2_external_account_by_account_id_creativescreative_id_endpoint.call_with_http_info(**kwargs)
5378
5041
 
5379
- def put_api_v2_external_line_item_bid_multipliers_by_line_item_id(
5380
- self,
5381
- line_item_id,
5382
- **kwargs
5383
- ):
5384
- """put_api_v2_external_line_item_bid_multipliers_by_line_item_id # noqa: E501
5385
-
5386
- Updates the bid multipliers for a given line item # noqa: E501
5387
- This method makes a synchronous HTTP request by default. To make an
5388
- asynchronous HTTP request, please pass async_req=True
5389
-
5390
- >>> thread = api.put_api_v2_external_line_item_bid_multipliers_by_line_item_id(line_item_id, async_req=True)
5391
- >>> result = thread.get()
5392
-
5393
- Args:
5394
- line_item_id (str): External LineItemId for bid multiplier retrieval
5395
-
5396
- Keyword Args:
5397
- line_item_bid_multipliers_v2_request (LineItemBidMultipliersV2Request): New Bid Multipliers to be set. [optional]
5398
- _return_http_data_only (bool): response data without head status
5399
- code and headers. Default is True.
5400
- _preload_content (bool): if False, the urllib3.HTTPResponse object
5401
- will be returned without reading/decoding response data.
5402
- Default is True.
5403
- _request_timeout (int/float/tuple): timeout setting for this request. If
5404
- one number provided, it will be total request timeout. It can also
5405
- be a pair (tuple) of (connection, read) timeouts.
5406
- Default is None.
5407
- _check_input_type (bool): specifies if type checking
5408
- should be done one the data sent to the server.
5409
- Default is True.
5410
- _check_return_type (bool): specifies if type checking
5411
- should be done one the data received from the server.
5412
- Default is True.
5413
- _spec_property_naming (bool): True if the variable names in the input data
5414
- are serialized names, as specified in the OpenAPI document.
5415
- False if the variable names in the input data
5416
- are pythonic names, e.g. snake case (default)
5417
- _content_type (str/None): force body content-type.
5418
- Default is None and content-type will be predicted by allowed
5419
- content-types and body.
5420
- _host_index (int/None): specifies the index of the server
5421
- that we want to use.
5422
- Default is read from the configuration.
5423
- _request_auths (list): set to override the auth_settings for an a single
5424
- request; this effectively ignores the authentication
5425
- in the spec for a single request.
5426
- Default is None
5427
- async_req (bool): execute request asynchronously
5428
-
5429
- Returns:
5430
- LineItemBidMultipliersV2Response
5431
- If the method is called asynchronously, returns the request
5432
- thread.
5433
- """
5434
- kwargs['async_req'] = kwargs.get(
5435
- 'async_req', False
5436
- )
5437
- kwargs['_return_http_data_only'] = kwargs.get(
5438
- '_return_http_data_only', True
5439
- )
5440
- kwargs['_preload_content'] = kwargs.get(
5441
- '_preload_content', True
5442
- )
5443
- kwargs['_request_timeout'] = kwargs.get(
5444
- '_request_timeout', None
5445
- )
5446
- kwargs['_check_input_type'] = kwargs.get(
5447
- '_check_input_type', True
5448
- )
5449
- kwargs['_check_return_type'] = kwargs.get(
5450
- '_check_return_type', True
5451
- )
5452
- kwargs['_spec_property_naming'] = kwargs.get(
5453
- '_spec_property_naming', False
5454
- )
5455
- kwargs['_content_type'] = kwargs.get(
5456
- '_content_type')
5457
- kwargs['_host_index'] = kwargs.get('_host_index')
5458
- kwargs['_request_auths'] = kwargs.get('_request_auths', None)
5459
- kwargs['line_item_id'] = \
5460
- line_item_id
5461
- return self.put_api_v2_external_line_item_bid_multipliers_by_line_item_id_endpoint.call_with_http_info(**kwargs)
5462
-
5463
5042
  def search_brands_by_name_async_v1(
5464
5043
  self,
5465
5044
  **kwargs
@@ -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.250409/python'
79
+ self.user_agent = 'OpenAPI-Generator/0.0.250425/python'
80
80
 
81
81
  def __enter__(self):
82
82
  return self