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.ad_set_search_filter_v24_q1 import AdSetSearchFilterV24Q1
|
|
34
|
+
globals()['AdSetSearchFilterV24Q1'] = AdSetSearchFilterV24Q1
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class AdSetSearchRequestV24Q1(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 AdSetSearchRequestV23Q1(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'filters': (
|
|
90
|
+
'filters': (AdSetSearchFilterV24Q1,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class AdSetSearchRequestV23Q1(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
|
+
"""AdSetSearchRequestV24Q1 - 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 AdSetSearchRequestV23Q1(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
|
-
filters (
|
|
143
|
+
filters (AdSetSearchFilterV24Q1): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class AdSetSearchRequestV23Q1(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""AdSetSearchRequestV24Q1 - 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 AdSetSearchRequestV23Q1(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
|
-
filters (
|
|
229
|
+
filters (AdSetSearchFilterV24Q1): [optional] # noqa: E501
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,7 +30,7 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class AdSetTargetingRuleV24Q1(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -109,7 +109,7 @@ class AdSetTargetingRule(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
|
+
"""AdSetTargetingRuleV24Q1 - 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 AdSetTargetingRule(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""AdSetTargetingRuleV24Q1 - 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,15 +30,15 @@ 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
|
-
globals()['
|
|
37
|
-
globals()['
|
|
38
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1
|
|
34
|
+
from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1
|
|
35
|
+
from criteo_api_marketingsolutions_preview.model.ad_set_geo_location_v24_q1 import AdSetGeoLocationV24Q1
|
|
36
|
+
globals()['AdSetDeliveryLimitationsV24Q1'] = AdSetDeliveryLimitationsV24Q1
|
|
37
|
+
globals()['AdSetFrequencyCappingV24Q1'] = AdSetFrequencyCappingV24Q1
|
|
38
|
+
globals()['AdSetGeoLocationV24Q1'] = AdSetGeoLocationV24Q1
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
class
|
|
41
|
+
class AdSetTargetingV24Q1(ModelNormal):
|
|
42
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
43
43
|
Ref: https://openapi-generator.tech
|
|
44
44
|
|
|
@@ -91,9 +91,9 @@ class AdSetTargetingV23Q1(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'delivery_limitations': (
|
|
95
|
-
'geo_location': (
|
|
96
|
-
'frequency_capping': (
|
|
94
|
+
'delivery_limitations': (AdSetDeliveryLimitationsV24Q1,), # noqa: E501
|
|
95
|
+
'geo_location': (AdSetGeoLocationV24Q1,), # noqa: E501
|
|
96
|
+
'frequency_capping': (AdSetFrequencyCappingV24Q1,), # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@cached_property
|
|
@@ -115,7 +115,7 @@ class AdSetTargetingV23Q1(ModelNormal):
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
117
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
118
|
+
"""AdSetTargetingV24Q1 - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Keyword Args:
|
|
121
121
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -148,9 +148,9 @@ class AdSetTargetingV23Q1(ModelNormal):
|
|
|
148
148
|
Animal class but this time we won't travel
|
|
149
149
|
through its discriminator because we passed in
|
|
150
150
|
_visited_composed_classes = (Animal,)
|
|
151
|
-
delivery_limitations (
|
|
152
|
-
geo_location (
|
|
153
|
-
frequency_capping (
|
|
151
|
+
delivery_limitations (AdSetDeliveryLimitationsV24Q1): [optional] # noqa: E501
|
|
152
|
+
geo_location (AdSetGeoLocationV24Q1): [optional] # noqa: E501
|
|
153
|
+
frequency_capping (AdSetFrequencyCappingV24Q1): [optional] # noqa: E501
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -203,7 +203,7 @@ class AdSetTargetingV23Q1(ModelNormal):
|
|
|
203
203
|
|
|
204
204
|
@convert_js_args_to_python_args
|
|
205
205
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
206
|
-
"""
|
|
206
|
+
"""AdSetTargetingV24Q1 - a model defined in OpenAPI
|
|
207
207
|
|
|
208
208
|
Keyword Args:
|
|
209
209
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -236,9 +236,9 @@ class AdSetTargetingV23Q1(ModelNormal):
|
|
|
236
236
|
Animal class but this time we won't travel
|
|
237
237
|
through its discriminator because we passed in
|
|
238
238
|
_visited_composed_classes = (Animal,)
|
|
239
|
-
delivery_limitations (
|
|
240
|
-
geo_location (
|
|
241
|
-
frequency_capping (
|
|
239
|
+
delivery_limitations (AdSetDeliveryLimitationsV24Q1): [optional] # noqa: E501
|
|
240
|
+
geo_location (AdSetGeoLocationV24Q1): [optional] # noqa: E501
|
|
241
|
+
frequency_capping (AdSetFrequencyCappingV24Q1): [optional] # noqa: E501
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,7 +30,7 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class CreateAdSetBiddingV24Q1(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -64,6 +64,7 @@ class CreateAdSetBidding(ModelNormal):
|
|
|
64
64
|
'CPSV': "CPSV",
|
|
65
65
|
'CPV': "CPV",
|
|
66
66
|
'DAILYBUDGET': "dailyBudget",
|
|
67
|
+
'TARGETCPM': "targetCPM",
|
|
67
68
|
},
|
|
68
69
|
}
|
|
69
70
|
|
|
@@ -113,7 +114,7 @@ class CreateAdSetBidding(ModelNormal):
|
|
|
113
114
|
@classmethod
|
|
114
115
|
@convert_js_args_to_python_args
|
|
115
116
|
def _from_openapi_data(cls, cost_controller, *args, **kwargs): # noqa: E501
|
|
116
|
-
"""
|
|
117
|
+
"""CreateAdSetBiddingV24Q1 - a model defined in OpenAPI
|
|
117
118
|
|
|
118
119
|
Args:
|
|
119
120
|
cost_controller (str): How spend is controlled
|
|
@@ -203,7 +204,7 @@ class CreateAdSetBidding(ModelNormal):
|
|
|
203
204
|
|
|
204
205
|
@convert_js_args_to_python_args
|
|
205
206
|
def __init__(self, cost_controller, *args, **kwargs): # noqa: E501
|
|
206
|
-
"""
|
|
207
|
+
"""CreateAdSetBiddingV24Q1 - a model defined in OpenAPI
|
|
207
208
|
|
|
208
209
|
Args:
|
|
209
210
|
cost_controller (str): How spend is controlled
|
|
@@ -30,7 +30,7 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class CreateAdSetBudgetV24Q1(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -65,6 +65,7 @@ class CreateAdSetBudget(ModelNormal):
|
|
|
65
65
|
'DAILY': "daily",
|
|
66
66
|
'MONTHLY': "monthly",
|
|
67
67
|
'LIFETIME': "lifetime",
|
|
68
|
+
'WEEKLY': "weekly",
|
|
68
69
|
},
|
|
69
70
|
('budget_delivery_smoothing',): {
|
|
70
71
|
'None': None,
|
|
@@ -136,7 +137,7 @@ class CreateAdSetBudget(ModelNormal):
|
|
|
136
137
|
@classmethod
|
|
137
138
|
@convert_js_args_to_python_args
|
|
138
139
|
def _from_openapi_data(cls, budget_strategy, *args, **kwargs): # noqa: E501
|
|
139
|
-
"""
|
|
140
|
+
"""CreateAdSetBudgetV24Q1 - a model defined in OpenAPI
|
|
140
141
|
|
|
141
142
|
Args:
|
|
142
143
|
budget_strategy (str):
|
|
@@ -229,7 +230,7 @@ class CreateAdSetBudget(ModelNormal):
|
|
|
229
230
|
|
|
230
231
|
@convert_js_args_to_python_args
|
|
231
232
|
def __init__(self, budget_strategy, *args, **kwargs): # noqa: E501
|
|
232
|
-
"""
|
|
233
|
+
"""CreateAdSetBudgetV24Q1 - a model defined in OpenAPI
|
|
233
234
|
|
|
234
235
|
Args:
|
|
235
236
|
budget_strategy (str):
|
|
@@ -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 CreateAdSetGeoLocationV24Q1(ModelNormal):
|
|
38
38
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
39
39
|
Ref: https://openapi-generator.tech
|
|
40
40
|
|
|
@@ -87,9 +87,9 @@ class CreateAdSetGeoLocation(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'countries': (
|
|
91
|
-
'subdivisions': (
|
|
92
|
-
'zip_codes': (
|
|
90
|
+
'countries': (AdSetTargetingRuleV24Q1,), # noqa: E501
|
|
91
|
+
'subdivisions': (AdSetTargetingRuleV24Q1,), # noqa: E501
|
|
92
|
+
'zip_codes': (AdSetTargetingRuleV24Q1,), # noqa: E501
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
@cached_property
|
|
@@ -111,7 +111,7 @@ class CreateAdSetGeoLocation(ModelNormal):
|
|
|
111
111
|
@classmethod
|
|
112
112
|
@convert_js_args_to_python_args
|
|
113
113
|
def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
|
|
114
|
-
"""
|
|
114
|
+
"""CreateAdSetGeoLocationV24Q1 - a model defined in OpenAPI
|
|
115
115
|
|
|
116
116
|
Keyword Args:
|
|
117
117
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -144,9 +144,9 @@ class CreateAdSetGeoLocation(ModelNormal):
|
|
|
144
144
|
Animal class but this time we won't travel
|
|
145
145
|
through its discriminator because we passed in
|
|
146
146
|
_visited_composed_classes = (Animal,)
|
|
147
|
-
countries (
|
|
148
|
-
subdivisions (
|
|
149
|
-
zip_codes (
|
|
147
|
+
countries (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
|
|
148
|
+
subdivisions (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
|
|
149
|
+
zip_codes (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
|
|
150
150
|
"""
|
|
151
151
|
|
|
152
152
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -199,7 +199,7 @@ class CreateAdSetGeoLocation(ModelNormal):
|
|
|
199
199
|
|
|
200
200
|
@convert_js_args_to_python_args
|
|
201
201
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
202
|
-
"""
|
|
202
|
+
"""CreateAdSetGeoLocationV24Q1 - a model defined in OpenAPI
|
|
203
203
|
|
|
204
204
|
Keyword Args:
|
|
205
205
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -232,9 +232,9 @@ class CreateAdSetGeoLocation(ModelNormal):
|
|
|
232
232
|
Animal class but this time we won't travel
|
|
233
233
|
through its discriminator because we passed in
|
|
234
234
|
_visited_composed_classes = (Animal,)
|
|
235
|
-
countries (
|
|
236
|
-
subdivisions (
|
|
237
|
-
zip_codes (
|
|
235
|
+
countries (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
|
|
236
|
+
subdivisions (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
|
|
237
|
+
zip_codes (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
|
|
238
238
|
"""
|
|
239
239
|
|
|
240
240
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -30,7 +30,7 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
class
|
|
33
|
+
class CreateAdSetScheduleV24Q1(ModelNormal):
|
|
34
34
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
35
35
|
Ref: https://openapi-generator.tech
|
|
36
36
|
|
|
@@ -103,7 +103,7 @@ class CreateAdSetSchedule(ModelNormal):
|
|
|
103
103
|
@classmethod
|
|
104
104
|
@convert_js_args_to_python_args
|
|
105
105
|
def _from_openapi_data(cls, start_date, *args, **kwargs): # noqa: E501
|
|
106
|
-
"""
|
|
106
|
+
"""CreateAdSetScheduleV24Q1 - a model defined in OpenAPI
|
|
107
107
|
|
|
108
108
|
Args:
|
|
109
109
|
start_date (datetime):
|
|
@@ -193,7 +193,7 @@ class CreateAdSetSchedule(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, start_date, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""CreateAdSetScheduleV24Q1 - a model defined in OpenAPI
|
|
197
197
|
|
|
198
198
|
Args:
|
|
199
199
|
start_date (datetime):
|
|
@@ -30,15 +30,15 @@ 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
|
-
globals()['
|
|
37
|
-
globals()['
|
|
38
|
-
globals()['
|
|
33
|
+
from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q1 import AdSetDeliveryLimitationsV24Q1
|
|
34
|
+
from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q1 import AdSetFrequencyCappingV24Q1
|
|
35
|
+
from criteo_api_marketingsolutions_preview.model.create_ad_set_geo_location_v24_q1 import CreateAdSetGeoLocationV24Q1
|
|
36
|
+
globals()['AdSetDeliveryLimitationsV24Q1'] = AdSetDeliveryLimitationsV24Q1
|
|
37
|
+
globals()['AdSetFrequencyCappingV24Q1'] = AdSetFrequencyCappingV24Q1
|
|
38
|
+
globals()['CreateAdSetGeoLocationV24Q1'] = CreateAdSetGeoLocationV24Q1
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
class
|
|
41
|
+
class CreateAdSetTargetingV24Q1(ModelNormal):
|
|
42
42
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
43
43
|
Ref: https://openapi-generator.tech
|
|
44
44
|
|
|
@@ -91,9 +91,9 @@ class CreateAdSetTargeting(ModelNormal):
|
|
|
91
91
|
"""
|
|
92
92
|
lazy_import()
|
|
93
93
|
return {
|
|
94
|
-
'frequency_capping': (
|
|
95
|
-
'delivery_limitations': (
|
|
96
|
-
'geo_location': (
|
|
94
|
+
'frequency_capping': (AdSetFrequencyCappingV24Q1,), # noqa: E501
|
|
95
|
+
'delivery_limitations': (AdSetDeliveryLimitationsV24Q1,), # noqa: E501
|
|
96
|
+
'geo_location': (CreateAdSetGeoLocationV24Q1,), # noqa: E501
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
@cached_property
|
|
@@ -115,10 +115,10 @@ class CreateAdSetTargeting(ModelNormal):
|
|
|
115
115
|
@classmethod
|
|
116
116
|
@convert_js_args_to_python_args
|
|
117
117
|
def _from_openapi_data(cls, frequency_capping, *args, **kwargs): # noqa: E501
|
|
118
|
-
"""
|
|
118
|
+
"""CreateAdSetTargetingV24Q1 - a model defined in OpenAPI
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
|
-
frequency_capping (
|
|
121
|
+
frequency_capping (AdSetFrequencyCappingV24Q1):
|
|
122
122
|
|
|
123
123
|
Keyword Args:
|
|
124
124
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -151,8 +151,8 @@ class CreateAdSetTargeting(ModelNormal):
|
|
|
151
151
|
Animal class but this time we won't travel
|
|
152
152
|
through its discriminator because we passed in
|
|
153
153
|
_visited_composed_classes = (Animal,)
|
|
154
|
-
delivery_limitations (
|
|
155
|
-
geo_location (
|
|
154
|
+
delivery_limitations (AdSetDeliveryLimitationsV24Q1): [optional] # noqa: E501
|
|
155
|
+
geo_location (CreateAdSetGeoLocationV24Q1): [optional] # noqa: E501
|
|
156
156
|
"""
|
|
157
157
|
|
|
158
158
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -206,10 +206,10 @@ class CreateAdSetTargeting(ModelNormal):
|
|
|
206
206
|
|
|
207
207
|
@convert_js_args_to_python_args
|
|
208
208
|
def __init__(self, frequency_capping, *args, **kwargs): # noqa: E501
|
|
209
|
-
"""
|
|
209
|
+
"""CreateAdSetTargetingV24Q1 - a model defined in OpenAPI
|
|
210
210
|
|
|
211
211
|
Args:
|
|
212
|
-
frequency_capping (
|
|
212
|
+
frequency_capping (AdSetFrequencyCappingV24Q1):
|
|
213
213
|
|
|
214
214
|
Keyword Args:
|
|
215
215
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -242,8 +242,8 @@ class CreateAdSetTargeting(ModelNormal):
|
|
|
242
242
|
Animal class but this time we won't travel
|
|
243
243
|
through its discriminator because we passed in
|
|
244
244
|
_visited_composed_classes = (Animal,)
|
|
245
|
-
delivery_limitations (
|
|
246
|
-
geo_location (
|
|
245
|
+
delivery_limitations (AdSetDeliveryLimitationsV24Q1): [optional] # noqa: E501
|
|
246
|
+
geo_location (CreateAdSetGeoLocationV24Q1): [optional] # noqa: E501
|
|
247
247
|
"""
|
|
248
248
|
|
|
249
249
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -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.create_ad_set_bidding_v24_q1 import CreateAdSetBiddingV24Q1
|
|
34
|
+
from criteo_api_marketingsolutions_preview.model.create_ad_set_budget_v24_q1 import CreateAdSetBudgetV24Q1
|
|
35
|
+
from criteo_api_marketingsolutions_preview.model.create_ad_set_schedule_v24_q1 import CreateAdSetScheduleV24Q1
|
|
36
|
+
from criteo_api_marketingsolutions_preview.model.create_ad_set_targeting_v24_q1 import CreateAdSetTargetingV24Q1
|
|
37
|
+
globals()['CreateAdSetBiddingV24Q1'] = CreateAdSetBiddingV24Q1
|
|
38
|
+
globals()['CreateAdSetBudgetV24Q1'] = CreateAdSetBudgetV24Q1
|
|
39
|
+
globals()['CreateAdSetScheduleV24Q1'] = CreateAdSetScheduleV24Q1
|
|
40
|
+
globals()['CreateAdSetTargetingV24Q1'] = CreateAdSetTargetingV24Q1
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class CreateAdSetV24Q1(ModelNormal):
|
|
44
44
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
45
45
|
Ref: https://openapi-generator.tech
|
|
46
46
|
|
|
@@ -114,10 +114,10 @@ class CreateAdSet(ModelNormal):
|
|
|
114
114
|
'dataset_id': (str, none_type,), # noqa: E501
|
|
115
115
|
'campaign_id': (str, none_type,), # noqa: E501
|
|
116
116
|
'objective': (str,), # noqa: E501
|
|
117
|
-
'schedule': (
|
|
118
|
-
'bidding': (
|
|
119
|
-
'targeting': (
|
|
120
|
-
'budget': (
|
|
117
|
+
'schedule': (CreateAdSetScheduleV24Q1,), # noqa: E501
|
|
118
|
+
'bidding': (CreateAdSetBiddingV24Q1,), # noqa: E501
|
|
119
|
+
'targeting': (CreateAdSetTargetingV24Q1,), # noqa: E501
|
|
120
|
+
'budget': (CreateAdSetBudgetV24Q1,), # noqa: E501
|
|
121
121
|
'tracking_code': (str, none_type,), # noqa: E501
|
|
122
122
|
'media_type': (str,), # noqa: E501
|
|
123
123
|
}
|
|
@@ -148,17 +148,17 @@ class CreateAdSet(ModelNormal):
|
|
|
148
148
|
@classmethod
|
|
149
149
|
@convert_js_args_to_python_args
|
|
150
150
|
def _from_openapi_data(cls, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, budget, tracking_code, media_type, *args, **kwargs): # noqa: E501
|
|
151
|
-
"""
|
|
151
|
+
"""CreateAdSetV24Q1 - a model defined in OpenAPI
|
|
152
152
|
|
|
153
153
|
Args:
|
|
154
154
|
name (str, none_type): Name of the ad set
|
|
155
155
|
dataset_id (str, none_type): Dataset id of this ad set
|
|
156
156
|
campaign_id (str, none_type): Campaign id this ad set belongs to
|
|
157
157
|
objective (str): Objective of the ad set
|
|
158
|
-
schedule (
|
|
159
|
-
bidding (
|
|
160
|
-
targeting (
|
|
161
|
-
budget (
|
|
158
|
+
schedule (CreateAdSetScheduleV24Q1):
|
|
159
|
+
bidding (CreateAdSetBiddingV24Q1):
|
|
160
|
+
targeting (CreateAdSetTargetingV24Q1):
|
|
161
|
+
budget (CreateAdSetBudgetV24Q1):
|
|
162
162
|
tracking_code (str, none_type): The click tracking code associated to this Ad Set.
|
|
163
163
|
media_type (str): Media type for the ad set
|
|
164
164
|
|
|
@@ -255,17 +255,17 @@ class CreateAdSet(ModelNormal):
|
|
|
255
255
|
|
|
256
256
|
@convert_js_args_to_python_args
|
|
257
257
|
def __init__(self, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, budget, tracking_code, media_type, *args, **kwargs): # noqa: E501
|
|
258
|
-
"""
|
|
258
|
+
"""CreateAdSetV24Q1 - a model defined in OpenAPI
|
|
259
259
|
|
|
260
260
|
Args:
|
|
261
261
|
name (str, none_type): Name of the ad set
|
|
262
262
|
dataset_id (str, none_type): Dataset id of this ad set
|
|
263
263
|
campaign_id (str, none_type): Campaign id this ad set belongs to
|
|
264
264
|
objective (str): Objective of the ad set
|
|
265
|
-
schedule (
|
|
266
|
-
bidding (
|
|
267
|
-
targeting (
|
|
268
|
-
budget (
|
|
265
|
+
schedule (CreateAdSetScheduleV24Q1):
|
|
266
|
+
bidding (CreateAdSetBiddingV24Q1):
|
|
267
|
+
targeting (CreateAdSetTargetingV24Q1):
|
|
268
|
+
budget (CreateAdSetBudgetV24Q1):
|
|
269
269
|
tracking_code (str, none_type): The click tracking code associated to this Ad Set.
|
|
270
270
|
media_type (str): Media type for the ad set
|
|
271
271
|
|
|
@@ -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_q1_resource import CreateAdSetV24Q1Resource
|
|
34
|
+
globals()['CreateAdSetV24Q1Resource'] = CreateAdSetV24Q1Resource
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreateAdSetV24Q1Request(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 CreateAdSetRequest(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'data': (
|
|
90
|
+
'data': (CreateAdSetV24Q1Resource,), # noqa: E501
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
@@ -107,7 +107,7 @@ class CreateAdSetRequest(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
|
+
"""CreateAdSetV24Q1Request - 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 CreateAdSetRequest(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 (CreateAdSetV24Q1Resource): [optional] # noqa: E501
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -193,7 +193,7 @@ class CreateAdSetRequest(ModelNormal):
|
|
|
193
193
|
|
|
194
194
|
@convert_js_args_to_python_args
|
|
195
195
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
196
|
-
"""
|
|
196
|
+
"""CreateAdSetV24Q1Request - 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 CreateAdSetRequest(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 (CreateAdSetV24Q1Resource): [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_q1 import CreateAdSetV24Q1
|
|
34
|
+
globals()['CreateAdSetV24Q1'] = CreateAdSetV24Q1
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class CreateAdSetV24Q1Resource(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 CreateAdSetResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'attributes': (
|
|
90
|
+
'attributes': (CreateAdSetV24Q1,), # noqa: E501
|
|
91
91
|
'type': (str, none_type,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -109,7 +109,7 @@ class CreateAdSetResource(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
|
+
"""CreateAdSetV24Q1Resource - 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 CreateAdSetResource(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 (CreateAdSetV24Q1): [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 CreateAdSetResource(ModelNormal):
|
|
|
196
196
|
|
|
197
197
|
@convert_js_args_to_python_args
|
|
198
198
|
def __init__(self, *args, **kwargs): # noqa: E501
|
|
199
|
-
"""
|
|
199
|
+
"""CreateAdSetV24Q1Resource - 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 CreateAdSetResource(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 (CreateAdSetV24Q1): [optional] # noqa: E501
|
|
233
233
|
type (str, none_type): Canonical type name of the entity. [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|