criteo-api-marketingsolutions-sdk 0.0.240808__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/analytics_api.py +10 -8
- criteo_api_marketingsolutions_preview/api/audience_api.py +139 -431
- criteo_api_marketingsolutions_preview/api/campaign_api.py +57 -934
- 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/{ad_set_delivery_limitations_v24_q1.py → ad_set_delivery_limitations_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_frequency_capping_v24_q1.py → ad_set_frequency_capping_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_geo_location_v24_q1.py → ad_set_geo_location_v24_q3.py} +14 -14
- criteo_api_marketingsolutions_preview/model/{ad_set_search_filter_v24_q1.py → ad_set_search_filter_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_search_request_v24_q1.py → ad_set_search_request_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{ad_set_targeting_rule_v24_q1.py → ad_set_targeting_rule_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_targeting_v24_q1.py → ad_set_targeting_v24_q3.py} +18 -18
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py +13 -0
- 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/contactlist_amendment_attributes.py +2 -3
- criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py +0 -1
- 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_bidding_v24_q1.py → create_ad_set_bidding_v24_q3.py} +4 -4
- criteo_api_marketingsolutions_preview/model/{create_ad_set_budget_v24_q1.py → create_ad_set_budget_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{create_ad_set_geo_location_v24_q1.py → create_ad_set_geo_location_v24_q3.py} +14 -14
- criteo_api_marketingsolutions_preview/model/{create_ad_set_schedule_v24_q1.py → create_ad_set_schedule_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{create_ad_set_targeting_v24_q1.py → create_ad_set_targeting_v24_q3.py} +18 -18
- criteo_api_marketingsolutions_preview/model/{create_ad_set_v24_q1.py → create_ad_set_v24_q3.py} +31 -25
- criteo_api_marketingsolutions_preview/model/{create_ad_set_v24_q1_request.py → create_ad_set_v24_q3_request.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{create_ad_set_v24_q1_resource.py → create_ad_set_v24_q3_resource.py} +8 -8
- 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_ad_set_targeting_rule_v24_q1.py → nillable_ad_set_targeting_rule_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{nillable_ad_set_targeting_rule_v24_q1_value.py → nillable_ad_set_targeting_rule_v24_q3_value.py} +6 -6
- 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_bidding_v24_q1.py → patch_ad_set_bidding_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{patch_ad_set_budget_v24_q1.py → patch_ad_set_budget_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{patch_ad_set_scheduling_v24_q1.py → patch_ad_set_scheduling_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{patch_ad_set_v24_q1.py → patch_ad_set_v24_q3.py} +31 -25
- criteo_api_marketingsolutions_preview/model/product.py +4 -0
- criteo_api_marketingsolutions_preview/model/read_ad_set_attribution_configuration_v24_q3.py +284 -0
- criteo_api_marketingsolutions_preview/model/{read_ad_set_bidding_v24_q1.py → read_ad_set_bidding_v24_q3.py} +4 -4
- criteo_api_marketingsolutions_preview/model/{read_ad_set_budget_v24_q1.py → read_ad_set_budget_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{read_ad_set_schedule_v24_q1.py → read_ad_set_schedule_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{read_ad_set_v24_q1.py → read_ad_set_v24_q3.py} +31 -25
- criteo_api_marketingsolutions_preview/model/{read_model_ad_set_id_v24_q1.py → read_model_ad_set_id_v24_q3.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{read_model_read_ad_set_v24_q1.py → read_model_read_ad_set_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{user_profile_identifier_model.py → report_detail_warning.py} +21 -11
- criteo_api_marketingsolutions_preview/model/{delete_user_profile_model_resource.py → report_detail_warnings.py} +23 -15
- criteo_api_marketingsolutions_preview/model/report_ok_response.py +31 -17
- criteo_api_marketingsolutions_preview/model/{requests_patch_ad_set_v24_q1.py → requests_patch_ad_set_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{creative_response.py → resource_collection_outcome_of_ad.py} +8 -12
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_coupon.py +281 -0
- criteo_api_marketingsolutions_preview/model/{ad_list_response.py → resource_collection_outcome_of_creative.py} +8 -14
- 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/model/{response_read_ad_set_v24_q1.py → response_read_ad_set_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{responses_ad_set_id_v24_q1.py → responses_ad_set_id_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{responses_read_ad_set_v24_q1.py → responses_read_ad_set_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py +13 -0
- criteo_api_marketingsolutions_preview/model/{write_model_patch_ad_set_v24_q1.py → write_model_patch_ad_set_v24_q3.py} +8 -8
- criteo_api_marketingsolutions_preview/models/__init__.py +57 -71
- {criteo_api_marketingsolutions_sdk-0.0.240808.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/METADATA +14 -5
- {criteo_api_marketingsolutions_sdk-0.0.240808.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/RECORD +89 -103
- {criteo_api_marketingsolutions_sdk-0.0.240808.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/delete_user_profile_model.py +0 -273
- criteo_api_marketingsolutions_preview/model/delete_user_profile_model_list_request.py +0 -271
- 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/set_user_profile_model.py +0 -293
- criteo_api_marketingsolutions_preview/model/set_user_profile_model_list_request.py +0 -271
- criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py +0 -273
- 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_preview/model/user_profile_attribute_model.py +0 -275
- {criteo_api_marketingsolutions_sdk-0.0.240808.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3_resource import CreateAdSetV24Q3Resource
|
|
34
|
+
globals()['CreateAdSetV24Q3Resource'] = CreateAdSetV24Q3Resource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreateAdSetV24Q3Request(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class CreateAdSetV24Q1Request(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (CreateAdSetV24Q3Resource,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class CreateAdSetV24Q1Request(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""CreateAdSetV24Q3Request - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class CreateAdSetV24Q1Request(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
data (
|
|
143
|
+
data (CreateAdSetV24Q3Resource): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class CreateAdSetV24Q1Request(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""CreateAdSetV24Q3Request - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class CreateAdSetV24Q1Request(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
data (
|
|
229
|
+
data (CreateAdSetV24Q3Resource): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.create_ad_set_v24_q3 import CreateAdSetV24Q3
|
|
34
|
+
globals()['CreateAdSetV24Q3'] = CreateAdSetV24Q3
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreateAdSetV24Q3Resource(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (CreateAdSetV24Q3,), # noqa: E501
|
|
91
91
|
'type': (str, none_type,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -109,7 +109,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
109
109
|
@classmethod
|
|
110
110
|
@convert_js_args_to_python_args
|
|
111
111
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
112
|
-
"""
|
|
112
|
+
"""CreateAdSetV24Q3Resource - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -142,7 +142,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
attributes (
|
|
145
|
+
attributes (CreateAdSetV24Q3): [optional] # noqa: E501
|
|
146
146
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
@@ -196,7 +196,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""CreateAdSetV24Q3Resource - a model defined in OpenAPI
|
|
200
200
|
|
|
201
201
|
Keyword Args:
|
|
202
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -229,7 +229,7 @@ class CreateAdSetV24Q1Resource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
attributes (
|
|
232
|
+
attributes (CreateAdSetV24Q3): [optional] # noqa: E501
|
|
233
233
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
@@ -124,8 +124,8 @@ class DynamicWriteAttributes(ModelNormal):
|
|
|
124
124
|
|
|
125
125
|
Args:
|
|
126
126
|
logo_base64_string (str): Logo image as a base-64 encoded string
|
|
127
|
-
body_text_color (str): Color of the creative's body text Valid hexadecimal
|
|
128
|
-
prices_color (str): Color of the creative's prices Valid hexadecimal
|
|
127
|
+
body_text_color (str): Color of the creative's body text Valid hexadecimal color (e.g. \"AB00FF\")
|
|
128
|
+
prices_color (str): Color of the creative's prices Valid hexadecimal color (e.g. \"AB00FF\")
|
|
129
129
|
calls_to_action ([str]): A Call-to-Action (CTA) is an action-driven instruction to your audience intended to provoke an immediate response, such as “Buy now” or “Go!”.
|
|
130
130
|
product_image_display (str): Value can be \"ShowFullImage\" or \"ZoomOnImage\". Choose whether your product catalog images should fit inside the allocated space (\"ShowFullImage\") or whether they should fill that space (\"ZoomOnImage\"). If you choose ZoomOnImage, there may be some image cropping.
|
|
131
131
|
|
|
@@ -160,7 +160,7 @@ class DynamicWriteAttributes(ModelNormal):
|
|
|
160
160
|
Animal class but this time we won't travel
|
|
161
161
|
through its discriminator because we passed in
|
|
162
162
|
_visited_composed_classes = (Animal,)
|
|
163
|
-
creative_background_color (str, none_type): Color of the creative's background Valid hexadecimal
|
|
163
|
+
creative_background_color (str, none_type): Color of the creative's background Valid hexadecimal color (e.g. \"AB00FF\"). [optional] # noqa: E501
|
|
164
164
|
primary_font (str, none_type): Font of the primary font Valid supported font like \"Arial\". [optional] # noqa: E501
|
|
165
165
|
"""
|
|
166
166
|
|
|
@@ -223,8 +223,8 @@ class DynamicWriteAttributes(ModelNormal):
|
|
|
223
223
|
|
|
224
224
|
Args:
|
|
225
225
|
logo_base64_string (str): Logo image as a base-64 encoded string
|
|
226
|
-
body_text_color (str): Color of the creative's body text Valid hexadecimal
|
|
227
|
-
prices_color (str): Color of the creative's prices Valid hexadecimal
|
|
226
|
+
body_text_color (str): Color of the creative's body text Valid hexadecimal color (e.g. \"AB00FF\")
|
|
227
|
+
prices_color (str): Color of the creative's prices Valid hexadecimal color (e.g. \"AB00FF\")
|
|
228
228
|
calls_to_action ([str]): A Call-to-Action (CTA) is an action-driven instruction to your audience intended to provoke an immediate response, such as “Buy now” or “Go!”.
|
|
229
229
|
product_image_display (str): Value can be \"ShowFullImage\" or \"ZoomOnImage\". Choose whether your product catalog images should fit inside the allocated space (\"ShowFullImage\") or whether they should fill that space (\"ZoomOnImage\"). If you choose ZoomOnImage, there may be some image cropping.
|
|
230
230
|
|
|
@@ -259,7 +259,7 @@ class DynamicWriteAttributes(ModelNormal):
|
|
|
259
259
|
Animal class but this time we won't travel
|
|
260
260
|
through its discriminator because we passed in
|
|
261
261
|
_visited_composed_classes = (Animal,)
|
|
262
|
-
creative_background_color (str, none_type): Color of the creative's background Valid hexadecimal
|
|
262
|
+
creative_background_color (str, none_type): Color of the creative's background Valid hexadecimal color (e.g. \"AB00FF\"). [optional] # noqa: E501
|
|
263
263
|
primary_font (str, none_type): Font of the primary font Valid supported font like \"Arial\". [optional] # noqa: E501
|
|
264
264
|
"""
|
|
265
265
|
|
|
@@ -75,7 +75,7 @@ class JsonReportRows(ModelNormal):
|
|
|
75
75
|
and the value is attribute type.
|
|
76
76
|
"""
|
|
77
77
|
return {
|
|
78
|
-
'rows': ([{str: (str,)}], none_type,), # noqa: E501
|
|
78
|
+
'rows': ([{str: (str, none_type)}], none_type,), # noqa: E501
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@cached_property
|
|
@@ -128,7 +128,7 @@ class JsonReportRows(ModelNormal):
|
|
|
128
128
|
Animal class but this time we won't travel
|
|
129
129
|
through its discriminator because we passed in
|
|
130
130
|
_visited_composed_classes = (Animal,)
|
|
131
|
-
rows ([{str: (str,)}], none_type): [optional] # noqa: E501
|
|
131
|
+
rows ([{str: (str, none_type)}], none_type): [optional] # noqa: E501
|
|
132
132
|
"""
|
|
133
133
|
|
|
134
134
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -214,7 +214,7 @@ class JsonReportRows(ModelNormal):
|
|
|
214
214
|
Animal class but this time we won't travel
|
|
215
215
|
through its discriminator because we passed in
|
|
216
216
|
_visited_composed_classes = (Animal,)
|
|
217
|
-
rows ([{str: (str,)}], none_type): [optional] # noqa: E501
|
|
217
|
+
rows ([{str: (str, none_type)}], none_type): [optional] # noqa: E501
|
|
218
218
|
"""
|
|
219
219
|
|
|
220
220
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.nillable_ad_set_targeting_rule_v24_q3_value import NillableAdSetTargetingRuleV24Q3Value
|
|
34
|
+
globals()['NillableAdSetTargetingRuleV24Q3Value'] = NillableAdSetTargetingRuleV24Q3Value
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class NillableAdSetTargetingRuleV24Q3(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,7 +87,7 @@ class NillableAdSetTargetingRuleV24Q1(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'value': (
|
|
90
|
+
'value': (NillableAdSetTargetingRuleV24Q3Value,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class NillableAdSetTargetingRuleV24Q1(ModelNormal):
|
|
|
107
107
|
@classmethod
|
|
108
108
|
@convert_js_args_to_python_args
|
|
109
109
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
110
|
-
"""
|
|
110
|
+
"""NillableAdSetTargetingRuleV24Q3 - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -140,7 +140,7 @@ class NillableAdSetTargetingRuleV24Q1(ModelNormal):
|
|
|
140
140
|
Animal class but this time we won't travel
|
|
141
141
|
through its discriminator because we passed in
|
|
142
142
|
_visited_composed_classes = (Animal,)
|
|
143
|
-
value (
|
|
143
|
+
value (NillableAdSetTargetingRuleV24Q3Value): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class NillableAdSetTargetingRuleV24Q1(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""NillableAdSetTargetingRuleV24Q3 - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -226,7 +226,7 @@ class NillableAdSetTargetingRuleV24Q1(ModelNormal):
|
|
|
226
226
|
Animal class but this time we won't travel
|
|
227
227
|
through its discriminator because we passed in
|
|
228
228
|
_visited_composed_classes = (Animal,)
|
|
229
|
-
value (
|
|
229
|
+
value (NillableAdSetTargetingRuleV24Q3Value): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,11 +30,11 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
34
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.ad_set_targeting_rule_v24_q3 import AdSetTargetingRuleV24Q3
|
|
34
|
+
globals()['AdSetTargetingRuleV24Q3'] = AdSetTargetingRuleV24Q3
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class NillableAdSetTargetingRuleV24Q3Value(ModelComposed):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -113,7 +113,7 @@ class NillableAdSetTargetingRuleV24Q1Value(ModelComposed):
|
|
|
113
113
|
@classmethod
|
|
114
114
|
@convert_js_args_to_python_args
|
|
115
115
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
116
|
-
"""
|
|
116
|
+
"""NillableAdSetTargetingRuleV24Q3Value - a model defined in OpenAPI
|
|
117
117
|
|
|
118
118
|
Keyword Args:
|
|
119
119
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -218,7 +218,7 @@ class NillableAdSetTargetingRuleV24Q1Value(ModelComposed):
|
|
|
218
218
|
|
|
219
219
|
@convert_js_args_to_python_args
|
|
220
220
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
221
|
-
"""
|
|
221
|
+
"""NillableAdSetTargetingRuleV24Q3Value - a model defined in OpenAPI
|
|
222
222
|
|
|
223
223
|
Keyword Args:
|
|
224
224
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -322,7 +322,7 @@ class NillableAdSetTargetingRuleV24Q1Value(ModelComposed):
|
|
|
322
322
|
'anyOf': [
|
|
323
323
|
],
|
|
324
324
|
'allOf': [
|
|
325
|
-
|
|
325
|
+
AdSetTargetingRuleV24Q3,
|
|
326
326
|
],
|
|
327
327
|
'oneOf': [
|
|
328
328
|
],
|
|
@@ -0,0 +1,271 @@
|
|
|
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
|
+
|
|
33
|
+
class NillableLookbackWindowV24Q3(ModelNormal):
|
|
34
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
|
+
Ref: https://openapi-generator.tech
|
|
36
|
+
|
|
37
|
+
Do not edit the class manually.
|
|
38
|
+
|
|
39
|
+
Attributes:
|
|
40
|
+
allowed_values (dict): The key is the tuple path to the attribute
|
|
41
|
+
and the for var_name this is (var_name,). The value is a dict
|
|
42
|
+
with a capitalized key describing the allowed value and an allowed
|
|
43
|
+
value. These dicts store the allowed enum values.
|
|
44
|
+
attribute_map (dict): The key is attribute name
|
|
45
|
+
and the value is json key in definition.
|
|
46
|
+
discriminator_value_class_map (dict): A dict to go from the discriminator
|
|
47
|
+
variable value to the discriminator class name.
|
|
48
|
+
validations (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
|
+
that stores validations for max_length, min_length, max_items,
|
|
51
|
+
min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
|
|
52
|
+
inclusive_minimum, and regex.
|
|
53
|
+
additional_properties_type (tuple): A tuple of classes accepted
|
|
54
|
+
as additional properties values.
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
allowed_values = {
|
|
58
|
+
('value',): {
|
|
59
|
+
'None': None,
|
|
60
|
+
'UNKNOWN': "unknown",
|
|
61
|
+
'SAMESESSION': "sameSession",
|
|
62
|
+
'TWENTYFOURHOURS': "twentyFourHours",
|
|
63
|
+
'SEVENDAYS': "sevenDays",
|
|
64
|
+
'THIRTYDAYS': "thirtyDays",
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validations = {
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@cached_property
|
|
72
|
+
def additional_properties_type():
|
|
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
|
+
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
78
|
+
|
|
79
|
+
_nullable = False
|
|
80
|
+
|
|
81
|
+
@cached_property
|
|
82
|
+
def openapi_types():
|
|
83
|
+
"""
|
|
84
|
+
This must be a method because a model may have properties that are
|
|
85
|
+
of type self, this must run after the class is loaded
|
|
86
|
+
|
|
87
|
+
Returns
|
|
88
|
+
openapi_types (dict): The key is attribute name
|
|
89
|
+
and the value is attribute type.
|
|
90
|
+
"""
|
|
91
|
+
return {
|
|
92
|
+
'value': (str, none_type,), # noqa: E501
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@cached_property
|
|
96
|
+
def discriminator():
|
|
97
|
+
return None
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
attribute_map = {
|
|
101
|
+
'value': 'value', # noqa: E501
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
read_only_vars = {
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
_composed_schemas = {}
|
|
108
|
+
|
|
109
|
+
@classmethod
|
|
110
|
+
@convert_js_args_to_python_args
|
|
111
|
+
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
112
|
+
"""NillableLookbackWindowV24Q3 - a model defined in OpenAPI
|
|
113
|
+
|
|
114
|
+
Keyword Args:
|
|
115
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
116
|
+
will be type checked and a TypeError will be
|
|
117
|
+
raised if the wrong type is input.
|
|
118
|
+
Defaults to True
|
|
119
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
120
|
+
drill down to the model in received_data
|
|
121
|
+
when deserializing a response
|
|
122
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
123
|
+
are serialized names, as specified in the OpenAPI document.
|
|
124
|
+
False if the variable names in the input data
|
|
125
|
+
are pythonic names, e.g. snake case (default)
|
|
126
|
+
_configuration (Configuration): the instance to use when
|
|
127
|
+
deserializing a file_type parameter.
|
|
128
|
+
If passed, type conversion is attempted
|
|
129
|
+
If omitted no type conversion is done.
|
|
130
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
131
|
+
classes that we have traveled through so that
|
|
132
|
+
if we see that class again we will not use its
|
|
133
|
+
discriminator again.
|
|
134
|
+
When traveling through a discriminator, the
|
|
135
|
+
composed schema that is
|
|
136
|
+
is traveled through is added to this set.
|
|
137
|
+
For example if Animal has a discriminator
|
|
138
|
+
petType and we pass in "Dog", and the class Dog
|
|
139
|
+
allOf includes Animal, we move through Animal
|
|
140
|
+
once using the discriminator, and pick Dog.
|
|
141
|
+
Then in Dog, we will make an instance of the
|
|
142
|
+
Animal class but this time we won't travel
|
|
143
|
+
through its discriminator because we passed in
|
|
144
|
+
_visited_composed_classes = (Animal,)
|
|
145
|
+
value (str, none_type): [optional] # noqa: E501
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
149
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', True)
|
|
150
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
151
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
152
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
153
|
+
|
|
154
|
+
self = super(OpenApiModel, cls).__new__(cls)
|
|
155
|
+
|
|
156
|
+
if args:
|
|
157
|
+
for arg in args:
|
|
158
|
+
if isinstance(arg, dict):
|
|
159
|
+
kwargs.update(arg)
|
|
160
|
+
else:
|
|
161
|
+
raise ApiTypeError(
|
|
162
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
163
|
+
args,
|
|
164
|
+
self.__class__.__name__,
|
|
165
|
+
),
|
|
166
|
+
path_to_item=_path_to_item,
|
|
167
|
+
valid_classes=(self.__class__,),
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
self._data_store = {}
|
|
171
|
+
self._check_type = _check_type
|
|
172
|
+
self._spec_property_naming = _spec_property_naming
|
|
173
|
+
self._path_to_item = _path_to_item
|
|
174
|
+
self._configuration = _configuration
|
|
175
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
176
|
+
|
|
177
|
+
for var_name, var_value in kwargs.items():
|
|
178
|
+
if var_name not in self.attribute_map and \
|
|
179
|
+
self._configuration is not None and \
|
|
180
|
+
self._configuration.discard_unknown_keys and \
|
|
181
|
+
self.additional_properties_type is None:
|
|
182
|
+
# discard variable.
|
|
183
|
+
continue
|
|
184
|
+
setattr(self, var_name, var_value)
|
|
185
|
+
return self
|
|
186
|
+
|
|
187
|
+
required_properties = set([
|
|
188
|
+
'_data_store',
|
|
189
|
+
'_check_type',
|
|
190
|
+
'_spec_property_naming',
|
|
191
|
+
'_path_to_item',
|
|
192
|
+
'_configuration',
|
|
193
|
+
'_visited_composed_classes',
|
|
194
|
+
])
|
|
195
|
+
|
|
196
|
+
@convert_js_args_to_python_args
|
|
197
|
+
def __init__(self, *args, **kwargs): # noqa: E501
|
|
198
|
+
"""NillableLookbackWindowV24Q3 - a model defined in OpenAPI
|
|
199
|
+
|
|
200
|
+
Keyword Args:
|
|
201
|
+
_check_type (bool): if True, values for parameters in openapi_types
|
|
202
|
+
will be type checked and a TypeError will be
|
|
203
|
+
raised if the wrong type is input.
|
|
204
|
+
Defaults to True
|
|
205
|
+
_path_to_item (tuple/list): This is a list of keys or values to
|
|
206
|
+
drill down to the model in received_data
|
|
207
|
+
when deserializing a response
|
|
208
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
209
|
+
are serialized names, as specified in the OpenAPI document.
|
|
210
|
+
False if the variable names in the input data
|
|
211
|
+
are pythonic names, e.g. snake case (default)
|
|
212
|
+
_configuration (Configuration): the instance to use when
|
|
213
|
+
deserializing a file_type parameter.
|
|
214
|
+
If passed, type conversion is attempted
|
|
215
|
+
If omitted no type conversion is done.
|
|
216
|
+
_visited_composed_classes (tuple): This stores a tuple of
|
|
217
|
+
classes that we have traveled through so that
|
|
218
|
+
if we see that class again we will not use its
|
|
219
|
+
discriminator again.
|
|
220
|
+
When traveling through a discriminator, the
|
|
221
|
+
composed schema that is
|
|
222
|
+
is traveled through is added to this set.
|
|
223
|
+
For example if Animal has a discriminator
|
|
224
|
+
petType and we pass in "Dog", and the class Dog
|
|
225
|
+
allOf includes Animal, we move through Animal
|
|
226
|
+
once using the discriminator, and pick Dog.
|
|
227
|
+
Then in Dog, we will make an instance of the
|
|
228
|
+
Animal class but this time we won't travel
|
|
229
|
+
through its discriminator because we passed in
|
|
230
|
+
_visited_composed_classes = (Animal,)
|
|
231
|
+
value (str, none_type): [optional] # noqa: E501
|
|
232
|
+
"""
|
|
233
|
+
|
|
234
|
+
_check_type = kwargs.pop('_check_type', True)
|
|
235
|
+
_spec_property_naming = kwargs.pop('_spec_property_naming', False)
|
|
236
|
+
_path_to_item = kwargs.pop('_path_to_item', ())
|
|
237
|
+
_configuration = kwargs.pop('_configuration', None)
|
|
238
|
+
_visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
|
|
239
|
+
|
|
240
|
+
if args:
|
|
241
|
+
for arg in args:
|
|
242
|
+
if isinstance(arg, dict):
|
|
243
|
+
kwargs.update(arg)
|
|
244
|
+
else:
|
|
245
|
+
raise ApiTypeError(
|
|
246
|
+
"Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
|
|
247
|
+
args,
|
|
248
|
+
self.__class__.__name__,
|
|
249
|
+
),
|
|
250
|
+
path_to_item=_path_to_item,
|
|
251
|
+
valid_classes=(self.__class__,),
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
self._data_store = {}
|
|
255
|
+
self._check_type = _check_type
|
|
256
|
+
self._spec_property_naming = _spec_property_naming
|
|
257
|
+
self._path_to_item = _path_to_item
|
|
258
|
+
self._configuration = _configuration
|
|
259
|
+
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
260
|
+
|
|
261
|
+
for var_name, var_value in kwargs.items():
|
|
262
|
+
if var_name not in self.attribute_map and \
|
|
263
|
+
self._configuration is not None and \
|
|
264
|
+
self._configuration.discard_unknown_keys and \
|
|
265
|
+
self.additional_properties_type is None:
|
|
266
|
+
# discard variable.
|
|
267
|
+
continue
|
|
268
|
+
setattr(self, var_name, var_value)
|
|
269
|
+
if var_name in self.read_only_vars:
|
|
270
|
+
raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
|
|
271
|
+
f"class with read only attributes.")
|