criteo-api-retailmedia-sdk 0.0.250728__py3-none-any.whl → 0.0.250730__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.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/campaign_api.py +11 -11
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata.py +280 -0
- criteo_api_retailmedia_preview/model/flight_leg.py +16 -16
- criteo_api_retailmedia_preview/model/sponsored_products_line_item.py +14 -18
- criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py +12 -9
- criteo_api_retailmedia_preview/model/{page_of_sponsored_products_line_item.py → value_resource_input_of_sponsored_products_line_item_create_request_model.py} +10 -24
- criteo_api_retailmedia_preview/model/value_resource_of_sponsored_products_line_item_create_request_model.py +266 -0
- criteo_api_retailmedia_preview/models/__init__.py +3 -1
- {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/RECORD +15 -13
- {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/WHEEL +0 -0
- {criteo_api_retailmedia_sdk-0.0.250728.dist-info → criteo_api_retailmedia_sdk-0.0.250730.dist-info}/top_level.txt +0 -0
|
@@ -32,11 +32,11 @@ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_bra
|
|
|
32
32
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204 import EntityResourceCollectionOutcomeCategory202204
|
|
33
33
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204_metadata import EntityResourceCollectionOutcomeCategory202204Metadata
|
|
34
34
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
|
|
35
|
+
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata import EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
|
|
35
36
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_catalog_status_v2 import EntityResourceOutcomeOfCatalogStatusV2
|
|
36
37
|
from criteo_api_retailmedia_preview.model.entity_resource_outcome_of_sponsored_products_line_item import EntityResourceOutcomeOfSponsoredProductsLineItem
|
|
37
38
|
from criteo_api_retailmedia_preview.model.keywords_model_response import KeywordsModelResponse
|
|
38
39
|
from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
39
|
-
from criteo_api_retailmedia_preview.model.page_of_sponsored_products_line_item import PageOfSponsoredProductsLineItem
|
|
40
40
|
from criteo_api_retailmedia_preview.model.placement_preview_list_response import PlacementPreviewListResponse
|
|
41
41
|
from criteo_api_retailmedia_preview.model.preferred_line_item_create_model_v2_request import PreferredLineItemCreateModelV2Request
|
|
42
42
|
from criteo_api_retailmedia_preview.model.preferred_line_item_update_model_v2_request import PreferredLineItemUpdateModelV2Request
|
|
@@ -57,11 +57,11 @@ from criteo_api_retailmedia_preview.model.sku_search_request_slim_preview_reques
|
|
|
57
57
|
from criteo_api_retailmedia_preview.model.sku_search_request_slim_v2_preview_request import SkuSearchRequestSlimV2PreviewRequest
|
|
58
58
|
from criteo_api_retailmedia_preview.model.sku_slim_data_preview_list_response import SkuSlimDataPreviewListResponse
|
|
59
59
|
from criteo_api_retailmedia_preview.model.sku_slim_data_v2_list_response import SkuSlimDataV2ListResponse
|
|
60
|
-
from criteo_api_retailmedia_preview.model.sponsored_products_line_item_create_request_model import SponsoredProductsLineItemCreateRequestModel
|
|
61
60
|
from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_request import ValueResourceInputBrandIdSearchRequest
|
|
62
61
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
63
62
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
64
63
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
|
|
64
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_create_request_model import ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel
|
|
65
65
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
|
|
66
66
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
|
|
67
67
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywords_request_v1 import ValueResourceInputRecommendedKeywordsRequestV1
|
|
@@ -295,7 +295,7 @@ class CampaignApi(object):
|
|
|
295
295
|
params_map={
|
|
296
296
|
'all': [
|
|
297
297
|
'campaign_id',
|
|
298
|
-
'
|
|
298
|
+
'value_resource_input_of_sponsored_products_line_item_create_request_model',
|
|
299
299
|
],
|
|
300
300
|
'required': [
|
|
301
301
|
'campaign_id',
|
|
@@ -315,15 +315,15 @@ class CampaignApi(object):
|
|
|
315
315
|
'openapi_types': {
|
|
316
316
|
'campaign_id':
|
|
317
317
|
(str,),
|
|
318
|
-
'
|
|
319
|
-
(
|
|
318
|
+
'value_resource_input_of_sponsored_products_line_item_create_request_model':
|
|
319
|
+
(ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel,),
|
|
320
320
|
},
|
|
321
321
|
'attribute_map': {
|
|
322
322
|
'campaign_id': 'campaignId',
|
|
323
323
|
},
|
|
324
324
|
'location_map': {
|
|
325
325
|
'campaign_id': 'path',
|
|
326
|
-
'
|
|
326
|
+
'value_resource_input_of_sponsored_products_line_item_create_request_model': 'body',
|
|
327
327
|
},
|
|
328
328
|
'collection_format_map': {
|
|
329
329
|
}
|
|
@@ -1195,7 +1195,7 @@ class CampaignApi(object):
|
|
|
1195
1195
|
},
|
|
1196
1196
|
'openapi_types': {
|
|
1197
1197
|
'line_item_id':
|
|
1198
|
-
(
|
|
1198
|
+
(int,),
|
|
1199
1199
|
},
|
|
1200
1200
|
'attribute_map': {
|
|
1201
1201
|
'line_item_id': 'lineItemId',
|
|
@@ -1216,7 +1216,7 @@ class CampaignApi(object):
|
|
|
1216
1216
|
)
|
|
1217
1217
|
self.get_auction_line_items_by_campaign_id_v2_endpoint = _Endpoint(
|
|
1218
1218
|
settings={
|
|
1219
|
-
'response_type': (
|
|
1219
|
+
'response_type': (EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata,),
|
|
1220
1220
|
'auth': [
|
|
1221
1221
|
'oauth',
|
|
1222
1222
|
'oauth'
|
|
@@ -2995,7 +2995,7 @@ class CampaignApi(object):
|
|
|
2995
2995
|
campaign_id (str): The given campaign id
|
|
2996
2996
|
|
|
2997
2997
|
Keyword Args:
|
|
2998
|
-
|
|
2998
|
+
value_resource_input_of_sponsored_products_line_item_create_request_model (ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel): The line item settings to create a line item with. [optional]
|
|
2999
2999
|
_return_http_data_only (bool): response data without head status
|
|
3000
3000
|
code and headers. Default is True.
|
|
3001
3001
|
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
@@ -4264,7 +4264,7 @@ class CampaignApi(object):
|
|
|
4264
4264
|
>>> result = thread.get()
|
|
4265
4265
|
|
|
4266
4266
|
Args:
|
|
4267
|
-
line_item_id (
|
|
4267
|
+
line_item_id (int): The id of the line item
|
|
4268
4268
|
|
|
4269
4269
|
Keyword Args:
|
|
4270
4270
|
_return_http_data_only (bool): response data without head status
|
|
@@ -4385,7 +4385,7 @@ class CampaignApi(object):
|
|
|
4385
4385
|
async_req (bool): execute request asynchronously
|
|
4386
4386
|
|
|
4387
4387
|
Returns:
|
|
4388
|
-
|
|
4388
|
+
EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
|
|
4389
4389
|
If the method is called asynchronously, returns the request
|
|
4390
4390
|
thread.
|
|
4391
4391
|
"""
|
|
@@ -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.250730/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.250730".\
|
|
399
399
|
format(env=sys.platform, pyversion=sys.version)
|
|
400
400
|
|
|
401
401
|
def get_host_settings(self):
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_preview.model.entity_resource_of_sponsored_products_line_item import EntityResourceOfSponsoredProductsLineItem
|
|
34
|
+
from criteo_api_retailmedia_preview.model.metadata import Metadata
|
|
35
|
+
from criteo_api_retailmedia_preview.model.sdk_api_rest_common_problem import SdkApiRestCommonProblem
|
|
36
|
+
globals()['EntityResourceOfSponsoredProductsLineItem'] = EntityResourceOfSponsoredProductsLineItem
|
|
37
|
+
globals()['Metadata'] = Metadata
|
|
38
|
+
globals()['SdkApiRestCommonProblem'] = SdkApiRestCommonProblem
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata(ModelNormal):
|
|
42
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
43
|
+
Ref: https://openapi-generator.tech
|
|
44
|
+
|
|
45
|
+
Do not edit the class manually.
|
|
46
|
+
|
|
47
|
+
Attributes:
|
|
48
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
49
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
50
|
+
with a capitalized key describing the allowed value and an allowed
|
|
51
|
+
value. These dicts store the allowed enum values.
|
|
52
|
+
attribute_map (dict): The key is attribute name
|
|
53
|
+
and the value is json key in definition.
|
|
54
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
55
|
+
variable value to the discriminator class name.
|
|
56
|
+
validations (dict): The key is the tuple path to the attribute
|
|
57
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
58
|
+
that stores validations for max_length, min_length, max_items,
|
|
59
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
60
|
+
inclusive_minimum, and regex.
|
|
61
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
62
|
+
as additional properties values.
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
allowed_values = {
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validations = {
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
additional_properties_type = None
|
|
72
|
+
|
|
73
|
+
_nullable = False
|
|
74
|
+
|
|
75
|
+
@cached_property
|
|
76
|
+
def openapi_types():
|
|
77
|
+
"""
|
|
78
|
+
This must be a method because a model may have properties that are
|
|
79
|
+
of type self, this must run after the class is loaded
|
|
80
|
+
|
|
81
|
+
Returns
|
|
82
|
+
openapi_types (dict): The key is attribute name
|
|
83
|
+
and the value is attribute type.
|
|
84
|
+
"""
|
|
85
|
+
lazy_import()
|
|
86
|
+
return {
|
|
87
|
+
'data': ([EntityResourceOfSponsoredProductsLineItem], none_type,), # noqa: E501
|
|
88
|
+
'errors': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
89
|
+
'metadata': (Metadata,), # noqa: E501
|
|
90
|
+
'warnings': ([SdkApiRestCommonProblem], none_type,), # noqa: E501
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@cached_property
|
|
94
|
+
def discriminator():
|
|
95
|
+
return None
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
attribute_map = {
|
|
99
|
+
'data': 'data', # noqa: E501
|
|
100
|
+
'errors': 'errors', # noqa: E501
|
|
101
|
+
'metadata': 'metadata', # noqa: E501
|
|
102
|
+
'warnings': 'warnings', # noqa: E501
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
read_only_vars = {
|
|
106
|
+
'errors', # noqa: E501
|
|
107
|
+
'warnings', # noqa: E501
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
_composed_schemas = {}
|
|
111
|
+
|
|
112
|
+
@classmethod
|
|
113
|
+
@convert_js_args_to_python_args
|
|
114
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
115
|
+
"""EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata - a model defined in OpenAPI
|
|
116
|
+
|
|
117
|
+
Keyword Args:
|
|
118
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
119
|
+
will be type checked and a TypeError will be
|
|
120
|
+
raised if the wrong type is input.
|
|
121
|
+
Defaults to True
|
|
122
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
123
|
+
drill down to the model in received_data
|
|
124
|
+
when deserializing a response
|
|
125
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
126
|
+
are serialized names, as specified in the OpenAPI document.
|
|
127
|
+
False if the variable names in the input data
|
|
128
|
+
are pythonic names, e.g. snake case (default)
|
|
129
|
+
_configuration (Configuration): the instance to use when
|
|
130
|
+
deserializing a file_type parameter.
|
|
131
|
+
If passed, type conversion is attempted
|
|
132
|
+
If omitted no type conversion is done.
|
|
133
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
134
|
+
classes that we have traveled through so that
|
|
135
|
+
if we see that class again we will not use its
|
|
136
|
+
discriminator again.
|
|
137
|
+
When traveling through a discriminator, the
|
|
138
|
+
composed schema that is
|
|
139
|
+
is traveled through is added to this set.
|
|
140
|
+
For example if Animal has a discriminator
|
|
141
|
+
petType and we pass in "Dog", and the class Dog
|
|
142
|
+
allOf includes Animal, we move through Animal
|
|
143
|
+
once using the discriminator, and pick Dog.
|
|
144
|
+
Then in Dog, we will make an instance of the
|
|
145
|
+
Animal class but this time we won't travel
|
|
146
|
+
through its discriminator because we passed in
|
|
147
|
+
_visited_composed_classes = (Animal,)
|
|
148
|
+
data ([EntityResourceOfSponsoredProductsLineItem], none_type): [optional] # noqa: E501
|
|
149
|
+
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
150
|
+
metadata (Metadata): [optional] # noqa: E501
|
|
151
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
155
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
156
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
157
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
158
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
159
|
+
|
|
160
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
161
|
+
|
|
162
|
+
if args:
|
|
163
|
+
for arg in args:
|
|
164
|
+
if isinstance(arg, dict):
|
|
165
|
+
kwargs.update(arg)
|
|
166
|
+
else:
|
|
167
|
+
raise ApiTypeError(
|
|
168
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
169
|
+
args,
|
|
170
|
+
self.__class__.__name__,
|
|
171
|
+
),
|
|
172
|
+
path_to_item=_path_to_item,
|
|
173
|
+
valid_classes=(self.__class__,),
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
self._data_store = {}
|
|
177
|
+
self._check_type = _check_type
|
|
178
|
+
self._spec_property_naming = _spec_property_naming
|
|
179
|
+
self._path_to_item = _path_to_item
|
|
180
|
+
self._configuration = _configuration
|
|
181
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
182
|
+
|
|
183
|
+
for var_name, var_value in kwargs.items():
|
|
184
|
+
if var_name not in self.attribute_map and \
|
|
185
|
+
self._configuration is not None and \
|
|
186
|
+
self._configuration.discard_unknown_keys and \
|
|
187
|
+
self.additional_properties_type is None:
|
|
188
|
+
# discard variable.
|
|
189
|
+
continue
|
|
190
|
+
setattr(self, var_name, var_value)
|
|
191
|
+
return self
|
|
192
|
+
|
|
193
|
+
required_properties = set([
|
|
194
|
+
'_data_store',
|
|
195
|
+
'_check_type',
|
|
196
|
+
'_spec_property_naming',
|
|
197
|
+
'_path_to_item',
|
|
198
|
+
'_configuration',
|
|
199
|
+
'_visited_composed_classes',
|
|
200
|
+
])
|
|
201
|
+
|
|
202
|
+
@convert_js_args_to_python_args
|
|
203
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
204
|
+
"""EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata - a model defined in OpenAPI
|
|
205
|
+
|
|
206
|
+
Keyword Args:
|
|
207
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
208
|
+
will be type checked and a TypeError will be
|
|
209
|
+
raised if the wrong type is input.
|
|
210
|
+
Defaults to True
|
|
211
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
212
|
+
drill down to the model in received_data
|
|
213
|
+
when deserializing a response
|
|
214
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
215
|
+
are serialized names, as specified in the OpenAPI document.
|
|
216
|
+
False if the variable names in the input data
|
|
217
|
+
are pythonic names, e.g. snake case (default)
|
|
218
|
+
_configuration (Configuration): the instance to use when
|
|
219
|
+
deserializing a file_type parameter.
|
|
220
|
+
If passed, type conversion is attempted
|
|
221
|
+
If omitted no type conversion is done.
|
|
222
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
223
|
+
classes that we have traveled through so that
|
|
224
|
+
if we see that class again we will not use its
|
|
225
|
+
discriminator again.
|
|
226
|
+
When traveling through a discriminator, the
|
|
227
|
+
composed schema that is
|
|
228
|
+
is traveled through is added to this set.
|
|
229
|
+
For example if Animal has a discriminator
|
|
230
|
+
petType and we pass in "Dog", and the class Dog
|
|
231
|
+
allOf includes Animal, we move through Animal
|
|
232
|
+
once using the discriminator, and pick Dog.
|
|
233
|
+
Then in Dog, we will make an instance of the
|
|
234
|
+
Animal class but this time we won't travel
|
|
235
|
+
through its discriminator because we passed in
|
|
236
|
+
_visited_composed_classes = (Animal,)
|
|
237
|
+
data ([EntityResourceOfSponsoredProductsLineItem], none_type): [optional] # noqa: E501
|
|
238
|
+
errors ([SdkApiRestCommonProblem], none_type): Errors that occured during this call.. [optional] # noqa: E501
|
|
239
|
+
metadata (Metadata): [optional] # noqa: E501
|
|
240
|
+
warnings ([SdkApiRestCommonProblem], none_type): Warnings that occured during this call.. [optional] # noqa: E501
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
244
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
245
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
246
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
247
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
248
|
+
|
|
249
|
+
if args:
|
|
250
|
+
for arg in args:
|
|
251
|
+
if isinstance(arg, dict):
|
|
252
|
+
kwargs.update(arg)
|
|
253
|
+
else:
|
|
254
|
+
raise ApiTypeError(
|
|
255
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
256
|
+
args,
|
|
257
|
+
self.__class__.__name__,
|
|
258
|
+
),
|
|
259
|
+
path_to_item=_path_to_item,
|
|
260
|
+
valid_classes=(self.__class__,),
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
self._data_store = {}
|
|
264
|
+
self._check_type = _check_type
|
|
265
|
+
self._spec_property_naming = _spec_property_naming
|
|
266
|
+
self._path_to_item = _path_to_item
|
|
267
|
+
self._configuration = _configuration
|
|
268
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
269
|
+
|
|
270
|
+
for var_name, var_value in kwargs.items():
|
|
271
|
+
if var_name not in self.attribute_map and \
|
|
272
|
+
self._configuration is not None and \
|
|
273
|
+
self._configuration.discard_unknown_keys and \
|
|
274
|
+
self.additional_properties_type is None:
|
|
275
|
+
# discard variable.
|
|
276
|
+
continue
|
|
277
|
+
setattr(self, var_name, var_value)
|
|
278
|
+
if var_name in self.read_only_vars:
|
|
279
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
280
|
+
f"class with read only attributes.")
|
|
@@ -56,16 +56,16 @@ class FlightLeg(ModelNormal):
|
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
58
|
('day_of_week',): {
|
|
59
|
-
'SUNDAY': "
|
|
60
|
-
'MONDAY': "
|
|
61
|
-
'TUESDAY': "
|
|
62
|
-
'WEDNESDAY': "
|
|
63
|
-
'THURSDAY': "
|
|
64
|
-
'FRIDAY': "
|
|
65
|
-
'SATURDAY': "
|
|
66
|
-
'EVERYDAY': "
|
|
67
|
-
'WEEKDAYS': "
|
|
68
|
-
'WEEKENDS': "
|
|
59
|
+
'SUNDAY': "sunday",
|
|
60
|
+
'MONDAY': "monday",
|
|
61
|
+
'TUESDAY': "tuesday",
|
|
62
|
+
'WEDNESDAY': "wednesday",
|
|
63
|
+
'THURSDAY': "thursday",
|
|
64
|
+
'FRIDAY': "friday",
|
|
65
|
+
'SATURDAY': "saturday",
|
|
66
|
+
'EVERYDAY': "everyday",
|
|
67
|
+
'WEEKDAYS': "weekdays",
|
|
68
|
+
'WEEKENDS': "weekends",
|
|
69
69
|
},
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -88,8 +88,8 @@ class FlightLeg(ModelNormal):
|
|
|
88
88
|
"""
|
|
89
89
|
return {
|
|
90
90
|
'day_of_week': (str,), # noqa: E501
|
|
91
|
-
'end_time': (
|
|
92
|
-
'start_time': (
|
|
91
|
+
'end_time': (str,), # noqa: E501
|
|
92
|
+
'start_time': (str,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -115,8 +115,8 @@ class FlightLeg(ModelNormal):
|
|
|
115
115
|
|
|
116
116
|
Args:
|
|
117
117
|
day_of_week (str): Enum for the days of the week.
|
|
118
|
-
end_time (
|
|
119
|
-
start_time (
|
|
118
|
+
end_time (str):
|
|
119
|
+
start_time (str):
|
|
120
120
|
|
|
121
121
|
Keyword Args:
|
|
122
122
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -208,8 +208,8 @@ class FlightLeg(ModelNormal):
|
|
|
208
208
|
|
|
209
209
|
Args:
|
|
210
210
|
day_of_week (str): Enum for the days of the week.
|
|
211
|
-
end_time (
|
|
212
|
-
start_time (
|
|
211
|
+
end_time (str):
|
|
212
|
+
start_time (str):
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -66,12 +66,6 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
66
66
|
'CLICKS': "Clicks",
|
|
67
67
|
'REVENUE': "Revenue",
|
|
68
68
|
},
|
|
69
|
-
('buy_type',): {
|
|
70
|
-
'None': None,
|
|
71
|
-
'UNKNOWN': "Unknown",
|
|
72
|
-
'AUCTION': "Auction",
|
|
73
|
-
'PREFERRED': "Preferred",
|
|
74
|
-
},
|
|
75
69
|
('status',): {
|
|
76
70
|
'None': None,
|
|
77
71
|
'UNKNOWN': "unknown",
|
|
@@ -112,7 +106,6 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
112
106
|
'budget_remaining': (float, none_type,), # noqa: E501
|
|
113
107
|
'campaign_id': (str,), # noqa: E501
|
|
114
108
|
'created_at': (datetime,), # noqa: E501
|
|
115
|
-
'external_line_item_id': (int,), # noqa: E501
|
|
116
109
|
'name': (str,), # noqa: E501
|
|
117
110
|
'start_date': (datetime,), # noqa: E501
|
|
118
111
|
'target_retailer_id': (str,), # noqa: E501
|
|
@@ -120,13 +113,15 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
120
113
|
'bid_strategy': (str, none_type,), # noqa: E501
|
|
121
114
|
'budget': (float, none_type,), # noqa: E501
|
|
122
115
|
'budget_spent': (float, none_type,), # noqa: E501
|
|
123
|
-
'
|
|
116
|
+
'conquesting_adstrategy_enabled': (bool, none_type,), # noqa: E501
|
|
124
117
|
'daily_pacing': (float, none_type,), # noqa: E501
|
|
118
|
+
'defensive_adstrategy_enabled': (bool, none_type,), # noqa: E501
|
|
125
119
|
'end_date': (datetime, none_type,), # noqa: E501
|
|
126
120
|
'flight_schedule': (FlightSchedule,), # noqa: E501
|
|
127
121
|
'is_auto_daily_pacing': (bool, none_type,), # noqa: E501
|
|
128
122
|
'max_bid': (float, none_type,), # noqa: E501
|
|
129
123
|
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
124
|
+
'neutral_adstrategy_enabled': (bool, none_type,), # noqa: E501
|
|
130
125
|
'status': (str, none_type,), # noqa: E501
|
|
131
126
|
'target_bid': (float, none_type,), # noqa: E501
|
|
132
127
|
}
|
|
@@ -140,7 +135,6 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
140
135
|
'budget_remaining': 'budgetRemaining', # noqa: E501
|
|
141
136
|
'campaign_id': 'campaignId', # noqa: E501
|
|
142
137
|
'created_at': 'createdAt', # noqa: E501
|
|
143
|
-
'external_line_item_id': 'externalLineItemId', # noqa: E501
|
|
144
138
|
'name': 'name', # noqa: E501
|
|
145
139
|
'start_date': 'startDate', # noqa: E501
|
|
146
140
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
@@ -148,13 +142,15 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
148
142
|
'bid_strategy': 'bidStrategy', # noqa: E501
|
|
149
143
|
'budget': 'budget', # noqa: E501
|
|
150
144
|
'budget_spent': 'budgetSpent', # noqa: E501
|
|
151
|
-
'
|
|
145
|
+
'conquesting_adstrategy_enabled': 'conquestingAdstrategyEnabled', # noqa: E501
|
|
152
146
|
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
147
|
+
'defensive_adstrategy_enabled': 'defensiveAdstrategyEnabled', # noqa: E501
|
|
153
148
|
'end_date': 'endDate', # noqa: E501
|
|
154
149
|
'flight_schedule': 'flightSchedule', # noqa: E501
|
|
155
150
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
156
151
|
'max_bid': 'maxBid', # noqa: E501
|
|
157
152
|
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
153
|
+
'neutral_adstrategy_enabled': 'neutralAdstrategyEnabled', # noqa: E501
|
|
158
154
|
'status': 'status', # noqa: E501
|
|
159
155
|
'target_bid': 'targetBid', # noqa: E501
|
|
160
156
|
}
|
|
@@ -166,14 +162,13 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
166
162
|
|
|
167
163
|
@classmethod
|
|
168
164
|
@convert_js_args_to_python_args
|
|
169
|
-
def _from_openapi_data(cls, budget_remaining, campaign_id, created_at,
|
|
165
|
+
def _from_openapi_data(cls, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
170
166
|
"""SponsoredProductsLineItem - a model defined in OpenAPI
|
|
171
167
|
|
|
172
168
|
Args:
|
|
173
169
|
budget_remaining (float, none_type):
|
|
174
170
|
campaign_id (str):
|
|
175
171
|
created_at (datetime):
|
|
176
|
-
external_line_item_id (int):
|
|
177
172
|
name (str):
|
|
178
173
|
start_date (datetime):
|
|
179
174
|
target_retailer_id (str):
|
|
@@ -213,13 +208,15 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
213
208
|
bid_strategy (str, none_type): [optional] # noqa: E501
|
|
214
209
|
budget (float, none_type): [optional] # noqa: E501
|
|
215
210
|
budget_spent (float, none_type): [optional] # noqa: E501
|
|
216
|
-
|
|
211
|
+
conquesting_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
217
212
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
213
|
+
defensive_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
218
214
|
end_date (datetime, none_type): [optional] # noqa: E501
|
|
219
215
|
flight_schedule (FlightSchedule): [optional] # noqa: E501
|
|
220
216
|
is_auto_daily_pacing (bool, none_type): [optional] # noqa: E501
|
|
221
217
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
222
218
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
219
|
+
neutral_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
223
220
|
status (str, none_type): Status of a line item.. [optional] # noqa: E501
|
|
224
221
|
target_bid (float, none_type): [optional] # noqa: E501
|
|
225
222
|
"""
|
|
@@ -256,7 +253,6 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
256
253
|
self.budget_remaining = budget_remaining
|
|
257
254
|
self.campaign_id = campaign_id
|
|
258
255
|
self.created_at = created_at
|
|
259
|
-
self.external_line_item_id = external_line_item_id
|
|
260
256
|
self.name = name
|
|
261
257
|
self.start_date = start_date
|
|
262
258
|
self.target_retailer_id = target_retailer_id
|
|
@@ -281,14 +277,13 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
281
277
|
])
|
|
282
278
|
|
|
283
279
|
@convert_js_args_to_python_args
|
|
284
|
-
def __init__(self, budget_remaining, campaign_id, created_at,
|
|
280
|
+
def __init__(self, budget_remaining, campaign_id, created_at, name, start_date, target_retailer_id, updated_at, *args, **kwargs): # noqa: E501
|
|
285
281
|
"""SponsoredProductsLineItem - a model defined in OpenAPI
|
|
286
282
|
|
|
287
283
|
Args:
|
|
288
284
|
budget_remaining (float, none_type):
|
|
289
285
|
campaign_id (str):
|
|
290
286
|
created_at (datetime):
|
|
291
|
-
external_line_item_id (int):
|
|
292
287
|
name (str):
|
|
293
288
|
start_date (datetime):
|
|
294
289
|
target_retailer_id (str):
|
|
@@ -328,13 +323,15 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
328
323
|
bid_strategy (str, none_type): [optional] # noqa: E501
|
|
329
324
|
budget (float, none_type): [optional] # noqa: E501
|
|
330
325
|
budget_spent (float, none_type): [optional] # noqa: E501
|
|
331
|
-
|
|
326
|
+
conquesting_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
332
327
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
328
|
+
defensive_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
333
329
|
end_date (datetime, none_type): [optional] # noqa: E501
|
|
334
330
|
flight_schedule (FlightSchedule): [optional] # noqa: E501
|
|
335
331
|
is_auto_daily_pacing (bool, none_type): [optional] # noqa: E501
|
|
336
332
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
337
333
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
334
|
+
neutral_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
338
335
|
status (str, none_type): Status of a line item.. [optional] # noqa: E501
|
|
339
336
|
target_bid (float, none_type): [optional] # noqa: E501
|
|
340
337
|
"""
|
|
@@ -369,7 +366,6 @@ class SponsoredProductsLineItem(ModelNormal):
|
|
|
369
366
|
self.budget_remaining = budget_remaining
|
|
370
367
|
self.campaign_id = campaign_id
|
|
371
368
|
self.created_at = created_at
|
|
372
|
-
self.external_line_item_id = external_line_item_id
|
|
373
369
|
self.name = name
|
|
374
370
|
self.start_date = start_date
|
|
375
371
|
self.target_retailer_id = target_retailer_id
|
|
@@ -65,11 +65,6 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
65
65
|
'CLICKS': "Clicks",
|
|
66
66
|
'REVENUE': "Revenue",
|
|
67
67
|
},
|
|
68
|
-
('status',): {
|
|
69
|
-
'ACTIVE': "Active",
|
|
70
|
-
'PAUSED': "Paused",
|
|
71
|
-
'DRAFT': "Draft",
|
|
72
|
-
},
|
|
73
68
|
}
|
|
74
69
|
|
|
75
70
|
validations = {
|
|
@@ -100,13 +95,15 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
100
95
|
'target_retailer_id': (str,), # noqa: E501
|
|
101
96
|
'bid_strategy': (str,), # noqa: E501
|
|
102
97
|
'budget': (float, none_type,), # noqa: E501
|
|
98
|
+
'conquesting_adstrategy_enabled': (bool, none_type,), # noqa: E501
|
|
103
99
|
'daily_pacing': (float, none_type,), # noqa: E501
|
|
100
|
+
'defensive_adstrategy_enabled': (bool, none_type,), # noqa: E501
|
|
104
101
|
'end_date': (datetime, none_type,), # noqa: E501
|
|
105
102
|
'flight_schedule': (FlightSchedule,), # noqa: E501
|
|
106
103
|
'is_auto_daily_pacing': (bool,), # noqa: E501
|
|
107
104
|
'max_bid': (float, none_type,), # noqa: E501
|
|
108
105
|
'monthly_pacing': (float, none_type,), # noqa: E501
|
|
109
|
-
'
|
|
106
|
+
'neutral_adstrategy_enabled': (bool, none_type,), # noqa: E501
|
|
110
107
|
'target_bid': (float, none_type,), # noqa: E501
|
|
111
108
|
}
|
|
112
109
|
|
|
@@ -121,13 +118,15 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
121
118
|
'target_retailer_id': 'targetRetailerId', # noqa: E501
|
|
122
119
|
'bid_strategy': 'bidStrategy', # noqa: E501
|
|
123
120
|
'budget': 'budget', # noqa: E501
|
|
121
|
+
'conquesting_adstrategy_enabled': 'conquestingAdstrategyEnabled', # noqa: E501
|
|
124
122
|
'daily_pacing': 'dailyPacing', # noqa: E501
|
|
123
|
+
'defensive_adstrategy_enabled': 'defensiveAdstrategyEnabled', # noqa: E501
|
|
125
124
|
'end_date': 'endDate', # noqa: E501
|
|
126
125
|
'flight_schedule': 'flightSchedule', # noqa: E501
|
|
127
126
|
'is_auto_daily_pacing': 'isAutoDailyPacing', # noqa: E501
|
|
128
127
|
'max_bid': 'maxBid', # noqa: E501
|
|
129
128
|
'monthly_pacing': 'monthlyPacing', # noqa: E501
|
|
130
|
-
'
|
|
129
|
+
'neutral_adstrategy_enabled': 'neutralAdstrategyEnabled', # noqa: E501
|
|
131
130
|
'target_bid': 'targetBid', # noqa: E501
|
|
132
131
|
}
|
|
133
132
|
|
|
@@ -179,13 +178,15 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
179
178
|
_visited_composed_classes = (Animal,)
|
|
180
179
|
bid_strategy (str): [optional] if omitted the server will use the default value of "Conversion" # noqa: E501
|
|
181
180
|
budget (float, none_type): [optional] # noqa: E501
|
|
181
|
+
conquesting_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
182
182
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
183
|
+
defensive_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
183
184
|
end_date (datetime, none_type): [optional] # noqa: E501
|
|
184
185
|
flight_schedule (FlightSchedule): [optional] # noqa: E501
|
|
185
186
|
is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
|
|
186
187
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
187
188
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
188
|
-
|
|
189
|
+
neutral_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
189
190
|
target_bid (float, none_type): [optional] # noqa: E501
|
|
190
191
|
"""
|
|
191
192
|
|
|
@@ -282,13 +283,15 @@ class SponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
|
282
283
|
_visited_composed_classes = (Animal,)
|
|
283
284
|
bid_strategy (str): [optional] if omitted the server will use the default value of "Conversion" # noqa: E501
|
|
284
285
|
budget (float, none_type): [optional] # noqa: E501
|
|
286
|
+
conquesting_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
285
287
|
daily_pacing (float, none_type): [optional] # noqa: E501
|
|
288
|
+
defensive_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
286
289
|
end_date (datetime, none_type): [optional] # noqa: E501
|
|
287
290
|
flight_schedule (FlightSchedule): [optional] # noqa: E501
|
|
288
291
|
is_auto_daily_pacing (bool): [optional] if omitted the server will use the default value of False # noqa: E501
|
|
289
292
|
max_bid (float, none_type): [optional] # noqa: E501
|
|
290
293
|
monthly_pacing (float, none_type): [optional] # noqa: E501
|
|
291
|
-
|
|
294
|
+
neutral_adstrategy_enabled (bool, none_type): [optional] # noqa: E501
|
|
292
295
|
target_bid (float, none_type): [optional] # noqa: E501
|
|
293
296
|
"""
|
|
294
297
|
|
|
@@ -30,13 +30,11 @@ from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_retailmedia_preview.model.
|
|
34
|
-
|
|
35
|
-
globals()['Metadata'] = Metadata
|
|
36
|
-
globals()['SponsoredProductsLineItem'] = SponsoredProductsLineItem
|
|
33
|
+
from criteo_api_retailmedia_preview.model.value_resource_of_sponsored_products_line_item_create_request_model import ValueResourceOfSponsoredProductsLineItemCreateRequestModel
|
|
34
|
+
globals()['ValueResourceOfSponsoredProductsLineItemCreateRequestModel'] = ValueResourceOfSponsoredProductsLineItemCreateRequestModel
|
|
37
35
|
|
|
38
36
|
|
|
39
|
-
class
|
|
37
|
+
class ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
40
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
39
|
Ref: https://openapi-generator.tech
|
|
42
40
|
|
|
@@ -82,8 +80,7 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
82
80
|
"""
|
|
83
81
|
lazy_import()
|
|
84
82
|
return {
|
|
85
|
-
'data': (
|
|
86
|
-
'meta': (Metadata,), # noqa: E501
|
|
83
|
+
'data': (ValueResourceOfSponsoredProductsLineItemCreateRequestModel,), # noqa: E501
|
|
87
84
|
}
|
|
88
85
|
|
|
89
86
|
@cached_property
|
|
@@ -93,7 +90,6 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
93
90
|
|
|
94
91
|
attribute_map = {
|
|
95
92
|
'data': 'data', # noqa: E501
|
|
96
|
-
'meta': 'meta', # noqa: E501
|
|
97
93
|
}
|
|
98
94
|
|
|
99
95
|
read_only_vars = {
|
|
@@ -103,12 +99,8 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
103
99
|
|
|
104
100
|
@classmethod
|
|
105
101
|
@convert_js_args_to_python_args
|
|
106
|
-
def _from_openapi_data(cls,
|
|
107
|
-
"""
|
|
108
|
-
|
|
109
|
-
Args:
|
|
110
|
-
data ([SponsoredProductsLineItem]):
|
|
111
|
-
meta (Metadata):
|
|
102
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
103
|
+
"""ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel - a model defined in OpenAPI
|
|
112
104
|
|
|
113
105
|
Keyword Args:
|
|
114
106
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -141,6 +133,7 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
141
133
|
Animal class but this time we won't travel
|
|
142
134
|
through its discriminator because we passed in
|
|
143
135
|
_visited_composed_classes = (Animal,)
|
|
136
|
+
data (ValueResourceOfSponsoredProductsLineItemCreateRequestModel): [optional] # noqa: E501
|
|
144
137
|
"""
|
|
145
138
|
|
|
146
139
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -172,8 +165,6 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
172
165
|
self._configuration = _configuration
|
|
173
166
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
174
167
|
|
|
175
|
-
self.data = data
|
|
176
|
-
self.meta = meta
|
|
177
168
|
for var_name, var_value in kwargs.items():
|
|
178
169
|
if var_name not in self.attribute_map and \
|
|
179
170
|
self._configuration is not None and \
|
|
@@ -194,12 +185,8 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
194
185
|
])
|
|
195
186
|
|
|
196
187
|
@convert_js_args_to_python_args
|
|
197
|
-
def __init__(self,
|
|
198
|
-
"""
|
|
199
|
-
|
|
200
|
-
Args:
|
|
201
|
-
data ([SponsoredProductsLineItem]):
|
|
202
|
-
meta (Metadata):
|
|
188
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
189
|
+
"""ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel - a model defined in OpenAPI
|
|
203
190
|
|
|
204
191
|
Keyword Args:
|
|
205
192
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,6 +219,7 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
232
219
|
Animal class but this time we won't travel
|
|
233
220
|
through its discriminator because we passed in
|
|
234
221
|
_visited_composed_classes = (Animal,)
|
|
222
|
+
data (ValueResourceOfSponsoredProductsLineItemCreateRequestModel): [optional] # noqa: E501
|
|
235
223
|
"""
|
|
236
224
|
|
|
237
225
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -261,8 +249,6 @@ class PageOfSponsoredProductsLineItem(ModelNormal):
|
|
|
261
249
|
self._configuration = _configuration
|
|
262
250
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
263
251
|
|
|
264
|
-
self.data = data
|
|
265
|
-
self.meta = meta
|
|
266
252
|
for var_name, var_value in kwargs.items():
|
|
267
253
|
if var_name not in self.attribute_map and \
|
|
268
254
|
self._configuration is not None and \
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - RetailMedia # noqa: E501
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: Preview
|
|
7
|
+
Generated by: https://openapi-generator.tech
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
import re # noqa: F401
|
|
12
|
+
import sys # noqa: F401
|
|
13
|
+
|
|
14
|
+
from criteo_api_retailmedia_preview.model_utils import ( # noqa: F401
|
|
15
|
+
ApiTypeError,
|
|
16
|
+
ModelComposed,
|
|
17
|
+
ModelNormal,
|
|
18
|
+
ModelSimple,
|
|
19
|
+
cached_property,
|
|
20
|
+
change_keys_js_to_python,
|
|
21
|
+
convert_js_args_to_python_args,
|
|
22
|
+
date,
|
|
23
|
+
datetime,
|
|
24
|
+
file_type,
|
|
25
|
+
none_type,
|
|
26
|
+
validate_get_composed_info,
|
|
27
|
+
OpenApiModel
|
|
28
|
+
)
|
|
29
|
+
from criteo_api_retailmedia_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_retailmedia_preview.model.sponsored_products_line_item_create_request_model import SponsoredProductsLineItemCreateRequestModel
|
|
34
|
+
globals()['SponsoredProductsLineItemCreateRequestModel'] = SponsoredProductsLineItemCreateRequestModel
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class ValueResourceOfSponsoredProductsLineItemCreateRequestModel(ModelNormal):
|
|
38
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
|
+
Ref: https://openapi-generator.tech
|
|
40
|
+
|
|
41
|
+
Do not edit the class manually.
|
|
42
|
+
|
|
43
|
+
Attributes:
|
|
44
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
45
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
46
|
+
with a capitalized key describing the allowed value and an allowed
|
|
47
|
+
value. These dicts store the allowed enum values.
|
|
48
|
+
attribute_map (dict): The key is attribute name
|
|
49
|
+
and the value is json key in definition.
|
|
50
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
51
|
+
variable value to the discriminator class name.
|
|
52
|
+
validations (dict): The key is the tuple path to the attribute
|
|
53
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
54
|
+
that stores validations for max_length, min_length, max_items,
|
|
55
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
56
|
+
inclusive_minimum, and regex.
|
|
57
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
58
|
+
as additional properties values.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
allowed_values = {
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validations = {
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
additional_properties_type = None
|
|
68
|
+
|
|
69
|
+
_nullable = False
|
|
70
|
+
|
|
71
|
+
@cached_property
|
|
72
|
+
def openapi_types():
|
|
73
|
+
"""
|
|
74
|
+
This must be a method because a model may have properties that are
|
|
75
|
+
of type self, this must run after the class is loaded
|
|
76
|
+
|
|
77
|
+
Returns
|
|
78
|
+
openapi_types (dict): The key is attribute name
|
|
79
|
+
and the value is attribute type.
|
|
80
|
+
"""
|
|
81
|
+
lazy_import()
|
|
82
|
+
return {
|
|
83
|
+
'attributes': (SponsoredProductsLineItemCreateRequestModel,), # noqa: E501
|
|
84
|
+
'type': (str, none_type,), # noqa: E501
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@cached_property
|
|
88
|
+
def discriminator():
|
|
89
|
+
return None
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
attribute_map = {
|
|
93
|
+
'attributes': 'attributes', # noqa: E501
|
|
94
|
+
'type': 'type', # noqa: E501
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
read_only_vars = {
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
_composed_schemas = {}
|
|
101
|
+
|
|
102
|
+
@classmethod
|
|
103
|
+
@convert_js_args_to_python_args
|
|
104
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
105
|
+
"""ValueResourceOfSponsoredProductsLineItemCreateRequestModel - a model defined in OpenAPI
|
|
106
|
+
|
|
107
|
+
Keyword Args:
|
|
108
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
109
|
+
will be type checked and a TypeError will be
|
|
110
|
+
raised if the wrong type is input.
|
|
111
|
+
Defaults to True
|
|
112
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
113
|
+
drill down to the model in received_data
|
|
114
|
+
when deserializing a response
|
|
115
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
116
|
+
are serialized names, as specified in the OpenAPI document.
|
|
117
|
+
False if the variable names in the input data
|
|
118
|
+
are pythonic names, e.g. snake case (default)
|
|
119
|
+
_configuration (Configuration): the instance to use when
|
|
120
|
+
deserializing a file_type parameter.
|
|
121
|
+
If passed, type conversion is attempted
|
|
122
|
+
If omitted no type conversion is done.
|
|
123
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
124
|
+
classes that we have traveled through so that
|
|
125
|
+
if we see that class again we will not use its
|
|
126
|
+
discriminator again.
|
|
127
|
+
When traveling through a discriminator, the
|
|
128
|
+
composed schema that is
|
|
129
|
+
is traveled through is added to this set.
|
|
130
|
+
For example if Animal has a discriminator
|
|
131
|
+
petType and we pass in "Dog", and the class Dog
|
|
132
|
+
allOf includes Animal, we move through Animal
|
|
133
|
+
once using the discriminator, and pick Dog.
|
|
134
|
+
Then in Dog, we will make an instance of the
|
|
135
|
+
Animal class but this time we won't travel
|
|
136
|
+
through its discriminator because we passed in
|
|
137
|
+
_visited_composed_classes = (Animal,)
|
|
138
|
+
attributes (SponsoredProductsLineItemCreateRequestModel): [optional] # noqa: E501
|
|
139
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
140
|
+
"""
|
|
141
|
+
|
|
142
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
143
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
144
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
145
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
146
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
147
|
+
|
|
148
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
149
|
+
|
|
150
|
+
if args:
|
|
151
|
+
for arg in args:
|
|
152
|
+
if isinstance(arg, dict):
|
|
153
|
+
kwargs.update(arg)
|
|
154
|
+
else:
|
|
155
|
+
raise ApiTypeError(
|
|
156
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
157
|
+
args,
|
|
158
|
+
self.__class__.__name__,
|
|
159
|
+
),
|
|
160
|
+
path_to_item=_path_to_item,
|
|
161
|
+
valid_classes=(self.__class__,),
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
self._data_store = {}
|
|
165
|
+
self._check_type = _check_type
|
|
166
|
+
self._spec_property_naming = _spec_property_naming
|
|
167
|
+
self._path_to_item = _path_to_item
|
|
168
|
+
self._configuration = _configuration
|
|
169
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
170
|
+
|
|
171
|
+
for var_name, var_value in kwargs.items():
|
|
172
|
+
if var_name not in self.attribute_map and \
|
|
173
|
+
self._configuration is not None and \
|
|
174
|
+
self._configuration.discard_unknown_keys and \
|
|
175
|
+
self.additional_properties_type is None:
|
|
176
|
+
# discard variable.
|
|
177
|
+
continue
|
|
178
|
+
setattr(self, var_name, var_value)
|
|
179
|
+
return self
|
|
180
|
+
|
|
181
|
+
required_properties = set([
|
|
182
|
+
'_data_store',
|
|
183
|
+
'_check_type',
|
|
184
|
+
'_spec_property_naming',
|
|
185
|
+
'_path_to_item',
|
|
186
|
+
'_configuration',
|
|
187
|
+
'_visited_composed_classes',
|
|
188
|
+
])
|
|
189
|
+
|
|
190
|
+
@convert_js_args_to_python_args
|
|
191
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
192
|
+
"""ValueResourceOfSponsoredProductsLineItemCreateRequestModel - a model defined in OpenAPI
|
|
193
|
+
|
|
194
|
+
Keyword Args:
|
|
195
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
196
|
+
will be type checked and a TypeError will be
|
|
197
|
+
raised if the wrong type is input.
|
|
198
|
+
Defaults to True
|
|
199
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
200
|
+
drill down to the model in received_data
|
|
201
|
+
when deserializing a response
|
|
202
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
203
|
+
are serialized names, as specified in the OpenAPI document.
|
|
204
|
+
False if the variable names in the input data
|
|
205
|
+
are pythonic names, e.g. snake case (default)
|
|
206
|
+
_configuration (Configuration): the instance to use when
|
|
207
|
+
deserializing a file_type parameter.
|
|
208
|
+
If passed, type conversion is attempted
|
|
209
|
+
If omitted no type conversion is done.
|
|
210
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
211
|
+
classes that we have traveled through so that
|
|
212
|
+
if we see that class again we will not use its
|
|
213
|
+
discriminator again.
|
|
214
|
+
When traveling through a discriminator, the
|
|
215
|
+
composed schema that is
|
|
216
|
+
is traveled through is added to this set.
|
|
217
|
+
For example if Animal has a discriminator
|
|
218
|
+
petType and we pass in "Dog", and the class Dog
|
|
219
|
+
allOf includes Animal, we move through Animal
|
|
220
|
+
once using the discriminator, and pick Dog.
|
|
221
|
+
Then in Dog, we will make an instance of the
|
|
222
|
+
Animal class but this time we won't travel
|
|
223
|
+
through its discriminator because we passed in
|
|
224
|
+
_visited_composed_classes = (Animal,)
|
|
225
|
+
attributes (SponsoredProductsLineItemCreateRequestModel): [optional] # noqa: E501
|
|
226
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
230
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
231
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
232
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
233
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
234
|
+
|
|
235
|
+
if args:
|
|
236
|
+
for arg in args:
|
|
237
|
+
if isinstance(arg, dict):
|
|
238
|
+
kwargs.update(arg)
|
|
239
|
+
else:
|
|
240
|
+
raise ApiTypeError(
|
|
241
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
242
|
+
args,
|
|
243
|
+
self.__class__.__name__,
|
|
244
|
+
),
|
|
245
|
+
path_to_item=_path_to_item,
|
|
246
|
+
valid_classes=(self.__class__,),
|
|
247
|
+
)
|
|
248
|
+
|
|
249
|
+
self._data_store = {}
|
|
250
|
+
self._check_type = _check_type
|
|
251
|
+
self._spec_property_naming = _spec_property_naming
|
|
252
|
+
self._path_to_item = _path_to_item
|
|
253
|
+
self._configuration = _configuration
|
|
254
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
255
|
+
|
|
256
|
+
for var_name, var_value in kwargs.items():
|
|
257
|
+
if var_name not in self.attribute_map and \
|
|
258
|
+
self._configuration is not None and \
|
|
259
|
+
self._configuration.discard_unknown_keys and \
|
|
260
|
+
self.additional_properties_type is None:
|
|
261
|
+
# discard variable.
|
|
262
|
+
continue
|
|
263
|
+
setattr(self, var_name, var_value)
|
|
264
|
+
if var_name in self.read_only_vars:
|
|
265
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
266
|
+
f"class with read only attributes.")
|
|
@@ -76,6 +76,7 @@ from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_cat
|
|
|
76
76
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_category202204_metadata import EntityResourceCollectionOutcomeCategory202204Metadata
|
|
77
77
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata import EntityResourceCollectionOutcomeLineItemKeywordReviewReportAndMetadata
|
|
78
78
|
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_retail_media_child_account_and_metadata import EntityResourceCollectionOutcomeOfRetailMediaChildAccountAndMetadata
|
|
79
|
+
from criteo_api_retailmedia_preview.model.entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata import EntityResourceCollectionOutcomeOfSponsoredProductsLineItemAndMetadata
|
|
79
80
|
from criteo_api_retailmedia_preview.model.entity_resource_line_item_keyword_review_report import EntityResourceLineItemKeywordReviewReport
|
|
80
81
|
from criteo_api_retailmedia_preview.model.entity_resource_of_catalog_status_v2 import EntityResourceOfCatalogStatusV2
|
|
81
82
|
from criteo_api_retailmedia_preview.model.entity_resource_of_retail_media_child_account import EntityResourceOfRetailMediaChildAccount
|
|
@@ -126,7 +127,6 @@ from criteo_api_retailmedia_preview.model.nillable_string import NillableString
|
|
|
126
127
|
from criteo_api_retailmedia_preview.model.outcome import Outcome
|
|
127
128
|
from criteo_api_retailmedia_preview.model.page_metadata import PageMetadata
|
|
128
129
|
from criteo_api_retailmedia_preview.model.page_of_balance_history_change_data_capture_v1 import PageOfBalanceHistoryChangeDataCaptureV1
|
|
129
|
-
from criteo_api_retailmedia_preview.model.page_of_sponsored_products_line_item import PageOfSponsoredProductsLineItem
|
|
130
130
|
from criteo_api_retailmedia_preview.model.page_type_environment2 import PageTypeEnvironment2
|
|
131
131
|
from criteo_api_retailmedia_preview.model.paged_resource_collection_outcome_of_balance_response_v2 import PagedResourceCollectionOutcomeOfBalanceResponseV2
|
|
132
132
|
from criteo_api_retailmedia_preview.model.paging_offset_limit_metadata import PagingOffsetLimitMetadata
|
|
@@ -323,6 +323,7 @@ from criteo_api_retailmedia_preview.model.value_resource_input_brand_id_search_r
|
|
|
323
323
|
from criteo_api_retailmedia_preview.model.value_resource_input_categories_search_request_v1 import ValueResourceInputCategoriesSearchRequestV1
|
|
324
324
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_brand_catalog_request_v2 import ValueResourceInputOfBrandCatalogRequestV2
|
|
325
325
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_seller_catalog_request_v2 import ValueResourceInputOfSellerCatalogRequestV2
|
|
326
|
+
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_create_request_model import ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel
|
|
326
327
|
from criteo_api_retailmedia_preview.model.value_resource_input_of_sponsored_products_line_item_update_request_model import ValueResourceInputOfSponsoredProductsLineItemUpdateRequestModel
|
|
327
328
|
from criteo_api_retailmedia_preview.model.value_resource_input_partner_billing_report_request_v1 import ValueResourceInputPartnerBillingReportRequestV1
|
|
328
329
|
from criteo_api_retailmedia_preview.model.value_resource_input_recommended_categories_request_v1 import ValueResourceInputRecommendedCategoriesRequestV1
|
|
@@ -330,6 +331,7 @@ from criteo_api_retailmedia_preview.model.value_resource_input_recommended_keywo
|
|
|
330
331
|
from criteo_api_retailmedia_preview.model.value_resource_input_retail_media_keywords_review import ValueResourceInputRetailMediaKeywordsReview
|
|
331
332
|
from criteo_api_retailmedia_preview.model.value_resource_of_brand_catalog_request_v2 import ValueResourceOfBrandCatalogRequestV2
|
|
332
333
|
from criteo_api_retailmedia_preview.model.value_resource_of_seller_catalog_request_v2 import ValueResourceOfSellerCatalogRequestV2
|
|
334
|
+
from criteo_api_retailmedia_preview.model.value_resource_of_sponsored_products_line_item_create_request_model import ValueResourceOfSponsoredProductsLineItemCreateRequestModel
|
|
333
335
|
from criteo_api_retailmedia_preview.model.value_resource_of_sponsored_products_line_item_update_request_model import ValueResourceOfSponsoredProductsLineItemUpdateRequestModel
|
|
334
336
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_account_fees_update_result import ValueResourceOutcomeAccountFeesUpdateResult
|
|
335
337
|
from criteo_api_retailmedia_preview.model.value_resource_outcome_recommended_keywords_response_v1 import ValueResourceOutcomeRecommendedKeywordsResponseV1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: criteo-api-retailmedia-sdk
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.250730
|
|
4
4
|
Summary: Criteo API SDK
|
|
5
5
|
Home-page: https://github.com/criteo/criteo-api-python-sdk
|
|
6
6
|
Author: Criteo
|
|
@@ -35,9 +35,9 @@ IMPORTANT: This Python package links to Criteo production environment. Any test
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
pip install criteo-api-retailmedia-sdk==0.0.
|
|
38
|
+
pip install criteo-api-retailmedia-sdk==0.0.250730
|
|
39
39
|
```
|
|
40
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.
|
|
40
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-retailmedia-sdk==0.0.250730`)
|
|
41
41
|
|
|
42
42
|
Then import the package:
|
|
43
43
|
```python
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
criteo_api_retailmedia_preview/__init__.py,sha256=
|
|
2
|
-
criteo_api_retailmedia_preview/api_client.py,sha256=
|
|
1
|
+
criteo_api_retailmedia_preview/__init__.py,sha256=vjr0msHf8i76FmflNIWeaMNfEdBtaI7ORy9d5np4RTE,1023
|
|
2
|
+
criteo_api_retailmedia_preview/api_client.py,sha256=I534mxyfpStE-emyQVK3__HXzZekr3MZxpl032GeswU,39425
|
|
3
3
|
criteo_api_retailmedia_preview/api_client_builder.py,sha256=GA_82AyTtGhe8KsCV4WRibYrDshmKbXDRLdELNYmBEo,1504
|
|
4
|
-
criteo_api_retailmedia_preview/configuration.py,sha256
|
|
4
|
+
criteo_api_retailmedia_preview/configuration.py,sha256=-6S9JeJZ8_E9zCiLoJTdVPiPJXkNDQQCMN3BJ0zNEjs,16714
|
|
5
5
|
criteo_api_retailmedia_preview/criteo_api_client.py,sha256=OMLOZH6PXNNHEZ-9_X1b-jNJT80YCrfQrxln-6rWo3k,652
|
|
6
6
|
criteo_api_retailmedia_preview/criteo_auth.py,sha256=1pjObPpytC72QM8YxL3NmwDI0ePSXuRFIiMpq6j3LF0,4693
|
|
7
7
|
criteo_api_retailmedia_preview/criteo_rest.py,sha256=7fjy1FXDYlgRVnUqEvXaa3daGnZAB0rUPqmFxgBeRmk,3410
|
|
@@ -15,7 +15,7 @@ criteo_api_retailmedia_preview/api/analytics_api.py,sha256=SLVp4zmtDtKyWRraJBxWj
|
|
|
15
15
|
criteo_api_retailmedia_preview/api/audience_api.py,sha256=MqabSJv6TkPiWAnsseqpey-yUP6NwDii4PbAcdlUwAM,96328
|
|
16
16
|
criteo_api_retailmedia_preview/api/balance_api.py,sha256=uic6Oio8pAmLTI68KSNHl9jA9e3VPMtb2oOsE8-gn9g,39445
|
|
17
17
|
criteo_api_retailmedia_preview/api/billing_api.py,sha256=R6wrFFopBkdZKz_Fnl9WEazHHkAph79R2OiB1X8Hhcc,17744
|
|
18
|
-
criteo_api_retailmedia_preview/api/campaign_api.py,sha256=
|
|
18
|
+
criteo_api_retailmedia_preview/api/campaign_api.py,sha256=3LZ3I6W4nUM2lSHJdqO2HIdJUChD1I7W9gqVVQFDdN8,258217
|
|
19
19
|
criteo_api_retailmedia_preview/api/catalog_api.py,sha256=J-flsW5g2qeVtJagiEK_eB4UiQSZ8hYNJXDjVWL5h8o,12384
|
|
20
20
|
criteo_api_retailmedia_preview/api/gateway_api.py,sha256=kEmtDyfACdByE6SbIMwV0OH7HsRvtN7jnmc1qDCtiLs,5693
|
|
21
21
|
criteo_api_retailmedia_preview/api/on_site_recommendation_api.py,sha256=yeEY6PXg4HoGYcEStM2kPLKPTSSLY3NLMbdHSCK8KtU,6779
|
|
@@ -88,6 +88,7 @@ criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_category
|
|
|
88
88
|
criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_category202204_metadata.py,sha256=nYw-5ob98WeQ6HbzUff8UciVpmsWFMcl5a12fTOws1M,13173
|
|
89
89
|
criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py,sha256=5K9oUro-iSgGvuoQplLk9OKNgBSsKYMnErhPje3c4W0,12999
|
|
90
90
|
criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py,sha256=Sg5czHqdVcau9nkNe9WnCxjihgL2_rzung5ratiJMqg,12999
|
|
91
|
+
criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_sponsored_products_line_item_and_metadata.py,sha256=EXKSu7j7lXy_HymcyVwmz9AWmbm0fsazicVPbeNlzEc,13019
|
|
91
92
|
criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py,sha256=bkV6FTJ7qGFlH953a_w2J5jNyei3qSPxu7t8w5JGcGg,12033
|
|
92
93
|
criteo_api_retailmedia_preview/model/entity_resource_of_catalog_status_v2.py,sha256=HJI1R9_NVNkHhXvb6rZPrlV-ynieAC_QSRKhgqbAEck,12221
|
|
93
94
|
criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py,sha256=VZ9V-nT37Lx0w7ljAV_J1NQjnCNC4O0r6T1_E02g2uw,12055
|
|
@@ -110,7 +111,7 @@ criteo_api_retailmedia_preview/model/external_product_button_response.py,sha256=
|
|
|
110
111
|
criteo_api_retailmedia_preview/model/external_retail_media_child_account.py,sha256=jv90wFjrsHGhxsROsE3SbVTQhSIHwogapqbaiUdiaNY,13793
|
|
111
112
|
criteo_api_retailmedia_preview/model/fail_response.py,sha256=vVOyKT9FO6ZRxfrjIdQiJu9Kr0I5RDXC_xYcbpjwa6o,12249
|
|
112
113
|
criteo_api_retailmedia_preview/model/files_variable_value.py,sha256=O2EurvLEcnY_BGD8ML-VUBNo6y1hHuGJ9rOqJhY4ebQ,11390
|
|
113
|
-
criteo_api_retailmedia_preview/model/flight_leg.py,sha256=
|
|
114
|
+
criteo_api_retailmedia_preview/model/flight_leg.py,sha256=yqgUjgAIAzt9XL8yvkT_sJPf6bDmt15FWLd1NGN_7UE,12149
|
|
114
115
|
criteo_api_retailmedia_preview/model/flight_schedule.py,sha256=TkCm1jN4J_GHNyldtIESeXQgPI7KtQcJBmfdfrgvEYc,11433
|
|
115
116
|
criteo_api_retailmedia_preview/model/hyperlink_variable_value.py,sha256=AvsQCJ3S3JKYfteiKuHSDs5VTinuTJhsU8Pb-kol7gQ,11209
|
|
116
117
|
criteo_api_retailmedia_preview/model/inbot_discussion.py,sha256=y3QOSXnX8dUwyVw4YVXb3cFlpKHU63in45t21iK1GXA,11828
|
|
@@ -138,7 +139,6 @@ criteo_api_retailmedia_preview/model/nillable_string.py,sha256=x7bcW3bG64tdy5MTU
|
|
|
138
139
|
criteo_api_retailmedia_preview/model/outcome.py,sha256=PVhyEZSJMQ-iFvvHmE9DFj0ql99hFGxFiUn5mnhI42k,11935
|
|
139
140
|
criteo_api_retailmedia_preview/model/page_metadata.py,sha256=BNH2dlpyoRXDvyJZTtoKXB-JKQB_yEB9VJmHBLkUgXE,12966
|
|
140
141
|
criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py,sha256=940EzsrktG9A95qeWB851WFeSvUkLn8v2sw4Ue-mqhQ,11891
|
|
141
|
-
criteo_api_retailmedia_preview/model/page_of_sponsored_products_line_item.py,sha256=J9f3cD8tbRp6sAkON_FYFyk5Gj8E0T2JNa3sEvMXJtk,11809
|
|
142
142
|
criteo_api_retailmedia_preview/model/page_type_environment2.py,sha256=ACbq9ytzbm5r9WZXa0yNP_m--U7xv9Efxtu0CPE5aIY,12371
|
|
143
143
|
criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py,sha256=C_X_F4IJMmbiKZy9-Fzo9iiqnuDhTW8et4qThlrrvag,12823
|
|
144
144
|
criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py,sha256=JOkUAV3dxDa_44MjU9O6B5EwxpMekaKLCiYYbZNs_yc,12080
|
|
@@ -305,8 +305,8 @@ criteo_api_retailmedia_preview/model/sku_slim_data_preview.py,sha256=pCJYPgB9zmf
|
|
|
305
305
|
criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py,sha256=BPEq6ShRzSQKtsux6mtlhlopPccmqXfsCPEAafRDn0k,12434
|
|
306
306
|
criteo_api_retailmedia_preview/model/sku_slim_data_v2.py,sha256=KWgrWNiUpFMvXNhzydQ46WNaXlTznNf_V2Ttzd1Uokc,14818
|
|
307
307
|
criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py,sha256=JMdUpqH1wiwa2p1yDI4b2hViEUdwwMm43991fDId8k0,12384
|
|
308
|
-
criteo_api_retailmedia_preview/model/sponsored_products_line_item.py,sha256=
|
|
309
|
-
criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py,sha256=
|
|
308
|
+
criteo_api_retailmedia_preview/model/sponsored_products_line_item.py,sha256=uYgpjY51r-Pg_RCSHRaybCTodWXGIImt1xY-P-JLTvE,17597
|
|
309
|
+
criteo_api_retailmedia_preview/model/sponsored_products_line_item_create_request_model.py,sha256=4289Mp8pP6QW4wf9AK3HKUJIMTPuFjPMRvjTy5t5P-E,15751
|
|
310
310
|
criteo_api_retailmedia_preview/model/sponsored_products_line_item_update_request_model.py,sha256=3s6_587Xfc6Q9j0U6koAWZUo6sDMKruYTgUadyzEBkI,14806
|
|
311
311
|
criteo_api_retailmedia_preview/model/status_response.py,sha256=ANHplnX0oeW-cQMvE6bJpbR-hiUi9Z7U-z7bM3hcryc,13283
|
|
312
312
|
criteo_api_retailmedia_preview/model/status_response_resource.py,sha256=Y7ltrUwi49Wiczz3En5d7pHBPJ5ePYB49g4-dr3wdvA,12080
|
|
@@ -335,6 +335,7 @@ criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_reques
|
|
|
335
335
|
criteo_api_retailmedia_preview/model/value_resource_input_categories_search_request_v1.py,sha256=9akeJ-v2QOWXBqPx_l0sRxxvHDse1ywUwMLxEpIDaEk,11874
|
|
336
336
|
criteo_api_retailmedia_preview/model/value_resource_input_of_brand_catalog_request_v2.py,sha256=MAo33nEZ3T7EHzcVCZCFyrVb_iWcDJcZY8viaE7lULk,11854
|
|
337
337
|
criteo_api_retailmedia_preview/model/value_resource_input_of_seller_catalog_request_v2.py,sha256=k0IxgX-EOkk3bVG7D4Wj9R7s-2aMmG3l24bGyvruJ2g,11864
|
|
338
|
+
criteo_api_retailmedia_preview/model/value_resource_input_of_sponsored_products_line_item_create_request_model.py,sha256=zQsK2UaI_JTfwcEnQO4-5FNv5L2rRbyxlL7D3szJ1Ac,11781
|
|
338
339
|
criteo_api_retailmedia_preview/model/value_resource_input_of_sponsored_products_line_item_update_request_model.py,sha256=vk5IllUm8VO8JSiNv2nMOAbfE15c3nb2KmqRqgKVc3A,11781
|
|
339
340
|
criteo_api_retailmedia_preview/model/value_resource_input_partner_billing_report_request_v1.py,sha256=sdFVqE43JCWCe3VL1RAJYzZxAyUY5UHw-QhPeNvc-sc,11618
|
|
340
341
|
criteo_api_retailmedia_preview/model/value_resource_input_recommended_categories_request_v1.py,sha256=HlVoHQdJRlL4JIe7PSr-ICeta7a83ZzjJbdxDfmubEo,11924
|
|
@@ -342,6 +343,7 @@ criteo_api_retailmedia_preview/model/value_resource_input_recommended_keywords_r
|
|
|
342
343
|
criteo_api_retailmedia_preview/model/value_resource_input_retail_media_keywords_review.py,sha256=FrKpp-2elTllgV7rnWxSt1YuVJunHno76RrxXYhOsjo,11577
|
|
343
344
|
criteo_api_retailmedia_preview/model/value_resource_of_brand_catalog_request_v2.py,sha256=z4s9Alt9CiyDae0K8TrLOMXBPGLo-megO8mHQv_P0h8,11993
|
|
344
345
|
criteo_api_retailmedia_preview/model/value_resource_of_seller_catalog_request_v2.py,sha256=w7tAfASXyIZiQw6bPs6I0tBE-cdEe-HqP05WWrY8tVQ,12003
|
|
346
|
+
criteo_api_retailmedia_preview/model/value_resource_of_sponsored_products_line_item_create_request_model.py,sha256=06-XhQqPLeE9N5FyVkk2IWmMW7hs9eh-Z56v5ZbppxA,11945
|
|
345
347
|
criteo_api_retailmedia_preview/model/value_resource_of_sponsored_products_line_item_update_request_model.py,sha256=ZGcWreAbdAjpJ44xTHcq04zZTr7HL_I52L-FzUdFyUc,11945
|
|
346
348
|
criteo_api_retailmedia_preview/model/value_resource_outcome_account_fees_update_result.py,sha256=JQLfqneuEKSUz_7sk2seRIufdY-AolprKKjTxYU9Ulc,12545
|
|
347
349
|
criteo_api_retailmedia_preview/model/value_resource_outcome_recommended_keywords_response_v1.py,sha256=ZarZYt0BJ7J_H0CWSmGumbvpZz1dLAYO3B4DnnFtmXg,12605
|
|
@@ -354,8 +356,8 @@ criteo_api_retailmedia_preview/model/value_resource_recommended_keywords_respons
|
|
|
354
356
|
criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py,sha256=91TH0TE-iZFtqRNJ7UWpsOrefe7zNCwvf5GBQmI3rkA,11756
|
|
355
357
|
criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py,sha256=Af_a5NYKq-u83q7yOxX2qcBTfzTN2XZg3v864eb134Q,11816
|
|
356
358
|
criteo_api_retailmedia_preview/model/video_variable_value.py,sha256=MutQTssNekmvLKDmu2kTKk0ZrijtpRwYToR_-nlo3SM,12078
|
|
357
|
-
criteo_api_retailmedia_preview/models/__init__.py,sha256=
|
|
358
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
359
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
360
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
361
|
-
criteo_api_retailmedia_sdk-0.0.
|
|
359
|
+
criteo_api_retailmedia_preview/models/__init__.py,sha256=E948IJGCPtiB6HW3Yyf0yesA1QIQ1Ht7DlDgKRuCO-c,37540
|
|
360
|
+
criteo_api_retailmedia_sdk-0.0.250730.dist-info/METADATA,sha256=aS0pG5GW1W2-QHiMZ3w0mENq9pMK9nvRpPRA67zDND4,1848
|
|
361
|
+
criteo_api_retailmedia_sdk-0.0.250730.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
362
|
+
criteo_api_retailmedia_sdk-0.0.250730.dist-info/top_level.txt,sha256=mR8aaWgc27pZ23OyoxxkhvUuHPeOkKiUaNQ-RiAivhc,31
|
|
363
|
+
criteo_api_retailmedia_sdk-0.0.250730.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|