criteo-api-marketingsolutions-sdk 2024.4.0.250129__py3-none-any.whl → 2024.7.0.240808__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 (292) hide show
  1. {criteo_api_marketingsolutions_sdk-2024.4.0.250129.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/METADATA +6 -15
  2. criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info/RECORD +269 -0
  3. {criteo_api_marketingsolutions_sdk-2024.4.0.250129.dist-info → criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info}/WHEEL +1 -1
  4. criteo_api_marketingsolutions_sdk-2024.7.0.240808.dist-info/top_level.txt +1 -0
  5. criteo_api_marketingsolutions_v2024_07/__init__.py +31 -0
  6. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api/__init__.py +1 -1
  7. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api/advertiser_api.py +5 -5
  8. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api/analytics_api.py +19 -21
  9. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api/audience_api.py +320 -601
  10. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api/campaign_api.py +91 -91
  11. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api/creative_api.py +109 -109
  12. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api/gateway_api.py +5 -5
  13. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api_client.py +6 -6
  14. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/api_client_builder.py +3 -3
  15. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/apis/__init__.py +7 -7
  16. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/configuration.py +5 -5
  17. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/criteo_api_client.py +2 -2
  18. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/criteo_auth.py +3 -3
  19. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/criteo_rest.py +3 -3
  20. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/exceptions.py +1 -1
  21. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/__init__.py +1 -1
  22. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad.py +3 -3
  23. criteo_api_marketingsolutions_v2024_04/model/resource_collection_outcome_of_coupon.py → criteo_api_marketingsolutions_v2024_07/model/ad_list_response.py +18 -12
  24. criteo_api_marketingsolutions_v2024_04/model/resource_of_ad.py → criteo_api_marketingsolutions_v2024_07/model/ad_resource.py +9 -9
  25. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_ad.py → criteo_api_marketingsolutions_v2024_07/model/ad_response.py +16 -12
  26. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_audience_link_entity_v1.py +3 -3
  27. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_audience_link_entity_v1_resource.py +4 -4
  28. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_audience_link_entity_v1_response.py +5 -5
  29. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_audience_link_input_entity_v1.py +4 -4
  30. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_category_bid.py +3 -3
  31. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_category_bid_list_response.py +5 -5
  32. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_category_bid_resource.py +4 -4
  33. criteo_api_marketingsolutions_v2024_04/model/ad_set_delivery_limitations_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/ad_set_delivery_limitations_v24_q1.py +6 -6
  34. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_display_multiplier.py +3 -3
  35. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_display_multiplier_list_response.py +5 -5
  36. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_set_display_multiplier_resource.py +4 -4
  37. criteo_api_marketingsolutions_v2024_04/model/ad_set_frequency_capping.py → criteo_api_marketingsolutions_v2024_07/model/ad_set_frequency_capping_v24_q1.py +6 -6
  38. criteo_api_marketingsolutions_v2024_04/model/ad_set_geo_location_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/ad_set_geo_location_v24_q1.py +17 -17
  39. criteo_api_marketingsolutions_v2024_04/model/ad_set_search_filter_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/ad_set_search_filter_v24_q1.py +6 -6
  40. criteo_api_marketingsolutions_v2024_04/model/ad_set_search_request_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/ad_set_search_request_v24_q1.py +11 -11
  41. criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting_rule.py → criteo_api_marketingsolutions_v2024_07/model/ad_set_targeting_rule_v24_q1.py +6 -6
  42. criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/ad_set_targeting_v24_q1.py +21 -21
  43. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/ad_write.py +3 -3
  44. criteo_api_marketingsolutions_v2024_04/model/resource_input_of_ad_write.py → criteo_api_marketingsolutions_v2024_07/model/ad_write_request.py +11 -11
  45. criteo_api_marketingsolutions_v2024_04/model/resource_of_ad_write.py → criteo_api_marketingsolutions_v2024_07/model/ad_write_resource.py +9 -9
  46. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/adaptive_attributes.py +17 -7
  47. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/adaptive_colors.py +3 -3
  48. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/adaptive_write_attributes.py +9 -5
  49. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/algebra_node_v1.py +3 -3
  50. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/application_summary_model.py +3 -3
  51. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/application_summary_model_resource.py +4 -4
  52. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/application_summary_model_response.py +5 -5
  53. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_bulk_create_input_v1.py +4 -4
  54. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_bulk_delete_input_v1.py +4 -4
  55. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_bulk_update_input_v1.py +4 -4
  56. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_compute_size_entity_v1_resource.py +3 -3
  57. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_compute_sizes_input_v1.py +4 -4
  58. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_create_entity_v1.py +4 -4
  59. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_create_entity_v1_resource.py +4 -4
  60. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_delete_entity_v1_resource.py +3 -3
  61. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_entity_v1.py +4 -4
  62. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +6 -6
  63. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_entity_v1_list_response.py +5 -5
  64. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_entity_v1_resource.py +4 -4
  65. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_error.py +3 -3
  66. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_estimate_size_entity_v1.py +4 -4
  67. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_estimate_size_entity_v1_resource.py +4 -4
  68. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_estimate_size_input_v1.py +4 -4
  69. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_id_entity_v1_list_response.py +5 -5
  70. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_id_entity_v1_resource.py +3 -3
  71. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_name_description.py +3 -3
  72. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_search_entity_v1.py +3 -3
  73. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_search_entity_v1_resource.py +4 -4
  74. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_search_input_v1.py +4 -4
  75. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_search_metadata_v1.py +3 -3
  76. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_bulk_create_input_v1.py +4 -4
  77. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_bulk_delete_input_v1.py +4 -4
  78. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_bulk_update_input_v1.py +4 -4
  79. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_compute_size_entity_v1_resource.py +3 -3
  80. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_compute_sizes_input_v1.py +4 -4
  81. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_create_entity_v1.py +8 -8
  82. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_create_entity_v1_resource.py +4 -4
  83. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_delete_entity_v1_resource.py +3 -3
  84. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_entity_v1.py +10 -10
  85. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +6 -6
  86. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_entity_v1_list_response.py +5 -5
  87. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_entity_v1_resource.py +4 -4
  88. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_estimate_size_input_v1.py +4 -4
  89. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_id_entity_v1_list_response.py +5 -5
  90. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_id_entity_v1_resource.py +3 -3
  91. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_search_entity_v1.py +3 -3
  92. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_search_entity_v1_resource.py +4 -4
  93. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_search_input_v1.py +4 -4
  94. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_search_metadata_v1.py +3 -3
  95. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_entity_v1.py +3 -3
  96. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_entity_v1_list_response.py +5 -5
  97. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_entity_v1_resource.py +4 -4
  98. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_estimation_entity_v1.py +5 -5
  99. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_estimation_entity_v1_resource.py +4 -4
  100. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_estimation_v1.py +3 -3
  101. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_estimation_v1_resource.py +4 -4
  102. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_size_estimation_v1_response.py +5 -5
  103. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_update_entity_v1.py +9 -9
  104. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_segment_update_entity_v1_resource.py +4 -4
  105. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_size_entity_v1.py +3 -3
  106. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_size_entity_v1_list_response.py +5 -5
  107. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_size_entity_v1_resource.py +4 -4
  108. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_size_estimation_v1.py +3 -3
  109. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_size_estimation_v1_resource.py +4 -4
  110. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_size_estimation_v1_response.py +5 -5
  111. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_update_entity_v1.py +5 -5
  112. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_update_entity_v1_resource.py +4 -4
  113. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/audience_warning.py +3 -3
  114. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/basic_audience_definition.py +4 -4
  115. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/behavioral_v1.py +3 -3
  116. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/campaign_search_filters_v23_q1.py +3 -3
  117. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/campaign_search_request_v23_q1.py +4 -4
  118. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/campaign_spend_limit_v23_q1.py +4 -4
  119. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/campaign_v23_q1.py +4 -4
  120. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/campaign_v23_q1_list_response.py +5 -5
  121. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/campaign_v23_q1_resource.py +4 -4
  122. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/campaign_v23_q1_response.py +5 -5
  123. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/common_problem.py +3 -3
  124. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contact_list_statistics_entity_v1.py +3 -3
  125. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contact_list_statistics_entity_v1_resource.py +4 -4
  126. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contact_list_statistics_entity_v1_response.py +5 -5
  127. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contact_list_v1.py +3 -3
  128. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contactlist_amendment.py +4 -4
  129. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contactlist_amendment_attributes.py +6 -5
  130. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contactlist_amendment_request.py +4 -4
  131. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contactlist_operation.py +4 -4
  132. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/contactlist_operation_attributes.py +3 -3
  133. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/coupon.py +6 -4
  134. criteo_api_marketingsolutions_v2024_07/model/coupon_list_response.py +287 -0
  135. criteo_api_marketingsolutions_v2024_04/model/resource_of_coupon.py → criteo_api_marketingsolutions_v2024_07/model/coupon_resource.py +9 -9
  136. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_coupon.py → criteo_api_marketingsolutions_v2024_07/model/coupon_response.py +16 -12
  137. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/coupon_supported_sizes.py +7 -3
  138. criteo_api_marketingsolutions_v2024_04/model/resource_of_coupon_supported_sizes.py → criteo_api_marketingsolutions_v2024_07/model/coupon_supported_sizes_resource.py +9 -9
  139. criteo_api_marketingsolutions_v2024_07/model/coupon_supported_sizes_response.py +285 -0
  140. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_bidding.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_bidding_v24_q1.py +7 -6
  141. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_budget.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_budget_v24_q1.py +7 -6
  142. criteo_api_marketingsolutions_v2024_04/model/ad_set_geo_location.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_geo_location_v24_q1.py +17 -17
  143. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_schedule.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_schedule_v24_q1.py +6 -6
  144. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_targeting.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_targeting_v24_q1.py +21 -21
  145. criteo_api_marketingsolutions_v2024_04/model/create_ad_set.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_v24_q1.py +26 -26
  146. criteo_api_marketingsolutions_v2024_04/model/requests_patch_ad_set.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_v24_q1_request.py +11 -11
  147. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_resource.py → criteo_api_marketingsolutions_v2024_07/model/create_ad_set_v24_q1_resource.py +11 -11
  148. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/create_campaign.py +4 -4
  149. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/create_campaign_request.py +4 -4
  150. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/create_campaign_resource.py +4 -4
  151. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/create_campaign_spend_limit.py +3 -3
  152. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/create_coupon.py +6 -4
  153. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_request.py → criteo_api_marketingsolutions_v2024_07/model/create_coupon_request.py +11 -11
  154. criteo_api_marketingsolutions_v2024_04/model/resource_of_create_coupon.py → criteo_api_marketingsolutions_v2024_07/model/create_coupon_resource.py +9 -9
  155. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/create_image_slide.py +5 -3
  156. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/creative.py +7 -7
  157. criteo_api_marketingsolutions_v2024_07/model/creative_list_response.py +287 -0
  158. criteo_api_marketingsolutions_v2024_04/model/resource_of_creative.py → criteo_api_marketingsolutions_v2024_07/model/creative_resource.py +9 -9
  159. criteo_api_marketingsolutions_v2024_04/model/resource_collection_outcome_of_ad.py → criteo_api_marketingsolutions_v2024_07/model/creative_response.py +16 -12
  160. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/creative_write.py +7 -7
  161. criteo_api_marketingsolutions_v2024_07/model/creative_write_request.py +269 -0
  162. criteo_api_marketingsolutions_v2024_04/model/resource_of_creative_write.py → criteo_api_marketingsolutions_v2024_07/model/creative_write_resource.py +9 -9
  163. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/criteo_api_error.py +3 -3
  164. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/criteo_api_warning.py +3 -3
  165. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/delete_audience_contact_list_response.py +6 -6
  166. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/dynamic_attributes.py +8 -4
  167. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/dynamic_write_attributes.py +9 -9
  168. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/entity_of_portfolio_message.py +4 -4
  169. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/error_code_response.py +5 -5
  170. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/get_portfolio_response.py +6 -6
  171. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/html_tag_attributes.py +6 -4
  172. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/html_tag_write_attributes.py +6 -4
  173. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/image_attributes.py +5 -3
  174. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/image_set.py +6 -4
  175. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/image_set_base64.py +3 -3
  176. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/image_shape.py +3 -3
  177. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/image_slide.py +5 -3
  178. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/image_write_attributes.py +3 -3
  179. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_audience_segment_brand_entity_v1.py +3 -3
  180. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_audience_segment_brand_entity_v1_list_response.py +5 -5
  181. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_audience_segment_brand_entity_v1_resource.py +4 -4
  182. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_audience_segment_interest_entity_v1.py +3 -3
  183. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_audience_segment_interest_entity_v1_list_response.py +5 -5
  184. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_audience_segment_interest_entity_v1_resource.py +4 -4
  185. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_create_v1.py +3 -3
  186. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_size_estimation_v1.py +3 -3
  187. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_update_v1.py +4 -4
  188. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/in_market_v1.py +3 -3
  189. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/location_create_v1.py +4 -4
  190. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/location_size_estimation_v1.py +4 -4
  191. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/location_update_v1.py +4 -4
  192. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/location_v1.py +4 -4
  193. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/lookalike_create_v1.py +3 -3
  194. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/lookalike_update_v1.py +3 -3
  195. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/lookalike_v1.py +3 -3
  196. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/modify_audience_response.py +6 -6
  197. criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/nillable_ad_set_targeting_rule_v24_q1.py +11 -11
  198. criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule_v23_q1_value.py → criteo_api_marketingsolutions_v2024_07/model/nillable_ad_set_targeting_rule_v24_q1_value.py +9 -9
  199. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/nillable_date_time.py +3 -3
  200. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/nillable_decimal.py +3 -3
  201. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/nillable_gender_v1.py +3 -3
  202. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/nillable_int32.py +3 -3
  203. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/nillable_string.py +3 -3
  204. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/outcome.py +4 -4
  205. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_bidding.py → criteo_api_marketingsolutions_v2024_07/model/patch_ad_set_bidding_v24_q1.py +7 -7
  206. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_budget.py → criteo_api_marketingsolutions_v2024_07/model/patch_ad_set_budget_v24_q1.py +8 -7
  207. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_category_bid.py +3 -3
  208. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_category_bid_list_request.py +4 -4
  209. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_category_bid_resource.py +4 -4
  210. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_category_bid_result_list_response.py +5 -5
  211. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_category_bid_result_resource.py +3 -3
  212. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_display_multiplier.py +3 -3
  213. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_display_multiplier_list_request.py +4 -4
  214. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_display_multiplier_resource.py +4 -4
  215. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_display_multiplier_result_list_response.py +5 -5
  216. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_ad_set_display_multiplier_result_resource.py +3 -3
  217. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_scheduling.py → criteo_api_marketingsolutions_v2024_07/model/patch_ad_set_scheduling_v24_q1.py +7 -7
  218. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set.py → criteo_api_marketingsolutions_v2024_07/model/patch_ad_set_v24_q1.py +26 -26
  219. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_campaign.py +4 -4
  220. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_campaign_list_request.py +4 -4
  221. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_campaign_spend_limit.py +4 -4
  222. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_campaign_write_resource.py +4 -4
  223. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_result_campaign_list_response.py +5 -5
  224. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/patch_result_campaign_read_resource.py +3 -3
  225. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/placements_report_query_message.py +3 -3
  226. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/placements_report_query_message_list_request.py +4 -4
  227. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/placements_report_query_message_resource.py +4 -4
  228. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/point_of_interest_v1.py +3 -3
  229. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/portfolio_message.py +3 -3
  230. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/prospecting_create_v1.py +3 -3
  231. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/prospecting_update_v1.py +4 -4
  232. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/prospecting_v1.py +3 -3
  233. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_bidding_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/read_ad_set_bidding_v24_q1.py +9 -15
  234. criteo_api_marketingsolutions_v2024_04/model/patch_ad_set_budget.py → criteo_api_marketingsolutions_v2024_07/model/read_ad_set_budget_v24_q1.py +10 -15
  235. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_schedule_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/read_ad_set_schedule_v24_q1.py +7 -7
  236. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/read_ad_set_v24_q1.py +26 -26
  237. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/read_model_ad_set_id.py +3 -3
  238. criteo_api_marketingsolutions_v2024_07/model/read_model_ad_set_id_v24_q1.py +273 -0
  239. criteo_api_marketingsolutions_v2024_04/model/read_model_read_ad_set_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/read_model_read_ad_set_v24_q1.py +11 -11
  240. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/requests_ad_set_id.py +4 -4
  241. criteo_api_marketingsolutions_v2024_07/model/requests_patch_ad_set_v24_q1.py +269 -0
  242. criteo_api_marketingsolutions_v2024_04/model/response_read_ad_set_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/response_read_ad_set_v24_q1.py +12 -12
  243. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/responses_ad_set_id.py +5 -5
  244. criteo_api_marketingsolutions_v2024_07/model/responses_ad_set_id_v24_q1.py +282 -0
  245. criteo_api_marketingsolutions_v2024_04/model/responses_read_ad_set_v23_q1.py → criteo_api_marketingsolutions_v2024_07/model/responses_read_ad_set_v24_q1.py +12 -12
  246. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/retargeting_create_v1.py +3 -3
  247. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/retargeting_update_v1.py +3 -3
  248. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/retargeting_v1.py +3 -3
  249. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/size.py +3 -3
  250. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/statistics_report_query_message.py +3 -3
  251. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/tag.py +4 -4
  252. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transactions_report_query_message.py +3 -3
  253. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transactions_report_query_message_list_request.py +4 -4
  254. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transactions_report_query_message_resource.py +4 -4
  255. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transparency_query_message.py +3 -3
  256. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transparency_report.py +4 -4
  257. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transparency_report_file.py +3 -3
  258. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transparency_report_list_response.py +5 -5
  259. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/transparency_report_resource.py +4 -4
  260. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/update_coupon.py +3 -3
  261. criteo_api_marketingsolutions_v2024_07/model/update_coupon_request.py +269 -0
  262. criteo_api_marketingsolutions_v2024_04/model/resource_of_update_coupon.py → criteo_api_marketingsolutions_v2024_07/model/update_coupon_resource.py +9 -9
  263. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/video_detail.py +3 -3
  264. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model/write_model_ad_set_id.py +3 -3
  265. criteo_api_marketingsolutions_v2024_04/model/write_model_patch_ad_set.py → criteo_api_marketingsolutions_v2024_07/model/write_model_patch_ad_set_v24_q1.py +11 -11
  266. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/model_utils.py +2 -2
  267. criteo_api_marketingsolutions_v2024_07/models/__init__.py +255 -0
  268. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/rest.py +2 -2
  269. criteo_api_marketingsolutions_sdk-2024.4.0.250129.dist-info/RECORD +0 -280
  270. criteo_api_marketingsolutions_sdk-2024.4.0.250129.dist-info/top_level.txt +0 -1
  271. criteo_api_marketingsolutions_v2024_04/__init__.py +0 -31
  272. criteo_api_marketingsolutions_v2024_04/model/ad_set_delivery_limitations.py +0 -289
  273. criteo_api_marketingsolutions_v2024_04/model/ad_set_frequency_capping_v23_q1.py +0 -283
  274. criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting.py +0 -281
  275. criteo_api_marketingsolutions_v2024_04/model/ad_set_targeting_rule_v23_q1.py +0 -273
  276. criteo_api_marketingsolutions_v2024_04/model/create_ad_set_geo_location.py +0 -277
  277. criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule.py +0 -269
  278. criteo_api_marketingsolutions_v2024_04/model/nillable_ad_set_targeting_rule_value.py +0 -329
  279. criteo_api_marketingsolutions_v2024_04/model/read_ad_set.py +0 -322
  280. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_bidding.py +0 -302
  281. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_budget_v23_q1.py +0 -313
  282. criteo_api_marketingsolutions_v2024_04/model/read_ad_set_schedule.py +0 -299
  283. criteo_api_marketingsolutions_v2024_04/model/read_model_read_ad_set.py +0 -279
  284. criteo_api_marketingsolutions_v2024_04/model/resource_collection_outcome_of_creative.py +0 -281
  285. criteo_api_marketingsolutions_v2024_04/model/resource_input_of_create_coupon.py +0 -269
  286. criteo_api_marketingsolutions_v2024_04/model/resource_input_of_creative_write.py +0 -269
  287. criteo_api_marketingsolutions_v2024_04/model/resource_input_of_update_coupon.py +0 -269
  288. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_coupon_supported_sizes.py +0 -281
  289. criteo_api_marketingsolutions_v2024_04/model/resource_outcome_of_creative.py +0 -281
  290. criteo_api_marketingsolutions_v2024_04/model/response_read_ad_set.py +0 -281
  291. criteo_api_marketingsolutions_v2024_04/models/__init__.py +0 -266
  292. {criteo_api_marketingsolutions_v2024_04 → criteo_api_marketingsolutions_v2024_07}/flow_constants.py +0 -0
@@ -1,322 +0,0 @@
1
- """
2
- Criteo API
3
-
4
- Criteo API - MarketingSolutions # noqa: E501
5
-
6
- The version of the OpenAPI document: 2024-04
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_v2024_04.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_v2024_04.exceptions import ApiAttributeError
30
-
31
-
32
- def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_04.model.ad_set_targeting import AdSetTargeting
34
- from criteo_api_marketingsolutions_v2024_04.model.read_ad_set_bidding import ReadAdSetBidding
35
- from criteo_api_marketingsolutions_v2024_04.model.read_ad_set_budget import ReadAdSetBudget
36
- from criteo_api_marketingsolutions_v2024_04.model.read_ad_set_schedule import ReadAdSetSchedule
37
- globals()['AdSetTargeting'] = AdSetTargeting
38
- globals()['ReadAdSetBidding'] = ReadAdSetBidding
39
- globals()['ReadAdSetBudget'] = ReadAdSetBudget
40
- globals()['ReadAdSetSchedule'] = ReadAdSetSchedule
41
-
42
-
43
- class ReadAdSet(ModelNormal):
44
- """NOTE: This class is auto generated by OpenAPI Generator.
45
- Ref: https://openapi-generator.tech
46
-
47
- Do not edit the class manually.
48
-
49
- Attributes:
50
- allowed_values (dict): The key is the tuple path to the attribute
51
- and the for var_name this is (var_name,). The value is a dict
52
- with a capitalized key describing the allowed value and an allowed
53
- value. These dicts store the allowed enum values.
54
- attribute_map (dict): The key is attribute name
55
- and the value is json key in definition.
56
- discriminator_value_class_map (dict): A dict to go from the discriminator
57
- variable value to the discriminator class name.
58
- validations (dict): The key is the tuple path to the attribute
59
- and the for var_name this is (var_name,). The value is a dict
60
- that stores validations for max_length, min_length, max_items,
61
- min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
62
- inclusive_minimum, and regex.
63
- additional_properties_type (tuple): A tuple of classes accepted
64
- as additional properties values.
65
- """
66
-
67
- allowed_values = {
68
- ('destination_environment',): {
69
- 'None': None,
70
- 'UNDEFINED': "undefined",
71
- 'WEB': "web",
72
- 'APP': "app",
73
- },
74
- ('media_type',): {
75
- 'None': None,
76
- 'DISPLAY': "display",
77
- 'VIDEO': "video",
78
- },
79
- }
80
-
81
- validations = {
82
- }
83
-
84
- @cached_property
85
- def additional_properties_type():
86
- """
87
- This must be a method because a model may have properties that are
88
- of type self, this must run after the class is loaded
89
- """
90
- lazy_import()
91
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
92
-
93
- _nullable = False
94
-
95
- @cached_property
96
- def openapi_types():
97
- """
98
- This must be a method because a model may have properties that are
99
- of type self, this must run after the class is loaded
100
-
101
- Returns
102
- openapi_types (dict): The key is attribute name
103
- and the value is attribute type.
104
- """
105
- lazy_import()
106
- return {
107
- 'name': (str, none_type,), # noqa: E501
108
- 'advertiser_id': (str, none_type,), # noqa: E501
109
- 'dataset_id': (str, none_type,), # noqa: E501
110
- 'campaign_id': (str, none_type,), # noqa: E501
111
- 'destination_environment': (str, none_type,), # noqa: E501
112
- 'schedule': (ReadAdSetSchedule,), # noqa: E501
113
- 'bidding': (ReadAdSetBidding,), # noqa: E501
114
- 'targeting': (AdSetTargeting,), # noqa: E501
115
- 'budget': (ReadAdSetBudget,), # noqa: E501
116
- 'media_type': (str, none_type,), # noqa: E501
117
- }
118
-
119
- @cached_property
120
- def discriminator():
121
- return None
122
-
123
-
124
- attribute_map = {
125
- 'name': 'name', # noqa: E501
126
- 'advertiser_id': 'advertiserId', # noqa: E501
127
- 'dataset_id': 'datasetId', # noqa: E501
128
- 'campaign_id': 'campaignId', # noqa: E501
129
- 'destination_environment': 'destinationEnvironment', # noqa: E501
130
- 'schedule': 'schedule', # noqa: E501
131
- 'bidding': 'bidding', # noqa: E501
132
- 'targeting': 'targeting', # noqa: E501
133
- 'budget': 'budget', # noqa: E501
134
- 'media_type': 'mediaType', # noqa: E501
135
- }
136
-
137
- read_only_vars = {
138
- }
139
-
140
- _composed_schemas = {}
141
-
142
- @classmethod
143
- @convert_js_args_to_python_args
144
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
145
- """ReadAdSet - a model defined in OpenAPI
146
-
147
- Keyword Args:
148
- _check_type (bool): if True, values for parameters in openapi_types
149
- will be type checked and a TypeError will be
150
- raised if the wrong type is input.
151
- Defaults to True
152
- _path_to_item (tuple/list): This is a list of keys or values to
153
- drill down to the model in received_data
154
- when deserializing a response
155
- _spec_property_naming (bool): True if the variable names in the input data
156
- are serialized names, as specified in the OpenAPI document.
157
- False if the variable names in the input data
158
- are pythonic names, e.g. snake case (default)
159
- _configuration (Configuration): the instance to use when
160
- deserializing a file_type parameter.
161
- If passed, type conversion is attempted
162
- If omitted no type conversion is done.
163
- _visited_composed_classes (tuple): This stores a tuple of
164
- classes that we have traveled through so that
165
- if we see that class again we will not use its
166
- discriminator again.
167
- When traveling through a discriminator, the
168
- composed schema that is
169
- is traveled through is added to this set.
170
- For example if Animal has a discriminator
171
- petType and we pass in "Dog", and the class Dog
172
- allOf includes Animal, we move through Animal
173
- once using the discriminator, and pick Dog.
174
- Then in Dog, we will make an instance of the
175
- Animal class but this time we won't travel
176
- through its discriminator because we passed in
177
- _visited_composed_classes = (Animal,)
178
- name (str, none_type): [optional] # noqa: E501
179
- advertiser_id (str, none_type): [optional] # noqa: E501
180
- dataset_id (str, none_type): [optional] # noqa: E501
181
- campaign_id (str, none_type): [optional] # noqa: E501
182
- destination_environment (str, none_type): [optional] # noqa: E501
183
- schedule (ReadAdSetSchedule): [optional] # noqa: E501
184
- bidding (ReadAdSetBidding): [optional] # noqa: E501
185
- targeting (AdSetTargeting): [optional] # noqa: E501
186
- budget (ReadAdSetBudget): [optional] # noqa: E501
187
- media_type (str, none_type): [optional] # noqa: E501
188
- """
189
-
190
- _check_type = kwargs.pop('_check_type', True)
191
- _spec_property_naming = kwargs.pop('_spec_property_naming', True)
192
- _path_to_item = kwargs.pop('_path_to_item', ())
193
- _configuration = kwargs.pop('_configuration', None)
194
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
195
-
196
- self = super(OpenApiModel, cls).__new__(cls)
197
-
198
- if args:
199
- for arg in args:
200
- if isinstance(arg, dict):
201
- kwargs.update(arg)
202
- else:
203
- raise ApiTypeError(
204
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
205
- args,
206
- self.__class__.__name__,
207
- ),
208
- path_to_item=_path_to_item,
209
- valid_classes=(self.__class__,),
210
- )
211
-
212
- self._data_store = {}
213
- self._check_type = _check_type
214
- self._spec_property_naming = _spec_property_naming
215
- self._path_to_item = _path_to_item
216
- self._configuration = _configuration
217
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
218
-
219
- for var_name, var_value in kwargs.items():
220
- if var_name not in self.attribute_map and \
221
- self._configuration is not None and \
222
- self._configuration.discard_unknown_keys and \
223
- self.additional_properties_type is None:
224
- # discard variable.
225
- continue
226
- setattr(self, var_name, var_value)
227
- return self
228
-
229
- required_properties = set([
230
- '_data_store',
231
- '_check_type',
232
- '_spec_property_naming',
233
- '_path_to_item',
234
- '_configuration',
235
- '_visited_composed_classes',
236
- ])
237
-
238
- @convert_js_args_to_python_args
239
- def __init__(self, *args, **kwargs): # noqa: E501
240
- """ReadAdSet - a model defined in OpenAPI
241
-
242
- Keyword Args:
243
- _check_type (bool): if True, values for parameters in openapi_types
244
- will be type checked and a TypeError will be
245
- raised if the wrong type is input.
246
- Defaults to True
247
- _path_to_item (tuple/list): This is a list of keys or values to
248
- drill down to the model in received_data
249
- when deserializing a response
250
- _spec_property_naming (bool): True if the variable names in the input data
251
- are serialized names, as specified in the OpenAPI document.
252
- False if the variable names in the input data
253
- are pythonic names, e.g. snake case (default)
254
- _configuration (Configuration): the instance to use when
255
- deserializing a file_type parameter.
256
- If passed, type conversion is attempted
257
- If omitted no type conversion is done.
258
- _visited_composed_classes (tuple): This stores a tuple of
259
- classes that we have traveled through so that
260
- if we see that class again we will not use its
261
- discriminator again.
262
- When traveling through a discriminator, the
263
- composed schema that is
264
- is traveled through is added to this set.
265
- For example if Animal has a discriminator
266
- petType and we pass in "Dog", and the class Dog
267
- allOf includes Animal, we move through Animal
268
- once using the discriminator, and pick Dog.
269
- Then in Dog, we will make an instance of the
270
- Animal class but this time we won't travel
271
- through its discriminator because we passed in
272
- _visited_composed_classes = (Animal,)
273
- name (str, none_type): [optional] # noqa: E501
274
- advertiser_id (str, none_type): [optional] # noqa: E501
275
- dataset_id (str, none_type): [optional] # noqa: E501
276
- campaign_id (str, none_type): [optional] # noqa: E501
277
- destination_environment (str, none_type): [optional] # noqa: E501
278
- schedule (ReadAdSetSchedule): [optional] # noqa: E501
279
- bidding (ReadAdSetBidding): [optional] # noqa: E501
280
- targeting (AdSetTargeting): [optional] # noqa: E501
281
- budget (ReadAdSetBudget): [optional] # noqa: E501
282
- media_type (str, none_type): [optional] # noqa: E501
283
- """
284
-
285
- _check_type = kwargs.pop('_check_type', True)
286
- _spec_property_naming = kwargs.pop('_spec_property_naming', False)
287
- _path_to_item = kwargs.pop('_path_to_item', ())
288
- _configuration = kwargs.pop('_configuration', None)
289
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
290
-
291
- if args:
292
- for arg in args:
293
- if isinstance(arg, dict):
294
- kwargs.update(arg)
295
- else:
296
- raise ApiTypeError(
297
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
298
- args,
299
- self.__class__.__name__,
300
- ),
301
- path_to_item=_path_to_item,
302
- valid_classes=(self.__class__,),
303
- )
304
-
305
- self._data_store = {}
306
- self._check_type = _check_type
307
- self._spec_property_naming = _spec_property_naming
308
- self._path_to_item = _path_to_item
309
- self._configuration = _configuration
310
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
311
-
312
- for var_name, var_value in kwargs.items():
313
- if var_name not in self.attribute_map and \
314
- self._configuration is not None and \
315
- self._configuration.discard_unknown_keys and \
316
- self.additional_properties_type is None:
317
- # discard variable.
318
- continue
319
- setattr(self, var_name, var_value)
320
- if var_name in self.read_only_vars:
321
- raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
322
- f"class with read only attributes.")
@@ -1,302 +0,0 @@
1
- """
2
- Criteo API
3
-
4
- Criteo API - MarketingSolutions # noqa: E501
5
-
6
- The version of the OpenAPI document: 2024-04
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_v2024_04.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_v2024_04.exceptions import ApiAttributeError
30
-
31
-
32
- def lazy_import():
33
- from criteo_api_marketingsolutions_v2024_04.model.nillable_decimal import NillableDecimal
34
- globals()['NillableDecimal'] = NillableDecimal
35
-
36
-
37
- class ReadAdSetBidding(ModelNormal):
38
- """NOTE: This class is auto generated by OpenAPI Generator.
39
- Ref: https://openapi-generator.tech
40
-
41
- Do not edit the class manually.
42
-
43
- Attributes:
44
- allowed_values (dict): The key is the tuple path to the attribute
45
- and the for var_name this is (var_name,). The value is a dict
46
- with a capitalized key describing the allowed value and an allowed
47
- value. These dicts store the allowed enum values.
48
- attribute_map (dict): The key is attribute name
49
- and the value is json key in definition.
50
- discriminator_value_class_map (dict): A dict to go from the discriminator
51
- variable value to the discriminator class name.
52
- validations (dict): The key is the tuple path to the attribute
53
- and the for var_name this is (var_name,). The value is a dict
54
- that stores validations for max_length, min_length, max_items,
55
- min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum,
56
- inclusive_minimum, and regex.
57
- additional_properties_type (tuple): A tuple of classes accepted
58
- as additional properties values.
59
- """
60
-
61
- allowed_values = {
62
- ('bid_strategy',): {
63
- 'None': None,
64
- 'ACTIONS': "actions",
65
- 'CLICKS': "clicks",
66
- 'CONVERSIONS': "conversions",
67
- 'DISPLAYS': "displays",
68
- 'INSTALLS': "installs",
69
- 'REVENUE': "revenue",
70
- 'STORECONVERSIONS': "storeConversions",
71
- 'VALUE': "value",
72
- 'VIEWEDIMPRESSIONS': "viewedImpressions",
73
- 'VISITS': "Visits",
74
- 'COMPLETEDVIDEOVIEWS': "completedVideoViews",
75
- },
76
- ('cost_controller',): {
77
- 'None': None,
78
- 'COS': "COS",
79
- 'CPC': "CPC",
80
- 'CPI': "CPI",
81
- 'CPM': "CPM",
82
- 'CPO': "CPO",
83
- 'CPSV': "CPSV",
84
- 'CPV': "CPV",
85
- 'DAILYBUDGET': "dailyBudget",
86
- },
87
- }
88
-
89
- validations = {
90
- }
91
-
92
- @cached_property
93
- def additional_properties_type():
94
- """
95
- This must be a method because a model may have properties that are
96
- of type self, this must run after the class is loaded
97
- """
98
- lazy_import()
99
- return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501
100
-
101
- _nullable = False
102
-
103
- @cached_property
104
- def openapi_types():
105
- """
106
- This must be a method because a model may have properties that are
107
- of type self, this must run after the class is loaded
108
-
109
- Returns
110
- openapi_types (dict): The key is attribute name
111
- and the value is attribute type.
112
- """
113
- lazy_import()
114
- return {
115
- 'bid_amount': (NillableDecimal,), # noqa: E501
116
- 'bid_strategy': (str, none_type,), # noqa: E501
117
- 'cost_controller': (str, none_type,), # noqa: E501
118
- }
119
-
120
- @cached_property
121
- def discriminator():
122
- return None
123
-
124
-
125
- attribute_map = {
126
- 'bid_amount': 'bidAmount', # noqa: E501
127
- 'bid_strategy': 'bidStrategy', # noqa: E501
128
- 'cost_controller': 'costController', # noqa: E501
129
- }
130
-
131
- read_only_vars = {
132
- }
133
-
134
- _composed_schemas = {}
135
-
136
- @classmethod
137
- @convert_js_args_to_python_args
138
- def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
139
- """ReadAdSetBidding - a model defined in OpenAPI
140
-
141
- Keyword Args:
142
- _check_type (bool): if True, values for parameters in openapi_types
143
- will be type checked and a TypeError will be
144
- raised if the wrong type is input.
145
- Defaults to True
146
- _path_to_item (tuple/list): This is a list of keys or values to
147
- drill down to the model in received_data
148
- when deserializing a response
149
- _spec_property_naming (bool): True if the variable names in the input data
150
- are serialized names, as specified in the OpenAPI document.
151
- False if the variable names in the input data
152
- are pythonic names, e.g. snake case (default)
153
- _configuration (Configuration): the instance to use when
154
- deserializing a file_type parameter.
155
- If passed, type conversion is attempted
156
- If omitted no type conversion is done.
157
- _visited_composed_classes (tuple): This stores a tuple of
158
- classes that we have traveled through so that
159
- if we see that class again we will not use its
160
- discriminator again.
161
- When traveling through a discriminator, the
162
- composed schema that is
163
- is traveled through is added to this set.
164
- For example if Animal has a discriminator
165
- petType and we pass in "Dog", and the class Dog
166
- allOf includes Animal, we move through Animal
167
- once using the discriminator, and pick Dog.
168
- Then in Dog, we will make an instance of the
169
- Animal class but this time we won't travel
170
- through its discriminator because we passed in
171
- _visited_composed_classes = (Animal,)
172
- bid_amount (NillableDecimal): [optional] # noqa: E501
173
- bid_strategy (str, none_type): The intended optimization for the Ad Set. [optional] # noqa: E501
174
- cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501
175
- """
176
-
177
- _check_type = kwargs.pop('_check_type', True)
178
- _spec_property_naming = kwargs.pop('_spec_property_naming', True)
179
- _path_to_item = kwargs.pop('_path_to_item', ())
180
- _configuration = kwargs.pop('_configuration', None)
181
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
182
-
183
- self = super(OpenApiModel, cls).__new__(cls)
184
-
185
- if args:
186
- for arg in args:
187
- if isinstance(arg, dict):
188
- kwargs.update(arg)
189
- else:
190
- raise ApiTypeError(
191
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
192
- args,
193
- self.__class__.__name__,
194
- ),
195
- path_to_item=_path_to_item,
196
- valid_classes=(self.__class__,),
197
- )
198
-
199
- self._data_store = {}
200
- self._check_type = _check_type
201
- self._spec_property_naming = _spec_property_naming
202
- self._path_to_item = _path_to_item
203
- self._configuration = _configuration
204
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
205
-
206
- for var_name, var_value in kwargs.items():
207
- if var_name not in self.attribute_map and \
208
- self._configuration is not None and \
209
- self._configuration.discard_unknown_keys and \
210
- self.additional_properties_type is None:
211
- # discard variable.
212
- continue
213
- setattr(self, var_name, var_value)
214
- return self
215
-
216
- required_properties = set([
217
- '_data_store',
218
- '_check_type',
219
- '_spec_property_naming',
220
- '_path_to_item',
221
- '_configuration',
222
- '_visited_composed_classes',
223
- ])
224
-
225
- @convert_js_args_to_python_args
226
- def __init__(self, *args, **kwargs): # noqa: E501
227
- """ReadAdSetBidding - a model defined in OpenAPI
228
-
229
- Keyword Args:
230
- _check_type (bool): if True, values for parameters in openapi_types
231
- will be type checked and a TypeError will be
232
- raised if the wrong type is input.
233
- Defaults to True
234
- _path_to_item (tuple/list): This is a list of keys or values to
235
- drill down to the model in received_data
236
- when deserializing a response
237
- _spec_property_naming (bool): True if the variable names in the input data
238
- are serialized names, as specified in the OpenAPI document.
239
- False if the variable names in the input data
240
- are pythonic names, e.g. snake case (default)
241
- _configuration (Configuration): the instance to use when
242
- deserializing a file_type parameter.
243
- If passed, type conversion is attempted
244
- If omitted no type conversion is done.
245
- _visited_composed_classes (tuple): This stores a tuple of
246
- classes that we have traveled through so that
247
- if we see that class again we will not use its
248
- discriminator again.
249
- When traveling through a discriminator, the
250
- composed schema that is
251
- is traveled through is added to this set.
252
- For example if Animal has a discriminator
253
- petType and we pass in "Dog", and the class Dog
254
- allOf includes Animal, we move through Animal
255
- once using the discriminator, and pick Dog.
256
- Then in Dog, we will make an instance of the
257
- Animal class but this time we won't travel
258
- through its discriminator because we passed in
259
- _visited_composed_classes = (Animal,)
260
- bid_amount (NillableDecimal): [optional] # noqa: E501
261
- bid_strategy (str, none_type): The intended optimization for the Ad Set. [optional] # noqa: E501
262
- cost_controller (str, none_type): How spend is controlled. [optional] # noqa: E501
263
- """
264
-
265
- _check_type = kwargs.pop('_check_type', True)
266
- _spec_property_naming = kwargs.pop('_spec_property_naming', False)
267
- _path_to_item = kwargs.pop('_path_to_item', ())
268
- _configuration = kwargs.pop('_configuration', None)
269
- _visited_composed_classes = kwargs.pop('_visited_composed_classes', ())
270
-
271
- if args:
272
- for arg in args:
273
- if isinstance(arg, dict):
274
- kwargs.update(arg)
275
- else:
276
- raise ApiTypeError(
277
- "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % (
278
- args,
279
- self.__class__.__name__,
280
- ),
281
- path_to_item=_path_to_item,
282
- valid_classes=(self.__class__,),
283
- )
284
-
285
- self._data_store = {}
286
- self._check_type = _check_type
287
- self._spec_property_naming = _spec_property_naming
288
- self._path_to_item = _path_to_item
289
- self._configuration = _configuration
290
- self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
291
-
292
- for var_name, var_value in kwargs.items():
293
- if var_name not in self.attribute_map and \
294
- self._configuration is not None and \
295
- self._configuration.discard_unknown_keys and \
296
- self.additional_properties_type is None:
297
- # discard variable.
298
- continue
299
- setattr(self, var_name, var_value)
300
- if var_name in self.read_only_vars:
301
- raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate "
302
- f"class with read only attributes.")