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.

Files changed (109) hide show
  1. criteo_api_marketingsolutions_preview/__init__.py +1 -1
  2. criteo_api_marketingsolutions_preview/api/analytics_api.py +10 -8
  3. criteo_api_marketingsolutions_preview/api/audience_api.py +139 -431
  4. criteo_api_marketingsolutions_preview/api/campaign_api.py +57 -934
  5. criteo_api_marketingsolutions_preview/api/creative_api.py +89 -89
  6. criteo_api_marketingsolutions_preview/api_client.py +1 -1
  7. criteo_api_marketingsolutions_preview/configuration.py +1 -1
  8. criteo_api_marketingsolutions_preview/model/{ad_set_delivery_limitations_v24_q1.py → ad_set_delivery_limitations_v24_q3.py} +3 -3
  9. criteo_api_marketingsolutions_preview/model/{ad_set_frequency_capping_v24_q1.py → ad_set_frequency_capping_v24_q3.py} +3 -3
  10. criteo_api_marketingsolutions_preview/model/{ad_set_geo_location_v24_q1.py → ad_set_geo_location_v24_q3.py} +14 -14
  11. criteo_api_marketingsolutions_preview/model/{ad_set_search_filter_v24_q1.py → ad_set_search_filter_v24_q3.py} +3 -3
  12. criteo_api_marketingsolutions_preview/model/{ad_set_search_request_v24_q1.py → ad_set_search_request_v24_q3.py} +8 -8
  13. criteo_api_marketingsolutions_preview/model/{ad_set_targeting_rule_v24_q1.py → ad_set_targeting_rule_v24_q3.py} +3 -3
  14. criteo_api_marketingsolutions_preview/model/{ad_set_targeting_v24_q1.py → ad_set_targeting_v24_q3.py} +18 -18
  15. criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py +13 -0
  16. criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +0 -10
  17. criteo_api_marketingsolutions_preview/model/adaptive_write_attributes.py +0 -4
  18. criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py +2 -3
  19. criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py +0 -1
  20. criteo_api_marketingsolutions_preview/model/coupon.py +0 -2
  21. criteo_api_marketingsolutions_preview/model/coupon_supported_sizes.py +0 -4
  22. criteo_api_marketingsolutions_preview/model/create_ad_set_attribution_configuration_v24_q3.py +284 -0
  23. criteo_api_marketingsolutions_preview/model/{create_ad_set_bidding_v24_q1.py → create_ad_set_bidding_v24_q3.py} +4 -4
  24. criteo_api_marketingsolutions_preview/model/{create_ad_set_budget_v24_q1.py → create_ad_set_budget_v24_q3.py} +3 -3
  25. criteo_api_marketingsolutions_preview/model/{create_ad_set_geo_location_v24_q1.py → create_ad_set_geo_location_v24_q3.py} +14 -14
  26. criteo_api_marketingsolutions_preview/model/{create_ad_set_schedule_v24_q1.py → create_ad_set_schedule_v24_q3.py} +3 -3
  27. criteo_api_marketingsolutions_preview/model/{create_ad_set_targeting_v24_q1.py → create_ad_set_targeting_v24_q3.py} +18 -18
  28. criteo_api_marketingsolutions_preview/model/{create_ad_set_v24_q1.py → create_ad_set_v24_q3.py} +31 -25
  29. criteo_api_marketingsolutions_preview/model/{create_ad_set_v24_q1_request.py → create_ad_set_v24_q3_request.py} +8 -8
  30. criteo_api_marketingsolutions_preview/model/{create_ad_set_v24_q1_resource.py → create_ad_set_v24_q3_resource.py} +8 -8
  31. criteo_api_marketingsolutions_preview/model/create_coupon.py +0 -2
  32. criteo_api_marketingsolutions_preview/model/create_image_slide.py +0 -2
  33. criteo_api_marketingsolutions_preview/model/dynamic_attributes.py +0 -4
  34. criteo_api_marketingsolutions_preview/model/dynamic_write_attributes.py +6 -6
  35. criteo_api_marketingsolutions_preview/model/html_tag_attributes.py +0 -2
  36. criteo_api_marketingsolutions_preview/model/html_tag_write_attributes.py +0 -2
  37. criteo_api_marketingsolutions_preview/model/image_attributes.py +0 -2
  38. criteo_api_marketingsolutions_preview/model/image_set.py +0 -2
  39. criteo_api_marketingsolutions_preview/model/image_slide.py +0 -2
  40. criteo_api_marketingsolutions_preview/model/json_report_rows.py +3 -3
  41. criteo_api_marketingsolutions_preview/model/{nillable_ad_set_targeting_rule_v24_q1.py → nillable_ad_set_targeting_rule_v24_q3.py} +8 -8
  42. 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
  43. criteo_api_marketingsolutions_preview/model/nillable_lookback_window_v24_q3.py +271 -0
  44. criteo_api_marketingsolutions_preview/model/patch_ad_set_attribution_configuration_v24_q3.py +282 -0
  45. criteo_api_marketingsolutions_preview/model/{patch_ad_set_bidding_v24_q1.py → patch_ad_set_bidding_v24_q3.py} +3 -3
  46. criteo_api_marketingsolutions_preview/model/{patch_ad_set_budget_v24_q1.py → patch_ad_set_budget_v24_q3.py} +3 -3
  47. criteo_api_marketingsolutions_preview/model/{patch_ad_set_scheduling_v24_q1.py → patch_ad_set_scheduling_v24_q3.py} +3 -3
  48. criteo_api_marketingsolutions_preview/model/{patch_ad_set_v24_q1.py → patch_ad_set_v24_q3.py} +31 -25
  49. criteo_api_marketingsolutions_preview/model/product.py +4 -0
  50. criteo_api_marketingsolutions_preview/model/read_ad_set_attribution_configuration_v24_q3.py +284 -0
  51. criteo_api_marketingsolutions_preview/model/{read_ad_set_bidding_v24_q1.py → read_ad_set_bidding_v24_q3.py} +4 -4
  52. criteo_api_marketingsolutions_preview/model/{read_ad_set_budget_v24_q1.py → read_ad_set_budget_v24_q3.py} +3 -3
  53. criteo_api_marketingsolutions_preview/model/{read_ad_set_schedule_v24_q1.py → read_ad_set_schedule_v24_q3.py} +3 -3
  54. criteo_api_marketingsolutions_preview/model/{read_ad_set_v24_q1.py → read_ad_set_v24_q3.py} +31 -25
  55. criteo_api_marketingsolutions_preview/model/{read_model_ad_set_id_v24_q1.py → read_model_ad_set_id_v24_q3.py} +3 -3
  56. criteo_api_marketingsolutions_preview/model/{read_model_read_ad_set_v24_q1.py → read_model_read_ad_set_v24_q3.py} +8 -8
  57. criteo_api_marketingsolutions_preview/model/{user_profile_identifier_model.py → report_detail_warning.py} +21 -11
  58. criteo_api_marketingsolutions_preview/model/{delete_user_profile_model_resource.py → report_detail_warnings.py} +23 -15
  59. criteo_api_marketingsolutions_preview/model/report_ok_response.py +31 -17
  60. criteo_api_marketingsolutions_preview/model/{requests_patch_ad_set_v24_q1.py → requests_patch_ad_set_v24_q3.py} +8 -8
  61. criteo_api_marketingsolutions_preview/model/{creative_response.py → resource_collection_outcome_of_ad.py} +8 -12
  62. criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_coupon.py +281 -0
  63. criteo_api_marketingsolutions_preview/model/{ad_list_response.py → resource_collection_outcome_of_creative.py} +8 -14
  64. criteo_api_marketingsolutions_preview/model/{ad_write_request.py → resource_input_of_ad_write.py} +8 -8
  65. criteo_api_marketingsolutions_preview/model/{create_coupon_request.py → resource_input_of_create_coupon.py} +8 -8
  66. criteo_api_marketingsolutions_preview/model/{creative_write_request.py → resource_input_of_creative_write.py} +8 -8
  67. criteo_api_marketingsolutions_preview/model/{update_coupon_request.py → resource_input_of_update_coupon.py} +8 -8
  68. criteo_api_marketingsolutions_preview/model/{ad_resource.py → resource_of_ad.py} +5 -5
  69. criteo_api_marketingsolutions_preview/model/{ad_write_resource.py → resource_of_ad_write.py} +5 -5
  70. criteo_api_marketingsolutions_preview/model/{coupon_resource.py → resource_of_coupon.py} +5 -5
  71. criteo_api_marketingsolutions_preview/model/{coupon_supported_sizes_resource.py → resource_of_coupon_supported_sizes.py} +5 -5
  72. criteo_api_marketingsolutions_preview/model/{create_coupon_resource.py → resource_of_create_coupon.py} +5 -5
  73. criteo_api_marketingsolutions_preview/model/{creative_resource.py → resource_of_creative.py} +5 -5
  74. criteo_api_marketingsolutions_preview/model/{creative_write_resource.py → resource_of_creative_write.py} +5 -5
  75. criteo_api_marketingsolutions_preview/model/{update_coupon_resource.py → resource_of_update_coupon.py} +5 -5
  76. criteo_api_marketingsolutions_preview/model/{ad_response.py → resource_outcome_of_ad.py} +8 -12
  77. criteo_api_marketingsolutions_preview/model/{coupon_response.py → resource_outcome_of_coupon.py} +8 -12
  78. criteo_api_marketingsolutions_preview/model/{coupon_list_response.py → resource_outcome_of_coupon_supported_sizes.py} +8 -14
  79. criteo_api_marketingsolutions_preview/model/resource_outcome_of_creative.py +281 -0
  80. criteo_api_marketingsolutions_preview/model/{response_read_ad_set_v24_q1.py → response_read_ad_set_v24_q3.py} +8 -8
  81. criteo_api_marketingsolutions_preview/model/{responses_ad_set_id_v24_q1.py → responses_ad_set_id_v24_q3.py} +8 -8
  82. criteo_api_marketingsolutions_preview/model/{responses_read_ad_set_v24_q1.py → responses_read_ad_set_v24_q3.py} +8 -8
  83. criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py +13 -0
  84. criteo_api_marketingsolutions_preview/model/{write_model_patch_ad_set_v24_q1.py → write_model_patch_ad_set_v24_q3.py} +8 -8
  85. criteo_api_marketingsolutions_preview/models/__init__.py +57 -71
  86. {criteo_api_marketingsolutions_sdk-0.0.240808.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/METADATA +14 -5
  87. {criteo_api_marketingsolutions_sdk-0.0.240808.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/RECORD +89 -103
  88. {criteo_api_marketingsolutions_sdk-0.0.240808.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/WHEEL +1 -1
  89. criteo_api_marketingsolutions_preview/model/coupon_supported_sizes_response.py +0 -285
  90. criteo_api_marketingsolutions_preview/model/creative_list_response.py +0 -287
  91. criteo_api_marketingsolutions_preview/model/delete_user_profile_model.py +0 -273
  92. criteo_api_marketingsolutions_preview/model/delete_user_profile_model_list_request.py +0 -271
  93. criteo_api_marketingsolutions_preview/model/oci_brand_safety_response.py +0 -279
  94. criteo_api_marketingsolutions_preview/model/oci_brand_safety_response_data.py +0 -287
  95. criteo_api_marketingsolutions_preview/model/oci_brand_safety_rule.py +0 -275
  96. criteo_api_marketingsolutions_preview/model/oci_brand_safety_segment.py +0 -320
  97. criteo_api_marketingsolutions_preview/model/oci_targeting_node.py +0 -277
  98. criteo_api_marketingsolutions_preview/model/oci_targeting_response.py +0 -279
  99. criteo_api_marketingsolutions_preview/model/oci_targeting_response_data.py +0 -287
  100. criteo_api_marketingsolutions_preview/model/oci_targeting_rule.py +0 -275
  101. criteo_api_marketingsolutions_preview/model/set_user_profile_model.py +0 -293
  102. criteo_api_marketingsolutions_preview/model/set_user_profile_model_list_request.py +0 -271
  103. criteo_api_marketingsolutions_preview/model/set_user_profile_model_resource.py +0 -273
  104. criteo_api_marketingsolutions_preview/model/target.py +0 -274
  105. criteo_api_marketingsolutions_preview/model/target_type.py +0 -290
  106. criteo_api_marketingsolutions_preview/model/targeting_error_model.py +0 -299
  107. criteo_api_marketingsolutions_preview/model/targeting_operator.py +0 -292
  108. criteo_api_marketingsolutions_preview/model/user_profile_attribute_model.py +0 -275
  109. {criteo_api_marketingsolutions_sdk-0.0.240808.dist-info → criteo_api_marketingsolutions_sdk-0.0.250129.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,284 @@
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 CreateAdSetAttributionConfigurationV24Q3(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
+ ('attribution_method',): {
59
+ 'None': None,
60
+ 'UNKNOWN': "unknown",
61
+ 'CRITEOATTRIBUTION': "criteoAttribution",
62
+ 'GOOGLEANALYTICSLASTCLICK': "googleAnalyticsLastClick",
63
+ 'GOOGLEANALYTICSDATADRIVEN': "googleAnalyticsDataDriven",
64
+ 'LASTCLICK': "lastClick",
65
+ 'POSTCLICK': "postClick",
66
+ },
67
+ ('lookback_window',): {
68
+ 'None': None,
69
+ 'UNKNOWN': "unknown",
70
+ 'SAMESESSION': "sameSession",
71
+ 'TWENTYFOURHOURS': "twentyFourHours",
72
+ 'SEVENDAYS': "sevenDays",
73
+ 'THIRTYDAYS': "thirtyDays",
74
+ },
75
+ }
76
+
77
+ validations = {
78
+ }
79
+
80
+ @cached_property
81
+ def additional_properties_type():
82
+ """
83
+ This must be a method because a model may have properties that are
84
+ of type self, this must run after the class is loaded
85
+ """
86
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
87
+
88
+ _nullable = False
89
+
90
+ @cached_property
91
+ def openapi_types():
92
+ """
93
+ This must be a method because a model may have properties that are
94
+ of type self, this must run after the class is loaded
95
+
96
+ Returns
97
+ openapi_types (dict): The key is attribute name
98
+ and the value is attribute type.
99
+ """
100
+ return {
101
+ 'attribution_method': (str, none_type,), # noqa: E501
102
+ 'lookback_window': (str, none_type,), # noqa: E501
103
+ }
104
+
105
+ @cached_property
106
+ def discriminator():
107
+ return None
108
+
109
+
110
+ attribute_map = {
111
+ 'attribution_method': 'attributionMethod', # noqa: E501
112
+ 'lookback_window': 'lookbackWindow', # noqa: E501
113
+ }
114
+
115
+ read_only_vars = {
116
+ }
117
+
118
+ _composed_schemas = {}
119
+
120
+ @classmethod
121
+ @convert_js_args_to_python_args
122
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
123
+ """CreateAdSetAttributionConfigurationV24Q3 - a model defined in OpenAPI
124
+
125
+ Keyword Args:
126
+ _check_type (bool): if True, values for parameters in openapi_types
127
+ will be type checked and a TypeError will be
128
+ raised if the wrong type is input.
129
+ Defaults to True
130
+ _path_to_item (tuple/list): This is a list of keys or values to
131
+ drill down to the model in received_data
132
+ when deserializing a response
133
+ _spec_property_naming (bool): True if the variable names in the input data
134
+ are serialized names, as specified in the OpenAPI document.
135
+ False if the variable names in the input data
136
+ are pythonic names, e.g. snake case (default)
137
+ _configuration (Configuration): the instance to use when
138
+ deserializing a file_type parameter.
139
+ If passed, type conversion is attempted
140
+ If omitted no type conversion is done.
141
+ _visited_composed_classes (tuple): This stores a tuple of
142
+ classes that we have traveled through so that
143
+ if we see that class again we will not use its
144
+ discriminator again.
145
+ When traveling through a discriminator, the
146
+ composed schema that is
147
+ is traveled through is added to this set.
148
+ For example if Animal has a discriminator
149
+ petType and we pass in "Dog", and the class Dog
150
+ allOf includes Animal, we move through Animal
151
+ once using the discriminator, and pick Dog.
152
+ Then in Dog, we will make an instance of the
153
+ Animal class but this time we won't travel
154
+ through its discriminator because we passed in
155
+ _visited_composed_classes = (Animal,)
156
+ attribution_method (str, none_type): The attribution method.. [optional] # noqa: E501
157
+ lookback_window (str, none_type): The lookback window. Optional, should be specified only for attribution methods PostClick and LastClick.. [optional] # noqa: E501
158
+ """
159
+
160
+ _check_type = kwargs.pop('_check_type', True)
161
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
162
+ _path_to_item = kwargs.pop('_path_to_item', ())
163
+ _configuration = kwargs.pop('_configuration', None)
164
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
165
+
166
+ self = super(OpenApiModel, cls).__new__(cls)
167
+
168
+ if args:
169
+ for arg in args:
170
+ if isinstance(arg, dict):
171
+ kwargs.update(arg)
172
+ else:
173
+ raise ApiTypeError(
174
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
175
+ args,
176
+ self.__class__.__name__,
177
+ ),
178
+ path_to_item=_path_to_item,
179
+ valid_classes=(self.__class__,),
180
+ )
181
+
182
+ self._data_store = {}
183
+ self._check_type = _check_type
184
+ self._spec_property_naming = _spec_property_naming
185
+ self._path_to_item = _path_to_item
186
+ self._configuration = _configuration
187
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
188
+
189
+ for var_name, var_value in kwargs.items():
190
+ if var_name not in self.attribute_map and \
191
+ self._configuration is not None and \
192
+ self._configuration.discard_unknown_keys and \
193
+ self.additional_properties_type is None:
194
+ # discard variable.
195
+ continue
196
+ setattr(self, var_name, var_value)
197
+ return self
198
+
199
+ required_properties = set([
200
+ '_data_store',
201
+ '_check_type',
202
+ '_spec_property_naming',
203
+ '_path_to_item',
204
+ '_configuration',
205
+ '_visited_composed_classes',
206
+ ])
207
+
208
+ @convert_js_args_to_python_args
209
+ def __init__(self, *args, **kwargs): # noqa: E501
210
+ """CreateAdSetAttributionConfigurationV24Q3 - a model defined in OpenAPI
211
+
212
+ Keyword Args:
213
+ _check_type (bool): if True, values for parameters in openapi_types
214
+ will be type checked and a TypeError will be
215
+ raised if the wrong type is input.
216
+ Defaults to True
217
+ _path_to_item (tuple/list): This is a list of keys or values to
218
+ drill down to the model in received_data
219
+ when deserializing a response
220
+ _spec_property_naming (bool): True if the variable names in the input data
221
+ are serialized names, as specified in the OpenAPI document.
222
+ False if the variable names in the input data
223
+ are pythonic names, e.g. snake case (default)
224
+ _configuration (Configuration): the instance to use when
225
+ deserializing a file_type parameter.
226
+ If passed, type conversion is attempted
227
+ If omitted no type conversion is done.
228
+ _visited_composed_classes (tuple): This stores a tuple of
229
+ classes that we have traveled through so that
230
+ if we see that class again we will not use its
231
+ discriminator again.
232
+ When traveling through a discriminator, the
233
+ composed schema that is
234
+ is traveled through is added to this set.
235
+ For example if Animal has a discriminator
236
+ petType and we pass in "Dog", and the class Dog
237
+ allOf includes Animal, we move through Animal
238
+ once using the discriminator, and pick Dog.
239
+ Then in Dog, we will make an instance of the
240
+ Animal class but this time we won't travel
241
+ through its discriminator because we passed in
242
+ _visited_composed_classes = (Animal,)
243
+ attribution_method (str, none_type): The attribution method.. [optional] # noqa: E501
244
+ lookback_window (str, none_type): The lookback window. Optional, should be specified only for attribution methods PostClick and LastClick.. [optional] # noqa: E501
245
+ """
246
+
247
+ _check_type = kwargs.pop('_check_type', True)
248
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
249
+ _path_to_item = kwargs.pop('_path_to_item', ())
250
+ _configuration = kwargs.pop('_configuration', None)
251
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
252
+
253
+ if args:
254
+ for arg in args:
255
+ if isinstance(arg, dict):
256
+ kwargs.update(arg)
257
+ else:
258
+ raise ApiTypeError(
259
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
260
+ args,
261
+ self.__class__.__name__,
262
+ ),
263
+ path_to_item=_path_to_item,
264
+ valid_classes=(self.__class__,),
265
+ )
266
+
267
+ self._data_store = {}
268
+ self._check_type = _check_type
269
+ self._spec_property_naming = _spec_property_naming
270
+ self._path_to_item = _path_to_item
271
+ self._configuration = _configuration
272
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
273
+
274
+ for var_name, var_value in kwargs.items():
275
+ if var_name not in self.attribute_map and \
276
+ self._configuration is not None and \
277
+ self._configuration.discard_unknown_keys and \
278
+ self.additional_properties_type is None:
279
+ # discard variable.
280
+ continue
281
+ setattr(self, var_name, var_value)
282
+ if var_name in self.read_only_vars:
283
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
284
+ f"class with read only attributes.")
@@ -30,7 +30,7 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
 
33
- class CreateAdSetBiddingV24Q1(ModelNormal):
33
+ class CreateAdSetBiddingV24Q3(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -57,7 +57,7 @@ class CreateAdSetBiddingV24Q1(ModelNormal):
57
57
  allowed_values = {
58
58
  ('cost_controller',): {
59
59
  'COS': "COS",
60
- 'CPC': "CPC",
60
+ 'MAXCPC': "maxCPC",
61
61
  'CPI': "CPI",
62
62
  'CPM': "CPM",
63
63
  'CPO': "CPO",
@@ -114,7 +114,7 @@ class CreateAdSetBiddingV24Q1(ModelNormal):
114
114
  @classmethod
115
115
  @convert_js_args_to_python_args
116
116
  def _from_openapi_data(cls, cost_controller, *args, **kwargs): # noqa: E501
117
- """CreateAdSetBiddingV24Q1 - a model defined in OpenAPI
117
+ """CreateAdSetBiddingV24Q3 - a model defined in OpenAPI
118
118
 
119
119
  Args:
120
120
  cost_controller (str): How spend is controlled
@@ -204,7 +204,7 @@ class CreateAdSetBiddingV24Q1(ModelNormal):
204
204
 
205
205
  @convert_js_args_to_python_args
206
206
  def __init__(self, cost_controller, *args, **kwargs): # noqa: E501
207
- """CreateAdSetBiddingV24Q1 - a model defined in OpenAPI
207
+ """CreateAdSetBiddingV24Q3 - a model defined in OpenAPI
208
208
 
209
209
  Args:
210
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 CreateAdSetBudgetV24Q1(ModelNormal):
33
+ class CreateAdSetBudgetV24Q3(ModelNormal):
34
34
  """NOTE: This class is auto generated by OpenAPI Generator.
35
35
  Ref: https://openapi-generator.tech
36
36
 
@@ -137,7 +137,7 @@ class CreateAdSetBudgetV24Q1(ModelNormal):
137
137
  @classmethod
138
138
  @convert_js_args_to_python_args
139
139
  def _from_openapi_data(cls, budget_strategy, *args, **kwargs): # noqa: E501
140
- """CreateAdSetBudgetV24Q1 - a model defined in OpenAPI
140
+ """CreateAdSetBudgetV24Q3 - a model defined in OpenAPI
141
141
 
142
142
  Args:
143
143
  budget_strategy (str):
@@ -230,7 +230,7 @@ class CreateAdSetBudgetV24Q1(ModelNormal):
230
230
 
231
231
  @convert_js_args_to_python_args
232
232
  def __init__(self, budget_strategy, *args, **kwargs): # noqa: E501
233
- """CreateAdSetBudgetV24Q1 - a model defined in OpenAPI
233
+ """CreateAdSetBudgetV24Q3 - a model defined in OpenAPI
234
234
 
235
235
  Args:
236
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.ad_set_targeting_rule_v24_q1 import AdSetTargetingRuleV24Q1
34
- globals()['AdSetTargetingRuleV24Q1'] = AdSetTargetingRuleV24Q1
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 CreateAdSetGeoLocationV24Q1(ModelNormal):
37
+ class CreateAdSetGeoLocationV24Q3(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 CreateAdSetGeoLocationV24Q1(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'countries': (AdSetTargetingRuleV24Q1,), # noqa: E501
91
- 'subdivisions': (AdSetTargetingRuleV24Q1,), # noqa: E501
92
- 'zip_codes': (AdSetTargetingRuleV24Q1,), # noqa: E501
90
+ 'countries': (AdSetTargetingRuleV24Q3,), # noqa: E501
91
+ 'subdivisions': (AdSetTargetingRuleV24Q3,), # noqa: E501
92
+ 'zip_codes': (AdSetTargetingRuleV24Q3,), # noqa: E501
93
93
  }
94
94
 
95
95
  @cached_property
@@ -111,7 +111,7 @@ class CreateAdSetGeoLocationV24Q1(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """CreateAdSetGeoLocationV24Q1 - a model defined in OpenAPI
114
+ """CreateAdSetGeoLocationV24Q3 - 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 CreateAdSetGeoLocationV24Q1(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 (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
148
- subdivisions (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
149
- zip_codes (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
147
+ countries (AdSetTargetingRuleV24Q3): [optional] # noqa: E501
148
+ subdivisions (AdSetTargetingRuleV24Q3): [optional] # noqa: E501
149
+ zip_codes (AdSetTargetingRuleV24Q3): [optional] # noqa: E501
150
150
  """
151
151
 
152
152
  _check_type = kwargs.pop('_check_type', True)
@@ -199,7 +199,7 @@ class CreateAdSetGeoLocationV24Q1(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """CreateAdSetGeoLocationV24Q1 - a model defined in OpenAPI
202
+ """CreateAdSetGeoLocationV24Q3 - 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 CreateAdSetGeoLocationV24Q1(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 (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
236
- subdivisions (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
237
- zip_codes (AdSetTargetingRuleV24Q1): [optional] # noqa: E501
235
+ countries (AdSetTargetingRuleV24Q3): [optional] # noqa: E501
236
+ subdivisions (AdSetTargetingRuleV24Q3): [optional] # noqa: E501
237
+ zip_codes (AdSetTargetingRuleV24Q3): [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 CreateAdSetScheduleV24Q1(ModelNormal):
33
+ class CreateAdSetScheduleV24Q3(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 CreateAdSetScheduleV24Q1(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
- """CreateAdSetScheduleV24Q1 - a model defined in OpenAPI
106
+ """CreateAdSetScheduleV24Q3 - a model defined in OpenAPI
107
107
 
108
108
  Args:
109
109
  start_date (datetime):
@@ -193,7 +193,7 @@ class CreateAdSetScheduleV24Q1(ModelNormal):
193
193
 
194
194
  @convert_js_args_to_python_args
195
195
  def __init__(self, start_date, *args, **kwargs): # noqa: E501
196
- """CreateAdSetScheduleV24Q1 - a model defined in OpenAPI
196
+ """CreateAdSetScheduleV24Q3 - 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.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
33
+ from criteo_api_marketingsolutions_preview.model.ad_set_delivery_limitations_v24_q3 import AdSetDeliveryLimitationsV24Q3
34
+ from criteo_api_marketingsolutions_preview.model.ad_set_frequency_capping_v24_q3 import AdSetFrequencyCappingV24Q3
35
+ from criteo_api_marketingsolutions_preview.model.create_ad_set_geo_location_v24_q3 import CreateAdSetGeoLocationV24Q3
36
+ globals()['AdSetDeliveryLimitationsV24Q3'] = AdSetDeliveryLimitationsV24Q3
37
+ globals()['AdSetFrequencyCappingV24Q3'] = AdSetFrequencyCappingV24Q3
38
+ globals()['CreateAdSetGeoLocationV24Q3'] = CreateAdSetGeoLocationV24Q3
39
39
 
40
40
 
41
- class CreateAdSetTargetingV24Q1(ModelNormal):
41
+ class CreateAdSetTargetingV24Q3(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 CreateAdSetTargetingV24Q1(ModelNormal):
91
91
  """
92
92
  lazy_import()
93
93
  return {
94
- 'frequency_capping': (AdSetFrequencyCappingV24Q1,), # noqa: E501
95
- 'delivery_limitations': (AdSetDeliveryLimitationsV24Q1,), # noqa: E501
96
- 'geo_location': (CreateAdSetGeoLocationV24Q1,), # noqa: E501
94
+ 'frequency_capping': (AdSetFrequencyCappingV24Q3,), # noqa: E501
95
+ 'delivery_limitations': (AdSetDeliveryLimitationsV24Q3,), # noqa: E501
96
+ 'geo_location': (CreateAdSetGeoLocationV24Q3,), # noqa: E501
97
97
  }
98
98
 
99
99
  @cached_property
@@ -115,10 +115,10 @@ class CreateAdSetTargetingV24Q1(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
- """CreateAdSetTargetingV24Q1 - a model defined in OpenAPI
118
+ """CreateAdSetTargetingV24Q3 - a model defined in OpenAPI
119
119
 
120
120
  Args:
121
- frequency_capping (AdSetFrequencyCappingV24Q1):
121
+ frequency_capping (AdSetFrequencyCappingV24Q3):
122
122
 
123
123
  Keyword Args:
124
124
  _check_type (bool): if True, values for parameters in openapi_types
@@ -151,8 +151,8 @@ class CreateAdSetTargetingV24Q1(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 (AdSetDeliveryLimitationsV24Q1): [optional] # noqa: E501
155
- geo_location (CreateAdSetGeoLocationV24Q1): [optional] # noqa: E501
154
+ delivery_limitations (AdSetDeliveryLimitationsV24Q3): [optional] # noqa: E501
155
+ geo_location (CreateAdSetGeoLocationV24Q3): [optional] # noqa: E501
156
156
  """
157
157
 
158
158
  _check_type = kwargs.pop('_check_type', True)
@@ -206,10 +206,10 @@ class CreateAdSetTargetingV24Q1(ModelNormal):
206
206
 
207
207
  @convert_js_args_to_python_args
208
208
  def __init__(self, frequency_capping, *args, **kwargs): # noqa: E501
209
- """CreateAdSetTargetingV24Q1 - a model defined in OpenAPI
209
+ """CreateAdSetTargetingV24Q3 - a model defined in OpenAPI
210
210
 
211
211
  Args:
212
- frequency_capping (AdSetFrequencyCappingV24Q1):
212
+ frequency_capping (AdSetFrequencyCappingV24Q3):
213
213
 
214
214
  Keyword Args:
215
215
  _check_type (bool): if True, values for parameters in openapi_types
@@ -242,8 +242,8 @@ class CreateAdSetTargetingV24Q1(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 (AdSetDeliveryLimitationsV24Q1): [optional] # noqa: E501
246
- geo_location (CreateAdSetGeoLocationV24Q1): [optional] # noqa: E501
245
+ delivery_limitations (AdSetDeliveryLimitationsV24Q3): [optional] # noqa: E501
246
+ geo_location (CreateAdSetGeoLocationV24Q3): [optional] # noqa: E501
247
247
  """
248
248
 
249
249
  _check_type = kwargs.pop('_check_type', True)
@@ -30,17 +30,19 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
30
 
31
31
 
32
32
  def lazy_import():
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
-
42
-
43
- class CreateAdSetV24Q1(ModelNormal):
33
+ from criteo_api_marketingsolutions_preview.model.create_ad_set_attribution_configuration_v24_q3 import CreateAdSetAttributionConfigurationV24Q3
34
+ from criteo_api_marketingsolutions_preview.model.create_ad_set_bidding_v24_q3 import CreateAdSetBiddingV24Q3
35
+ from criteo_api_marketingsolutions_preview.model.create_ad_set_budget_v24_q3 import CreateAdSetBudgetV24Q3
36
+ from criteo_api_marketingsolutions_preview.model.create_ad_set_schedule_v24_q3 import CreateAdSetScheduleV24Q3
37
+ from criteo_api_marketingsolutions_preview.model.create_ad_set_targeting_v24_q3 import CreateAdSetTargetingV24Q3
38
+ globals()['CreateAdSetAttributionConfigurationV24Q3'] = CreateAdSetAttributionConfigurationV24Q3
39
+ globals()['CreateAdSetBiddingV24Q3'] = CreateAdSetBiddingV24Q3
40
+ globals()['CreateAdSetBudgetV24Q3'] = CreateAdSetBudgetV24Q3
41
+ globals()['CreateAdSetScheduleV24Q3'] = CreateAdSetScheduleV24Q3
42
+ globals()['CreateAdSetTargetingV24Q3'] = CreateAdSetTargetingV24Q3
43
+
44
+
45
+ class CreateAdSetV24Q3(ModelNormal):
44
46
  """NOTE: This class is auto generated by OpenAPI Generator.
45
47
  Ref: https://openapi-generator.tech
46
48
 
@@ -114,12 +116,13 @@ class CreateAdSetV24Q1(ModelNormal):
114
116
  'dataset_id': (str, none_type,), # noqa: E501
115
117
  'campaign_id': (str, none_type,), # noqa: E501
116
118
  'objective': (str,), # noqa: E501
117
- 'schedule': (CreateAdSetScheduleV24Q1,), # noqa: E501
118
- 'bidding': (CreateAdSetBiddingV24Q1,), # noqa: E501
119
- 'targeting': (CreateAdSetTargetingV24Q1,), # noqa: E501
120
- 'budget': (CreateAdSetBudgetV24Q1,), # noqa: E501
119
+ 'schedule': (CreateAdSetScheduleV24Q3,), # noqa: E501
120
+ 'bidding': (CreateAdSetBiddingV24Q3,), # noqa: E501
121
+ 'targeting': (CreateAdSetTargetingV24Q3,), # noqa: E501
122
+ 'budget': (CreateAdSetBudgetV24Q3,), # noqa: E501
121
123
  'tracking_code': (str, none_type,), # noqa: E501
122
124
  'media_type': (str,), # noqa: E501
125
+ 'attribution_configuration': (CreateAdSetAttributionConfigurationV24Q3,), # noqa: E501
123
126
  }
124
127
 
125
128
  @cached_property
@@ -138,6 +141,7 @@ class CreateAdSetV24Q1(ModelNormal):
138
141
  'budget': 'budget', # noqa: E501
139
142
  'tracking_code': 'trackingCode', # noqa: E501
140
143
  'media_type': 'mediaType', # noqa: E501
144
+ 'attribution_configuration': 'attributionConfiguration', # noqa: E501
141
145
  }
142
146
 
143
147
  read_only_vars = {
@@ -148,17 +152,17 @@ class CreateAdSetV24Q1(ModelNormal):
148
152
  @classmethod
149
153
  @convert_js_args_to_python_args
150
154
  def _from_openapi_data(cls, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, budget, tracking_code, media_type, *args, **kwargs): # noqa: E501
151
- """CreateAdSetV24Q1 - a model defined in OpenAPI
155
+ """CreateAdSetV24Q3 - a model defined in OpenAPI
152
156
 
153
157
  Args:
154
158
  name (str, none_type): Name of the ad set
155
159
  dataset_id (str, none_type): Dataset id of this ad set
156
160
  campaign_id (str, none_type): Campaign id this ad set belongs to
157
161
  objective (str): Objective of the ad set
158
- schedule (CreateAdSetScheduleV24Q1):
159
- bidding (CreateAdSetBiddingV24Q1):
160
- targeting (CreateAdSetTargetingV24Q1):
161
- budget (CreateAdSetBudgetV24Q1):
162
+ schedule (CreateAdSetScheduleV24Q3):
163
+ bidding (CreateAdSetBiddingV24Q3):
164
+ targeting (CreateAdSetTargetingV24Q3):
165
+ budget (CreateAdSetBudgetV24Q3):
162
166
  tracking_code (str, none_type): The click tracking code associated to this Ad Set.
163
167
  media_type (str): Media type for the ad set
164
168
 
@@ -193,6 +197,7 @@ class CreateAdSetV24Q1(ModelNormal):
193
197
  Animal class but this time we won't travel
194
198
  through its discriminator because we passed in
195
199
  _visited_composed_classes = (Animal,)
200
+ attribution_configuration (CreateAdSetAttributionConfigurationV24Q3): [optional] # noqa: E501
196
201
  """
197
202
 
198
203
  _check_type = kwargs.pop('_check_type', True)
@@ -255,17 +260,17 @@ class CreateAdSetV24Q1(ModelNormal):
255
260
 
256
261
  @convert_js_args_to_python_args
257
262
  def __init__(self, name, dataset_id, campaign_id, objective, schedule, bidding, targeting, budget, tracking_code, media_type, *args, **kwargs): # noqa: E501
258
- """CreateAdSetV24Q1 - a model defined in OpenAPI
263
+ """CreateAdSetV24Q3 - a model defined in OpenAPI
259
264
 
260
265
  Args:
261
266
  name (str, none_type): Name of the ad set
262
267
  dataset_id (str, none_type): Dataset id of this ad set
263
268
  campaign_id (str, none_type): Campaign id this ad set belongs to
264
269
  objective (str): Objective of the ad set
265
- schedule (CreateAdSetScheduleV24Q1):
266
- bidding (CreateAdSetBiddingV24Q1):
267
- targeting (CreateAdSetTargetingV24Q1):
268
- budget (CreateAdSetBudgetV24Q1):
270
+ schedule (CreateAdSetScheduleV24Q3):
271
+ bidding (CreateAdSetBiddingV24Q3):
272
+ targeting (CreateAdSetTargetingV24Q3):
273
+ budget (CreateAdSetBudgetV24Q3):
269
274
  tracking_code (str, none_type): The click tracking code associated to this Ad Set.
270
275
  media_type (str): Media type for the ad set
271
276
 
@@ -300,6 +305,7 @@ class CreateAdSetV24Q1(ModelNormal):
300
305
  Animal class but this time we won't travel
301
306
  through its discriminator because we passed in
302
307
  _visited_composed_classes = (Animal,)
308
+ attribution_configuration (CreateAdSetAttributionConfigurationV24Q3): [optional] # noqa: E501
303
309
  """
304
310
 
305
311
  _check_type = kwargs.pop('_check_type', True)