criteo-api-retailmedia-sdk 2025.1.0.250317__py3-none-any.whl → 2025.1.0.251112__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.
Files changed (185) hide show
  1. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/METADATA +4 -4
  2. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/RECORD +184 -183
  3. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/WHEEL +1 -1
  4. criteo_api_retailmedia_v2025_01/__init__.py +1 -1
  5. criteo_api_retailmedia_v2025_01/api/accounts_api.py +10 -15
  6. criteo_api_retailmedia_v2025_01/api/analytics_api.py +10 -30
  7. criteo_api_retailmedia_v2025_01/api/audience_api.py +165 -193
  8. criteo_api_retailmedia_v2025_01/api/balance_api.py +261 -265
  9. criteo_api_retailmedia_v2025_01/api/campaign_api.py +1571 -1569
  10. criteo_api_retailmedia_v2025_01/api_client.py +1 -1
  11. criteo_api_retailmedia_v2025_01/configuration.py +1 -1
  12. criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +7 -7
  13. criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
  14. criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
  15. criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_ids_update_model202110.py → add_to_basket_ids_update_model202110.py} +7 -7
  16. criteo_api_retailmedia_v2025_01/model/{external_add_to_basket_target202110.py → add_to_basket_target202110.py} +7 -7
  17. criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +10 -10
  18. criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
  19. criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
  20. criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
  21. criteo_api_retailmedia_v2025_01/model/asset.py +0 -4
  22. criteo_api_retailmedia_v2025_01/model/asset_response.py +5 -9
  23. criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +104 -79
  24. criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
  25. criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +104 -79
  26. criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
  27. criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
  28. criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +145 -103
  29. criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
  30. criteo_api_retailmedia_v2025_01/model/{external_auction_line_item.py → auction_line_item.py} +43 -49
  31. criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_create_model.py → auction_line_item_create_model.py} +33 -33
  32. criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +14 -14
  33. criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +10 -10
  34. criteo_api_retailmedia_v2025_01/model/{external_auction_line_item_update_model.py → auction_line_item_update_model.py} +26 -26
  35. criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
  36. criteo_api_retailmedia_v2025_01/model/{external_audience_ids_update_model202110.py → audience_ids_update_model202110.py} +3 -3
  37. criteo_api_retailmedia_v2025_01/model/{external_audience_target202110.py → audience_target202110.py} +11 -11
  38. criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +10 -10
  39. criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
  40. criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +14 -14
  41. criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
  42. criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
  43. criteo_api_retailmedia_v2025_01/model/{paged_resource_collection_outcome_of_balance_response_v2.py → balance_response_v2_paged_list_response.py} +12 -12
  44. criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
  45. criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +59 -63
  46. criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
  47. criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +84 -94
  48. criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
  49. criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
  50. criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +10 -10
  51. criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
  52. criteo_api_retailmedia_v2025_01/model/common_error.py +18 -18
  53. criteo_api_retailmedia_v2025_01/model/{external_common_line_item.py → common_line_item.py} +37 -39
  54. criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +14 -14
  55. criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +10 -10
  56. criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
  57. criteo_api_retailmedia_v2025_01/model/common_warning.py +18 -18
  58. criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +15 -15
  59. criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
  60. criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
  61. criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
  62. criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
  63. criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
  64. criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
  65. criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
  66. criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
  67. criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +35 -39
  68. criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
  69. criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
  70. criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
  71. criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
  72. criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
  73. criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
  74. criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
  75. criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
  76. criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
  77. criteo_api_retailmedia_v2025_01/model/files_variable_value.py +0 -3
  78. criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
  79. criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
  80. criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
  81. criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +6 -6
  82. criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +6 -6
  83. criteo_api_retailmedia_v2025_01/model/{json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py → json_api_body_with_line_item_bid_multipliers_v2.py} +8 -8
  84. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
  85. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
  86. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
  87. criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
  88. criteo_api_retailmedia_v2025_01/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +5 -5
  89. criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
  90. criteo_api_retailmedia_v2025_01/model/{external_keyword_target202110.py → keyword_target202110.py} +3 -3
  91. criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +10 -10
  92. criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
  93. criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
  94. criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
  95. criteo_api_retailmedia_v2025_01/model/{external_line_item_bid_multipliers_v2.py → line_item_bid_multipliers_v2.py} +31 -31
  96. criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
  97. criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
  98. criteo_api_retailmedia_v2025_01/model/{external_line_item_capping_v2.py → line_item_capping_v2.py} +12 -12
  99. criteo_api_retailmedia_v2025_01/model/{external_line_item_page_category_v2.py → line_item_page_category_v2.py} +3 -3
  100. criteo_api_retailmedia_v2025_01/model/{external_line_item_page_v2.py → line_item_page_v2.py} +12 -12
  101. criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
  102. criteo_api_retailmedia_v2025_01/model/nillable_decimal.py +263 -0
  103. criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
  104. criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  105. criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
  106. criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
  107. criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_create_model_v2.py → preferred_line_item_create_model_v2.py} +37 -37
  108. criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_update_model_v2.py → preferred_line_item_update_model_v2.py} +30 -30
  109. criteo_api_retailmedia_v2025_01/model/{external_preferred_line_item_v2.py → preferred_line_item_v2.py} +55 -57
  110. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
  111. criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
  112. criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
  113. criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
  114. criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
  115. criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
  116. criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
  117. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +6 -6
  118. criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +6 -6
  119. criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
  120. criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +6 -6
  121. criteo_api_retailmedia_v2025_01/model/resource_of_line_item_bid_multipliers_v2.py +5 -5
  122. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +6 -6
  123. criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +6 -6
  124. criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
  125. criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
  126. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
  127. criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
  128. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
  129. criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
  130. criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
  131. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +10 -4
  132. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
  133. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
  134. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
  135. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
  136. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
  137. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
  138. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
  139. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
  140. criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +14 -8
  141. criteo_api_retailmedia_v2025_01/model/rm_contact_list_create_v1.py +1 -0
  142. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
  143. criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
  144. criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +5 -4
  145. criteo_api_retailmedia_v2025_01/model/rm_events_create_v1.py +311 -0
  146. criteo_api_retailmedia_v2025_01/model/{report_outcome.py → rm_events_update_v1.py} +45 -15
  147. criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
  148. criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
  149. criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
  150. criteo_api_retailmedia_v2025_01/model/section.py +4 -4
  151. criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
  152. criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
  153. criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
  154. criteo_api_retailmedia_v2025_01/model/{external_store_ids_update_model202110.py → store_ids_update_model202110.py} +3 -3
  155. criteo_api_retailmedia_v2025_01/model/{external_store_target202110.py → store_target202110.py} +3 -3
  156. criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +10 -10
  157. criteo_api_retailmedia_v2025_01/model/template.py +24 -24
  158. criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
  159. criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
  160. criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
  161. criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
  162. criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
  163. criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
  164. criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
  165. criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
  166. criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
  167. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
  168. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
  169. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
  170. criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
  171. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +10 -10
  172. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +10 -10
  173. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +10 -10
  174. criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
  175. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +6 -6
  176. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +6 -6
  177. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +6 -6
  178. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +6 -6
  179. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +6 -6
  180. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +6 -6
  181. criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +6 -6
  182. criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
  183. criteo_api_retailmedia_v2025_01/models/__init__.py +23 -22
  184. criteo_api_retailmedia_v2025_01/model/error_code_response.py +0 -281
  185. {criteo_api_retailmedia_sdk-2025.1.0.250317.dist-info → criteo_api_retailmedia_sdk-2025.1.0.251112.dist-info}/top_level.txt +0 -0
@@ -87,8 +87,8 @@ class AsyncLineItemsReportResource(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (AsyncLineItemsReport,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class AsyncLineItemsReportResource(ModelNormal):
97
97
 
98
98
 
99
99
  attribute_map = {
100
- 'type': 'type', # noqa: E501
101
100
  'attributes': 'attributes', # noqa: E501
101
+ 'type': 'type', # noqa: E501
102
102
  }
103
103
 
104
104
  read_only_vars = {
@@ -142,8 +142,8 @@ class AsyncLineItemsReportResource(ModelNormal):
142
142
  Animal class but this time we won't travel
143
143
  through its discriminator because we passed in
144
144
  _visited_composed_classes = (Animal,)
145
- type (str): [optional] # noqa: E501
146
145
  attributes (AsyncLineItemsReport): [optional] # noqa: E501
146
+ type (str): [optional] # noqa: E501
147
147
  """
148
148
 
149
149
  _check_type = kwargs.pop('_check_type', True)
@@ -229,8 +229,8 @@ class AsyncLineItemsReportResource(ModelNormal):
229
229
  Animal class but this time we won't travel
230
230
  through its discriminator because we passed in
231
231
  _visited_composed_classes = (Animal,)
232
- type (str): [optional] # noqa: E501
233
232
  attributes (AsyncLineItemsReport): [optional] # noqa: E501
233
+ type (str): [optional] # noqa: E501
234
234
  """
235
235
 
236
236
  _check_type = kwargs.pop('_check_type', True)
@@ -90,8 +90,8 @@ class AsyncReportResponse(ModelNormal):
90
90
  lazy_import()
91
91
  return {
92
92
  'data': (StatusResponseResource,), # 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 AsyncReportResponse(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 AsyncReportResponse(ModelNormal):
149
149
  through its discriminator because we passed in
150
150
  _visited_composed_classes = (Animal,)
151
151
  data (StatusResponseResource): [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 AsyncReportResponse(ModelNormal):
237
237
  through its discriminator because we passed in
238
238
  _visited_composed_classes = (Animal,)
239
239
  data (StatusResponseResource): [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,67 +55,32 @@ class AsyncRevenueReport(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('report_type',): {
59
- 'ADVERTISER': "advertiser",
60
- 'ENVIRONMENT': "environment",
61
- 'PAGETYPE': "pageType",
62
- 'PRODUCTCATEGORY': "productCategory",
58
+ ('advertiser_types',): {
59
+ 'RETAILER': "retailer",
63
60
  'BRAND': "brand",
64
- },
65
- ('revenue_type',): {
66
- 'AUCTION': "auction",
67
- 'PREFERRED': "preferred",
68
- },
69
- ('sold_by',): {
70
- 'DIRECTSOLD': "directSold",
71
- 'INDIRECTSOLD': "indirectSold",
72
- 'PRIVATEMARKET': "privateMarket",
61
+ 'SELLER': "seller",
73
62
  },
74
63
  ('buy_type',): {
75
64
  'AUCTION': "auction",
76
65
  'PREFERREDDEALS': "preferredDeals",
77
66
  'SPONSORSHIP': "sponsorship",
78
67
  },
79
- ('advertiser_types',): {
80
- 'RETAILER': "retailer",
81
- 'BRAND': "brand",
82
- 'SELLER': "seller",
83
- },
84
- ('sku_relations',): {
85
- 'SAMESKU': "sameSku",
86
- 'SAMEPARENTSKU': "sameParentSku",
87
- 'SAMECATEGORY': "sameCategory",
88
- 'SAMEBRAND': "sameBrand",
89
- 'SAMESELLER': "sameSeller",
90
- },
91
- ('format',): {
92
- 'JSON': "json",
93
- 'JSON-COMPACT': "json-compact",
94
- 'JSON-NEWLINE': "json-newline",
95
- 'CSV': "csv",
96
- },
97
68
  ('campaign_type',): {
98
69
  'ALL': "all",
99
70
  'SPONSOREDPRODUCTS': "sponsoredProducts",
100
71
  'ONSITEDISPLAYS': "onSiteDisplays",
101
72
  },
102
- ('sales_channel',): {
103
- 'ALL': "all",
104
- 'OFFLINE': "offline",
105
- 'ONLINE': "online",
106
- },
107
73
  ('click_attribution_window',): {
108
74
  'NONE': "none",
109
75
  '7D': "7D",
110
76
  '14D': "14D",
111
77
  '30D': "30D",
112
78
  },
113
- ('view_attribution_window',): {
114
- 'NONE': "none",
115
- '1D': "1D",
116
- '7D': "7D",
117
- '14D': "14D",
118
- '30D': "30D",
79
+ ('click_match_level',): {
80
+ 'SAMESKU': "sameSku",
81
+ 'SAMECATEGORY': "sameCategory",
82
+ 'SAMEBRAND': "sameBrand",
83
+ 'CAMPAIGN': "campaign",
119
84
  },
120
85
  ('dimensions',): {
121
86
  'DATE': "date",
@@ -152,6 +117,7 @@ class AsyncRevenueReport(ModelNormal):
152
117
  'SOLDBY': "soldBy",
153
118
  'SALECHANNEL': "saleChannel",
154
119
  'SALESCHANNEL': "salesChannel",
120
+ 'MEDIATYPE': "mediaType",
155
121
  'ATTRIBUTIONSETTINGS': "attributionSettings",
156
122
  'ACTIVITYTYPE': "activityType",
157
123
  'KEYWORD': "keyword",
@@ -173,6 +139,19 @@ class AsyncRevenueReport(ModelNormal):
173
139
  'TAXONOMY6NAME': "taxonomy6Name",
174
140
  'TAXONOMY7ID': "taxonomy7Id",
175
141
  'TAXONOMY7NAME': "taxonomy7Name",
142
+ 'TARGETEDKEYWORDTYPE': "targetedKeywordType",
143
+ },
144
+ ('format',): {
145
+ 'JSON': "json",
146
+ 'JSON-COMPACT': "json-compact",
147
+ 'JSON-NEWLINE': "json-newline",
148
+ 'CSV': "csv",
149
+ },
150
+ ('media_type',): {
151
+ 'UNKNOWN': "unknown",
152
+ 'VIDEO': "video",
153
+ 'DISPLAY': "display",
154
+ 'ALL': "all",
176
155
  },
177
156
  ('metrics',): {
178
157
  'NUMBEROFCAMPAIGNS': "numberOfCampaigns",
@@ -220,6 +199,53 @@ class AsyncRevenueReport(ModelNormal):
220
199
  'UNIQUEVISITORS': "uniqueVisitors",
221
200
  'FREQUENCY': "frequency",
222
201
  },
202
+ ('report_type',): {
203
+ 'ADVERTISER': "advertiser",
204
+ 'ENVIRONMENT': "environment",
205
+ 'PAGETYPE': "pageType",
206
+ 'PRODUCTCATEGORY': "productCategory",
207
+ 'BRAND': "brand",
208
+ },
209
+ ('revenue_type',): {
210
+ 'AUCTION': "auction",
211
+ 'PREFERRED': "preferred",
212
+ },
213
+ ('sales_channel',): {
214
+ 'ONLINE': "online",
215
+ 'OFFLINE': "offline",
216
+ 'ALL': "all",
217
+ },
218
+ ('sku_relations',): {
219
+ 'SAMESKU': "sameSku",
220
+ 'SAMEPARENTSKU': "sameParentSku",
221
+ 'SAMECATEGORY': "sameCategory",
222
+ 'SAMEBRAND': "sameBrand",
223
+ 'SAMESELLER': "sameSeller",
224
+ },
225
+ ('sold_by',): {
226
+ 'DIRECTSOLD': "directSold",
227
+ 'INDIRECTSOLD': "indirectSold",
228
+ 'PRIVATEMARKET': "privateMarket",
229
+ },
230
+ ('targeted_keyword_types',): {
231
+ 'UNKNOWN': "unknown",
232
+ 'GENERIC': "generic",
233
+ 'BRANDED': "branded",
234
+ 'CONQUESTING': "conquesting",
235
+ },
236
+ ('view_attribution_window',): {
237
+ 'NONE': "none",
238
+ '1D': "1D",
239
+ '7D': "7D",
240
+ '14D': "14D",
241
+ '30D': "30D",
242
+ },
243
+ ('view_match_level',): {
244
+ 'SAMESKU': "sameSku",
245
+ 'SAMECATEGORY': "sameCategory",
246
+ 'SAMEBRAND': "sameBrand",
247
+ 'CAMPAIGN': "campaign",
248
+ },
223
249
  }
224
250
 
225
251
  validations = {
@@ -246,28 +272,32 @@ class AsyncRevenueReport(ModelNormal):
246
272
  and the value is attribute type.
247
273
  """
248
274
  return {
249
- 'start_date': (datetime,), # noqa: E501
250
275
  'end_date': (datetime,), # noqa: E501
251
- 'ids': ([str],), # noqa: E501
252
- 'id': (str,), # noqa: E501
253
- 'retailer_ids': ([str],), # noqa: E501
276
+ 'start_date': (datetime,), # noqa: E501
254
277
  'account_ids': ([str],), # noqa: E501
255
- 'campaign_ids': ([str],), # noqa: E501
256
- 'line_item_ids': ([str],), # noqa: E501
257
- 'report_type': (str,), # noqa: E501
258
- 'revenue_type': (str,), # noqa: E501
259
- 'sold_by': (str,), # noqa: E501
260
- 'buy_type': (str,), # noqa: E501
261
278
  'advertiser_types': ([str],), # noqa: E501
262
- 'sku_relations': ([str],), # noqa: E501
263
- 'format': (str,), # noqa: E501
279
+ 'buy_type': (str,), # noqa: E501
280
+ 'campaign_ids': ([str],), # noqa: E501
264
281
  'campaign_type': (str,), # noqa: E501
265
- 'sales_channel': (str,), # noqa: E501
266
282
  'click_attribution_window': (str,), # noqa: E501
267
- 'view_attribution_window': (str,), # noqa: E501
283
+ 'click_match_level': (str,), # noqa: E501
268
284
  'dimensions': ([str],), # noqa: E501
285
+ 'format': (str,), # noqa: E501
286
+ 'id': (str,), # noqa: E501
287
+ 'ids': ([str],), # noqa: E501
288
+ 'line_item_ids': ([str],), # noqa: E501
289
+ 'media_type': (str,), # noqa: E501
269
290
  'metrics': ([str],), # noqa: E501
291
+ 'report_type': (str,), # noqa: E501
292
+ 'retailer_ids': ([str],), # noqa: E501
293
+ 'revenue_type': (str,), # noqa: E501
294
+ 'sales_channel': (str,), # noqa: E501
295
+ 'sku_relations': ([str],), # noqa: E501
296
+ 'sold_by': (str,), # noqa: E501
297
+ 'targeted_keyword_types': ([str],), # noqa: E501
270
298
  'timezone': (str,), # noqa: E501
299
+ 'view_attribution_window': (str,), # noqa: E501
300
+ 'view_match_level': (str,), # noqa: E501
271
301
  }
272
302
 
273
303
  @cached_property
@@ -276,28 +306,32 @@ class AsyncRevenueReport(ModelNormal):
276
306
 
277
307
 
278
308
  attribute_map = {
279
- 'start_date': 'startDate', # noqa: E501
280
309
  'end_date': 'endDate', # noqa: E501
281
- 'ids': 'ids', # noqa: E501
282
- 'id': 'id', # noqa: E501
283
- 'retailer_ids': 'retailerIds', # noqa: E501
310
+ 'start_date': 'startDate', # noqa: E501
284
311
  'account_ids': 'accountIds', # noqa: E501
285
- 'campaign_ids': 'campaignIds', # noqa: E501
286
- 'line_item_ids': 'lineItemIds', # noqa: E501
287
- 'report_type': 'reportType', # noqa: E501
288
- 'revenue_type': 'revenueType', # noqa: E501
289
- 'sold_by': 'soldBy', # noqa: E501
290
- 'buy_type': 'buyType', # noqa: E501
291
312
  'advertiser_types': 'advertiserTypes', # noqa: E501
292
- 'sku_relations': 'skuRelations', # noqa: E501
293
- 'format': 'format', # noqa: E501
313
+ 'buy_type': 'buyType', # noqa: E501
314
+ 'campaign_ids': 'campaignIds', # noqa: E501
294
315
  'campaign_type': 'campaignType', # noqa: E501
295
- 'sales_channel': 'salesChannel', # noqa: E501
296
316
  'click_attribution_window': 'clickAttributionWindow', # noqa: E501
297
- 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
317
+ 'click_match_level': 'clickMatchLevel', # noqa: E501
298
318
  'dimensions': 'dimensions', # noqa: E501
319
+ 'format': 'format', # noqa: E501
320
+ 'id': 'id', # noqa: E501
321
+ 'ids': 'ids', # noqa: E501
322
+ 'line_item_ids': 'lineItemIds', # noqa: E501
323
+ 'media_type': 'mediaType', # noqa: E501
299
324
  'metrics': 'metrics', # noqa: E501
325
+ 'report_type': 'reportType', # noqa: E501
326
+ 'retailer_ids': 'retailerIds', # noqa: E501
327
+ 'revenue_type': 'revenueType', # noqa: E501
328
+ 'sales_channel': 'salesChannel', # noqa: E501
329
+ 'sku_relations': 'skuRelations', # noqa: E501
330
+ 'sold_by': 'soldBy', # noqa: E501
331
+ 'targeted_keyword_types': 'targetedKeywordTypes', # noqa: E501
300
332
  'timezone': 'timezone', # noqa: E501
333
+ 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
334
+ 'view_match_level': 'viewMatchLevel', # noqa: E501
301
335
  }
302
336
 
303
337
  read_only_vars = {
@@ -307,12 +341,12 @@ class AsyncRevenueReport(ModelNormal):
307
341
 
308
342
  @classmethod
309
343
  @convert_js_args_to_python_args
310
- def _from_openapi_data(cls, start_date, end_date, *args, **kwargs): # noqa: E501
344
+ def _from_openapi_data(cls, end_date, start_date, *args, **kwargs): # noqa: E501
311
345
  """AsyncRevenueReport - a model defined in OpenAPI
312
346
 
313
347
  Args:
314
- start_date (datetime): Start date
315
348
  end_date (datetime): End date
349
+ start_date (datetime): Start date
316
350
 
317
351
  Keyword Args:
318
352
  _check_type (bool): if True, values for parameters in openapi_types
@@ -345,26 +379,30 @@ class AsyncRevenueReport(ModelNormal):
345
379
  Animal class but this time we won't travel
346
380
  through its discriminator because we passed in
347
381
  _visited_composed_classes = (Animal,)
348
- ids ([str]): Supply account ids to report on. [optional] # noqa: E501
349
- id (str): Supply account id to report on. [optional] # noqa: E501
350
- retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
351
382
  account_ids ([str]): Account ids to filter. [optional] # noqa: E501
352
- campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
353
- line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
354
- report_type (str): Type of report. [optional] # noqa: E501
355
- revenue_type (str): Type of revenue. [optional] # noqa: E501
356
- sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
357
- buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
358
383
  advertiser_types ([str]): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501
359
- sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
360
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
384
+ buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
385
+ campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
361
386
  campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
362
- sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
363
387
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
364
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
388
+ click_match_level (str): Click Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
365
389
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
390
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
391
+ id (str): Supply account id to report on. [optional] # noqa: E501
392
+ ids ([str]): Supply account ids to report on. [optional] # noqa: E501
393
+ line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
394
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
366
395
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
396
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to advertiser reportType. [optional] # noqa: E501
397
+ retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
398
+ revenue_type (str): Type of revenue. [optional] # noqa: E501
399
+ sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
400
+ sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
401
+ sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
402
+ targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
367
403
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
404
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
405
+ view_match_level (str): View Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
368
406
  """
369
407
 
370
408
  _check_type = kwargs.pop('_check_type', True)
@@ -396,8 +434,8 @@ class AsyncRevenueReport(ModelNormal):
396
434
  self._configuration = _configuration
397
435
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
398
436
 
399
- self.start_date = start_date
400
437
  self.end_date = end_date
438
+ self.start_date = start_date
401
439
  for var_name, var_value in kwargs.items():
402
440
  if var_name not in self.attribute_map and \
403
441
  self._configuration is not None and \
@@ -418,12 +456,12 @@ class AsyncRevenueReport(ModelNormal):
418
456
  ])
419
457
 
420
458
  @convert_js_args_to_python_args
421
- def __init__(self, start_date, end_date, *args, **kwargs): # noqa: E501
459
+ def __init__(self, end_date, start_date, *args, **kwargs): # noqa: E501
422
460
  """AsyncRevenueReport - a model defined in OpenAPI
423
461
 
424
462
  Args:
425
- start_date (datetime): Start date
426
463
  end_date (datetime): End date
464
+ start_date (datetime): Start date
427
465
 
428
466
  Keyword Args:
429
467
  _check_type (bool): if True, values for parameters in openapi_types
@@ -456,26 +494,30 @@ class AsyncRevenueReport(ModelNormal):
456
494
  Animal class but this time we won't travel
457
495
  through its discriminator because we passed in
458
496
  _visited_composed_classes = (Animal,)
459
- ids ([str]): Supply account ids to report on. [optional] # noqa: E501
460
- id (str): Supply account id to report on. [optional] # noqa: E501
461
- retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
462
497
  account_ids ([str]): Account ids to filter. [optional] # noqa: E501
463
- campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
464
- line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
465
- report_type (str): Type of report. [optional] # noqa: E501
466
- revenue_type (str): Type of revenue. [optional] # noqa: E501
467
- sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
468
- buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
469
498
  advertiser_types ([str]): Filter on the type of advertiser: retailer, brand, seller. [optional] # noqa: E501
470
- sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
471
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
499
+ buy_type (str): Filter on buy type: Auction, Preferred Deals or Sponsorship. [optional] # noqa: E501
500
+ campaign_ids ([str]): Campaign ids to filter. [optional] # noqa: E501
472
501
  campaign_type (str): Filter the type of campaigns to report on: sponsoredProducts or onSiteDisplays. [optional] if omitted the server will use the default value of "all" # noqa: E501
473
- sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
474
502
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
475
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
503
+ click_match_level (str): Click Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
476
504
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
505
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json" # noqa: E501
506
+ id (str): Supply account id to report on. [optional] # noqa: E501
507
+ ids ([str]): Supply account ids to report on. [optional] # noqa: E501
508
+ line_item_ids ([str]): Line item ids to filter. [optional] # noqa: E501
509
+ media_type (str): Filter on the type of media: unknown, display, video. [optional] if omitted the server will use the default value of "all" # noqa: E501
477
510
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
511
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to advertiser reportType. [optional] # noqa: E501
512
+ retailer_ids ([str]): Retailer ids to filter. [optional] # noqa: E501
513
+ revenue_type (str): Type of revenue. [optional] # noqa: E501
514
+ sales_channel (str): Filter on specific sales channel: offline or online. [optional] if omitted the server will use the default value of "all" # noqa: E501
515
+ sku_relations ([str]): Filter on sku relations: Same SKU, Same Parent SKU, Same Category, Same Brand or Same Seller. [optional] # noqa: E501
516
+ sold_by (str): Filter on the seller: Indirect Sold, Direct Sold or Private Market. [optional] # noqa: E501
517
+ targeted_keyword_types ([str]): Filter on targeted keyword type: unknown, generic, branded, conquesting. [optional] # noqa: E501
478
518
  timezone (str): Time zone : see criteo developer portal for supported time zones. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
519
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
520
+ view_match_level (str): View Match Level: Campaign, Same SKU, Same Category or Same Brand. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
479
521
  """
480
522
 
481
523
  _check_type = kwargs.pop('_check_type', True)
@@ -505,8 +547,8 @@ class AsyncRevenueReport(ModelNormal):
505
547
  self._configuration = _configuration
506
548
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
507
549
 
508
- self.start_date = start_date
509
550
  self.end_date = end_date
551
+ self.start_date = start_date
510
552
  for var_name, var_value in kwargs.items():
511
553
  if var_name not in self.attribute_map and \
512
554
  self._configuration is not None and \
@@ -87,8 +87,8 @@ class AsyncRevenueReportResource(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (AsyncRevenueReport,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class AsyncRevenueReportResource(ModelNormal):
97
97
 
98
98
 
99
99
  attribute_map = {
100
- 'type': 'type', # noqa: E501
101
100
  'attributes': 'attributes', # noqa: E501
101
+ 'type': 'type', # noqa: E501
102
102
  }
103
103
 
104
104
  read_only_vars = {
@@ -142,8 +142,8 @@ class AsyncRevenueReportResource(ModelNormal):
142
142
  Animal class but this time we won't travel
143
143
  through its discriminator because we passed in
144
144
  _visited_composed_classes = (Animal,)
145
- type (str): [optional] # noqa: E501
146
145
  attributes (AsyncRevenueReport): [optional] # noqa: E501
146
+ type (str): [optional] # noqa: E501
147
147
  """
148
148
 
149
149
  _check_type = kwargs.pop('_check_type', True)
@@ -229,8 +229,8 @@ class AsyncRevenueReportResource(ModelNormal):
229
229
  Animal class but this time we won't travel
230
230
  through its discriminator because we passed in
231
231
  _visited_composed_classes = (Animal,)
232
- type (str): [optional] # noqa: E501
233
232
  attributes (AsyncRevenueReport): [optional] # noqa: E501
233
+ type (str): [optional] # noqa: E501
234
234
  """
235
235
 
236
236
  _check_type = kwargs.pop('_check_type', True)