criteo-api-marketingsolutions-sdk 2025.1.0.250320__py3-none-any.whl → 2025.1.0.250409__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 (137) hide show
  1. {criteo_api_marketingsolutions_sdk-2025.1.0.250320.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250409.dist-info}/METADATA +3 -3
  2. {criteo_api_marketingsolutions_sdk-2025.1.0.250320.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250409.dist-info}/RECORD +137 -137
  3. {criteo_api_marketingsolutions_sdk-2025.1.0.250320.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250409.dist-info}/WHEEL +1 -1
  4. criteo_api_marketingsolutions_v2025_01/__init__.py +1 -1
  5. criteo_api_marketingsolutions_v2025_01/api/creative_api.py +12 -12
  6. criteo_api_marketingsolutions_v2025_01/api_client.py +1 -1
  7. criteo_api_marketingsolutions_v2025_01/configuration.py +1 -1
  8. criteo_api_marketingsolutions_v2025_01/model/ad.py +20 -20
  9. criteo_api_marketingsolutions_v2025_01/model/ad_set_audience_link_entity_v1_response.py +5 -5
  10. criteo_api_marketingsolutions_v2025_01/model/ad_set_category_bid.py +4 -4
  11. criteo_api_marketingsolutions_v2025_01/model/ad_set_category_bid_list_response.py +5 -5
  12. criteo_api_marketingsolutions_v2025_01/model/ad_set_delivery_limitations_v24_q1.py +9 -9
  13. criteo_api_marketingsolutions_v2025_01/model/ad_set_display_multiplier_list_response.py +5 -5
  14. criteo_api_marketingsolutions_v2025_01/model/ad_set_targeting_v24_q1.py +4 -4
  15. criteo_api_marketingsolutions_v2025_01/model/ad_write.py +18 -18
  16. criteo_api_marketingsolutions_v2025_01/model/adaptive_attributes.py +42 -42
  17. criteo_api_marketingsolutions_v2025_01/model/adaptive_colors.py +20 -20
  18. criteo_api_marketingsolutions_v2025_01/model/adaptive_write_attributes.py +44 -44
  19. criteo_api_marketingsolutions_v2025_01/model/algebra_node_v1.py +8 -8
  20. criteo_api_marketingsolutions_v2025_01/model/application_summary_model.py +8 -8
  21. criteo_api_marketingsolutions_v2025_01/model/application_summary_model_resource.py +4 -4
  22. criteo_api_marketingsolutions_v2025_01/model/application_summary_model_response.py +5 -5
  23. criteo_api_marketingsolutions_v2025_01/model/audience_create_entity_v1.py +8 -8
  24. criteo_api_marketingsolutions_v2025_01/model/audience_create_entity_v1_resource.py +4 -4
  25. criteo_api_marketingsolutions_v2025_01/model/audience_entity_v1.py +20 -20
  26. criteo_api_marketingsolutions_v2025_01/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +9 -9
  27. criteo_api_marketingsolutions_v2025_01/model/audience_entity_v1_list_response.py +5 -5
  28. criteo_api_marketingsolutions_v2025_01/model/audience_error.py +16 -16
  29. criteo_api_marketingsolutions_v2025_01/model/audience_estimate_size_entity_v1_resource.py +4 -4
  30. criteo_api_marketingsolutions_v2025_01/model/audience_id_entity_v1_list_response.py +5 -5
  31. criteo_api_marketingsolutions_v2025_01/model/audience_name_description.py +4 -4
  32. criteo_api_marketingsolutions_v2025_01/model/audience_search_entity_v1.py +8 -8
  33. criteo_api_marketingsolutions_v2025_01/model/audience_search_entity_v1_resource.py +4 -4
  34. criteo_api_marketingsolutions_v2025_01/model/audience_search_metadata_v1.py +4 -4
  35. criteo_api_marketingsolutions_v2025_01/model/audience_segment_create_entity_v1.py +20 -20
  36. criteo_api_marketingsolutions_v2025_01/model/audience_segment_create_entity_v1_resource.py +4 -4
  37. criteo_api_marketingsolutions_v2025_01/model/audience_segment_entity_v1.py +36 -36
  38. criteo_api_marketingsolutions_v2025_01/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +9 -9
  39. criteo_api_marketingsolutions_v2025_01/model/audience_segment_entity_v1_list_response.py +5 -5
  40. criteo_api_marketingsolutions_v2025_01/model/audience_segment_id_entity_v1_list_response.py +5 -5
  41. criteo_api_marketingsolutions_v2025_01/model/audience_segment_search_entity_v1.py +4 -4
  42. criteo_api_marketingsolutions_v2025_01/model/audience_segment_search_entity_v1_resource.py +4 -4
  43. criteo_api_marketingsolutions_v2025_01/model/audience_segment_search_metadata_v1.py +4 -4
  44. criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_entity_v1_list_response.py +5 -5
  45. criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_estimation_entity_v1_resource.py +4 -4
  46. criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_estimation_v1_resource.py +4 -4
  47. criteo_api_marketingsolutions_v2025_01/model/audience_segment_size_estimation_v1_response.py +5 -5
  48. criteo_api_marketingsolutions_v2025_01/model/audience_segment_update_entity_v1.py +8 -8
  49. criteo_api_marketingsolutions_v2025_01/model/audience_size_entity_v1_list_response.py +5 -5
  50. criteo_api_marketingsolutions_v2025_01/model/audience_size_estimation_v1_resource.py +4 -4
  51. criteo_api_marketingsolutions_v2025_01/model/audience_size_estimation_v1_response.py +5 -5
  52. criteo_api_marketingsolutions_v2025_01/model/audience_update_entity_v1.py +8 -8
  53. criteo_api_marketingsolutions_v2025_01/model/audience_warning.py +22 -22
  54. criteo_api_marketingsolutions_v2025_01/model/behavioral_v1.py +4 -4
  55. criteo_api_marketingsolutions_v2025_01/model/budget_automation.py +4 -4
  56. criteo_api_marketingsolutions_v2025_01/model/campaign_budget_automation_v23_q1.py +4 -4
  57. criteo_api_marketingsolutions_v2025_01/model/campaign_search_filters_v23_q1.py +4 -4
  58. criteo_api_marketingsolutions_v2025_01/model/campaign_spend_limit_v23_q1.py +13 -13
  59. criteo_api_marketingsolutions_v2025_01/model/campaign_v23_q1.py +12 -12
  60. criteo_api_marketingsolutions_v2025_01/model/campaign_v23_q1_list_response.py +5 -5
  61. criteo_api_marketingsolutions_v2025_01/model/campaign_v23_q1_response.py +5 -5
  62. criteo_api_marketingsolutions_v2025_01/model/common_problem.py +20 -20
  63. criteo_api_marketingsolutions_v2025_01/model/contact_list_statistics_entity_v1.py +4 -4
  64. criteo_api_marketingsolutions_v2025_01/model/contact_list_statistics_entity_v1_response.py +5 -5
  65. criteo_api_marketingsolutions_v2025_01/model/contactlist_amendment.py +8 -8
  66. criteo_api_marketingsolutions_v2025_01/model/contactlist_amendment_attributes.py +12 -12
  67. criteo_api_marketingsolutions_v2025_01/model/contactlist_operation.py +8 -8
  68. criteo_api_marketingsolutions_v2025_01/model/contactlist_operation_attributes.py +8 -8
  69. criteo_api_marketingsolutions_v2025_01/model/coupon.py +40 -40
  70. criteo_api_marketingsolutions_v2025_01/model/coupon_supported_sizes.py +4 -4
  71. criteo_api_marketingsolutions_v2025_01/model/create_ad_set_budget_v24_q1.py +15 -15
  72. criteo_api_marketingsolutions_v2025_01/model/create_ad_set_v24_q1.py +30 -30
  73. criteo_api_marketingsolutions_v2025_01/model/create_campaign.py +8 -8
  74. criteo_api_marketingsolutions_v2025_01/model/create_campaign_spend_limit.py +4 -4
  75. criteo_api_marketingsolutions_v2025_01/model/create_coupon.py +34 -34
  76. criteo_api_marketingsolutions_v2025_01/model/create_image_slide.py +4 -4
  77. criteo_api_marketingsolutions_v2025_01/model/creative.py +30 -30
  78. criteo_api_marketingsolutions_v2025_01/model/creative_write.py +26 -26
  79. criteo_api_marketingsolutions_v2025_01/model/criteo_api_error.py +26 -26
  80. criteo_api_marketingsolutions_v2025_01/model/criteo_api_warning.py +22 -22
  81. criteo_api_marketingsolutions_v2025_01/model/dynamic_attributes.py +12 -12
  82. criteo_api_marketingsolutions_v2025_01/model/dynamic_write_attributes.py +14 -14
  83. criteo_api_marketingsolutions_v2025_01/model/entity_of_portfolio_message.py +8 -8
  84. criteo_api_marketingsolutions_v2025_01/model/image_attributes.py +4 -4
  85. criteo_api_marketingsolutions_v2025_01/model/image_slide.py +4 -4
  86. criteo_api_marketingsolutions_v2025_01/model/in_market_audience_segment_brand_entity_v1_list_response.py +5 -5
  87. criteo_api_marketingsolutions_v2025_01/model/in_market_audience_segment_interest_entity_v1_list_response.py +5 -5
  88. criteo_api_marketingsolutions_v2025_01/model/in_market_create_v1.py +6 -6
  89. criteo_api_marketingsolutions_v2025_01/model/in_market_size_estimation_v1.py +6 -6
  90. criteo_api_marketingsolutions_v2025_01/model/in_market_update_v1.py +10 -10
  91. criteo_api_marketingsolutions_v2025_01/model/in_market_v1.py +10 -10
  92. criteo_api_marketingsolutions_v2025_01/model/outcome.py +5 -5
  93. criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_budget_v24_q1.py +25 -25
  94. criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_category_bid_result_list_response.py +5 -5
  95. criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_display_multiplier_result_list_response.py +5 -5
  96. criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_scheduling_v24_q1.py +4 -4
  97. criteo_api_marketingsolutions_v2025_01/model/patch_ad_set_v24_q1.py +8 -8
  98. criteo_api_marketingsolutions_v2025_01/model/patch_campaign.py +4 -4
  99. criteo_api_marketingsolutions_v2025_01/model/patch_campaign_spend_limit.py +13 -13
  100. criteo_api_marketingsolutions_v2025_01/model/patch_campaign_write_resource.py +4 -4
  101. criteo_api_marketingsolutions_v2025_01/model/patch_marketing_campaign_budget_automation.py +4 -4
  102. criteo_api_marketingsolutions_v2025_01/model/patch_result_campaign_list_response.py +5 -5
  103. criteo_api_marketingsolutions_v2025_01/model/placements_report_query_message.py +28 -28
  104. criteo_api_marketingsolutions_v2025_01/model/placements_report_query_message_resource.py +4 -4
  105. criteo_api_marketingsolutions_v2025_01/model/point_of_interest_v1.py +4 -4
  106. criteo_api_marketingsolutions_v2025_01/model/prospecting_create_v1.py +4 -4
  107. criteo_api_marketingsolutions_v2025_01/model/prospecting_update_v1.py +4 -4
  108. criteo_api_marketingsolutions_v2025_01/model/prospecting_v1.py +4 -4
  109. criteo_api_marketingsolutions_v2025_01/model/read_ad_set_budget_v24_q1.py +25 -25
  110. criteo_api_marketingsolutions_v2025_01/model/read_ad_set_schedule_v24_q1.py +8 -8
  111. criteo_api_marketingsolutions_v2025_01/model/read_ad_set_v24_q1.py +25 -25
  112. criteo_api_marketingsolutions_v2025_01/model/read_model_ad_set_id_v24_q1.py +4 -4
  113. criteo_api_marketingsolutions_v2025_01/model/read_model_read_ad_set_v24_q1.py +4 -4
  114. criteo_api_marketingsolutions_v2025_01/model/resource_collection_outcome_of_ad.py +5 -5
  115. criteo_api_marketingsolutions_v2025_01/model/resource_collection_outcome_of_coupon.py +5 -5
  116. criteo_api_marketingsolutions_v2025_01/model/resource_collection_outcome_of_creative.py +5 -5
  117. criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_ad.py +5 -5
  118. criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_coupon.py +5 -5
  119. criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_coupon_supported_sizes.py +5 -5
  120. criteo_api_marketingsolutions_v2025_01/model/resource_outcome_of_creative.py +5 -5
  121. criteo_api_marketingsolutions_v2025_01/model/response_read_ad_set_v24_q1.py +5 -5
  122. criteo_api_marketingsolutions_v2025_01/model/responses_ad_set_id.py +5 -5
  123. criteo_api_marketingsolutions_v2025_01/model/responses_ad_set_id_v24_q1.py +5 -5
  124. criteo_api_marketingsolutions_v2025_01/model/responses_read_ad_set_v24_q1.py +5 -5
  125. criteo_api_marketingsolutions_v2025_01/model/retargeting_create_v1.py +14 -14
  126. criteo_api_marketingsolutions_v2025_01/model/retargeting_update_v1.py +8 -8
  127. criteo_api_marketingsolutions_v2025_01/model/retargeting_v1.py +8 -8
  128. criteo_api_marketingsolutions_v2025_01/model/size.py +4 -4
  129. criteo_api_marketingsolutions_v2025_01/model/statistics_report_query_message.py +24 -24
  130. criteo_api_marketingsolutions_v2025_01/model/transactions_report_query_message.py +8 -8
  131. criteo_api_marketingsolutions_v2025_01/model/transactions_report_query_message_resource.py +4 -4
  132. criteo_api_marketingsolutions_v2025_01/model/transparency_query_message.py +8 -8
  133. criteo_api_marketingsolutions_v2025_01/model/transparency_report.py +8 -8
  134. criteo_api_marketingsolutions_v2025_01/model/transparency_report_list_response.py +5 -5
  135. criteo_api_marketingsolutions_v2025_01/model/transparency_report_resource.py +4 -4
  136. criteo_api_marketingsolutions_v2025_01/model/write_model_patch_ad_set_v24_q1.py +4 -4
  137. {criteo_api_marketingsolutions_sdk-2025.1.0.250320.dist-info → criteo_api_marketingsolutions_sdk-2025.1.0.250409.dist-info}/top_level.txt +0 -0
@@ -66,7 +66,7 @@ class CreateCoupon(ModelNormal):
66
66
  }
67
67
 
68
68
  validations = {
69
- ('show_every',): {
69
+ ('rotations_number',): {
70
70
  'inclusive_maximum': 10,
71
71
  'inclusive_minimum': 1,
72
72
  },
@@ -74,7 +74,7 @@ class CreateCoupon(ModelNormal):
74
74
  'inclusive_maximum': 5,
75
75
  'inclusive_minimum': 1,
76
76
  },
77
- ('rotations_number',): {
77
+ ('show_every',): {
78
78
  'inclusive_maximum': 10,
79
79
  'inclusive_minimum': 1,
80
80
  },
@@ -103,15 +103,15 @@ class CreateCoupon(ModelNormal):
103
103
  """
104
104
  lazy_import()
105
105
  return {
106
- 'name': (str,), # noqa: E501
107
106
  'ad_set_id': (str,), # noqa: E501
108
- 'landing_page_url': (str,), # noqa: E501
109
- 'start_date': (str,), # noqa: E501
110
107
  'format': (str,), # noqa: E501
111
108
  'images': ([CreateImageSlide],), # noqa: E501
112
- 'show_every': (int,), # noqa: E501
113
- 'show_duration': (int,), # noqa: E501
109
+ 'landing_page_url': (str,), # noqa: E501
110
+ 'name': (str,), # noqa: E501
114
111
  'rotations_number': (int,), # noqa: E501
112
+ 'show_duration': (int,), # noqa: E501
113
+ 'show_every': (int,), # noqa: E501
114
+ 'start_date': (str,), # noqa: E501
115
115
  'description': (str, none_type,), # noqa: E501
116
116
  'end_date': (str, none_type,), # noqa: E501
117
117
  }
@@ -122,15 +122,15 @@ class CreateCoupon(ModelNormal):
122
122
 
123
123
 
124
124
  attribute_map = {
125
- 'name': 'name', # noqa: E501
126
125
  'ad_set_id': 'adSetId', # noqa: E501
127
- 'landing_page_url': 'landingPageUrl', # noqa: E501
128
- 'start_date': 'startDate', # noqa: E501
129
126
  'format': 'format', # noqa: E501
130
127
  'images': 'images', # noqa: E501
131
- 'show_every': 'showEvery', # noqa: E501
132
- 'show_duration': 'showDuration', # noqa: E501
128
+ 'landing_page_url': 'landingPageUrl', # noqa: E501
129
+ 'name': 'name', # noqa: E501
133
130
  'rotations_number': 'rotationsNumber', # noqa: E501
131
+ 'show_duration': 'showDuration', # noqa: E501
132
+ 'show_every': 'showEvery', # noqa: E501
133
+ 'start_date': 'startDate', # noqa: E501
134
134
  'description': 'description', # noqa: E501
135
135
  'end_date': 'endDate', # noqa: E501
136
136
  }
@@ -142,19 +142,19 @@ class CreateCoupon(ModelNormal):
142
142
 
143
143
  @classmethod
144
144
  @convert_js_args_to_python_args
145
- def _from_openapi_data(cls, name, ad_set_id, landing_page_url, start_date, format, images, show_every, show_duration, rotations_number, *args, **kwargs): # noqa: E501
145
+ def _from_openapi_data(cls, ad_set_id, format, images, landing_page_url, name, rotations_number, show_duration, show_every, start_date, *args, **kwargs): # noqa: E501
146
146
  """CreateCoupon - a model defined in OpenAPI
147
147
 
148
148
  Args:
149
- name (str): The name of the Coupon
150
149
  ad_set_id (str): The id of the Ad Set on which the Coupon is applied to
151
- landing_page_url (str): Web redirection of the landing page url
152
- start_date (str): The date when the coupon will be launched String must be in ISO8601 format
153
150
  format (str): Format of the Coupon, it can have two values: \"FullFrame\" or \"LogoZone\"
154
151
  images ([CreateImageSlide]): List of slides containing the images as a base-64 encoded string
155
- show_every (int): Show the Coupon every N seconds (between 1 and 10)
156
- show_duration (int): Show Coupon for a duration of N seconds (between 1 and 5)
152
+ landing_page_url (str): Web redirection of the landing page url
153
+ name (str): The name of the Coupon
157
154
  rotations_number (int): Number of rotations for the Coupons (from 1 to 10 times)
155
+ show_duration (int): Show Coupon for a duration of N seconds (between 1 and 5)
156
+ show_every (int): Show the Coupon every N seconds (between 1 and 10)
157
+ start_date (str): The date when the coupon will be launched String must be in ISO8601 format
158
158
 
159
159
  Keyword Args:
160
160
  _check_type (bool): if True, values for parameters in openapi_types
@@ -220,15 +220,15 @@ class CreateCoupon(ModelNormal):
220
220
  self._configuration = _configuration
221
221
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
222
222
 
223
- self.name = name
224
223
  self.ad_set_id = ad_set_id
225
- self.landing_page_url = landing_page_url
226
- self.start_date = start_date
227
224
  self.format = format
228
225
  self.images = images
229
- self.show_every = show_every
230
- self.show_duration = show_duration
226
+ self.landing_page_url = landing_page_url
227
+ self.name = name
231
228
  self.rotations_number = rotations_number
229
+ self.show_duration = show_duration
230
+ self.show_every = show_every
231
+ self.start_date = start_date
232
232
  for var_name, var_value in kwargs.items():
233
233
  if var_name not in self.attribute_map and \
234
234
  self._configuration is not None and \
@@ -249,19 +249,19 @@ class CreateCoupon(ModelNormal):
249
249
  ])
250
250
 
251
251
  @convert_js_args_to_python_args
252
- def __init__(self, name, ad_set_id, landing_page_url, start_date, format, images, show_every, show_duration, rotations_number, *args, **kwargs): # noqa: E501
252
+ def __init__(self, ad_set_id, format, images, landing_page_url, name, rotations_number, show_duration, show_every, start_date, *args, **kwargs): # noqa: E501
253
253
  """CreateCoupon - a model defined in OpenAPI
254
254
 
255
255
  Args:
256
- name (str): The name of the Coupon
257
256
  ad_set_id (str): The id of the Ad Set on which the Coupon is applied to
258
- landing_page_url (str): Web redirection of the landing page url
259
- start_date (str): The date when the coupon will be launched String must be in ISO8601 format
260
257
  format (str): Format of the Coupon, it can have two values: \"FullFrame\" or \"LogoZone\"
261
258
  images ([CreateImageSlide]): List of slides containing the images as a base-64 encoded string
262
- show_every (int): Show the Coupon every N seconds (between 1 and 10)
263
- show_duration (int): Show Coupon for a duration of N seconds (between 1 and 5)
259
+ landing_page_url (str): Web redirection of the landing page url
260
+ name (str): The name of the Coupon
264
261
  rotations_number (int): Number of rotations for the Coupons (from 1 to 10 times)
262
+ show_duration (int): Show Coupon for a duration of N seconds (between 1 and 5)
263
+ show_every (int): Show the Coupon every N seconds (between 1 and 10)
264
+ start_date (str): The date when the coupon will be launched String must be in ISO8601 format
265
265
 
266
266
  Keyword Args:
267
267
  _check_type (bool): if True, values for parameters in openapi_types
@@ -325,15 +325,15 @@ class CreateCoupon(ModelNormal):
325
325
  self._configuration = _configuration
326
326
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
327
327
 
328
- self.name = name
329
328
  self.ad_set_id = ad_set_id
330
- self.landing_page_url = landing_page_url
331
- self.start_date = start_date
332
329
  self.format = format
333
330
  self.images = images
334
- self.show_every = show_every
335
- self.show_duration = show_duration
331
+ self.landing_page_url = landing_page_url
332
+ self.name = name
336
333
  self.rotations_number = rotations_number
334
+ self.show_duration = show_duration
335
+ self.show_every = show_every
336
+ self.start_date = start_date
337
337
  for var_name, var_value in kwargs.items():
338
338
  if var_name not in self.attribute_map and \
339
339
  self._configuration is not None and \
@@ -81,9 +81,9 @@ class CreateImageSlide(ModelNormal):
81
81
  and the value is attribute type.
82
82
  """
83
83
  return {
84
- 'width': (int,), # noqa: E501
85
84
  'height': (int,), # noqa: E501
86
85
  'slide_base64_strings': ([str], none_type,), # noqa: E501
86
+ 'width': (int,), # noqa: E501
87
87
  }
88
88
 
89
89
  @cached_property
@@ -92,9 +92,9 @@ class CreateImageSlide(ModelNormal):
92
92
 
93
93
 
94
94
  attribute_map = {
95
- 'width': 'width', # noqa: E501
96
95
  'height': 'height', # noqa: E501
97
96
  'slide_base64_strings': 'slideBase64Strings', # noqa: E501
97
+ 'width': 'width', # noqa: E501
98
98
  }
99
99
 
100
100
  read_only_vars = {
@@ -138,9 +138,9 @@ class CreateImageSlide(ModelNormal):
138
138
  Animal class but this time we won't travel
139
139
  through its discriminator because we passed in
140
140
  _visited_composed_classes = (Animal,)
141
- width (int): Width of the Coupon slide. [optional] # noqa: E501
142
141
  height (int): Height of the Coupon slide. [optional] # noqa: E501
143
142
  slide_base64_strings ([str], none_type): Array of images of the same size as a base-64 encoded string. [optional] # noqa: E501
143
+ width (int): Width of the Coupon slide. [optional] # noqa: E501
144
144
  """
145
145
 
146
146
  _check_type = kwargs.pop('_check_type', True)
@@ -226,9 +226,9 @@ class CreateImageSlide(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
- width (int): Width of the Coupon slide. [optional] # noqa: E501
230
229
  height (int): Height of the Coupon slide. [optional] # noqa: E501
231
230
  slide_base64_strings ([str], none_type): Array of images of the same size as a base-64 encoded string. [optional] # noqa: E501
231
+ width (int): Width of the Coupon slide. [optional] # noqa: E501
232
232
  """
233
233
 
234
234
  _check_type = kwargs.pop('_check_type', True)
@@ -93,18 +93,18 @@ class Creative(ModelNormal):
93
93
  """
94
94
  lazy_import()
95
95
  return {
96
- 'name': (str,), # noqa: E501
96
+ 'advertiser_id': (str,), # noqa: E501
97
97
  'author': (str,), # noqa: E501
98
+ 'name': (str,), # noqa: E501
98
99
  'status': (str,), # noqa: E501
99
- 'advertiser_id': (str,), # noqa: E501
100
+ 'adaptive_attributes': (AdaptiveAttributes,), # noqa: E501
101
+ 'dataset_id': (str, none_type,), # noqa: E501
100
102
  'description': (str, none_type,), # noqa: E501
103
+ 'dynamic_attributes': (DynamicAttributes,), # noqa: E501
101
104
  'format': (str, none_type,), # noqa: E501
102
- 'dataset_id': (str, none_type,), # noqa: E501
103
- 'image_attributes': (ImageAttributes,), # noqa: E501
104
105
  'html_tag_attributes': (HtmlTagAttributes,), # noqa: E501
105
- 'dynamic_attributes': (DynamicAttributes,), # noqa: E501
106
- 'adaptive_attributes': (AdaptiveAttributes,), # noqa: E501
107
106
  'id': (str, none_type,), # noqa: E501
107
+ 'image_attributes': (ImageAttributes,), # noqa: E501
108
108
  }
109
109
 
110
110
  @cached_property
@@ -113,18 +113,18 @@ class Creative(ModelNormal):
113
113
 
114
114
 
115
115
  attribute_map = {
116
- 'name': 'name', # noqa: E501
116
+ 'advertiser_id': 'advertiserId', # noqa: E501
117
117
  'author': 'author', # noqa: E501
118
+ 'name': 'name', # noqa: E501
118
119
  'status': 'status', # noqa: E501
119
- 'advertiser_id': 'advertiserId', # noqa: E501
120
+ 'adaptive_attributes': 'adaptiveAttributes', # noqa: E501
121
+ 'dataset_id': 'datasetId', # noqa: E501
120
122
  'description': 'description', # noqa: E501
123
+ 'dynamic_attributes': 'dynamicAttributes', # noqa: E501
121
124
  'format': 'format', # noqa: E501
122
- 'dataset_id': 'datasetId', # noqa: E501
123
- 'image_attributes': 'imageAttributes', # noqa: E501
124
125
  'html_tag_attributes': 'htmlTagAttributes', # noqa: E501
125
- 'dynamic_attributes': 'dynamicAttributes', # noqa: E501
126
- 'adaptive_attributes': 'adaptiveAttributes', # noqa: E501
127
126
  'id': 'id', # noqa: E501
127
+ 'image_attributes': 'imageAttributes', # noqa: E501
128
128
  }
129
129
 
130
130
  read_only_vars = {
@@ -134,14 +134,14 @@ class Creative(ModelNormal):
134
134
 
135
135
  @classmethod
136
136
  @convert_js_args_to_python_args
137
- def _from_openapi_data(cls, name, author, status, advertiser_id, *args, **kwargs): # noqa: E501
137
+ def _from_openapi_data(cls, advertiser_id, author, name, status, *args, **kwargs): # noqa: E501
138
138
  """Creative - a model defined in OpenAPI
139
139
 
140
140
  Args:
141
- name (str): The name of the creative
141
+ advertiser_id (str): Advertiser linked to the Creative
142
142
  author (str): The login of the person who created this creative (
143
+ name (str): The name of the creative
143
144
  status (str): The status of the creative
144
- advertiser_id (str): Advertiser linked to the Creative
145
145
 
146
146
  Keyword Args:
147
147
  _check_type (bool): if True, values for parameters in openapi_types
@@ -174,14 +174,14 @@ class Creative(ModelNormal):
174
174
  Animal class but this time we won't travel
175
175
  through its discriminator because we passed in
176
176
  _visited_composed_classes = (Animal,)
177
+ adaptive_attributes (AdaptiveAttributes): [optional] # noqa: E501
178
+ dataset_id (str, none_type): Data set id linked to the Creative. [optional] # noqa: E501
177
179
  description (str, none_type): The description of the creative. [optional] # noqa: E501
180
+ dynamic_attributes (DynamicAttributes): [optional] # noqa: E501
178
181
  format (str, none_type): The format of the creative. [optional] # noqa: E501
179
- dataset_id (str, none_type): Data set id linked to the Creative. [optional] # noqa: E501
180
- image_attributes (ImageAttributes): [optional] # noqa: E501
181
182
  html_tag_attributes (HtmlTagAttributes): [optional] # noqa: E501
182
- dynamic_attributes (DynamicAttributes): [optional] # noqa: E501
183
- adaptive_attributes (AdaptiveAttributes): [optional] # noqa: E501
184
183
  id (str, none_type): Unique identifier (duplicate of the parent id).. [optional] # noqa: E501
184
+ image_attributes (ImageAttributes): [optional] # noqa: E501
185
185
  """
186
186
 
187
187
  _check_type = kwargs.pop('_check_type', True)
@@ -213,10 +213,10 @@ class Creative(ModelNormal):
213
213
  self._configuration = _configuration
214
214
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
215
215
 
216
- self.name = name
216
+ self.advertiser_id = advertiser_id
217
217
  self.author = author
218
+ self.name = name
218
219
  self.status = status
219
- self.advertiser_id = advertiser_id
220
220
  for var_name, var_value in kwargs.items():
221
221
  if var_name not in self.attribute_map and \
222
222
  self._configuration is not None and \
@@ -237,14 +237,14 @@ class Creative(ModelNormal):
237
237
  ])
238
238
 
239
239
  @convert_js_args_to_python_args
240
- def __init__(self, name, author, status, advertiser_id, *args, **kwargs): # noqa: E501
240
+ def __init__(self, advertiser_id, author, name, status, *args, **kwargs): # noqa: E501
241
241
  """Creative - a model defined in OpenAPI
242
242
 
243
243
  Args:
244
- name (str): The name of the creative
244
+ advertiser_id (str): Advertiser linked to the Creative
245
245
  author (str): The login of the person who created this creative (
246
+ name (str): The name of the creative
246
247
  status (str): The status of the creative
247
- advertiser_id (str): Advertiser linked to the Creative
248
248
 
249
249
  Keyword Args:
250
250
  _check_type (bool): if True, values for parameters in openapi_types
@@ -277,14 +277,14 @@ class Creative(ModelNormal):
277
277
  Animal class but this time we won't travel
278
278
  through its discriminator because we passed in
279
279
  _visited_composed_classes = (Animal,)
280
+ adaptive_attributes (AdaptiveAttributes): [optional] # noqa: E501
281
+ dataset_id (str, none_type): Data set id linked to the Creative. [optional] # noqa: E501
280
282
  description (str, none_type): The description of the creative. [optional] # noqa: E501
283
+ dynamic_attributes (DynamicAttributes): [optional] # noqa: E501
281
284
  format (str, none_type): The format of the creative. [optional] # noqa: E501
282
- dataset_id (str, none_type): Data set id linked to the Creative. [optional] # noqa: E501
283
- image_attributes (ImageAttributes): [optional] # noqa: E501
284
285
  html_tag_attributes (HtmlTagAttributes): [optional] # noqa: E501
285
- dynamic_attributes (DynamicAttributes): [optional] # noqa: E501
286
- adaptive_attributes (AdaptiveAttributes): [optional] # noqa: E501
287
286
  id (str, none_type): Unique identifier (duplicate of the parent id).. [optional] # noqa: E501
287
+ image_attributes (ImageAttributes): [optional] # noqa: E501
288
288
  """
289
289
 
290
290
  _check_type = kwargs.pop('_check_type', True)
@@ -314,10 +314,10 @@ class Creative(ModelNormal):
314
314
  self._configuration = _configuration
315
315
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
316
316
 
317
- self.name = name
317
+ self.advertiser_id = advertiser_id
318
318
  self.author = author
319
+ self.name = name
319
320
  self.status = status
320
- self.advertiser_id = advertiser_id
321
321
  for var_name, var_value in kwargs.items():
322
322
  if var_name not in self.attribute_map and \
323
323
  self._configuration is not None and \
@@ -99,14 +99,14 @@ class CreativeWrite(ModelNormal):
99
99
  """
100
100
  lazy_import()
101
101
  return {
102
- 'name': (str,), # noqa: E501
103
- 'format': (str,), # noqa: E501
104
102
  'dataset_id': (str,), # noqa: E501
103
+ 'format': (str,), # noqa: E501
104
+ 'name': (str,), # noqa: E501
105
+ 'adaptive_write_attributes': (AdaptiveWriteAttributes,), # noqa: E501
105
106
  'description': (str, none_type,), # noqa: E501
106
- 'image_write_attributes': (ImageWriteAttributes,), # noqa: E501
107
- 'html_tag_write_attributes': (HtmlTagWriteAttributes,), # noqa: E501
108
107
  'dynamic_write_attributes': (DynamicWriteAttributes,), # noqa: E501
109
- 'adaptive_write_attributes': (AdaptiveWriteAttributes,), # noqa: E501
108
+ 'html_tag_write_attributes': (HtmlTagWriteAttributes,), # noqa: E501
109
+ 'image_write_attributes': (ImageWriteAttributes,), # noqa: E501
110
110
  }
111
111
 
112
112
  @cached_property
@@ -115,14 +115,14 @@ class CreativeWrite(ModelNormal):
115
115
 
116
116
 
117
117
  attribute_map = {
118
- 'name': 'name', # noqa: E501
119
- 'format': 'format', # noqa: E501
120
118
  'dataset_id': 'datasetId', # noqa: E501
119
+ 'format': 'format', # noqa: E501
120
+ 'name': 'name', # noqa: E501
121
+ 'adaptive_write_attributes': 'adaptiveWriteAttributes', # noqa: E501
121
122
  'description': 'description', # noqa: E501
122
- 'image_write_attributes': 'imageWriteAttributes', # noqa: E501
123
- 'html_tag_write_attributes': 'htmlTagWriteAttributes', # noqa: E501
124
123
  'dynamic_write_attributes': 'dynamicWriteAttributes', # noqa: E501
125
- 'adaptive_write_attributes': 'adaptiveWriteAttributes', # noqa: E501
124
+ 'html_tag_write_attributes': 'htmlTagWriteAttributes', # noqa: E501
125
+ 'image_write_attributes': 'imageWriteAttributes', # noqa: E501
126
126
  }
127
127
 
128
128
  read_only_vars = {
@@ -132,13 +132,13 @@ class CreativeWrite(ModelNormal):
132
132
 
133
133
  @classmethod
134
134
  @convert_js_args_to_python_args
135
- def _from_openapi_data(cls, name, format, dataset_id, *args, **kwargs): # noqa: E501
135
+ def _from_openapi_data(cls, dataset_id, format, name, *args, **kwargs): # noqa: E501
136
136
  """CreativeWrite - a model defined in OpenAPI
137
137
 
138
138
  Args:
139
- name (str): The name of the creative
140
- format (str): The format of the creative You can use \"Image\", \" HtmlTag\", \"Dynamic\" or \"Adaptive\"
141
139
  dataset_id (str): Dataset linked to the Creative
140
+ format (str): The format of the creative You can use \"Image\", \" HtmlTag\", \"Dynamic\" or \"Adaptive\"
141
+ name (str): The name of the creative
142
142
 
143
143
  Keyword Args:
144
144
  _check_type (bool): if True, values for parameters in openapi_types
@@ -171,11 +171,11 @@ class CreativeWrite(ModelNormal):
171
171
  Animal class but this time we won't travel
172
172
  through its discriminator because we passed in
173
173
  _visited_composed_classes = (Animal,)
174
+ adaptive_write_attributes (AdaptiveWriteAttributes): [optional] # noqa: E501
174
175
  description (str, none_type): The description of the creative. [optional] # noqa: E501
175
- image_write_attributes (ImageWriteAttributes): [optional] # noqa: E501
176
- html_tag_write_attributes (HtmlTagWriteAttributes): [optional] # noqa: E501
177
176
  dynamic_write_attributes (DynamicWriteAttributes): [optional] # noqa: E501
178
- adaptive_write_attributes (AdaptiveWriteAttributes): [optional] # noqa: E501
177
+ html_tag_write_attributes (HtmlTagWriteAttributes): [optional] # noqa: E501
178
+ image_write_attributes (ImageWriteAttributes): [optional] # noqa: E501
179
179
  """
180
180
 
181
181
  _check_type = kwargs.pop('_check_type', True)
@@ -207,9 +207,9 @@ class CreativeWrite(ModelNormal):
207
207
  self._configuration = _configuration
208
208
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
209
209
 
210
- self.name = name
211
- self.format = format
212
210
  self.dataset_id = dataset_id
211
+ self.format = format
212
+ self.name = name
213
213
  for var_name, var_value in kwargs.items():
214
214
  if var_name not in self.attribute_map and \
215
215
  self._configuration is not None and \
@@ -230,13 +230,13 @@ class CreativeWrite(ModelNormal):
230
230
  ])
231
231
 
232
232
  @convert_js_args_to_python_args
233
- def __init__(self, name, format, dataset_id, *args, **kwargs): # noqa: E501
233
+ def __init__(self, dataset_id, format, name, *args, **kwargs): # noqa: E501
234
234
  """CreativeWrite - a model defined in OpenAPI
235
235
 
236
236
  Args:
237
- name (str): The name of the creative
238
- format (str): The format of the creative You can use \"Image\", \" HtmlTag\", \"Dynamic\" or \"Adaptive\"
239
237
  dataset_id (str): Dataset linked to the Creative
238
+ format (str): The format of the creative You can use \"Image\", \" HtmlTag\", \"Dynamic\" or \"Adaptive\"
239
+ name (str): The name of the creative
240
240
 
241
241
  Keyword Args:
242
242
  _check_type (bool): if True, values for parameters in openapi_types
@@ -269,11 +269,11 @@ class CreativeWrite(ModelNormal):
269
269
  Animal class but this time we won't travel
270
270
  through its discriminator because we passed in
271
271
  _visited_composed_classes = (Animal,)
272
+ adaptive_write_attributes (AdaptiveWriteAttributes): [optional] # noqa: E501
272
273
  description (str, none_type): The description of the creative. [optional] # noqa: E501
273
- image_write_attributes (ImageWriteAttributes): [optional] # noqa: E501
274
- html_tag_write_attributes (HtmlTagWriteAttributes): [optional] # noqa: E501
275
274
  dynamic_write_attributes (DynamicWriteAttributes): [optional] # noqa: E501
276
- adaptive_write_attributes (AdaptiveWriteAttributes): [optional] # noqa: E501
275
+ html_tag_write_attributes (HtmlTagWriteAttributes): [optional] # noqa: E501
276
+ image_write_attributes (ImageWriteAttributes): [optional] # noqa: E501
277
277
  """
278
278
 
279
279
  _check_type = kwargs.pop('_check_type', True)
@@ -303,9 +303,9 @@ class CreativeWrite(ModelNormal):
303
303
  self._configuration = _configuration
304
304
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
305
305
 
306
- self.name = name
307
- self.format = format
308
306
  self.dataset_id = dataset_id
307
+ self.format = format
308
+ self.name = name
309
309
  for var_name, var_value in kwargs.items():
310
310
  if var_name not in self.attribute_map and \
311
311
  self._configuration is not None and \
@@ -55,16 +55,6 @@ class CriteoApiError(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('type',): {
59
- 'None': None,
60
- 'ACCESS_CONTROL': "access_control",
61
- 'AUTHENTICATION': "authentication",
62
- 'AUTHORIZATION': "authorization",
63
- 'AVAILABILITY': "availability",
64
- 'DEPRECATION': "deprecation",
65
- 'QUOTA': "quota",
66
- 'VALIDATION': "validation",
67
- },
68
58
  ('code',): {
69
59
  'None': None,
70
60
  'INTERNAL-ERROR': "internal-error",
@@ -76,6 +66,16 @@ class CriteoApiError(ModelNormal):
76
66
  'INVALID-RANGED': "invalid-ranged",
77
67
  'INVALID-TIMESPAN': "invalid-timespan",
78
68
  },
69
+ ('type',): {
70
+ 'None': None,
71
+ 'ACCESS_CONTROL': "access_control",
72
+ 'AUTHENTICATION': "authentication",
73
+ 'AUTHORIZATION': "authorization",
74
+ 'AVAILABILITY': "availability",
75
+ 'DEPRECATION': "deprecation",
76
+ 'QUOTA': "quota",
77
+ 'VALIDATION': "validation",
78
+ },
79
79
  }
80
80
 
81
81
  validations = {
@@ -102,13 +102,13 @@ class CriteoApiError(ModelNormal):
102
102
  and the value is attribute type.
103
103
  """
104
104
  return {
105
- 'trace_id': (str, none_type,), # noqa: E501
106
- 'type': (str, none_type,), # noqa: E501
107
105
  'code': (str, none_type,), # noqa: E501
108
- 'instance': (str, none_type,), # noqa: E501
109
- 'title': (str, none_type,), # noqa: E501
110
106
  'detail': (str, none_type,), # noqa: E501
107
+ 'instance': (str, none_type,), # noqa: E501
111
108
  'source': ({str: (str,)}, none_type,), # noqa: E501
109
+ 'title': (str, none_type,), # noqa: E501
110
+ 'trace_id': (str, none_type,), # noqa: E501
111
+ 'type': (str, none_type,), # noqa: E501
112
112
  }
113
113
 
114
114
  @cached_property
@@ -117,13 +117,13 @@ class CriteoApiError(ModelNormal):
117
117
 
118
118
 
119
119
  attribute_map = {
120
- 'trace_id': 'traceId', # noqa: E501
121
- 'type': 'type', # noqa: E501
122
120
  'code': 'code', # noqa: E501
123
- 'instance': 'instance', # noqa: E501
124
- 'title': 'title', # noqa: E501
125
121
  'detail': 'detail', # noqa: E501
122
+ 'instance': 'instance', # noqa: E501
126
123
  'source': 'source', # noqa: E501
124
+ 'title': 'title', # noqa: E501
125
+ 'trace_id': 'traceId', # noqa: E501
126
+ 'type': 'type', # noqa: E501
127
127
  }
128
128
 
129
129
  read_only_vars = {
@@ -167,13 +167,13 @@ class CriteoApiError(ModelNormal):
167
167
  Animal class but this time we won't travel
168
168
  through its discriminator because we passed in
169
169
  _visited_composed_classes = (Animal,)
170
- trace_id (str, none_type): The correlation ID provided by the gateway. [optional] # noqa: E501
171
- type (str, none_type): A machine-readable code specifying error category. [optional] # noqa: E501
172
170
  code (str, none_type): A machine-readable error code string in kabab-case. Unique across Criteo. [optional] # noqa: E501
173
- instance (str, none_type): A URI reference that identifies the specific occurrence of the problem. [optional] # noqa: E501
174
- title (str, none_type): A short, human-readable remarks of the problem type.. [optional] # noqa: E501
175
171
  detail (str, none_type): A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
172
+ instance (str, none_type): A URI reference that identifies the specific occurrence of the problem. [optional] # noqa: E501
176
173
  source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s).. [optional] # noqa: E501
174
+ title (str, none_type): A short, human-readable remarks of the problem type.. [optional] # noqa: E501
175
+ trace_id (str, none_type): The correlation ID provided by the gateway. [optional] # noqa: E501
176
+ type (str, none_type): A machine-readable code specifying error category. [optional] # noqa: E501
177
177
  """
178
178
 
179
179
  _check_type = kwargs.pop('_check_type', True)
@@ -259,13 +259,13 @@ class CriteoApiError(ModelNormal):
259
259
  Animal class but this time we won't travel
260
260
  through its discriminator because we passed in
261
261
  _visited_composed_classes = (Animal,)
262
- trace_id (str, none_type): The correlation ID provided by the gateway. [optional] # noqa: E501
263
- type (str, none_type): A machine-readable code specifying error category. [optional] # noqa: E501
264
262
  code (str, none_type): A machine-readable error code string in kabab-case. Unique across Criteo. [optional] # noqa: E501
265
- instance (str, none_type): A URI reference that identifies the specific occurrence of the problem. [optional] # noqa: E501
266
- title (str, none_type): A short, human-readable remarks of the problem type.. [optional] # noqa: E501
267
263
  detail (str, none_type): A human-readable explanation specific to this occurrence of the problem.. [optional] # noqa: E501
264
+ instance (str, none_type): A URI reference that identifies the specific occurrence of the problem. [optional] # noqa: E501
268
265
  source ({str: (str,)}, none_type): A machine-readable structure to reference to the exact location(s) causing the error(s).. [optional] # noqa: E501
266
+ title (str, none_type): A short, human-readable remarks of the problem type.. [optional] # noqa: E501
267
+ trace_id (str, none_type): The correlation ID provided by the gateway. [optional] # noqa: E501
268
+ type (str, none_type): A machine-readable code specifying error category. [optional] # noqa: E501
269
269
  """
270
270
 
271
271
  _check_type = kwargs.pop('_check_type', True)