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
@@ -34,7 +34,7 @@ def lazy_import():
34
34
  globals()['UpdateCoupon'] = UpdateCoupon
35
35
 
36
36
 
37
- class UpdateCouponResource(ModelNormal):
37
+ class ResourceOfUpdateCoupon(ModelNormal):
38
38
  """NOTE: This class is auto generated by OpenAPI Generator.
39
39
  Ref: https://openapi-generator.tech
40
40
 
@@ -111,7 +111,7 @@ class UpdateCouponResource(ModelNormal):
111
111
  @classmethod
112
112
  @convert_js_args_to_python_args
113
113
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
114
- """UpdateCouponResource - a model defined in OpenAPI
114
+ """ResourceOfUpdateCoupon - a model defined in OpenAPI
115
115
 
116
116
  Keyword Args:
117
117
  _check_type (bool): if True, values for parameters in openapi_types
@@ -145,7 +145,7 @@ class UpdateCouponResource(ModelNormal):
145
145
  through its discriminator because we passed in
146
146
  _visited_composed_classes = (Animal,)
147
147
  attributes (UpdateCoupon): [optional] # noqa: E501
148
- id (str, none_type): [optional] # noqa: E501
148
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
149
149
  type (str, none_type): [optional] # noqa: E501
150
150
  """
151
151
 
@@ -199,7 +199,7 @@ class UpdateCouponResource(ModelNormal):
199
199
 
200
200
  @convert_js_args_to_python_args
201
201
  def __init__(self, *args, **kwargs): # noqa: E501
202
- """UpdateCouponResource - a model defined in OpenAPI
202
+ """ResourceOfUpdateCoupon - a model defined in OpenAPI
203
203
 
204
204
  Keyword Args:
205
205
  _check_type (bool): if True, values for parameters in openapi_types
@@ -233,7 +233,7 @@ class UpdateCouponResource(ModelNormal):
233
233
  through its discriminator because we passed in
234
234
  _visited_composed_classes = (Animal,)
235
235
  attributes (UpdateCoupon): [optional] # noqa: E501
236
- id (str, none_type): [optional] # noqa: E501
236
+ id (str, none_type): Unique identifier of this resource.. [optional] # noqa: E501
237
237
  type (str, none_type): [optional] # noqa: E501
238
238
  """
239
239
 
@@ -30,13 +30,13 @@ 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_resource import AdResource
34
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
35
- globals()['AdResource'] = AdResource
34
+ from criteo_api_marketingsolutions_preview.model.resource_of_ad import ResourceOfAd
36
35
  globals()['CommonProblem'] = CommonProblem
36
+ globals()['ResourceOfAd'] = ResourceOfAd
37
37
 
38
38
 
39
- class AdResponse(ModelNormal):
39
+ class ResourceOutcomeOfAd(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -64,10 +64,6 @@ class AdResponse(ModelNormal):
64
64
  }
65
65
 
66
66
  validations = {
67
- ('warnings',): {
68
- },
69
- ('errors',): {
70
- },
71
67
  }
72
68
 
73
69
  @cached_property
@@ -93,7 +89,7 @@ class AdResponse(ModelNormal):
93
89
  """
94
90
  lazy_import()
95
91
  return {
96
- 'data': (AdResource,), # noqa: E501
92
+ 'data': (ResourceOfAd,), # noqa: E501
97
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
98
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
99
95
  }
@@ -119,7 +115,7 @@ class AdResponse(ModelNormal):
119
115
  @classmethod
120
116
  @convert_js_args_to_python_args
121
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
122
- """AdResponse - a model defined in OpenAPI
118
+ """ResourceOutcomeOfAd - a model defined in OpenAPI
123
119
 
124
120
  Keyword Args:
125
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -152,7 +148,7 @@ class AdResponse(ModelNormal):
152
148
  Animal class but this time we won't travel
153
149
  through its discriminator because we passed in
154
150
  _visited_composed_classes = (Animal,)
155
- data (AdResource): [optional] # noqa: E501
151
+ data (ResourceOfAd): [optional] # noqa: E501
156
152
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
157
153
  errors ([CommonProblem], none_type): [optional] # noqa: E501
158
154
  """
@@ -207,7 +203,7 @@ class AdResponse(ModelNormal):
207
203
 
208
204
  @convert_js_args_to_python_args
209
205
  def __init__(self, *args, **kwargs): # noqa: E501
210
- """AdResponse - a model defined in OpenAPI
206
+ """ResourceOutcomeOfAd - a model defined in OpenAPI
211
207
 
212
208
  Keyword Args:
213
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -240,7 +236,7 @@ class AdResponse(ModelNormal):
240
236
  Animal class but this time we won't travel
241
237
  through its discriminator because we passed in
242
238
  _visited_composed_classes = (Animal,)
243
- data (AdResource): [optional] # noqa: E501
239
+ data (ResourceOfAd): [optional] # noqa: E501
244
240
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
245
241
  errors ([CommonProblem], none_type): [optional] # noqa: E501
246
242
  """
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_preview.model.coupon_resource import CouponResource
34
+ from criteo_api_marketingsolutions_preview.model.resource_of_coupon import ResourceOfCoupon
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['CouponResource'] = CouponResource
36
+ globals()['ResourceOfCoupon'] = ResourceOfCoupon
37
37
 
38
38
 
39
- class CouponResponse(ModelNormal):
39
+ class ResourceOutcomeOfCoupon(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -64,10 +64,6 @@ class CouponResponse(ModelNormal):
64
64
  }
65
65
 
66
66
  validations = {
67
- ('warnings',): {
68
- },
69
- ('errors',): {
70
- },
71
67
  }
72
68
 
73
69
  @cached_property
@@ -93,7 +89,7 @@ class CouponResponse(ModelNormal):
93
89
  """
94
90
  lazy_import()
95
91
  return {
96
- 'data': (CouponResource,), # noqa: E501
92
+ 'data': (ResourceOfCoupon,), # noqa: E501
97
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
98
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
99
95
  }
@@ -119,7 +115,7 @@ class CouponResponse(ModelNormal):
119
115
  @classmethod
120
116
  @convert_js_args_to_python_args
121
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
122
- """CouponResponse - a model defined in OpenAPI
118
+ """ResourceOutcomeOfCoupon - a model defined in OpenAPI
123
119
 
124
120
  Keyword Args:
125
121
  _check_type (bool): if True, values for parameters in openapi_types
@@ -152,7 +148,7 @@ class CouponResponse(ModelNormal):
152
148
  Animal class but this time we won't travel
153
149
  through its discriminator because we passed in
154
150
  _visited_composed_classes = (Animal,)
155
- data (CouponResource): [optional] # noqa: E501
151
+ data (ResourceOfCoupon): [optional] # noqa: E501
156
152
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
157
153
  errors ([CommonProblem], none_type): [optional] # noqa: E501
158
154
  """
@@ -207,7 +203,7 @@ class CouponResponse(ModelNormal):
207
203
 
208
204
  @convert_js_args_to_python_args
209
205
  def __init__(self, *args, **kwargs): # noqa: E501
210
- """CouponResponse - a model defined in OpenAPI
206
+ """ResourceOutcomeOfCoupon - a model defined in OpenAPI
211
207
 
212
208
  Keyword Args:
213
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -240,7 +236,7 @@ class CouponResponse(ModelNormal):
240
236
  Animal class but this time we won't travel
241
237
  through its discriminator because we passed in
242
238
  _visited_composed_classes = (Animal,)
243
- data (CouponResource): [optional] # noqa: E501
239
+ data (ResourceOfCoupon): [optional] # noqa: E501
244
240
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
245
241
  errors ([CommonProblem], none_type): [optional] # noqa: E501
246
242
  """
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_preview.model.coupon_resource import CouponResource
34
+ from criteo_api_marketingsolutions_preview.model.resource_of_coupon_supported_sizes import ResourceOfCouponSupportedSizes
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['CouponResource'] = CouponResource
36
+ globals()['ResourceOfCouponSupportedSizes'] = ResourceOfCouponSupportedSizes
37
37
 
38
38
 
39
- class CouponListResponse(ModelNormal):
39
+ class ResourceOutcomeOfCouponSupportedSizes(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -64,12 +64,6 @@ class CouponListResponse(ModelNormal):
64
64
  }
65
65
 
66
66
  validations = {
67
- ('data',): {
68
- },
69
- ('warnings',): {
70
- },
71
- ('errors',): {
72
- },
73
67
  }
74
68
 
75
69
  @cached_property
@@ -95,7 +89,7 @@ class CouponListResponse(ModelNormal):
95
89
  """
96
90
  lazy_import()
97
91
  return {
98
- 'data': ([CouponResource], none_type,), # noqa: E501
92
+ 'data': (ResourceOfCouponSupportedSizes,), # noqa: E501
99
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
100
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
101
95
  }
@@ -121,7 +115,7 @@ class CouponListResponse(ModelNormal):
121
115
  @classmethod
122
116
  @convert_js_args_to_python_args
123
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
124
- """CouponListResponse - a model defined in OpenAPI
118
+ """ResourceOutcomeOfCouponSupportedSizes - 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 CouponListResponse(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
- data ([CouponResource], none_type): [optional] # noqa: E501
151
+ data (ResourceOfCouponSupportedSizes): [optional] # noqa: E501
158
152
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
159
153
  errors ([CommonProblem], none_type): [optional] # noqa: E501
160
154
  """
@@ -209,7 +203,7 @@ class CouponListResponse(ModelNormal):
209
203
 
210
204
  @convert_js_args_to_python_args
211
205
  def __init__(self, *args, **kwargs): # noqa: E501
212
- """CouponListResponse - a model defined in OpenAPI
206
+ """ResourceOutcomeOfCouponSupportedSizes - a model defined in OpenAPI
213
207
 
214
208
  Keyword Args:
215
209
  _check_type (bool): if True, values for parameters in openapi_types
@@ -242,7 +236,7 @@ class CouponListResponse(ModelNormal):
242
236
  Animal class but this time we won't travel
243
237
  through its discriminator because we passed in
244
238
  _visited_composed_classes = (Animal,)
245
- data ([CouponResource], none_type): [optional] # noqa: E501
239
+ data (ResourceOfCouponSupportedSizes): [optional] # noqa: E501
246
240
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
247
241
  errors ([CommonProblem], none_type): [optional] # noqa: E501
248
242
  """
@@ -0,0 +1,281 @@
1
+ """
2
+ Criteo API
3
+
4
+ Criteo API - MarketingSolutions # noqa: E501
5
+
6
+ The version of the OpenAPI document: preview
7
+ Generated by: https://openapi-generator.tech
8
+ """
9
+
10
+
11
+ import re # noqa: F401
12
+ import sys # noqa: F401
13
+
14
+ from criteo_api_marketingsolutions_preview.model_utils import ( # noqa: F401
15
+ ApiTypeError,
16
+ ModelComposed,
17
+ ModelNormal,
18
+ ModelSimple,
19
+ cached_property,
20
+ change_keys_js_to_python,
21
+ convert_js_args_to_python_args,
22
+ date,
23
+ datetime,
24
+ file_type,
25
+ none_type,
26
+ validate_get_composed_info,
27
+ OpenApiModel
28
+ )
29
+ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
30
+
31
+
32
+ def lazy_import():
33
+ from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
+ from criteo_api_marketingsolutions_preview.model.resource_of_creative import ResourceOfCreative
35
+ globals()['CommonProblem'] = CommonProblem
36
+ globals()['ResourceOfCreative'] = ResourceOfCreative
37
+
38
+
39
+ class ResourceOutcomeOfCreative(ModelNormal):
40
+ """NOTE: This class is auto generated by OpenAPI Generator.
41
+ Ref: https://openapi-generator.tech
42
+
43
+ Do not edit the class manually.
44
+
45
+ Attributes:
46
+ allowed_values (dict): The key is the tuple path to the attribute
47
+ and the for var_name this is (var_name,). The value is a dict
48
+ with a capitalized key describing the allowed value and an allowed
49
+ value. These dicts store the allowed enum values.
50
+ attribute_map (dict): The key is attribute name
51
+ and the value is json key in definition.
52
+ discriminator_value_class_map (dict): A dict to go from the discriminator
53
+ variable value to the discriminator class name.
54
+ validations (dict): The key is the tuple path to the attribute
55
+ and the for var_name this is (var_name,). The value is a dict
56
+ that stores validations for max_length, min_length, max_items,
57
+ min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
58
+ inclusive_minimum, and regex.
59
+ additional_properties_type (tuple): A tuple of classes accepted
60
+ as additional properties values.
61
+ """
62
+
63
+ allowed_values = {
64
+ }
65
+
66
+ validations = {
67
+ }
68
+
69
+ @cached_property
70
+ def additional_properties_type():
71
+ """
72
+ This must be a method because a model may have properties that are
73
+ of type self, this must run after the class is loaded
74
+ """
75
+ lazy_import()
76
+ return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
77
+
78
+ _nullable = False
79
+
80
+ @cached_property
81
+ def openapi_types():
82
+ """
83
+ This must be a method because a model may have properties that are
84
+ of type self, this must run after the class is loaded
85
+
86
+ Returns
87
+ openapi_types (dict): The key is attribute name
88
+ and the value is attribute type.
89
+ """
90
+ lazy_import()
91
+ return {
92
+ 'data': (ResourceOfCreative,), # noqa: E501
93
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
+ 'errors': ([CommonProblem], none_type,), # noqa: E501
95
+ }
96
+
97
+ @cached_property
98
+ def discriminator():
99
+ return None
100
+
101
+
102
+ attribute_map = {
103
+ 'data': 'data', # noqa: E501
104
+ 'warnings': 'warnings', # noqa: E501
105
+ 'errors': 'errors', # noqa: E501
106
+ }
107
+
108
+ read_only_vars = {
109
+ 'warnings', # noqa: E501
110
+ 'errors', # noqa: E501
111
+ }
112
+
113
+ _composed_schemas = {}
114
+
115
+ @classmethod
116
+ @convert_js_args_to_python_args
117
+ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
+ """ResourceOutcomeOfCreative - a model defined in OpenAPI
119
+
120
+ Keyword Args:
121
+ _check_type (bool): if True, values for parameters in openapi_types
122
+ will be type checked and a TypeError will be
123
+ raised if the wrong type is input.
124
+ Defaults to True
125
+ _path_to_item (tuple/list): This is a list of keys or values to
126
+ drill down to the model in received_data
127
+ when deserializing a response
128
+ _spec_property_naming (bool): True if the variable names in the input data
129
+ are serialized names, as specified in the OpenAPI document.
130
+ False if the variable names in the input data
131
+ are pythonic names, e.g. snake case (default)
132
+ _configuration (Configuration): the instance to use when
133
+ deserializing a file_type parameter.
134
+ If passed, type conversion is attempted
135
+ If omitted no type conversion is done.
136
+ _visited_composed_classes (tuple): This stores a tuple of
137
+ classes that we have traveled through so that
138
+ if we see that class again we will not use its
139
+ discriminator again.
140
+ When traveling through a discriminator, the
141
+ composed schema that is
142
+ is traveled through is added to this set.
143
+ For example if Animal has a discriminator
144
+ petType and we pass in "Dog", and the class Dog
145
+ allOf includes Animal, we move through Animal
146
+ once using the discriminator, and pick Dog.
147
+ Then in Dog, we will make an instance of the
148
+ Animal class but this time we won't travel
149
+ through its discriminator because we passed in
150
+ _visited_composed_classes = (Animal,)
151
+ data (ResourceOfCreative): [optional] # noqa: E501
152
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
154
+ """
155
+
156
+ _check_type = kwargs.pop('_check_type', True)
157
+ _spec_property_naming = kwargs.pop('_spec_property_naming', True)
158
+ _path_to_item = kwargs.pop('_path_to_item', ())
159
+ _configuration = kwargs.pop('_configuration', None)
160
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
161
+
162
+ self = super(OpenApiModel, cls).__new__(cls)
163
+
164
+ if args:
165
+ for arg in args:
166
+ if isinstance(arg, dict):
167
+ kwargs.update(arg)
168
+ else:
169
+ raise ApiTypeError(
170
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
171
+ args,
172
+ self.__class__.__name__,
173
+ ),
174
+ path_to_item=_path_to_item,
175
+ valid_classes=(self.__class__,),
176
+ )
177
+
178
+ self._data_store = {}
179
+ self._check_type = _check_type
180
+ self._spec_property_naming = _spec_property_naming
181
+ self._path_to_item = _path_to_item
182
+ self._configuration = _configuration
183
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
184
+
185
+ for var_name, var_value in kwargs.items():
186
+ if var_name not in self.attribute_map and \
187
+ self._configuration is not None and \
188
+ self._configuration.discard_unknown_keys and \
189
+ self.additional_properties_type is None:
190
+ # discard variable.
191
+ continue
192
+ setattr(self, var_name, var_value)
193
+ return self
194
+
195
+ required_properties = set([
196
+ '_data_store',
197
+ '_check_type',
198
+ '_spec_property_naming',
199
+ '_path_to_item',
200
+ '_configuration',
201
+ '_visited_composed_classes',
202
+ ])
203
+
204
+ @convert_js_args_to_python_args
205
+ def __init__(self, *args, **kwargs): # noqa: E501
206
+ """ResourceOutcomeOfCreative - a model defined in OpenAPI
207
+
208
+ Keyword Args:
209
+ _check_type (bool): if True, values for parameters in openapi_types
210
+ will be type checked and a TypeError will be
211
+ raised if the wrong type is input.
212
+ Defaults to True
213
+ _path_to_item (tuple/list): This is a list of keys or values to
214
+ drill down to the model in received_data
215
+ when deserializing a response
216
+ _spec_property_naming (bool): True if the variable names in the input data
217
+ are serialized names, as specified in the OpenAPI document.
218
+ False if the variable names in the input data
219
+ are pythonic names, e.g. snake case (default)
220
+ _configuration (Configuration): the instance to use when
221
+ deserializing a file_type parameter.
222
+ If passed, type conversion is attempted
223
+ If omitted no type conversion is done.
224
+ _visited_composed_classes (tuple): This stores a tuple of
225
+ classes that we have traveled through so that
226
+ if we see that class again we will not use its
227
+ discriminator again.
228
+ When traveling through a discriminator, the
229
+ composed schema that is
230
+ is traveled through is added to this set.
231
+ For example if Animal has a discriminator
232
+ petType and we pass in "Dog", and the class Dog
233
+ allOf includes Animal, we move through Animal
234
+ once using the discriminator, and pick Dog.
235
+ Then in Dog, we will make an instance of the
236
+ Animal class but this time we won't travel
237
+ through its discriminator because we passed in
238
+ _visited_composed_classes = (Animal,)
239
+ data (ResourceOfCreative): [optional] # noqa: E501
240
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
+ errors ([CommonProblem], none_type): [optional] # noqa: E501
242
+ """
243
+
244
+ _check_type = kwargs.pop('_check_type', True)
245
+ _spec_property_naming = kwargs.pop('_spec_property_naming', False)
246
+ _path_to_item = kwargs.pop('_path_to_item', ())
247
+ _configuration = kwargs.pop('_configuration', None)
248
+ _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
249
+
250
+ if args:
251
+ for arg in args:
252
+ if isinstance(arg, dict):
253
+ kwargs.update(arg)
254
+ else:
255
+ raise ApiTypeError(
256
+ "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
257
+ args,
258
+ self.__class__.__name__,
259
+ ),
260
+ path_to_item=_path_to_item,
261
+ valid_classes=(self.__class__,),
262
+ )
263
+
264
+ self._data_store = {}
265
+ self._check_type = _check_type
266
+ self._spec_property_naming = _spec_property_naming
267
+ self._path_to_item = _path_to_item
268
+ self._configuration = _configuration
269
+ self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
270
+
271
+ for var_name, var_value in kwargs.items():
272
+ if var_name not in self.attribute_map and \
273
+ self._configuration is not None and \
274
+ self._configuration.discard_unknown_keys and \
275
+ self.additional_properties_type is None:
276
+ # discard variable.
277
+ continue
278
+ setattr(self, var_name, var_value)
279
+ if var_name in self.read_only_vars:
280
+ raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
281
+ f"class with read only attributes.")
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q1 import ReadModelReadAdSetV24Q1
34
+ from criteo_api_marketingsolutions_preview.model.read_model_read_ad_set_v24_q3 import ReadModelReadAdSetV24Q3
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ReadModelReadAdSetV24Q1'] = ReadModelReadAdSetV24Q1
36
+ globals()['ReadModelReadAdSetV24Q3'] = ReadModelReadAdSetV24Q3
37
37
 
38
38
 
39
- class ResponseReadAdSetV24Q1(ModelNormal):
39
+ class ResponseReadAdSetV24Q3(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -89,7 +89,7 @@ class ResponseReadAdSetV24Q1(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': (ReadModelReadAdSetV24Q1,), # noqa: E501
92
+ 'data': (ReadModelReadAdSetV24Q3,), # noqa: E501
93
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
94
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
@@ -115,7 +115,7 @@ class ResponseReadAdSetV24Q1(ModelNormal):
115
115
  @classmethod
116
116
  @convert_js_args_to_python_args
117
117
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
118
- """ResponseReadAdSetV24Q1 - a model defined in OpenAPI
118
+ """ResponseReadAdSetV24Q3 - 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,7 +148,7 @@ class ResponseReadAdSetV24Q1(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
- data (ReadModelReadAdSetV24Q1): [optional] # noqa: E501
151
+ data (ReadModelReadAdSetV24Q3): [optional] # noqa: E501
152
152
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
153
  errors ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
@@ -203,7 +203,7 @@ class ResponseReadAdSetV24Q1(ModelNormal):
203
203
 
204
204
  @convert_js_args_to_python_args
205
205
  def __init__(self, *args, **kwargs): # noqa: E501
206
- """ResponseReadAdSetV24Q1 - a model defined in OpenAPI
206
+ """ResponseReadAdSetV24Q3 - 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,7 +236,7 @@ class ResponseReadAdSetV24Q1(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
- data (ReadModelReadAdSetV24Q1): [optional] # noqa: E501
239
+ data (ReadModelReadAdSetV24Q3): [optional] # noqa: E501
240
240
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
241
  errors ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
@@ -31,12 +31,12 @@ from criteo_api_marketingsolutions_preview.exceptions import ApiAttributeError
31
31
 
32
32
  def lazy_import():
33
33
  from criteo_api_marketingsolutions_preview.model.common_problem import CommonProblem
34
- from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id_v24_q1 import ReadModelAdSetIdV24Q1
34
+ from criteo_api_marketingsolutions_preview.model.read_model_ad_set_id_v24_q3 import ReadModelAdSetIdV24Q3
35
35
  globals()['CommonProblem'] = CommonProblem
36
- globals()['ReadModelAdSetIdV24Q1'] = ReadModelAdSetIdV24Q1
36
+ globals()['ReadModelAdSetIdV24Q3'] = ReadModelAdSetIdV24Q3
37
37
 
38
38
 
39
- class ResponsesAdSetIdV24Q1(ModelNormal):
39
+ class ResponsesAdSetIdV24Q3(ModelNormal):
40
40
  """NOTE: This class is auto generated by OpenAPI Generator.
41
41
  Ref: https://openapi-generator.tech
42
42
 
@@ -89,7 +89,7 @@ class ResponsesAdSetIdV24Q1(ModelNormal):
89
89
  """
90
90
  lazy_import()
91
91
  return {
92
- 'data': ([ReadModelAdSetIdV24Q1], none_type,), # noqa: E501
92
+ 'data': ([ReadModelAdSetIdV24Q3], none_type,), # noqa: E501
93
93
  'warnings': ([CommonProblem], none_type,), # noqa: E501
94
94
  'errors': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
@@ -116,7 +116,7 @@ class ResponsesAdSetIdV24Q1(ModelNormal):
116
116
  @classmethod
117
117
  @convert_js_args_to_python_args
118
118
  def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
119
- """ResponsesAdSetIdV24Q1 - a model defined in OpenAPI
119
+ """ResponsesAdSetIdV24Q3 - a model defined in OpenAPI
120
120
 
121
121
  Keyword Args:
122
122
  _check_type (bool): if True, values for parameters in openapi_types
@@ -149,7 +149,7 @@ class ResponsesAdSetIdV24Q1(ModelNormal):
149
149
  Animal class but this time we won't travel
150
150
  through its discriminator because we passed in
151
151
  _visited_composed_classes = (Animal,)
152
- data ([ReadModelAdSetIdV24Q1], none_type): [optional] # noqa: E501
152
+ data ([ReadModelAdSetIdV24Q3], none_type): [optional] # noqa: E501
153
153
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  errors ([CommonProblem], none_type): [optional] # noqa: E501
155
155
  """
@@ -204,7 +204,7 @@ class ResponsesAdSetIdV24Q1(ModelNormal):
204
204
 
205
205
  @convert_js_args_to_python_args
206
206
  def __init__(self, *args, **kwargs): # noqa: E501
207
- """ResponsesAdSetIdV24Q1 - a model defined in OpenAPI
207
+ """ResponsesAdSetIdV24Q3 - a model defined in OpenAPI
208
208
 
209
209
  Keyword Args:
210
210
  _check_type (bool): if True, values for parameters in openapi_types
@@ -237,7 +237,7 @@ class ResponsesAdSetIdV24Q1(ModelNormal):
237
237
  Animal class but this time we won't travel
238
238
  through its discriminator because we passed in
239
239
  _visited_composed_classes = (Animal,)
240
- data ([ReadModelAdSetIdV24Q1], none_type): [optional] # noqa: E501
240
+ data ([ReadModelAdSetIdV24Q3], none_type): [optional] # noqa: E501
241
241
  warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  errors ([CommonProblem], none_type): [optional] # noqa: E501
243
243
  """