criteo-api-marketingsolutions-sdk 0.0.241029__py3-none-any.whl → 0.0.250129__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-marketingsolutions-sdk might be problematic. Click here for more details.
- criteo_api_marketingsolutions_preview/__init__.py +1 -1
- criteo_api_marketingsolutions_preview/api/campaign_api.py +0 -877
- criteo_api_marketingsolutions_preview/api/creative_api.py +89 -89
- criteo_api_marketingsolutions_preview/api_client.py +1 -1
- criteo_api_marketingsolutions_preview/configuration.py +1 -1
- criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +0 -10
- criteo_api_marketingsolutions_preview/model/adaptive_write_attributes.py +0 -4
- criteo_api_marketingsolutions_preview/model/coupon.py +0 -2
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes.py +0 -4
- criteo_api_marketingsolutions_preview/model/create_ad_set_attribution_configuration_v24_q3.py +284 -0
- criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py +6 -0
- criteo_api_marketingsolutions_preview/model/create_coupon.py +0 -2
- criteo_api_marketingsolutions_preview/model/create_image_slide.py +0 -2
- criteo_api_marketingsolutions_preview/model/dynamic_attributes.py +0 -4
- criteo_api_marketingsolutions_preview/model/dynamic_write_attributes.py +6 -6
- criteo_api_marketingsolutions_preview/model/html_tag_attributes.py +0 -2
- criteo_api_marketingsolutions_preview/model/html_tag_write_attributes.py +0 -2
- criteo_api_marketingsolutions_preview/model/image_attributes.py +0 -2
- criteo_api_marketingsolutions_preview/model/image_set.py +0 -2
- criteo_api_marketingsolutions_preview/model/image_slide.py +0 -2
- criteo_api_marketingsolutions_preview/model/json_report_rows.py +3 -3
- criteo_api_marketingsolutions_preview/model/nillable_lookback_window_v24_q3.py +271 -0
- criteo_api_marketingsolutions_preview/model/patch_ad_set_attribution_configuration_v24_q3.py +282 -0
- criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py +6 -0
- criteo_api_marketingsolutions_preview/model/read_ad_set_attribution_configuration_v24_q3.py +284 -0
- criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py +6 -0
- criteo_api_marketingsolutions_preview/model/report_ok_response.py +18 -18
- criteo_api_marketingsolutions_preview/model/{creative_response.py → resource_collection_outcome_of_ad.py} +8 -12
- criteo_api_marketingsolutions_preview/model/{ad_list_response.py → resource_collection_outcome_of_coupon.py} +8 -14
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_creative.py +281 -0
- criteo_api_marketingsolutions_preview/model/{ad_write_request.py → resource_input_of_ad_write.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{create_coupon_request.py → resource_input_of_create_coupon.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{creative_write_request.py → resource_input_of_creative_write.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{update_coupon_request.py → resource_input_of_update_coupon.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{ad_resource.py → resource_of_ad.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{ad_write_resource.py → resource_of_ad_write.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{coupon_resource.py → resource_of_coupon.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{coupon_supported_sizes_resource.py → resource_of_coupon_supported_sizes.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{create_coupon_resource.py → resource_of_create_coupon.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{creative_resource.py → resource_of_creative.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{creative_write_resource.py → resource_of_creative_write.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{update_coupon_resource.py → resource_of_update_coupon.py} +5 -5
- criteo_api_marketingsolutions_preview/model/{ad_response.py → resource_outcome_of_ad.py} +8 -12
- criteo_api_marketingsolutions_preview/model/{coupon_response.py → resource_outcome_of_coupon.py} +8 -12
- criteo_api_marketingsolutions_preview/model/{coupon_list_response.py → resource_outcome_of_coupon_supported_sizes.py} +8 -14
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_creative.py +281 -0
- criteo_api_marketingsolutions_preview/models/__init__.py +23 -31
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/RECORD +51 -59
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes_response.py +0 -285
- criteo_api_marketingsolutions_preview/model/creative_list_response.py +0 -287
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_response.py +0 -279
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_response_data.py +0 -287
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_rule.py +0 -275
- criteo_api_marketingsolutions_preview/model/oci_brand_safety_segment.py +0 -320
- criteo_api_marketingsolutions_preview/model/oci_targeting_node.py +0 -277
- criteo_api_marketingsolutions_preview/model/oci_targeting_response.py +0 -279
- criteo_api_marketingsolutions_preview/model/oci_targeting_response_data.py +0 -287
- criteo_api_marketingsolutions_preview/model/oci_targeting_rule.py +0 -275
- criteo_api_marketingsolutions_preview/model/target.py +0 -274
- criteo_api_marketingsolutions_preview/model/target_type.py +0 -290
- criteo_api_marketingsolutions_preview/model/targeting_error_model.py +0 -299
- criteo_api_marketingsolutions_preview/model/targeting_operator.py +0 -292
- {criteo_api_marketingsolutions_sdk-0.0.241029.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Criteo API
|
|
3
|
+
|
|
4
|
+
Criteo API - MarketingSolutions # 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_marketingsolutions_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_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def lazy_import():
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
|
|
34
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_creative import ResourceOfCreative
|
|
35
|
+
globals()['CommonProblem'] = CommonProblem
|
|
36
|
+
globals()['ResourceOfCreative'] = ResourceOfCreative
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class ResourceOutcomeOfCreative(ModelNormal):
|
|
40
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
41
|
+
Ref: https://openapi-generator.tech
|
|
42
|
+
|
|
43
|
+
Do not edit the class manually.
|
|
44
|
+
|
|
45
|
+
Attributes:
|
|
46
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
47
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
48
|
+
with a capitalized key describing the allowed value and an allowed
|
|
49
|
+
value. These dicts store the allowed enum values.
|
|
50
|
+
attribute_map (dict): The key is attribute name
|
|
51
|
+
and the value is json key in definition.
|
|
52
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
53
|
+
variable value to the discriminator class name.
|
|
54
|
+
validations (dict): The key is the tuple path to the attribute
|
|
55
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
56
|
+
that stores validations for max_length, min_length, max_items,
|
|
57
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
58
|
+
inclusive_minimum, and regex.
|
|
59
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
60
|
+
as additional properties values.
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
allowed_values = {
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validations = {
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@cached_property
|
|
70
|
+
def additional_properties_type():
|
|
71
|
+
"""
|
|
72
|
+
This must be a method because a model may have properties that are
|
|
73
|
+
of type self, this must run after the class is loaded
|
|
74
|
+
"""
|
|
75
|
+
lazy_import()
|
|
76
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
77
|
+
|
|
78
|
+
_nullable = False
|
|
79
|
+
|
|
80
|
+
@cached_property
|
|
81
|
+
def openapi_types():
|
|
82
|
+
"""
|
|
83
|
+
This must be a method because a model may have properties that are
|
|
84
|
+
of type self, this must run after the class is loaded
|
|
85
|
+
|
|
86
|
+
Returns
|
|
87
|
+
openapi_types (dict): The key is attribute name
|
|
88
|
+
and the value is attribute type.
|
|
89
|
+
"""
|
|
90
|
+
lazy_import()
|
|
91
|
+
return {
|
|
92
|
+
'data': (ResourceOfCreative,), # noqa: E501
|
|
93
|
+
'warnings': ([CommonProblem], none_type,), # noqa: E501
|
|
94
|
+
'errors': ([CommonProblem], none_type,), # noqa: E501
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@cached_property
|
|
98
|
+
def discriminator():
|
|
99
|
+
return None
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
attribute_map = {
|
|
103
|
+
'data': 'data', # noqa: E501
|
|
104
|
+
'warnings': 'warnings', # noqa: E501
|
|
105
|
+
'errors': 'errors', # noqa: E501
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
read_only_vars = {
|
|
109
|
+
'warnings', # noqa: E501
|
|
110
|
+
'errors', # noqa: E501
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
_composed_schemas = {}
|
|
114
|
+
|
|
115
|
+
@classmethod
|
|
116
|
+
@convert_js_args_to_python_args
|
|
117
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
+
"""ResourceOutcomeOfCreative - a model defined in OpenAPI
|
|
119
|
+
|
|
120
|
+
Keyword Args:
|
|
121
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
122
|
+
will be type checked and a TypeError will be
|
|
123
|
+
raised if the wrong type is input.
|
|
124
|
+
Defaults to True
|
|
125
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
126
|
+
drill down to the model in received_data
|
|
127
|
+
when deserializing a response
|
|
128
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
129
|
+
are serialized names, as specified in the OpenAPI document.
|
|
130
|
+
False if the variable names in the input data
|
|
131
|
+
are pythonic names, e.g. snake case (default)
|
|
132
|
+
_configuration (Configuration): the instance to use when
|
|
133
|
+
deserializing a file_type parameter.
|
|
134
|
+
If passed, type conversion is attempted
|
|
135
|
+
If omitted no type conversion is done.
|
|
136
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
137
|
+
classes that we have traveled through so that
|
|
138
|
+
if we see that class again we will not use its
|
|
139
|
+
discriminator again.
|
|
140
|
+
When traveling through a discriminator, the
|
|
141
|
+
composed schema that is
|
|
142
|
+
is traveled through is added to this set.
|
|
143
|
+
For example if Animal has a discriminator
|
|
144
|
+
petType and we pass in "Dog", and the class Dog
|
|
145
|
+
allOf includes Animal, we move through Animal
|
|
146
|
+
once using the discriminator, and pick Dog.
|
|
147
|
+
Then in Dog, we will make an instance of the
|
|
148
|
+
Animal class but this time we won't travel
|
|
149
|
+
through its discriminator because we passed in
|
|
150
|
+
_visited_composed_classes = (Animal,)
|
|
151
|
+
data (ResourceOfCreative): [optional] # noqa: E501
|
|
152
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
153
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
157
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
158
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
159
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
160
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
161
|
+
|
|
162
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
163
|
+
|
|
164
|
+
if args:
|
|
165
|
+
for arg in args:
|
|
166
|
+
if isinstance(arg, dict):
|
|
167
|
+
kwargs.update(arg)
|
|
168
|
+
else:
|
|
169
|
+
raise ApiTypeError(
|
|
170
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
171
|
+
args,
|
|
172
|
+
self.__class__.__name__,
|
|
173
|
+
),
|
|
174
|
+
path_to_item=_path_to_item,
|
|
175
|
+
valid_classes=(self.__class__,),
|
|
176
|
+
)
|
|
177
|
+
|
|
178
|
+
self._data_store = {}
|
|
179
|
+
self._check_type = _check_type
|
|
180
|
+
self._spec_property_naming = _spec_property_naming
|
|
181
|
+
self._path_to_item = _path_to_item
|
|
182
|
+
self._configuration = _configuration
|
|
183
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
184
|
+
|
|
185
|
+
for var_name, var_value in kwargs.items():
|
|
186
|
+
if var_name not in self.attribute_map and \
|
|
187
|
+
self._configuration is not None and \
|
|
188
|
+
self._configuration.discard_unknown_keys and \
|
|
189
|
+
self.additional_properties_type is None:
|
|
190
|
+
# discard variable.
|
|
191
|
+
continue
|
|
192
|
+
setattr(self, var_name, var_value)
|
|
193
|
+
return self
|
|
194
|
+
|
|
195
|
+
required_properties = set([
|
|
196
|
+
'_data_store',
|
|
197
|
+
'_check_type',
|
|
198
|
+
'_spec_property_naming',
|
|
199
|
+
'_path_to_item',
|
|
200
|
+
'_configuration',
|
|
201
|
+
'_visited_composed_classes',
|
|
202
|
+
])
|
|
203
|
+
|
|
204
|
+
@convert_js_args_to_python_args
|
|
205
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
206
|
+
"""ResourceOutcomeOfCreative - a model defined in OpenAPI
|
|
207
|
+
|
|
208
|
+
Keyword Args:
|
|
209
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
210
|
+
will be type checked and a TypeError will be
|
|
211
|
+
raised if the wrong type is input.
|
|
212
|
+
Defaults to True
|
|
213
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
214
|
+
drill down to the model in received_data
|
|
215
|
+
when deserializing a response
|
|
216
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
217
|
+
are serialized names, as specified in the OpenAPI document.
|
|
218
|
+
False if the variable names in the input data
|
|
219
|
+
are pythonic names, e.g. snake case (default)
|
|
220
|
+
_configuration (Configuration): the instance to use when
|
|
221
|
+
deserializing a file_type parameter.
|
|
222
|
+
If passed, type conversion is attempted
|
|
223
|
+
If omitted no type conversion is done.
|
|
224
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
225
|
+
classes that we have traveled through so that
|
|
226
|
+
if we see that class again we will not use its
|
|
227
|
+
discriminator again.
|
|
228
|
+
When traveling through a discriminator, the
|
|
229
|
+
composed schema that is
|
|
230
|
+
is traveled through is added to this set.
|
|
231
|
+
For example if Animal has a discriminator
|
|
232
|
+
petType and we pass in "Dog", and the class Dog
|
|
233
|
+
allOf includes Animal, we move through Animal
|
|
234
|
+
once using the discriminator, and pick Dog.
|
|
235
|
+
Then in Dog, we will make an instance of the
|
|
236
|
+
Animal class but this time we won't travel
|
|
237
|
+
through its discriminator because we passed in
|
|
238
|
+
_visited_composed_classes = (Animal,)
|
|
239
|
+
data (ResourceOfCreative): [optional] # noqa: E501
|
|
240
|
+
warnings ([CommonProblem], none_type): [optional] # noqa: E501
|
|
241
|
+
errors ([CommonProblem], none_type): [optional] # noqa: E501
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
245
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
246
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
247
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
248
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
249
|
+
|
|
250
|
+
if args:
|
|
251
|
+
for arg in args:
|
|
252
|
+
if isinstance(arg, dict):
|
|
253
|
+
kwargs.update(arg)
|
|
254
|
+
else:
|
|
255
|
+
raise ApiTypeError(
|
|
256
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
257
|
+
args,
|
|
258
|
+
self.__class__.__name__,
|
|
259
|
+
),
|
|
260
|
+
path_to_item=_path_to_item,
|
|
261
|
+
valid_classes=(self.__class__,),
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
self._data_store = {}
|
|
265
|
+
self._check_type = _check_type
|
|
266
|
+
self._spec_property_naming = _spec_property_naming
|
|
267
|
+
self._path_to_item = _path_to_item
|
|
268
|
+
self._configuration = _configuration
|
|
269
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
270
|
+
|
|
271
|
+
for var_name, var_value in kwargs.items():
|
|
272
|
+
if var_name not in self.attribute_map and \
|
|
273
|
+
self._configuration is not None and \
|
|
274
|
+
self._configuration.discard_unknown_keys and \
|
|
275
|
+
self.additional_properties_type is None:
|
|
276
|
+
# discard variable.
|
|
277
|
+
continue
|
|
278
|
+
setattr(self, var_name, var_value)
|
|
279
|
+
if var_name in self.read_only_vars:
|
|
280
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
281
|
+
f"class with read only attributes.")
|
|
@@ -10,9 +10,6 @@
|
|
|
10
10
|
# sys.setrecursionlimit(n)
|
|
11
11
|
|
|
12
12
|
from criteo_api_marketingsolutions_preview.model.ad import Ad
|
|
13
|
-
from criteo_api_marketingsolutions_preview.model.ad_list_response import AdListResponse
|
|
14
|
-
from criteo_api_marketingsolutions_preview.model.ad_resource import AdResource
|
|
15
|
-
from criteo_api_marketingsolutions_preview.model.ad_response import AdResponse
|
|
16
13
|
from criteo_api_marketingsolutions_preview.model.ad_set_audience_link_entity_v1 import AdSetAudienceLinkEntityV1
|
|
17
14
|
from criteo_api_marketingsolutions_preview.model.ad_set_audience_link_entity_v1_resource import AdSetAudienceLinkEntityV1Resource
|
|
18
15
|
from criteo_api_marketingsolutions_preview.model.ad_set_audience_link_entity_v1_response import AdSetAudienceLinkEntityV1Response
|
|
@@ -45,8 +42,6 @@ from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_position
|
|
|
45
42
|
from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning_set_result_resource import AdSetTargetingVideoPositioningSetResultResource
|
|
46
43
|
from criteo_api_marketingsolutions_preview.model.ad_set_targeting_video_positioning_set_result_response import AdSetTargetingVideoPositioningSetResultResponse
|
|
47
44
|
from criteo_api_marketingsolutions_preview.model.ad_write import AdWrite
|
|
48
|
-
from criteo_api_marketingsolutions_preview.model.ad_write_request import AdWriteRequest
|
|
49
|
-
from criteo_api_marketingsolutions_preview.model.ad_write_resource import AdWriteResource
|
|
50
45
|
from criteo_api_marketingsolutions_preview.model.adaptive_attributes import AdaptiveAttributes
|
|
51
46
|
from criteo_api_marketingsolutions_preview.model.adaptive_colors import AdaptiveColors
|
|
52
47
|
from criteo_api_marketingsolutions_preview.model.adaptive_write_attributes import AdaptiveWriteAttributes
|
|
@@ -147,12 +142,8 @@ from criteo_api_marketingsolutions_preview.model.contactlist_with_attributes_ame
|
|
|
147
142
|
from criteo_api_marketingsolutions_preview.model.contactlist_with_attributes_amendment_attributes import ContactlistWithAttributesAmendmentAttributes
|
|
148
143
|
from criteo_api_marketingsolutions_preview.model.contactlist_with_attributes_amendment_request import ContactlistWithAttributesAmendmentRequest
|
|
149
144
|
from criteo_api_marketingsolutions_preview.model.coupon import Coupon
|
|
150
|
-
from criteo_api_marketingsolutions_preview.model.coupon_list_response import CouponListResponse
|
|
151
|
-
from criteo_api_marketingsolutions_preview.model.coupon_resource import CouponResource
|
|
152
|
-
from criteo_api_marketingsolutions_preview.model.coupon_response import CouponResponse
|
|
153
145
|
from criteo_api_marketingsolutions_preview.model.coupon_supported_sizes import CouponSupportedSizes
|
|
154
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
155
|
-
from criteo_api_marketingsolutions_preview.model.coupon_supported_sizes_response import CouponSupportedSizesResponse
|
|
146
|
+
from criteo_api_marketingsolutions_preview.model.create_ad_set_attribution_configuration_v24_q3 import CreateAdSetAttributionConfigurationV24Q3
|
|
156
147
|
from criteo_api_marketingsolutions_preview.model.create_ad_set_bidding_v24_q3 import CreateAdSetBiddingV24Q3
|
|
157
148
|
from criteo_api_marketingsolutions_preview.model.create_ad_set_budget_v24_q3 import CreateAdSetBudgetV24Q3
|
|
158
149
|
from criteo_api_marketingsolutions_preview.model.create_ad_set_geo_location_v24_q3 import CreateAdSetGeoLocationV24Q3
|
|
@@ -166,18 +157,11 @@ from criteo_api_marketingsolutions_preview.model.create_campaign_request import
|
|
|
166
157
|
from criteo_api_marketingsolutions_preview.model.create_campaign_resource import CreateCampaignResource
|
|
167
158
|
from criteo_api_marketingsolutions_preview.model.create_campaign_spend_limit import CreateCampaignSpendLimit
|
|
168
159
|
from criteo_api_marketingsolutions_preview.model.create_coupon import CreateCoupon
|
|
169
|
-
from criteo_api_marketingsolutions_preview.model.create_coupon_request import CreateCouponRequest
|
|
170
|
-
from criteo_api_marketingsolutions_preview.model.create_coupon_resource import CreateCouponResource
|
|
171
160
|
from criteo_api_marketingsolutions_preview.model.create_image_slide import CreateImageSlide
|
|
172
161
|
from criteo_api_marketingsolutions_preview.model.create_product_filter_request import CreateProductFilterRequest
|
|
173
162
|
from criteo_api_marketingsolutions_preview.model.create_product_set_request import CreateProductSetRequest
|
|
174
163
|
from criteo_api_marketingsolutions_preview.model.creative import Creative
|
|
175
|
-
from criteo_api_marketingsolutions_preview.model.creative_list_response import CreativeListResponse
|
|
176
|
-
from criteo_api_marketingsolutions_preview.model.creative_resource import CreativeResource
|
|
177
|
-
from criteo_api_marketingsolutions_preview.model.creative_response import CreativeResponse
|
|
178
164
|
from criteo_api_marketingsolutions_preview.model.creative_write import CreativeWrite
|
|
179
|
-
from criteo_api_marketingsolutions_preview.model.creative_write_request import CreativeWriteRequest
|
|
180
|
-
from criteo_api_marketingsolutions_preview.model.creative_write_resource import CreativeWriteResource
|
|
181
165
|
from criteo_api_marketingsolutions_preview.model.criteo_api_error import CriteoApiError
|
|
182
166
|
from criteo_api_marketingsolutions_preview.model.criteo_api_warning import CriteoApiWarning
|
|
183
167
|
from criteo_api_marketingsolutions_preview.model.criteo_api_warning_v2 import CriteoApiWarningV2
|
|
@@ -256,18 +240,12 @@ from criteo_api_marketingsolutions_preview.model.nillable_date_time import Nilla
|
|
|
256
240
|
from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal
|
|
257
241
|
from criteo_api_marketingsolutions_preview.model.nillable_gender_v1 import NillableGenderV1
|
|
258
242
|
from criteo_api_marketingsolutions_preview.model.nillable_int32 import NillableInt32
|
|
243
|
+
from criteo_api_marketingsolutions_preview.model.nillable_lookback_window_v24_q3 import NillableLookbackWindowV24Q3
|
|
259
244
|
from criteo_api_marketingsolutions_preview.model.nillable_string import NillableString
|
|
260
|
-
from criteo_api_marketingsolutions_preview.model.oci_brand_safety_response import OciBrandSafetyResponse
|
|
261
|
-
from criteo_api_marketingsolutions_preview.model.oci_brand_safety_response_data import OciBrandSafetyResponseData
|
|
262
|
-
from criteo_api_marketingsolutions_preview.model.oci_brand_safety_rule import OciBrandSafetyRule
|
|
263
|
-
from criteo_api_marketingsolutions_preview.model.oci_brand_safety_segment import OciBrandSafetySegment
|
|
264
|
-
from criteo_api_marketingsolutions_preview.model.oci_targeting_node import OciTargetingNode
|
|
265
|
-
from criteo_api_marketingsolutions_preview.model.oci_targeting_response import OciTargetingResponse
|
|
266
|
-
from criteo_api_marketingsolutions_preview.model.oci_targeting_response_data import OciTargetingResponseData
|
|
267
|
-
from criteo_api_marketingsolutions_preview.model.oci_targeting_rule import OciTargetingRule
|
|
268
245
|
from criteo_api_marketingsolutions_preview.model.on_site_reco_request import OnSiteRecoRequest
|
|
269
246
|
from criteo_api_marketingsolutions_preview.model.on_site_reco_response import OnSiteRecoResponse
|
|
270
247
|
from criteo_api_marketingsolutions_preview.model.outcome import Outcome
|
|
248
|
+
from criteo_api_marketingsolutions_preview.model.patch_ad_set_attribution_configuration_v24_q3 import PatchAdSetAttributionConfigurationV24Q3
|
|
271
249
|
from criteo_api_marketingsolutions_preview.model.patch_ad_set_bidding_v24_q3 import PatchAdSetBiddingV24Q3
|
|
272
250
|
from criteo_api_marketingsolutions_preview.model.patch_ad_set_budget_v24_q3 import PatchAdSetBudgetV24Q3
|
|
273
251
|
from criteo_api_marketingsolutions_preview.model.patch_ad_set_category_bid import PatchAdSetCategoryBid
|
|
@@ -311,6 +289,7 @@ from criteo_api_marketingsolutions_preview.model.products_custom_batch_request_e
|
|
|
311
289
|
from criteo_api_marketingsolutions_preview.model.prospecting_create_v1 import ProspectingCreateV1
|
|
312
290
|
from criteo_api_marketingsolutions_preview.model.prospecting_update_v1 import ProspectingUpdateV1
|
|
313
291
|
from criteo_api_marketingsolutions_preview.model.prospecting_v1 import ProspectingV1
|
|
292
|
+
from criteo_api_marketingsolutions_preview.model.read_ad_set_attribution_configuration_v24_q3 import ReadAdSetAttributionConfigurationV24Q3
|
|
314
293
|
from criteo_api_marketingsolutions_preview.model.read_ad_set_bidding_v24_q3 import ReadAdSetBiddingV24Q3
|
|
315
294
|
from criteo_api_marketingsolutions_preview.model.read_ad_set_budget_v24_q3 import ReadAdSetBudgetV24Q3
|
|
316
295
|
from criteo_api_marketingsolutions_preview.model.read_ad_set_schedule_v24_q3 import ReadAdSetScheduleV24Q3
|
|
@@ -326,8 +305,27 @@ from criteo_api_marketingsolutions_preview.model.report_detail_warnings import R
|
|
|
326
305
|
from criteo_api_marketingsolutions_preview.model.report_ok_response import ReportOkResponse
|
|
327
306
|
from criteo_api_marketingsolutions_preview.model.requests_ad_set_id import RequestsAdSetId
|
|
328
307
|
from criteo_api_marketingsolutions_preview.model.requests_patch_ad_set_v24_q3 import RequestsPatchAdSetV24Q3
|
|
308
|
+
from criteo_api_marketingsolutions_preview.model.resource_collection_outcome_of_ad import ResourceCollectionOutcomeOfAd
|
|
309
|
+
from criteo_api_marketingsolutions_preview.model.resource_collection_outcome_of_coupon import ResourceCollectionOutcomeOfCoupon
|
|
310
|
+
from criteo_api_marketingsolutions_preview.model.resource_collection_outcome_of_creative import ResourceCollectionOutcomeOfCreative
|
|
329
311
|
from criteo_api_marketingsolutions_preview.model.resource_collection_outcome_of_product_set import ResourceCollectionOutcomeOfProductSet
|
|
312
|
+
from criteo_api_marketingsolutions_preview.model.resource_input_of_ad_write import ResourceInputOfAdWrite
|
|
313
|
+
from criteo_api_marketingsolutions_preview.model.resource_input_of_create_coupon import ResourceInputOfCreateCoupon
|
|
314
|
+
from criteo_api_marketingsolutions_preview.model.resource_input_of_creative_write import ResourceInputOfCreativeWrite
|
|
315
|
+
from criteo_api_marketingsolutions_preview.model.resource_input_of_update_coupon import ResourceInputOfUpdateCoupon
|
|
316
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_ad import ResourceOfAd
|
|
317
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_ad_write import ResourceOfAdWrite
|
|
318
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_coupon import ResourceOfCoupon
|
|
319
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_coupon_supported_sizes import ResourceOfCouponSupportedSizes
|
|
320
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_create_coupon import ResourceOfCreateCoupon
|
|
321
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_creative import ResourceOfCreative
|
|
322
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_creative_write import ResourceOfCreativeWrite
|
|
330
323
|
from criteo_api_marketingsolutions_preview.model.resource_of_product_set import ResourceOfProductSet
|
|
324
|
+
from criteo_api_marketingsolutions_preview.model.resource_of_update_coupon import ResourceOfUpdateCoupon
|
|
325
|
+
from criteo_api_marketingsolutions_preview.model.resource_outcome_of_ad import ResourceOutcomeOfAd
|
|
326
|
+
from criteo_api_marketingsolutions_preview.model.resource_outcome_of_coupon import ResourceOutcomeOfCoupon
|
|
327
|
+
from criteo_api_marketingsolutions_preview.model.resource_outcome_of_coupon_supported_sizes import ResourceOutcomeOfCouponSupportedSizes
|
|
328
|
+
from criteo_api_marketingsolutions_preview.model.resource_outcome_of_creative import ResourceOutcomeOfCreative
|
|
331
329
|
from criteo_api_marketingsolutions_preview.model.resource_outcome_of_product_set import ResourceOutcomeOfProductSet
|
|
332
330
|
from criteo_api_marketingsolutions_preview.model.response_read_ad_set_v24_q3 import ResponseReadAdSetV24Q3
|
|
333
331
|
from criteo_api_marketingsolutions_preview.model.responses_ad_set_id import ResponsesAdSetId
|
|
@@ -351,11 +349,7 @@ from criteo_api_marketingsolutions_preview.model.supply_vendor import SupplyVend
|
|
|
351
349
|
from criteo_api_marketingsolutions_preview.model.supply_vendor_list_response import SupplyVendorListResponse
|
|
352
350
|
from criteo_api_marketingsolutions_preview.model.supply_vendor_resource import SupplyVendorResource
|
|
353
351
|
from criteo_api_marketingsolutions_preview.model.tag import Tag
|
|
354
|
-
from criteo_api_marketingsolutions_preview.model.target import Target
|
|
355
|
-
from criteo_api_marketingsolutions_preview.model.target_type import TargetType
|
|
356
352
|
from criteo_api_marketingsolutions_preview.model.targeting_entity import TargetingEntity
|
|
357
|
-
from criteo_api_marketingsolutions_preview.model.targeting_error_model import TargetingErrorModel
|
|
358
|
-
from criteo_api_marketingsolutions_preview.model.targeting_operator import TargetingOperator
|
|
359
353
|
from criteo_api_marketingsolutions_preview.model.transactions_report_query_message import TransactionsReportQueryMessage
|
|
360
354
|
from criteo_api_marketingsolutions_preview.model.transactions_report_query_message_list_request import TransactionsReportQueryMessageListRequest
|
|
361
355
|
from criteo_api_marketingsolutions_preview.model.transactions_report_query_message_resource import TransactionsReportQueryMessageResource
|
|
@@ -366,8 +360,6 @@ from criteo_api_marketingsolutions_preview.model.transparency_report_list_respon
|
|
|
366
360
|
from criteo_api_marketingsolutions_preview.model.transparency_report_resource import TransparencyReportResource
|
|
367
361
|
from criteo_api_marketingsolutions_preview.model.unauthorized_response_v2 import UnauthorizedResponseV2
|
|
368
362
|
from criteo_api_marketingsolutions_preview.model.update_coupon import UpdateCoupon
|
|
369
|
-
from criteo_api_marketingsolutions_preview.model.update_coupon_request import UpdateCouponRequest
|
|
370
|
-
from criteo_api_marketingsolutions_preview.model.update_coupon_resource import UpdateCouponResource
|
|
371
363
|
from criteo_api_marketingsolutions_preview.model.user_def import UserDef
|
|
372
364
|
from criteo_api_marketingsolutions_preview.model.value_resource_collection_outcome_of_product_filter_config import ValueResourceCollectionOutcomeOfProductFilterConfig
|
|
373
365
|
from criteo_api_marketingsolutions_preview.model.value_resource_input_of_create_product_filter_request import ValueResourceInputOfCreateProductFilterRequest
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: criteo-api-marketingsolutions-sdk
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.250129
|
|
4
4
|
Summary: Criteo API SDK
|
|
5
5
|
Home-page: https://github.com/criteo/criteo-api-python-sdk
|
|
6
6
|
Author: Criteo
|
|
@@ -14,8 +14,17 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Classifier: Topic :: Software Development :: Libraries
|
|
15
15
|
Requires-Python: >=3.6
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
|
-
Requires-Dist: urllib3
|
|
17
|
+
Requires-Dist: urllib3>=1.25.3
|
|
18
18
|
Requires-Dist: python-dateutil
|
|
19
|
+
Dynamic: author
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: keywords
|
|
25
|
+
Dynamic: requires-dist
|
|
26
|
+
Dynamic: requires-python
|
|
27
|
+
Dynamic: summary
|
|
19
28
|
|
|
20
29
|
# Criteo API SDK for Python
|
|
21
30
|
|
|
@@ -26,9 +35,9 @@ IMPORTANT: This Python package links to Criteo production environment. Any test
|
|
|
26
35
|
|
|
27
36
|
|
|
28
37
|
```sh
|
|
29
|
-
pip install criteo-api-marketingsolutions-sdk==0.0.
|
|
38
|
+
pip install criteo-api-marketingsolutions-sdk==0.0.250129
|
|
30
39
|
```
|
|
31
|
-
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.
|
|
40
|
+
(you may need to run `pip` with root permission: `sudo pip install criteo-api-marketingsolutions-sdk==0.0.250129`)
|
|
32
41
|
|
|
33
42
|
Then import the package:
|
|
34
43
|
```python
|