criteo-api-marketingsolutions-sdk 0.0.240118__py3-none-any.whl → 0.0.240404__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 +12 -9
- criteo_api_marketingsolutions_preview/api/campaign_api.py +57 -57
- 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_v23_q1.py → ad_set_delivery_limitations_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_frequency_capping_v23_q1.py → ad_set_frequency_capping_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_geo_location_v23_q1.py → ad_set_geo_location_v24_q1.py} +14 -14
- criteo_api_marketingsolutions_preview/model/{ad_set_search_filter_v23_q1.py → ad_set_search_filter_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_search_request_v23_q1.py → ad_set_search_request_v24_q1.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{ad_set_targeting_rule.py → ad_set_targeting_rule_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{ad_set_targeting_v23_q1.py → ad_set_targeting_v24_q1.py} +18 -18
- criteo_api_marketingsolutions_preview/model/{create_ad_set_bidding.py → create_ad_set_bidding_v24_q1.py} +4 -3
- criteo_api_marketingsolutions_preview/model/{create_ad_set_budget.py → create_ad_set_budget_v24_q1.py} +4 -3
- criteo_api_marketingsolutions_preview/model/{create_ad_set_geo_location.py → create_ad_set_geo_location_v24_q1.py} +14 -14
- criteo_api_marketingsolutions_preview/model/{create_ad_set_schedule.py → create_ad_set_schedule_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{create_ad_set_targeting.py → create_ad_set_targeting_v24_q1.py} +18 -18
- criteo_api_marketingsolutions_preview/model/{create_ad_set.py → create_ad_set_v24_q1.py} +23 -23
- criteo_api_marketingsolutions_preview/model/{create_ad_set_request.py → create_ad_set_v24_q1_request.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{create_ad_set_resource.py → create_ad_set_v24_q1_resource.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{nillable_ad_set_targeting_rule_v23_q1.py → nillable_ad_set_targeting_rule_v24_q1.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{nillable_ad_set_targeting_rule_v23_q1_value.py → nillable_ad_set_targeting_rule_v24_q1_value.py} +6 -6
- criteo_api_marketingsolutions_preview/model/{patch_ad_set_bidding.py → patch_ad_set_bidding_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{patch_ad_set_budget.py → patch_ad_set_budget_v24_q1.py} +4 -3
- criteo_api_marketingsolutions_preview/model/{patch_ad_set_scheduling.py → patch_ad_set_scheduling_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{patch_ad_set.py → patch_ad_set_v24_q1.py} +23 -23
- criteo_api_marketingsolutions_preview/model/product.py +16 -12
- criteo_api_marketingsolutions_preview/model/products_custom_batch_request_entry.py +2 -2
- criteo_api_marketingsolutions_preview/model/{read_ad_set_bidding_v23_q1.py → read_ad_set_bidding_v24_q1.py} +6 -12
- criteo_api_marketingsolutions_preview/model/{read_ad_set_budget.py → read_ad_set_budget_v24_q1.py} +7 -12
- criteo_api_marketingsolutions_preview/model/{read_ad_set_schedule.py → read_ad_set_schedule_v24_q1.py} +3 -3
- criteo_api_marketingsolutions_preview/model/{read_ad_set_v23_q1.py → read_ad_set_v24_q1.py} +23 -23
- criteo_api_marketingsolutions_preview/model/{read_model_read_ad_set.py → read_model_ad_set_id_v24_q1.py} +6 -12
- criteo_api_marketingsolutions_preview/model/{read_model_read_ad_set_v23_q1.py → read_model_read_ad_set_v24_q1.py} +8 -8
- criteo_api_marketingsolutions_preview/model/recommended_product.py +6 -2
- criteo_api_marketingsolutions_preview/model/{requests_patch_ad_set.py → requests_patch_ad_set_v24_q1.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{response_read_ad_set_v23_q1.py → response_read_ad_set_v24_q1.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{response_read_ad_set.py → responses_ad_set_id_v24_q1.py} +9 -8
- criteo_api_marketingsolutions_preview/model/{responses_read_ad_set_v23_q1.py → responses_read_ad_set_v24_q1.py} +8 -8
- criteo_api_marketingsolutions_preview/model/{write_model_patch_ad_set.py → write_model_patch_ad_set_v24_q1.py} +8 -8
- criteo_api_marketingsolutions_preview/models/__init__.py +32 -43
- {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.dist-info}/RECORD +45 -56
- {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.dist-info}/WHEEL +1 -1
- criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations.py +0 -289
- criteo_api_marketingsolutions_preview/model/ad_set_frequency_capping.py +0 -274
- criteo_api_marketingsolutions_preview/model/ad_set_geo_location.py +0 -277
- criteo_api_marketingsolutions_preview/model/ad_set_targeting.py +0 -281
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_rule_v23_q1.py +0 -273
- criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule.py +0 -269
- criteo_api_marketingsolutions_preview/model/nillable_ad_set_targeting_rule_value.py +0 -329
- criteo_api_marketingsolutions_preview/model/read_ad_set.py +0 -322
- criteo_api_marketingsolutions_preview/model/read_ad_set_bidding.py +0 -302
- criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v23_q1.py +0 -313
- criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v23_q1.py +0 -299
- {criteo_api_marketingsolutions_sdk-0.0.240118.dist-info → criteo_api_marketingsolutions_sdk-0.0.240404.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.nillable_ad_set_targeting_rule_v24_q1_value import NillableAdSetTargetingRuleV24Q1Value
|
|
34
|
+
globals()['NillableAdSetTargetingRuleV24Q1Value'] = NillableAdSetTargetingRuleV24Q1Value
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class NillableAdSetTargetingRuleV24Q1(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 NillableAdSetTargetingRuleV23Q1(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'value': (
|
|
90
|
+
'value': (NillableAdSetTargetingRuleV24Q1Value,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class NillableAdSetTargetingRuleV23Q1(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
|
+
"""NillableAdSetTargetingRuleV24Q1 - 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 NillableAdSetTargetingRuleV23Q1(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 (NillableAdSetTargetingRuleV24Q1Value): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class NillableAdSetTargetingRuleV23Q1(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""NillableAdSetTargetingRuleV24Q1 - 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 NillableAdSetTargetingRuleV23Q1(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 (NillableAdSetTargetingRuleV24Q1Value): [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_q1 import AdSetTargetingRuleV24Q1
|
|
34
|
+
globals()['AdSetTargetingRuleV24Q1'] = AdSetTargetingRuleV24Q1
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class NillableAdSetTargetingRuleV24Q1Value(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 NillableAdSetTargetingRuleV23Q1Value(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
|
+
"""NillableAdSetTargetingRuleV24Q1Value - 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 NillableAdSetTargetingRuleV23Q1Value(ModelComposed):
|
|
|
218
218
|
|
|
219
219
|
@convert_js_args_to_python_args
|
|
220
220
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
221
|
-
"""
|
|
221
|
+
"""NillableAdSetTargetingRuleV24Q1Value - 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 NillableAdSetTargetingRuleV23Q1Value(ModelComposed):
|
|
|
322
322
|
'anyOf': [
|
|
323
323
|
],
|
|
324
324
|
'allOf': [
|
|
325
|
-
|
|
325
|
+
AdSetTargetingRuleV24Q1,
|
|
326
326
|
],
|
|
327
327
|
'oneOf': [
|
|
328
328
|
],
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['NillableDecimal'] = NillableDecimal
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class PatchAdSetBiddingV24Q1(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -107,7 +107,7 @@ class PatchAdSetBidding(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
|
+
"""PatchAdSetBiddingV24Q1 - a model defined in OpenAPI
|
|
111
111
|
|
|
112
112
|
Keyword Args:
|
|
113
113
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -193,7 +193,7 @@ class PatchAdSetBidding(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""PatchAdSetBiddingV24Q1 - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Keyword Args:
|
|
199
199
|
_check_type (bool): if True, values for parameters in openapi_types
|
criteo_api_marketingsolutions_preview/model/{patch_ad_set_budget.py → patch_ad_set_budget_v24_q1.py}
RENAMED
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['NillableDecimal'] = NillableDecimal
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class PatchAdSetBudgetV24Q1(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -70,6 +70,7 @@ class PatchAdSetBudget(ModelNormal):
|
|
|
70
70
|
'DAILY': "daily",
|
|
71
71
|
'MONTHLY': "monthly",
|
|
72
72
|
'LIFETIME': "lifetime",
|
|
73
|
+
'WEEKLY': "weekly",
|
|
73
74
|
},
|
|
74
75
|
('budget_delivery_smoothing',): {
|
|
75
76
|
'None': None,
|
|
@@ -143,7 +144,7 @@ class PatchAdSetBudget(ModelNormal):
|
|
|
143
144
|
@classmethod
|
|
144
145
|
@convert_js_args_to_python_args
|
|
145
146
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
146
|
-
"""
|
|
147
|
+
"""PatchAdSetBudgetV24Q1 - a model defined in OpenAPI
|
|
147
148
|
|
|
148
149
|
Keyword Args:
|
|
149
150
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -233,7 +234,7 @@ class PatchAdSetBudget(ModelNormal):
|
|
|
233
234
|
|
|
234
235
|
@convert_js_args_to_python_args
|
|
235
236
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
236
|
-
"""
|
|
237
|
+
"""PatchAdSetBudgetV24Q1 - a model defined in OpenAPI
|
|
237
238
|
|
|
238
239
|
Keyword Args:
|
|
239
240
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['NillableDateTime'] = NillableDateTime
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class PatchAdSetSchedulingV24Q1(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -109,7 +109,7 @@ class PatchAdSetScheduling(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
|
+
"""PatchAdSetSchedulingV24Q1 - a model defined in OpenAPI
|
|
113
113
|
|
|
114
114
|
Keyword Args:
|
|
115
115
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -196,7 +196,7 @@ class PatchAdSetScheduling(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""PatchAdSetSchedulingV24Q1 - a model defined in OpenAPI
|
|
200
200
|
|
|
201
201
|
Keyword Args:
|
|
202
202
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -30,17 +30,17 @@ 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
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
35
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
36
|
-
from criteo_api_marketingsolutions_preview.model.
|
|
37
|
-
globals()['
|
|
38
|
-
globals()['
|
|
39
|
-
globals()['
|
|
40
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.ad_set_targeting_v24_q1 import AdSetTargetingV24Q1
|
|
34
|
+
from criteo_api_marketingsolutions_preview.model.patch_ad_set_bidding_v24_q1 import PatchAdSetBiddingV24Q1
|
|
35
|
+
from criteo_api_marketingsolutions_preview.model.patch_ad_set_budget_v24_q1 import PatchAdSetBudgetV24Q1
|
|
36
|
+
from criteo_api_marketingsolutions_preview.model.patch_ad_set_scheduling_v24_q1 import PatchAdSetSchedulingV24Q1
|
|
37
|
+
globals()['AdSetTargetingV24Q1'] = AdSetTargetingV24Q1
|
|
38
|
+
globals()['PatchAdSetBiddingV24Q1'] = PatchAdSetBiddingV24Q1
|
|
39
|
+
globals()['PatchAdSetBudgetV24Q1'] = PatchAdSetBudgetV24Q1
|
|
40
|
+
globals()['PatchAdSetSchedulingV24Q1'] = PatchAdSetSchedulingV24Q1
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class PatchAdSetV24Q1(ModelNormal):
|
|
44
44
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
45
45
|
Ref: https://openapi-generator.tech
|
|
46
46
|
|
|
@@ -94,10 +94,10 @@ class PatchAdSet(ModelNormal):
|
|
|
94
94
|
lazy_import()
|
|
95
95
|
return {
|
|
96
96
|
'name': (str, none_type,), # noqa: E501
|
|
97
|
-
'scheduling': (
|
|
98
|
-
'bidding': (
|
|
99
|
-
'targeting': (
|
|
100
|
-
'budget': (
|
|
97
|
+
'scheduling': (PatchAdSetSchedulingV24Q1,), # noqa: E501
|
|
98
|
+
'bidding': (PatchAdSetBiddingV24Q1,), # noqa: E501
|
|
99
|
+
'targeting': (AdSetTargetingV24Q1,), # noqa: E501
|
|
100
|
+
'budget': (PatchAdSetBudgetV24Q1,), # noqa: E501
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
@cached_property
|
|
@@ -121,7 +121,7 @@ class PatchAdSet(ModelNormal):
|
|
|
121
121
|
@classmethod
|
|
122
122
|
@convert_js_args_to_python_args
|
|
123
123
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
124
|
-
"""
|
|
124
|
+
"""PatchAdSetV24Q1 - a model defined in OpenAPI
|
|
125
125
|
|
|
126
126
|
Keyword Args:
|
|
127
127
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -155,10 +155,10 @@ class PatchAdSet(ModelNormal):
|
|
|
155
155
|
through its discriminator because we passed in
|
|
156
156
|
_visited_composed_classes = (Animal,)
|
|
157
157
|
name (str, none_type): [optional] # noqa: E501
|
|
158
|
-
scheduling (
|
|
159
|
-
bidding (
|
|
160
|
-
targeting (
|
|
161
|
-
budget (
|
|
158
|
+
scheduling (PatchAdSetSchedulingV24Q1): [optional] # noqa: E501
|
|
159
|
+
bidding (PatchAdSetBiddingV24Q1): [optional] # noqa: E501
|
|
160
|
+
targeting (AdSetTargetingV24Q1): [optional] # noqa: E501
|
|
161
|
+
budget (PatchAdSetBudgetV24Q1): [optional] # noqa: E501
|
|
162
162
|
"""
|
|
163
163
|
|
|
164
164
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -211,7 +211,7 @@ class PatchAdSet(ModelNormal):
|
|
|
211
211
|
|
|
212
212
|
@convert_js_args_to_python_args
|
|
213
213
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
214
|
-
"""
|
|
214
|
+
"""PatchAdSetV24Q1 - a model defined in OpenAPI
|
|
215
215
|
|
|
216
216
|
Keyword Args:
|
|
217
217
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -245,10 +245,10 @@ class PatchAdSet(ModelNormal):
|
|
|
245
245
|
through its discriminator because we passed in
|
|
246
246
|
_visited_composed_classes = (Animal,)
|
|
247
247
|
name (str, none_type): [optional] # noqa: E501
|
|
248
|
-
scheduling (
|
|
249
|
-
bidding (
|
|
250
|
-
targeting (
|
|
251
|
-
budget (
|
|
248
|
+
scheduling (PatchAdSetSchedulingV24Q1): [optional] # noqa: E501
|
|
249
|
+
bidding (PatchAdSetBiddingV24Q1): [optional] # noqa: E501
|
|
250
|
+
targeting (AdSetTargetingV24Q1): [optional] # noqa: E501
|
|
251
|
+
budget (PatchAdSetBudgetV24Q1): [optional] # noqa: E501
|
|
252
252
|
"""
|
|
253
253
|
|
|
254
254
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -172,6 +172,7 @@ class Product(ModelNormal):
|
|
|
172
172
|
'ads_labels': ([str], none_type,), # noqa: E501
|
|
173
173
|
'ads_redirect': (str, none_type,), # noqa: E501
|
|
174
174
|
'product_types': ([str], none_type,), # noqa: E501
|
|
175
|
+
'product_type_keys': ([str], none_type,), # noqa: E501
|
|
175
176
|
'age_group': (str, none_type,), # noqa: E501
|
|
176
177
|
'availability': (str, none_type,), # noqa: E501
|
|
177
178
|
'condition': (str, none_type,), # noqa: E501
|
|
@@ -260,6 +261,7 @@ class Product(ModelNormal):
|
|
|
260
261
|
'ads_labels': 'adsLabels', # noqa: E501
|
|
261
262
|
'ads_redirect': 'adsRedirect', # noqa: E501
|
|
262
263
|
'product_types': 'productTypes', # noqa: E501
|
|
264
|
+
'product_type_keys': 'productTypeKeys', # noqa: E501
|
|
263
265
|
'age_group': 'ageGroup', # noqa: E501
|
|
264
266
|
'availability': 'availability', # noqa: E501
|
|
265
267
|
'condition': 'condition', # noqa: E501
|
|
@@ -289,7 +291,7 @@ class Product(ModelNormal):
|
|
|
289
291
|
"""Product - a model defined in OpenAPI
|
|
290
292
|
|
|
291
293
|
Args:
|
|
292
|
-
id (str): A unique identifier for the item. Aka Product ID.
|
|
294
|
+
id (str): A unique identifier for the item. Aka Product ID. Don’t use casing to make IDs unique.
|
|
293
295
|
title (str): Title of the item. (500 UTF8 characters max).
|
|
294
296
|
link (str): URL directly linking to your item's page on your website. (1000 UTF8 characters max).
|
|
295
297
|
image_link (str): URL of an image of the item. Supported formats: PNG, JPEG, GIF. (2000 UTF8 characters max).
|
|
@@ -338,7 +340,7 @@ class Product(ModelNormal):
|
|
|
338
340
|
color (str, none_type): Color of the item.. [optional] # noqa: E501
|
|
339
341
|
google_product_category (str, none_type): Google's category of the item (see Google product taxonomy). RECOMMENDED.. [optional] # noqa: E501
|
|
340
342
|
gtin (str, none_type): Global Trade Item Number (GTIN) of the item. RECOMMENDED.. [optional] # noqa: E501
|
|
341
|
-
item_group_id (str, none_type): Shared identifier for all variants of the same product. RECOMMENDED
|
|
343
|
+
item_group_id (str, none_type): Shared identifier for all variants of the same product. RECOMMENDED. Don’t use casing to make IDs unique. (50 characters max). [optional] # noqa: E501
|
|
342
344
|
material (str, none_type): The material of which the item is made.. [optional] # noqa: E501
|
|
343
345
|
mpn (str, none_type): Manufacturer Part Number (MPN) of the item. RECOMMENDED.. [optional] # noqa: E501
|
|
344
346
|
pattern (str, none_type): The item's pattern (e.g. polka dots).. [optional] # noqa: E501
|
|
@@ -385,6 +387,7 @@ class Product(ModelNormal):
|
|
|
385
387
|
ads_labels ([str], none_type): Similar to adsGrouping, but only works on CPC.. [optional] # noqa: E501
|
|
386
388
|
ads_redirect (str, none_type): Allows advertisers to override the item URL when the product is shown within the context of Product Ads.. [optional] # noqa: E501
|
|
387
389
|
product_types ([str], none_type): Categories of the item (formatted as in products data specification).. [optional] # noqa: E501
|
|
390
|
+
product_type_keys ([str], none_type): Category keys of the item (formatted as in productTypes).. [optional] # noqa: E501
|
|
388
391
|
age_group (str, none_type): Target age group of the item.. [optional] # noqa: E501
|
|
389
392
|
availability (str, none_type): Availability status of the item. RECOMMENDED.. [optional] # noqa: E501
|
|
390
393
|
condition (str, none_type): Condition or state of the item.. [optional] # noqa: E501
|
|
@@ -396,11 +399,11 @@ class Product(ModelNormal):
|
|
|
396
399
|
max_energy_efficiency_class (str, none_type): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
|
|
397
400
|
tax_category (str, none_type): The tax category of the product, used to configure detailed tax nexus in account-level tax settings.. [optional] # noqa: E501
|
|
398
401
|
transit_time_label (str, none_type): The transit time label of the product, used to group product in account-level transit time tables.. [optional] # noqa: E501
|
|
399
|
-
seller_id (str, none_type): Deprecated
|
|
402
|
+
seller_id (str, none_type): (Deprecated Field) The external ID of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
|
|
400
403
|
external_seller_id (str, none_type): The external id of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
|
|
401
|
-
external_seller_name (str, none_type): The external name of the seller (case sensitive and
|
|
402
|
-
number_of_reviews (int, none_type): The number of reviews for the product.
|
|
403
|
-
product_rating (str, none_type): The rating
|
|
404
|
+
external_seller_name (str, none_type): The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
|
|
405
|
+
number_of_reviews (int, none_type): The number of customer reviews for the product. [optional] # noqa: E501
|
|
406
|
+
product_rating (str, none_type): The product rating for the product. [optional] # noqa: E501
|
|
404
407
|
"""
|
|
405
408
|
|
|
406
409
|
channel = kwargs.get('channel', "online")
|
|
@@ -462,7 +465,7 @@ class Product(ModelNormal):
|
|
|
462
465
|
"""Product - a model defined in OpenAPI
|
|
463
466
|
|
|
464
467
|
Args:
|
|
465
|
-
id (str): A unique identifier for the item. Aka Product ID.
|
|
468
|
+
id (str): A unique identifier for the item. Aka Product ID. Don’t use casing to make IDs unique.
|
|
466
469
|
title (str): Title of the item. (500 UTF8 characters max).
|
|
467
470
|
link (str): URL directly linking to your item's page on your website. (1000 UTF8 characters max).
|
|
468
471
|
image_link (str): URL of an image of the item. Supported formats: PNG, JPEG, GIF. (2000 UTF8 characters max).
|
|
@@ -511,7 +514,7 @@ class Product(ModelNormal):
|
|
|
511
514
|
color (str, none_type): Color of the item.. [optional] # noqa: E501
|
|
512
515
|
google_product_category (str, none_type): Google's category of the item (see Google product taxonomy). RECOMMENDED.. [optional] # noqa: E501
|
|
513
516
|
gtin (str, none_type): Global Trade Item Number (GTIN) of the item. RECOMMENDED.. [optional] # noqa: E501
|
|
514
|
-
item_group_id (str, none_type): Shared identifier for all variants of the same product. RECOMMENDED
|
|
517
|
+
item_group_id (str, none_type): Shared identifier for all variants of the same product. RECOMMENDED. Don’t use casing to make IDs unique. (50 characters max). [optional] # noqa: E501
|
|
515
518
|
material (str, none_type): The material of which the item is made.. [optional] # noqa: E501
|
|
516
519
|
mpn (str, none_type): Manufacturer Part Number (MPN) of the item. RECOMMENDED.. [optional] # noqa: E501
|
|
517
520
|
pattern (str, none_type): The item's pattern (e.g. polka dots).. [optional] # noqa: E501
|
|
@@ -558,6 +561,7 @@ class Product(ModelNormal):
|
|
|
558
561
|
ads_labels ([str], none_type): Similar to adsGrouping, but only works on CPC.. [optional] # noqa: E501
|
|
559
562
|
ads_redirect (str, none_type): Allows advertisers to override the item URL when the product is shown within the context of Product Ads.. [optional] # noqa: E501
|
|
560
563
|
product_types ([str], none_type): Categories of the item (formatted as in products data specification).. [optional] # noqa: E501
|
|
564
|
+
product_type_keys ([str], none_type): Category keys of the item (formatted as in productTypes).. [optional] # noqa: E501
|
|
561
565
|
age_group (str, none_type): Target age group of the item.. [optional] # noqa: E501
|
|
562
566
|
availability (str, none_type): Availability status of the item. RECOMMENDED.. [optional] # noqa: E501
|
|
563
567
|
condition (str, none_type): Condition or state of the item.. [optional] # noqa: E501
|
|
@@ -569,11 +573,11 @@ class Product(ModelNormal):
|
|
|
569
573
|
max_energy_efficiency_class (str, none_type): The energy efficiency class as defined in EU directive 2010/30/EU.. [optional] # noqa: E501
|
|
570
574
|
tax_category (str, none_type): The tax category of the product, used to configure detailed tax nexus in account-level tax settings.. [optional] # noqa: E501
|
|
571
575
|
transit_time_label (str, none_type): The transit time label of the product, used to group product in account-level transit time tables.. [optional] # noqa: E501
|
|
572
|
-
seller_id (str, none_type): Deprecated
|
|
576
|
+
seller_id (str, none_type): (Deprecated Field) The external ID of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
|
|
573
577
|
external_seller_id (str, none_type): The external id of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
|
|
574
|
-
external_seller_name (str, none_type): The external name of the seller (case sensitive and
|
|
575
|
-
number_of_reviews (int, none_type): The number of reviews for the product.
|
|
576
|
-
product_rating (str, none_type): The rating
|
|
578
|
+
external_seller_name (str, none_type): The external name of the seller (case sensitive and 50 UTF8 characters max). This information is required by the Criteo Offsite Ads.. [optional] # noqa: E501
|
|
579
|
+
number_of_reviews (int, none_type): The number of customer reviews for the product. [optional] # noqa: E501
|
|
580
|
+
product_rating (str, none_type): The product rating for the product. [optional] # noqa: E501
|
|
577
581
|
"""
|
|
578
582
|
|
|
579
583
|
channel = kwargs.get('channel', "online")
|
|
@@ -162,7 +162,7 @@ class ProductsCustomBatchRequestEntry(ModelNormal):
|
|
|
162
162
|
_visited_composed_classes = (Animal,)
|
|
163
163
|
batch_id (int, none_type): An entry ID, unique within the batch request.. [optional] # noqa: E501
|
|
164
164
|
product_id (str, none_type): The Product ID to delete. Only defined if the method is delete.. [optional] # noqa: E501
|
|
165
|
-
item_group_id (str, none_type): The itemGroupId of the product to delete. To be defined when the method is delete and the product is a variant.. [optional] # noqa: E501
|
|
165
|
+
item_group_id (str, none_type): Deprecated (providing this information is no more needed, this field will be removed in next release). The itemGroupId of the product to delete. To be defined when the method is delete and the product is a variant.. [optional] # noqa: E501
|
|
166
166
|
product (Product): [optional] # noqa: E501
|
|
167
167
|
feed_id (str, none_type): Not used by Criteo.. [optional] # noqa: E501
|
|
168
168
|
"""
|
|
@@ -258,7 +258,7 @@ class ProductsCustomBatchRequestEntry(ModelNormal):
|
|
|
258
258
|
_visited_composed_classes = (Animal,)
|
|
259
259
|
batch_id (int, none_type): An entry ID, unique within the batch request.. [optional] # noqa: E501
|
|
260
260
|
product_id (str, none_type): The Product ID to delete. Only defined if the method is delete.. [optional] # noqa: E501
|
|
261
|
-
item_group_id (str, none_type): The itemGroupId of the product to delete. To be defined when the method is delete and the product is a variant.. [optional] # noqa: E501
|
|
261
|
+
item_group_id (str, none_type): Deprecated (providing this information is no more needed, this field will be removed in next release). The itemGroupId of the product to delete. To be defined when the method is delete and the product is a variant.. [optional] # noqa: E501
|
|
262
262
|
product (Product): [optional] # noqa: E501
|
|
263
263
|
feed_id (str, none_type): Not used by Criteo.. [optional] # noqa: E501
|
|
264
264
|
"""
|
|
@@ -29,12 +29,8 @@ from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal
|
|
34
|
-
globals()['NillableDecimal'] = NillableDecimal
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
class ReadAdSetBiddingV23Q1(ModelNormal):
|
|
33
|
+
class ReadAdSetBiddingV24Q1(ModelNormal):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
35
|
Ref: https://openapi-generator.tech
|
|
40
36
|
|
|
@@ -82,7 +78,6 @@ class ReadAdSetBiddingV23Q1(ModelNormal):
|
|
|
82
78
|
This must be a method because a model may have properties that are
|
|
83
79
|
of type self, this must run after the class is loaded
|
|
84
80
|
"""
|
|
85
|
-
lazy_import()
|
|
86
81
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
87
82
|
|
|
88
83
|
_nullable = False
|
|
@@ -97,9 +92,8 @@ class ReadAdSetBiddingV23Q1(ModelNormal):
|
|
|
97
92
|
openapi_types (dict): The key is attribute name
|
|
98
93
|
and the value is attribute type.
|
|
99
94
|
"""
|
|
100
|
-
lazy_import()
|
|
101
95
|
return {
|
|
102
|
-
'bid_amount': (
|
|
96
|
+
'bid_amount': (float, none_type,), # noqa: E501
|
|
103
97
|
'cost_controller': (str, none_type,), # noqa: E501
|
|
104
98
|
}
|
|
105
99
|
|
|
@@ -121,7 +115,7 @@ class ReadAdSetBiddingV23Q1(ModelNormal):
|
|
|
121
115
|
@classmethod
|
|
122
116
|
@convert_js_args_to_python_args
|
|
123
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
124
|
-
"""
|
|
118
|
+
"""ReadAdSetBiddingV24Q1 - a model defined in OpenAPI
|
|
125
119
|
|
|
126
120
|
Keyword Args:
|
|
127
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -154,7 +148,7 @@ class ReadAdSetBiddingV23Q1(ModelNormal):
|
|
|
154
148
|
Animal class but this time we won't travel
|
|
155
149
|
through its discriminator because we passed in
|
|
156
150
|
_visited_composed_classes = (Animal,)
|
|
157
|
-
bid_amount (
|
|
151
|
+
bid_amount (float, none_type): Decimal value target relating to the `adSetObjective` specified. May be `null` for objectives that do not require a target value. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
|
|
158
152
|
cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501
|
|
159
153
|
"""
|
|
160
154
|
|
|
@@ -208,7 +202,7 @@ class ReadAdSetBiddingV23Q1(ModelNormal):
|
|
|
208
202
|
|
|
209
203
|
@convert_js_args_to_python_args
|
|
210
204
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
211
|
-
"""
|
|
205
|
+
"""ReadAdSetBiddingV24Q1 - a model defined in OpenAPI
|
|
212
206
|
|
|
213
207
|
Keyword Args:
|
|
214
208
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -241,7 +235,7 @@ class ReadAdSetBiddingV23Q1(ModelNormal):
|
|
|
241
235
|
Animal class but this time we won't travel
|
|
242
236
|
through its discriminator because we passed in
|
|
243
237
|
_visited_composed_classes = (Animal,)
|
|
244
|
-
bid_amount (
|
|
238
|
+
bid_amount (float, none_type): Decimal value target relating to the `adSetObjective` specified. May be `null` for objectives that do not require a target value. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
|
|
245
239
|
cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501
|
|
246
240
|
"""
|
|
247
241
|
|
criteo_api_marketingsolutions_preview/model/{read_ad_set_budget.py → read_ad_set_budget_v24_q1.py}
RENAMED
|
@@ -29,12 +29,8 @@ from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401
|
|
|
29
29
|
from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def lazy_import():
|
|
33
|
-
from criteo_api_marketingsolutions_preview.model.nillable_decimal import NillableDecimal
|
|
34
|
-
globals()['NillableDecimal'] = NillableDecimal
|
|
35
32
|
|
|
36
|
-
|
|
37
|
-
class ReadAdSetBudget(ModelNormal):
|
|
33
|
+
class ReadAdSetBudgetV24Q1(ModelNormal):
|
|
38
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
35
|
Ref: https://openapi-generator.tech
|
|
40
36
|
|
|
@@ -70,6 +66,7 @@ class ReadAdSetBudget(ModelNormal):
|
|
|
70
66
|
'DAILY': "daily",
|
|
71
67
|
'MONTHLY': "monthly",
|
|
72
68
|
'LIFETIME': "lifetime",
|
|
69
|
+
'WEEKLY': "weekly",
|
|
73
70
|
},
|
|
74
71
|
('budget_delivery_smoothing',): {
|
|
75
72
|
'None': None,
|
|
@@ -98,7 +95,6 @@ class ReadAdSetBudget(ModelNormal):
|
|
|
98
95
|
This must be a method because a model may have properties that are
|
|
99
96
|
of type self, this must run after the class is loaded
|
|
100
97
|
"""
|
|
101
|
-
lazy_import()
|
|
102
98
|
return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
|
|
103
99
|
|
|
104
100
|
_nullable = False
|
|
@@ -113,13 +109,12 @@ class ReadAdSetBudget(ModelNormal):
|
|
|
113
109
|
openapi_types (dict): The key is attribute name
|
|
114
110
|
and the value is attribute type.
|
|
115
111
|
"""
|
|
116
|
-
lazy_import()
|
|
117
112
|
return {
|
|
118
113
|
'budget_strategy': (str, none_type,), # noqa: E501
|
|
119
114
|
'budget_renewal': (str, none_type,), # noqa: E501
|
|
120
115
|
'budget_delivery_smoothing': (str, none_type,), # noqa: E501
|
|
121
116
|
'budget_delivery_week': (str, none_type,), # noqa: E501
|
|
122
|
-
'budget_amount': (
|
|
117
|
+
'budget_amount': (float, none_type,), # noqa: E501
|
|
123
118
|
}
|
|
124
119
|
|
|
125
120
|
@cached_property
|
|
@@ -143,7 +138,7 @@ class ReadAdSetBudget(ModelNormal):
|
|
|
143
138
|
@classmethod
|
|
144
139
|
@convert_js_args_to_python_args
|
|
145
140
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
146
|
-
"""
|
|
141
|
+
"""ReadAdSetBudgetV24Q1 - a model defined in OpenAPI
|
|
147
142
|
|
|
148
143
|
Keyword Args:
|
|
149
144
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -180,7 +175,7 @@ class ReadAdSetBudget(ModelNormal):
|
|
|
180
175
|
budget_renewal (str, none_type): [optional] # noqa: E501
|
|
181
176
|
budget_delivery_smoothing (str, none_type): [optional] # noqa: E501
|
|
182
177
|
budget_delivery_week (str, none_type): [optional] # noqa: E501
|
|
183
|
-
budget_amount (
|
|
178
|
+
budget_amount (float, none_type): [optional] # noqa: E501
|
|
184
179
|
"""
|
|
185
180
|
|
|
186
181
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -233,7 +228,7 @@ class ReadAdSetBudget(ModelNormal):
|
|
|
233
228
|
|
|
234
229
|
@convert_js_args_to_python_args
|
|
235
230
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
236
|
-
"""
|
|
231
|
+
"""ReadAdSetBudgetV24Q1 - a model defined in OpenAPI
|
|
237
232
|
|
|
238
233
|
Keyword Args:
|
|
239
234
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -270,7 +265,7 @@ class ReadAdSetBudget(ModelNormal):
|
|
|
270
265
|
budget_renewal (str, none_type): [optional] # noqa: E501
|
|
271
266
|
budget_delivery_smoothing (str, none_type): [optional] # noqa: E501
|
|
272
267
|
budget_delivery_week (str, none_type): [optional] # noqa: E501
|
|
273
|
-
budget_amount (
|
|
268
|
+
budget_amount (float, none_type): [optional] # noqa: E501
|
|
274
269
|
"""
|
|
275
270
|
|
|
276
271
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -34,7 +34,7 @@ def lazy_import():
|
|
|
34
34
|
globals()['NillableDateTime'] = NillableDateTime
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class ReadAdSetScheduleV24Q1(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -131,7 +131,7 @@ class ReadAdSetSchedule(ModelNormal):
|
|
|
131
131
|
@classmethod
|
|
132
132
|
@convert_js_args_to_python_args
|
|
133
133
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
134
|
-
"""
|
|
134
|
+
"""ReadAdSetScheduleV24Q1 - a model defined in OpenAPI
|
|
135
135
|
|
|
136
136
|
Keyword Args:
|
|
137
137
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -220,7 +220,7 @@ class ReadAdSetSchedule(ModelNormal):
|
|
|
220
220
|
|
|
221
221
|
@convert_js_args_to_python_args
|
|
222
222
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
223
|
-
"""
|
|
223
|
+
"""ReadAdSetScheduleV24Q1 - a model defined in OpenAPI
|
|
224
224
|
|
|
225
225
|
Keyword Args:
|
|
226
226
|
_check_type (bool): if True, values for parameters in openapi_types
|