criteo-api-marketingsolutions-sdk 2024.4.0.250327__py3-none-any.whl → 2024.4.0.250425__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 (146) hide show
  1. {criteo_api_marketingsolutions_sdk-2024.4.0.250327.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250425.dist-info}/METADATA +3 -3
  2. {criteo_api_marketingsolutions_sdk-2024.4.0.250327.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250425.dist-info}/RECORD +145 -146
  3. {criteo_api_marketingsolutions_sdk-2024.4.0.250327.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250425.dist-info}/WHEEL +1 -1
  4. criteo_api_marketingsolutions_v2024_04/__init__.py +1 -1
  5. criteo_api_marketingsolutions_v2024_04/api/creative_api.py +12 -12
  6. criteo_api_marketingsolutions_v2024_04/api_client.py +1 -1
  7. criteo_api_marketingsolutions_v2024_04/configuration.py +1 -1
  8. criteo_api_marketingsolutions_v2024_04/model/ad.py +20 -20
  9. criteo_api_marketingsolutions_v2024_04/model/ad_set_audience_link_entity_v1_response.py +5 -5
  10. criteo_api_marketingsolutions_v2024_04/model/ad_set_category_bid.py +4 -4
  11. criteo_api_marketingsolutions_v2024_04/model/ad_set_category_bid_list_response.py +5 -5
  12. criteo_api_marketingsolutions_v2024_04/model/ad_set_delivery_limitations.py +9 -9
  13. criteo_api_marketingsolutions_v2024_04/model/ad_set_delivery_limitations_v23_q1.py +9 -9
  14. criteo_api_marketingsolutions_v2024_04/model/ad_set_display_multiplier_list_response.py +5 -5
  15. criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting.py +4 -4
  16. criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting_v23_q1.py +4 -4
  17. criteo_api_marketingsolutions_v2024_04/model/ad_write.py +18 -18
  18. criteo_api_marketingsolutions_v2024_04/model/adaptive_attributes.py +42 -42
  19. criteo_api_marketingsolutions_v2024_04/model/adaptive_colors.py +20 -20
  20. criteo_api_marketingsolutions_v2024_04/model/adaptive_write_attributes.py +44 -44
  21. criteo_api_marketingsolutions_v2024_04/model/algebra_node_v1.py +8 -8
  22. criteo_api_marketingsolutions_v2024_04/model/application_summary_model.py +8 -8
  23. criteo_api_marketingsolutions_v2024_04/model/application_summary_model_resource.py +4 -4
  24. criteo_api_marketingsolutions_v2024_04/model/application_summary_model_response.py +5 -5
  25. criteo_api_marketingsolutions_v2024_04/model/audience_create_entity_v1.py +8 -8
  26. criteo_api_marketingsolutions_v2024_04/model/audience_create_entity_v1_resource.py +4 -4
  27. criteo_api_marketingsolutions_v2024_04/model/audience_entity_v1.py +20 -20
  28. criteo_api_marketingsolutions_v2024_04/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +9 -9
  29. criteo_api_marketingsolutions_v2024_04/model/audience_entity_v1_list_response.py +5 -5
  30. criteo_api_marketingsolutions_v2024_04/model/audience_error.py +16 -16
  31. criteo_api_marketingsolutions_v2024_04/model/audience_estimate_size_entity_v1_resource.py +4 -4
  32. criteo_api_marketingsolutions_v2024_04/model/audience_id_entity_v1_list_response.py +5 -5
  33. criteo_api_marketingsolutions_v2024_04/model/audience_name_description.py +4 -4
  34. criteo_api_marketingsolutions_v2024_04/model/audience_search_entity_v1.py +8 -8
  35. criteo_api_marketingsolutions_v2024_04/model/audience_search_entity_v1_resource.py +4 -4
  36. criteo_api_marketingsolutions_v2024_04/model/audience_search_metadata_v1.py +4 -4
  37. criteo_api_marketingsolutions_v2024_04/model/audience_segment_create_entity_v1.py +20 -20
  38. criteo_api_marketingsolutions_v2024_04/model/audience_segment_create_entity_v1_resource.py +4 -4
  39. criteo_api_marketingsolutions_v2024_04/model/audience_segment_entity_v1.py +36 -36
  40. criteo_api_marketingsolutions_v2024_04/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +9 -9
  41. criteo_api_marketingsolutions_v2024_04/model/audience_segment_entity_v1_list_response.py +5 -5
  42. criteo_api_marketingsolutions_v2024_04/model/audience_segment_id_entity_v1_list_response.py +5 -5
  43. criteo_api_marketingsolutions_v2024_04/model/audience_segment_search_entity_v1.py +4 -4
  44. criteo_api_marketingsolutions_v2024_04/model/audience_segment_search_entity_v1_resource.py +4 -4
  45. criteo_api_marketingsolutions_v2024_04/model/audience_segment_search_metadata_v1.py +4 -4
  46. criteo_api_marketingsolutions_v2024_04/model/audience_segment_size_entity_v1_list_response.py +5 -5
  47. criteo_api_marketingsolutions_v2024_04/model/audience_segment_size_estimation_entity_v1_resource.py +4 -4
  48. criteo_api_marketingsolutions_v2024_04/model/audience_segment_size_estimation_v1_resource.py +4 -4
  49. criteo_api_marketingsolutions_v2024_04/model/audience_segment_size_estimation_v1_response.py +5 -5
  50. criteo_api_marketingsolutions_v2024_04/model/audience_segment_update_entity_v1.py +8 -8
  51. criteo_api_marketingsolutions_v2024_04/model/audience_size_entity_v1_list_response.py +5 -5
  52. criteo_api_marketingsolutions_v2024_04/model/audience_size_estimation_v1_resource.py +4 -4
  53. criteo_api_marketingsolutions_v2024_04/model/audience_size_estimation_v1_response.py +5 -5
  54. criteo_api_marketingsolutions_v2024_04/model/audience_update_entity_v1.py +8 -8
  55. criteo_api_marketingsolutions_v2024_04/model/audience_warning.py +22 -22
  56. criteo_api_marketingsolutions_v2024_04/model/automated_budget_configuration_v23_q1.py +0 -7
  57. criteo_api_marketingsolutions_v2024_04/model/behavioral_v1.py +4 -4
  58. criteo_api_marketingsolutions_v2024_04/model/budget_automation.py +6 -6
  59. criteo_api_marketingsolutions_v2024_04/model/budget_automation_configuration.py +0 -7
  60. criteo_api_marketingsolutions_v2024_04/model/campaign_budget_automation_v23_q1.py +4 -4
  61. criteo_api_marketingsolutions_v2024_04/model/campaign_search_filters_v23_q1.py +4 -4
  62. criteo_api_marketingsolutions_v2024_04/model/campaign_spend_limit_v23_q1.py +13 -13
  63. criteo_api_marketingsolutions_v2024_04/model/campaign_v23_q1.py +12 -12
  64. criteo_api_marketingsolutions_v2024_04/model/campaign_v23_q1_list_response.py +5 -5
  65. criteo_api_marketingsolutions_v2024_04/model/campaign_v23_q1_response.py +5 -5
  66. criteo_api_marketingsolutions_v2024_04/model/common_problem.py +20 -20
  67. criteo_api_marketingsolutions_v2024_04/model/contact_list_statistics_entity_v1.py +4 -4
  68. criteo_api_marketingsolutions_v2024_04/model/contact_list_statistics_entity_v1_response.py +5 -5
  69. criteo_api_marketingsolutions_v2024_04/model/contactlist_amendment.py +8 -8
  70. criteo_api_marketingsolutions_v2024_04/model/contactlist_amendment_attributes.py +12 -12
  71. criteo_api_marketingsolutions_v2024_04/model/contactlist_operation.py +8 -8
  72. criteo_api_marketingsolutions_v2024_04/model/contactlist_operation_attributes.py +8 -8
  73. criteo_api_marketingsolutions_v2024_04/model/coupon.py +40 -40
  74. criteo_api_marketingsolutions_v2024_04/model/coupon_supported_sizes.py +4 -4
  75. criteo_api_marketingsolutions_v2024_04/model/create_ad_set.py +30 -30
  76. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_budget.py +14 -14
  77. criteo_api_marketingsolutions_v2024_04/model/create_campaign.py +8 -8
  78. criteo_api_marketingsolutions_v2024_04/model/create_campaign_spend_limit.py +4 -4
  79. criteo_api_marketingsolutions_v2024_04/model/create_coupon.py +34 -34
  80. criteo_api_marketingsolutions_v2024_04/model/create_image_slide.py +4 -4
  81. criteo_api_marketingsolutions_v2024_04/model/creative.py +30 -30
  82. criteo_api_marketingsolutions_v2024_04/model/creative_write.py +26 -26
  83. criteo_api_marketingsolutions_v2024_04/model/criteo_api_error.py +26 -26
  84. criteo_api_marketingsolutions_v2024_04/model/criteo_api_warning.py +22 -22
  85. criteo_api_marketingsolutions_v2024_04/model/dynamic_attributes.py +12 -12
  86. criteo_api_marketingsolutions_v2024_04/model/dynamic_write_attributes.py +14 -14
  87. criteo_api_marketingsolutions_v2024_04/model/entity_of_portfolio_message.py +8 -8
  88. criteo_api_marketingsolutions_v2024_04/model/image_attributes.py +4 -4
  89. criteo_api_marketingsolutions_v2024_04/model/image_slide.py +4 -4
  90. criteo_api_marketingsolutions_v2024_04/model/in_market_audience_segment_brand_entity_v1_list_response.py +5 -5
  91. criteo_api_marketingsolutions_v2024_04/model/in_market_audience_segment_interest_entity_v1_list_response.py +5 -5
  92. criteo_api_marketingsolutions_v2024_04/model/in_market_create_v1.py +6 -6
  93. criteo_api_marketingsolutions_v2024_04/model/in_market_size_estimation_v1.py +6 -6
  94. criteo_api_marketingsolutions_v2024_04/model/in_market_update_v1.py +10 -10
  95. criteo_api_marketingsolutions_v2024_04/model/in_market_v1.py +10 -10
  96. criteo_api_marketingsolutions_v2024_04/model/outcome.py +5 -5
  97. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set.py +8 -8
  98. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_budget.py +24 -24
  99. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_category_bid_result_list_response.py +5 -5
  100. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_display_multiplier_result_list_response.py +5 -5
  101. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_scheduling.py +4 -4
  102. criteo_api_marketingsolutions_v2024_04/model/patch_campaign.py +4 -4
  103. criteo_api_marketingsolutions_v2024_04/model/patch_campaign_spend_limit.py +13 -13
  104. criteo_api_marketingsolutions_v2024_04/model/patch_campaign_write_resource.py +4 -4
  105. criteo_api_marketingsolutions_v2024_04/model/patch_marketing_campaign_budget_automation.py +4 -4
  106. criteo_api_marketingsolutions_v2024_04/model/patch_result_campaign_list_response.py +5 -5
  107. criteo_api_marketingsolutions_v2024_04/model/placements_report_query_message.py +28 -28
  108. criteo_api_marketingsolutions_v2024_04/model/placements_report_query_message_resource.py +4 -4
  109. criteo_api_marketingsolutions_v2024_04/model/point_of_interest_v1.py +4 -4
  110. criteo_api_marketingsolutions_v2024_04/model/prospecting_create_v1.py +4 -4
  111. criteo_api_marketingsolutions_v2024_04/model/prospecting_update_v1.py +4 -4
  112. criteo_api_marketingsolutions_v2024_04/model/prospecting_v1.py +4 -4
  113. criteo_api_marketingsolutions_v2024_04/model/read_ad_set.py +20 -20
  114. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_budget.py +24 -24
  115. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_budget_v23_q1.py +24 -24
  116. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_schedule.py +8 -8
  117. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_schedule_v23_q1.py +8 -8
  118. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_v23_q1.py +25 -25
  119. criteo_api_marketingsolutions_v2024_04/model/read_model_read_ad_set.py +4 -4
  120. criteo_api_marketingsolutions_v2024_04/model/read_model_read_ad_set_v23_q1.py +4 -4
  121. criteo_api_marketingsolutions_v2024_04/model/resource_collection_outcome_of_ad.py +5 -5
  122. criteo_api_marketingsolutions_v2024_04/model/resource_collection_outcome_of_coupon.py +5 -5
  123. criteo_api_marketingsolutions_v2024_04/model/resource_collection_outcome_of_creative.py +5 -5
  124. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_ad.py +5 -5
  125. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_coupon.py +5 -5
  126. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_coupon_supported_sizes.py +5 -5
  127. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_creative.py +5 -5
  128. criteo_api_marketingsolutions_v2024_04/model/response_read_ad_set.py +5 -5
  129. criteo_api_marketingsolutions_v2024_04/model/response_read_ad_set_v23_q1.py +5 -5
  130. criteo_api_marketingsolutions_v2024_04/model/responses_ad_set_id.py +5 -5
  131. criteo_api_marketingsolutions_v2024_04/model/responses_read_ad_set_v23_q1.py +5 -5
  132. criteo_api_marketingsolutions_v2024_04/model/retargeting_create_v1.py +14 -14
  133. criteo_api_marketingsolutions_v2024_04/model/retargeting_update_v1.py +8 -8
  134. criteo_api_marketingsolutions_v2024_04/model/retargeting_v1.py +8 -8
  135. criteo_api_marketingsolutions_v2024_04/model/size.py +4 -4
  136. criteo_api_marketingsolutions_v2024_04/model/statistics_report_query_message.py +24 -24
  137. criteo_api_marketingsolutions_v2024_04/model/transactions_report_query_message.py +8 -8
  138. criteo_api_marketingsolutions_v2024_04/model/transactions_report_query_message_resource.py +4 -4
  139. criteo_api_marketingsolutions_v2024_04/model/transparency_query_message.py +8 -8
  140. criteo_api_marketingsolutions_v2024_04/model/transparency_report.py +8 -8
  141. criteo_api_marketingsolutions_v2024_04/model/transparency_report_list_response.py +5 -5
  142. criteo_api_marketingsolutions_v2024_04/model/transparency_report_resource.py +4 -4
  143. criteo_api_marketingsolutions_v2024_04/model/write_model_patch_ad_set.py +4 -4
  144. criteo_api_marketingsolutions_v2024_04/models/__init__.py +0 -1
  145. criteo_api_marketingsolutions_v2024_04/model/automated_budget_configuration.py +0 -276
  146. {criteo_api_marketingsolutions_sdk-2024.4.0.250327.dist-info → criteo_api_marketingsolutions_sdk-2024.4.0.250425.dist-info}/top_level.txt +0 -0
@@ -395,7 +395,7 @@ class Configuration(object):
395
395
  "OS: {env}\n"\
396
396
  "Python Version: {pyversion}\n"\
397
397
  "Version of the API: 2024-04\n"\
398
- "SDK Package Version: 2024.04.0.250327".\
398
+ "SDK Package Version: 2024.04.0.250425".\
399
399
  format(env=sys.platform, pyversion=sys.version)
400
400
 
401
401
  def get_host_settings(self):
@@ -87,14 +87,14 @@ class Ad(ModelNormal):
87
87
  and the value is attribute type.
88
88
  """
89
89
  return {
90
- 'name': (str, none_type,), # noqa: E501
91
- 'description': (str, none_type,), # noqa: E501
92
- 'creative_id': (str, none_type,), # noqa: E501
93
90
  'ad_set_id': (str, none_type,), # noqa: E501
94
- 'inventory_type': (str, none_type,), # noqa: E501
95
- 'start_date': (str, none_type,), # noqa: E501
91
+ 'creative_id': (str, none_type,), # noqa: E501
92
+ 'description': (str, none_type,), # noqa: E501
96
93
  'end_date': (str, none_type,), # noqa: E501
97
94
  'id': (str, none_type,), # noqa: E501
95
+ 'inventory_type': (str, none_type,), # noqa: E501
96
+ 'name': (str, none_type,), # noqa: E501
97
+ 'start_date': (str, none_type,), # noqa: E501
98
98
  }
99
99
 
100
100
  @cached_property
@@ -103,14 +103,14 @@ class Ad(ModelNormal):
103
103
 
104
104
 
105
105
  attribute_map = {
106
- 'name': 'name', # noqa: E501
107
- 'description': 'description', # noqa: E501
108
- 'creative_id': 'creativeId', # noqa: E501
109
106
  'ad_set_id': 'adSetId', # noqa: E501
110
- 'inventory_type': 'inventoryType', # noqa: E501
111
- 'start_date': 'startDate', # noqa: E501
107
+ 'creative_id': 'creativeId', # noqa: E501
108
+ 'description': 'description', # noqa: E501
112
109
  'end_date': 'endDate', # noqa: E501
113
110
  'id': 'id', # noqa: E501
111
+ 'inventory_type': 'inventoryType', # noqa: E501
112
+ 'name': 'name', # noqa: E501
113
+ 'start_date': 'startDate', # noqa: E501
114
114
  }
115
115
 
116
116
  read_only_vars = {
@@ -154,14 +154,14 @@ class Ad(ModelNormal):
154
154
  Animal class but this time we won't travel
155
155
  through its discriminator because we passed in
156
156
  _visited_composed_classes = (Animal,)
157
- name (str, none_type): The name of the ad. [optional] # noqa: E501
158
- description (str, none_type): The description of the ad. [optional] # noqa: E501
159
- creative_id (str, none_type): The id of the Creative binded to this Ad. [optional] # noqa: E501
160
157
  ad_set_id (str, none_type): The id of the Ad Set binded to this Ad. [optional] # noqa: E501
161
- inventory_type (str, none_type): The inventory the Ad belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
162
- start_date (str, none_type): The date when the ad will be launched String must be in ISO8601 format. [optional] # noqa: E501
158
+ creative_id (str, none_type): The id of the Creative binded to this Ad. [optional] # noqa: E501
159
+ description (str, none_type): The description of the ad. [optional] # noqa: E501
163
160
  end_date (str, none_type): The date when when we will stop to show this ad. If the end date is not specified (i.e. null) then the ad will go on forever String must be in ISO8601 format. [optional] # noqa: E501
164
161
  id (str, none_type): Unique identifier (duplicate of the parent id).. [optional] # noqa: E501
162
+ inventory_type (str, none_type): The inventory the Ad belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
163
+ name (str, none_type): The name of the ad. [optional] # noqa: E501
164
+ start_date (str, none_type): The date when the ad will be launched String must be in ISO8601 format. [optional] # noqa: E501
165
165
  """
166
166
 
167
167
  _check_type = kwargs.pop('_check_type', True)
@@ -247,14 +247,14 @@ class Ad(ModelNormal):
247
247
  Animal class but this time we won't travel
248
248
  through its discriminator because we passed in
249
249
  _visited_composed_classes = (Animal,)
250
- name (str, none_type): The name of the ad. [optional] # noqa: E501
251
- description (str, none_type): The description of the ad. [optional] # noqa: E501
252
- creative_id (str, none_type): The id of the Creative binded to this Ad. [optional] # noqa: E501
253
250
  ad_set_id (str, none_type): The id of the Ad Set binded to this Ad. [optional] # noqa: E501
254
- inventory_type (str, none_type): The inventory the Ad belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
255
- start_date (str, none_type): The date when the ad will be launched String must be in ISO8601 format. [optional] # noqa: E501
251
+ creative_id (str, none_type): The id of the Creative binded to this Ad. [optional] # noqa: E501
252
+ description (str, none_type): The description of the ad. [optional] # noqa: E501
256
253
  end_date (str, none_type): The date when when we will stop to show this ad. If the end date is not specified (i.e. null) then the ad will go on forever String must be in ISO8601 format. [optional] # noqa: E501
257
254
  id (str, none_type): Unique identifier (duplicate of the parent id).. [optional] # noqa: E501
255
+ inventory_type (str, none_type): The inventory the Ad belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
256
+ name (str, none_type): The name of the ad. [optional] # noqa: E501
257
+ start_date (str, none_type): The date when the ad will be launched String must be in ISO8601 format. [optional] # noqa: E501
258
258
  """
259
259
 
260
260
  _check_type = kwargs.pop('_check_type', True)
@@ -90,8 +90,8 @@ class AdSetAudienceLinkEntityV1Response(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (AdSetAudienceLinkEntityV1Resource,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
93
  'errors': ([CommonProblem], none_type,), # noqa: E501
94
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class AdSetAudienceLinkEntityV1Response(ModelNormal):
101
101
 
102
102
  attribute_map = {
103
103
  'data': 'data', # noqa: E501
104
- 'warnings': 'warnings', # noqa: E501
105
104
  'errors': 'errors', # noqa: E501
105
+ 'warnings': 'warnings', # noqa: E501
106
106
  }
107
107
 
108
108
  read_only_vars = {
109
- 'warnings', # noqa: E501
110
109
  'errors', # noqa: E501
110
+ 'warnings', # noqa: E501
111
111
  }
112
112
 
113
113
  _composed_schemas = {}
@@ -149,8 +149,8 @@ class AdSetAudienceLinkEntityV1Response(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (AdSetAudienceLinkEntityV1Resource): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
152
  errors ([CommonProblem], none_type): [optional] # noqa: E501
153
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AdSetAudienceLinkEntityV1Response(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (AdSetAudienceLinkEntityV1Resource): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
240
  errors ([CommonProblem], none_type): [optional] # noqa: E501
241
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -81,8 +81,8 @@ class AdSetCategoryBid(ModelNormal):
81
81
  and the value is attribute type.
82
82
  """
83
83
  return {
84
- 'category_name': (str, none_type,), # noqa: E501
85
84
  'bid_amount': (float, none_type,), # noqa: E501
85
+ 'category_name': (str, none_type,), # noqa: E501
86
86
  }
87
87
 
88
88
  @cached_property
@@ -91,8 +91,8 @@ class AdSetCategoryBid(ModelNormal):
91
91
 
92
92
 
93
93
  attribute_map = {
94
- 'category_name': 'categoryName', # noqa: E501
95
94
  'bid_amount': 'bidAmount', # noqa: E501
95
+ 'category_name': 'categoryName', # noqa: E501
96
96
  }
97
97
 
98
98
  read_only_vars = {
@@ -136,8 +136,8 @@ class AdSetCategoryBid(ModelNormal):
136
136
  Animal class but this time we won't travel
137
137
  through its discriminator because we passed in
138
138
  _visited_composed_classes = (Animal,)
139
- category_name (str, none_type): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
140
139
  bid_amount (float, none_type): The Bid amount applied to the given Category associated to an Ad Set. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
140
+ category_name (str, none_type): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
141
141
  """
142
142
 
143
143
  _check_type = kwargs.pop('_check_type', True)
@@ -223,8 +223,8 @@ class AdSetCategoryBid(ModelNormal):
223
223
  Animal class but this time we won't travel
224
224
  through its discriminator because we passed in
225
225
  _visited_composed_classes = (Animal,)
226
- category_name (str, none_type): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
227
226
  bid_amount (float, none_type): The Bid amount applied to the given Category associated to an Ad Set. At most 4 decimals are supported. Additional decimals are rounded.. [optional] # noqa: E501
227
+ category_name (str, none_type): The name of the Category to which the Category Bid has been applied.. [optional] # noqa: E501
228
228
  """
229
229
 
230
230
  _check_type = kwargs.pop('_check_type', True)
@@ -90,8 +90,8 @@ class AdSetCategoryBidListResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': ([AdSetCategoryBidResource], none_type,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
93
  'errors': ([CommonProblem], none_type,), # noqa: E501
94
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class AdSetCategoryBidListResponse(ModelNormal):
101
101
 
102
102
  attribute_map = {
103
103
  'data': 'data', # noqa: E501
104
- 'warnings': 'warnings', # noqa: E501
105
104
  'errors': 'errors', # noqa: E501
105
+ 'warnings': 'warnings', # noqa: E501
106
106
  }
107
107
 
108
108
  read_only_vars = {
109
- 'warnings', # noqa: E501
110
109
  'errors', # noqa: E501
110
+ 'warnings', # noqa: E501
111
111
  }
112
112
 
113
113
  _composed_schemas = {}
@@ -149,8 +149,8 @@ class AdSetCategoryBidListResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data ([AdSetCategoryBidResource], none_type): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
152
  errors ([CommonProblem], none_type): [optional] # noqa: E501
153
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AdSetCategoryBidListResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data ([AdSetCategoryBidResource], none_type): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
240
  errors ([CommonProblem], none_type): [optional] # noqa: E501
241
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -55,11 +55,6 @@ class AdSetDeliveryLimitations(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('environments',): {
59
- 'None': None,
60
- 'WEB': "web",
61
- 'INAPP': "inApp",
62
- },
63
58
  ('devices',): {
64
59
  'None': None,
65
60
  'OTHER': "other",
@@ -67,6 +62,11 @@ class AdSetDeliveryLimitations(ModelNormal):
67
62
  'MOBILE': "mobile",
68
63
  'TABLET': "tablet",
69
64
  },
65
+ ('environments',): {
66
+ 'None': None,
67
+ 'WEB': "web",
68
+ 'INAPP': "inApp",
69
+ },
70
70
  ('operating_systems',): {
71
71
  'None': None,
72
72
  'ANDROID': "android",
@@ -99,8 +99,8 @@ class AdSetDeliveryLimitations(ModelNormal):
99
99
  and the value is attribute type.
100
100
  """
101
101
  return {
102
- 'environments': ([str], none_type,), # noqa: E501
103
102
  'devices': ([str], none_type,), # noqa: E501
103
+ 'environments': ([str], none_type,), # noqa: E501
104
104
  'operating_systems': ([str], none_type,), # noqa: E501
105
105
  }
106
106
 
@@ -110,8 +110,8 @@ class AdSetDeliveryLimitations(ModelNormal):
110
110
 
111
111
 
112
112
  attribute_map = {
113
- 'environments': 'environments', # noqa: E501
114
113
  'devices': 'devices', # noqa: E501
114
+ 'environments': 'environments', # noqa: E501
115
115
  'operating_systems': 'operatingSystems', # noqa: E501
116
116
  }
117
117
 
@@ -156,8 +156,8 @@ class AdSetDeliveryLimitations(ModelNormal):
156
156
  Animal class but this time we won't travel
157
157
  through its discriminator because we passed in
158
158
  _visited_composed_classes = (Animal,)
159
- environments ([str], none_type): [optional] # noqa: E501
160
159
  devices ([str], none_type): [optional] # noqa: E501
160
+ environments ([str], none_type): [optional] # noqa: E501
161
161
  operating_systems ([str], none_type): [optional] # noqa: E501
162
162
  """
163
163
 
@@ -244,8 +244,8 @@ class AdSetDeliveryLimitations(ModelNormal):
244
244
  Animal class but this time we won't travel
245
245
  through its discriminator because we passed in
246
246
  _visited_composed_classes = (Animal,)
247
- environments ([str], none_type): [optional] # noqa: E501
248
247
  devices ([str], none_type): [optional] # noqa: E501
248
+ environments ([str], none_type): [optional] # noqa: E501
249
249
  operating_systems ([str], none_type): [optional] # noqa: E501
250
250
  """
251
251
 
@@ -55,11 +55,6 @@ class AdSetDeliveryLimitationsV23Q1(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('environments',): {
59
- 'None': None,
60
- 'WEB': "web",
61
- 'INAPP': "inApp",
62
- },
63
58
  ('devices',): {
64
59
  'None': None,
65
60
  'OTHER': "other",
@@ -67,6 +62,11 @@ class AdSetDeliveryLimitationsV23Q1(ModelNormal):
67
62
  'MOBILE': "mobile",
68
63
  'TABLET': "tablet",
69
64
  },
65
+ ('environments',): {
66
+ 'None': None,
67
+ 'WEB': "web",
68
+ 'INAPP': "inApp",
69
+ },
70
70
  ('operating_systems',): {
71
71
  'None': None,
72
72
  'ANDROID': "android",
@@ -99,8 +99,8 @@ class AdSetDeliveryLimitationsV23Q1(ModelNormal):
99
99
  and the value is attribute type.
100
100
  """
101
101
  return {
102
- 'environments': ([str], none_type,), # noqa: E501
103
102
  'devices': ([str], none_type,), # noqa: E501
103
+ 'environments': ([str], none_type,), # noqa: E501
104
104
  'operating_systems': ([str], none_type,), # noqa: E501
105
105
  }
106
106
 
@@ -110,8 +110,8 @@ class AdSetDeliveryLimitationsV23Q1(ModelNormal):
110
110
 
111
111
 
112
112
  attribute_map = {
113
- 'environments': 'environments', # noqa: E501
114
113
  'devices': 'devices', # noqa: E501
114
+ 'environments': 'environments', # noqa: E501
115
115
  'operating_systems': 'operatingSystems', # noqa: E501
116
116
  }
117
117
 
@@ -156,8 +156,8 @@ class AdSetDeliveryLimitationsV23Q1(ModelNormal):
156
156
  Animal class but this time we won't travel
157
157
  through its discriminator because we passed in
158
158
  _visited_composed_classes = (Animal,)
159
- environments ([str], none_type): [optional] # noqa: E501
160
159
  devices ([str], none_type): [optional] # noqa: E501
160
+ environments ([str], none_type): [optional] # noqa: E501
161
161
  operating_systems ([str], none_type): [optional] # noqa: E501
162
162
  """
163
163
 
@@ -244,8 +244,8 @@ class AdSetDeliveryLimitationsV23Q1(ModelNormal):
244
244
  Animal class but this time we won't travel
245
245
  through its discriminator because we passed in
246
246
  _visited_composed_classes = (Animal,)
247
- environments ([str], none_type): [optional] # noqa: E501
248
247
  devices ([str], none_type): [optional] # noqa: E501
248
+ environments ([str], none_type): [optional] # noqa: E501
249
249
  operating_systems ([str], none_type): [optional] # noqa: E501
250
250
  """
251
251
 
@@ -90,8 +90,8 @@ class AdSetDisplayMultiplierListResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': ([AdSetDisplayMultiplierResource], none_type,), # noqa: E501
93
- 'warnings': ([CommonProblem], none_type,), # noqa: E501
94
93
  'errors': ([CommonProblem], none_type,), # noqa: E501
94
+ 'warnings': ([CommonProblem], none_type,), # noqa: E501
95
95
  }
96
96
 
97
97
  @cached_property
@@ -101,13 +101,13 @@ class AdSetDisplayMultiplierListResponse(ModelNormal):
101
101
 
102
102
  attribute_map = {
103
103
  'data': 'data', # noqa: E501
104
- 'warnings': 'warnings', # noqa: E501
105
104
  'errors': 'errors', # noqa: E501
105
+ 'warnings': 'warnings', # noqa: E501
106
106
  }
107
107
 
108
108
  read_only_vars = {
109
- 'warnings', # noqa: E501
110
109
  'errors', # noqa: E501
110
+ 'warnings', # noqa: E501
111
111
  }
112
112
 
113
113
  _composed_schemas = {}
@@ -149,8 +149,8 @@ class AdSetDisplayMultiplierListResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data ([AdSetDisplayMultiplierResource], none_type): [optional] # noqa: E501
152
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
153
152
  errors ([CommonProblem], none_type): [optional] # noqa: E501
153
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AdSetDisplayMultiplierListResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data ([AdSetDisplayMultiplierResource], none_type): [optional] # noqa: E501
240
- warnings ([CommonProblem], none_type): [optional] # noqa: E501
241
240
  errors ([CommonProblem], none_type): [optional] # noqa: E501
241
+ warnings ([CommonProblem], none_type): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -92,8 +92,8 @@ class AdSetTargeting(ModelNormal):
92
92
  lazy_import()
93
93
  return {
94
94
  'delivery_limitations': (AdSetDeliveryLimitations,), # noqa: E501
95
- 'geo_location': (AdSetGeoLocation,), # noqa: E501
96
95
  'frequency_capping': (AdSetFrequencyCapping,), # noqa: E501
96
+ 'geo_location': (AdSetGeoLocation,), # noqa: E501
97
97
  }
98
98
 
99
99
  @cached_property
@@ -103,8 +103,8 @@ class AdSetTargeting(ModelNormal):
103
103
 
104
104
  attribute_map = {
105
105
  'delivery_limitations': 'deliveryLimitations', # noqa: E501
106
- 'geo_location': 'geoLocation', # noqa: E501
107
106
  'frequency_capping': 'frequencyCapping', # noqa: E501
107
+ 'geo_location': 'geoLocation', # noqa: E501
108
108
  }
109
109
 
110
110
  read_only_vars = {
@@ -149,8 +149,8 @@ class AdSetTargeting(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  delivery_limitations (AdSetDeliveryLimitations): [optional] # noqa: E501
152
- geo_location (AdSetGeoLocation): [optional] # noqa: E501
153
152
  frequency_capping (AdSetFrequencyCapping): [optional] # noqa: E501
153
+ geo_location (AdSetGeoLocation): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AdSetTargeting(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  delivery_limitations (AdSetDeliveryLimitations): [optional] # noqa: E501
240
- geo_location (AdSetGeoLocation): [optional] # noqa: E501
241
240
  frequency_capping (AdSetFrequencyCapping): [optional] # noqa: E501
241
+ geo_location (AdSetGeoLocation): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -92,8 +92,8 @@ class AdSetTargetingV23Q1(ModelNormal):
92
92
  lazy_import()
93
93
  return {
94
94
  'delivery_limitations': (AdSetDeliveryLimitationsV23Q1,), # noqa: E501
95
- 'geo_location': (AdSetGeoLocationV23Q1,), # noqa: E501
96
95
  'frequency_capping': (AdSetFrequencyCappingV23Q1,), # noqa: E501
96
+ 'geo_location': (AdSetGeoLocationV23Q1,), # noqa: E501
97
97
  }
98
98
 
99
99
  @cached_property
@@ -103,8 +103,8 @@ class AdSetTargetingV23Q1(ModelNormal):
103
103
 
104
104
  attribute_map = {
105
105
  'delivery_limitations': 'deliveryLimitations', # noqa: E501
106
- 'geo_location': 'geoLocation', # noqa: E501
107
106
  'frequency_capping': 'frequencyCapping', # noqa: E501
107
+ 'geo_location': 'geoLocation', # noqa: E501
108
108
  }
109
109
 
110
110
  read_only_vars = {
@@ -149,8 +149,8 @@ class AdSetTargetingV23Q1(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  delivery_limitations (AdSetDeliveryLimitationsV23Q1): [optional] # noqa: E501
152
- geo_location (AdSetGeoLocationV23Q1): [optional] # noqa: E501
153
152
  frequency_capping (AdSetFrequencyCappingV23Q1): [optional] # noqa: E501
153
+ geo_location (AdSetGeoLocationV23Q1): [optional] # noqa: E501
154
154
  """
155
155
 
156
156
  _check_type = kwargs.pop('_check_type', True)
@@ -237,8 +237,8 @@ class AdSetTargetingV23Q1(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  delivery_limitations (AdSetDeliveryLimitationsV23Q1): [optional] # noqa: E501
240
- geo_location (AdSetGeoLocationV23Q1): [optional] # noqa: E501
241
240
  frequency_capping (AdSetFrequencyCappingV23Q1): [optional] # noqa: E501
241
+ geo_location (AdSetGeoLocationV23Q1): [optional] # noqa: E501
242
242
  """
243
243
 
244
244
  _check_type = kwargs.pop('_check_type', True)
@@ -86,13 +86,13 @@ class AdWrite(ModelNormal):
86
86
  and the value is attribute type.
87
87
  """
88
88
  return {
89
- 'name': (str,), # noqa: E501
90
- 'creative_id': (str,), # noqa: E501
91
89
  'ad_set_id': (str,), # noqa: E501
90
+ 'creative_id': (str,), # noqa: E501
91
+ 'name': (str,), # noqa: E501
92
92
  'start_date': (str,), # noqa: E501
93
93
  'description': (str, none_type,), # noqa: E501
94
- 'inventory_type': (str, none_type,), # noqa: E501
95
94
  'end_date': (str, none_type,), # noqa: E501
95
+ 'inventory_type': (str, none_type,), # noqa: E501
96
96
  }
97
97
 
98
98
  @cached_property
@@ -101,13 +101,13 @@ class AdWrite(ModelNormal):
101
101
 
102
102
 
103
103
  attribute_map = {
104
- 'name': 'name', # noqa: E501
105
- 'creative_id': 'creativeId', # noqa: E501
106
104
  'ad_set_id': 'adSetId', # noqa: E501
105
+ 'creative_id': 'creativeId', # noqa: E501
106
+ 'name': 'name', # noqa: E501
107
107
  'start_date': 'startDate', # noqa: E501
108
108
  'description': 'description', # noqa: E501
109
- 'inventory_type': 'inventoryType', # noqa: E501
110
109
  'end_date': 'endDate', # noqa: E501
110
+ 'inventory_type': 'inventoryType', # noqa: E501
111
111
  }
112
112
 
113
113
  read_only_vars = {
@@ -117,13 +117,13 @@ class AdWrite(ModelNormal):
117
117
 
118
118
  @classmethod
119
119
  @convert_js_args_to_python_args
120
- def _from_openapi_data(cls, name, creative_id, ad_set_id, start_date, *args, **kwargs): # noqa: E501
120
+ def _from_openapi_data(cls, ad_set_id, creative_id, name, start_date, *args, **kwargs): # noqa: E501
121
121
  """AdWrite - a model defined in OpenAPI
122
122
 
123
123
  Args:
124
- name (str): The name of the ad
125
- creative_id (str): The id of the Creative bound to this Ad
126
124
  ad_set_id (str): The id of the Ad Set bound to this Ad
125
+ creative_id (str): The id of the Creative bound to this Ad
126
+ name (str): The name of the ad
127
127
  start_date (str): The date when the ad will be launched String must be in ISO8601 format
128
128
 
129
129
  Keyword Args:
@@ -158,8 +158,8 @@ class AdWrite(ModelNormal):
158
158
  through its discriminator because we passed in
159
159
  _visited_composed_classes = (Animal,)
160
160
  description (str, none_type): The description of the ad. [optional] # noqa: E501
161
- inventory_type (str, none_type): The inventory the Ad to be created or updated belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
162
161
  end_date (str, none_type): The date when when we will stop to show this ad. If the end date is not specified (i.e. null) then the ad will go on forever String must be in ISO8601 format. [optional] # noqa: E501
162
+ inventory_type (str, none_type): The inventory the Ad to be created or updated belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
163
163
  """
164
164
 
165
165
  _check_type = kwargs.pop('_check_type', True)
@@ -191,9 +191,9 @@ class AdWrite(ModelNormal):
191
191
  self._configuration = _configuration
192
192
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
193
193
 
194
- self.name = name
195
- self.creative_id = creative_id
196
194
  self.ad_set_id = ad_set_id
195
+ self.creative_id = creative_id
196
+ self.name = name
197
197
  self.start_date = start_date
198
198
  for var_name, var_value in kwargs.items():
199
199
  if var_name not in self.attribute_map and \
@@ -215,13 +215,13 @@ class AdWrite(ModelNormal):
215
215
  ])
216
216
 
217
217
  @convert_js_args_to_python_args
218
- def __init__(self, name, creative_id, ad_set_id, start_date, *args, **kwargs): # noqa: E501
218
+ def __init__(self, ad_set_id, creative_id, name, start_date, *args, **kwargs): # noqa: E501
219
219
  """AdWrite - a model defined in OpenAPI
220
220
 
221
221
  Args:
222
- name (str): The name of the ad
223
- creative_id (str): The id of the Creative bound to this Ad
224
222
  ad_set_id (str): The id of the Ad Set bound to this Ad
223
+ creative_id (str): The id of the Creative bound to this Ad
224
+ name (str): The name of the ad
225
225
  start_date (str): The date when the ad will be launched String must be in ISO8601 format
226
226
 
227
227
  Keyword Args:
@@ -256,8 +256,8 @@ class AdWrite(ModelNormal):
256
256
  through its discriminator because we passed in
257
257
  _visited_composed_classes = (Animal,)
258
258
  description (str, none_type): The description of the ad. [optional] # noqa: E501
259
- inventory_type (str, none_type): The inventory the Ad to be created or updated belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
260
259
  end_date (str, none_type): The date when when we will stop to show this ad. If the end date is not specified (i.e. null) then the ad will go on forever String must be in ISO8601 format. [optional] # noqa: E501
260
+ inventory_type (str, none_type): The inventory the Ad to be created or updated belongs to. Possible values are \"Display\" and \"Native\". This is optional since this doesn't make sense for every creative type but will throw an error if not set for a dynamic creative.. [optional] # noqa: E501
261
261
  """
262
262
 
263
263
  _check_type = kwargs.pop('_check_type', True)
@@ -287,9 +287,9 @@ class AdWrite(ModelNormal):
287
287
  self._configuration = _configuration
288
288
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
289
289
 
290
- self.name = name
291
- self.creative_id = creative_id
292
290
  self.ad_set_id = ad_set_id
291
+ self.creative_id = creative_id
292
+ self.name = name
293
293
  self.start_date = start_date
294
294
  for var_name, var_value in kwargs.items():
295
295
  if var_name not in self.attribute_map and \