criteo-api-retailmedia-sdk 0.0.250327__py3-none-any.whl → 0.0.250425__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.

Files changed (205) hide show
  1. criteo_api_retailmedia_preview/__init__.py +1 -1
  2. criteo_api_retailmedia_preview/api/accounts_api.py +187 -35
  3. criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
  4. criteo_api_retailmedia_preview/api/balance_api.py +12 -12
  5. criteo_api_retailmedia_preview/api/campaign_api.py +88 -509
  6. criteo_api_retailmedia_preview/api_client.py +1 -1
  7. criteo_api_retailmedia_preview/configuration.py +1 -1
  8. criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
  9. criteo_api_retailmedia_preview/model/account_fees_update_request.py +278 -0
  10. criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
  11. criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
  12. criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
  13. criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
  14. criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
  15. criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
  16. criteo_api_retailmedia_preview/model/async_accounts_report.py +73 -73
  17. criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
  18. criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
  19. criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
  20. criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
  21. criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
  22. criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
  23. criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
  24. criteo_api_retailmedia_preview/model/{common_error.py → async_offsite_report.py} +185 -45
  25. criteo_api_retailmedia_preview/model/{grant_consent_input.py → async_offsite_report_request.py} +8 -8
  26. criteo_api_retailmedia_preview/model/{grant_consent_model_value_resource.py → async_offsite_report_resource.py} +9 -9
  27. criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
  28. criteo_api_retailmedia_preview/model/audience_error.py +16 -16
  29. criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
  30. criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
  31. criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
  32. criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
  33. criteo_api_retailmedia_preview/model/bot_message.py +4 -4
  34. criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
  35. criteo_api_retailmedia_preview/model/brand_id_search_request.py +11 -5
  36. criteo_api_retailmedia_preview/model/brand_id_search_result.py +15 -9
  37. criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
  38. criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
  39. criteo_api_retailmedia_preview/model/category202204.py +8 -8
  40. criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
  41. criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
  42. criteo_api_retailmedia_preview/model/common_problem.py +20 -20
  43. criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
  44. criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
  45. criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
  46. criteo_api_retailmedia_preview/model/creative2.py +50 -50
  47. criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
  48. criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
  49. criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
  50. criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +12 -5
  51. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +17 -10
  52. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +9 -9
  53. criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
  54. criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +4 -4
  55. criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
  56. criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
  57. criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
  58. criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
  59. criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
  60. criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
  61. criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
  62. criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
  63. criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
  64. criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
  65. criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
  66. criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
  67. criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
  68. criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
  69. criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
  70. criteo_api_retailmedia_preview/model/installment.py +4 -4
  71. criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
  72. criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
  73. criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
  74. criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +32 -32
  75. criteo_api_retailmedia_preview/model/{input_keywords.py → managed_service_fee.py} +31 -17
  76. criteo_api_retailmedia_preview/model/message.py +4 -4
  77. criteo_api_retailmedia_preview/model/message_error.py +8 -8
  78. criteo_api_retailmedia_preview/model/metadata.py +8 -8
  79. criteo_api_retailmedia_preview/model/outcome.py +5 -5
  80. criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
  81. criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
  82. criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
  83. criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
  84. criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +15 -9
  85. criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
  86. criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +8 -8
  87. criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
  88. criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
  89. criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
  90. criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
  91. criteo_api_retailmedia_preview/model/{recommended_keywords_result.py → private_market_account_fees.py} +13 -13
  92. criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
  93. criteo_api_retailmedia_preview/model/problem_details.py +20 -20
  94. criteo_api_retailmedia_preview/model/product.py +242 -242
  95. criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
  96. criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
  97. criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
  98. criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
  99. criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
  100. criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
  101. criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
  102. criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
  103. criteo_api_retailmedia_preview/model/product_tax.py +12 -12
  104. criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
  105. criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
  106. criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
  107. criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
  108. criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
  109. criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
  110. criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
  111. criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
  112. criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
  113. criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
  114. criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
  115. criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
  116. criteo_api_retailmedia_preview/model/report_response.py +9 -9
  117. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
  118. criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
  119. criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
  120. criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
  121. criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
  122. criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
  123. criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
  124. criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
  125. criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
  126. criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
  127. criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
  128. criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
  129. criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
  130. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
  131. criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
  132. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
  133. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
  134. criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
  135. criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
  136. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
  137. criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
  138. criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
  139. criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
  140. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
  141. criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
  142. criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
  143. criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
  144. criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
  145. criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
  146. criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
  147. criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
  148. criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
  149. criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
  150. criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
  151. criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
  152. criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
  153. criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
  154. criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
  155. criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
  156. criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
  157. criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
  158. criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
  159. criteo_api_retailmedia_preview/model/status_response.py +20 -20
  160. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
  161. criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
  162. criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
  163. criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
  164. criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
  165. criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
  166. criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
  167. criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
  168. criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
  169. criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
  170. criteo_api_retailmedia_preview/model/{value_resource_of_recommended_keywords_result.py → value_resource_account_fees_update_result.py} +11 -11
  171. criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +12 -5
  172. criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
  173. criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_response.py → value_resource_collection_outcome_private_market_account_fees_and_metadata.py} +26 -27
  174. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
  175. criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
  176. criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
  177. criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
  178. criteo_api_retailmedia_preview/model/value_resource_input_brand_id_search_request.py +8 -1
  179. criteo_api_retailmedia_preview/model/{line_item_bid_multipliers_v2_request.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
  180. criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
  181. criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_brand_catalog_request_v2_and_brand_catalog_request_v2.py → value_resource_of_brand_catalog_request_v2.py} +10 -16
  182. criteo_api_retailmedia_preview/model/{json_api_body_without_id_of_seller_catalog_request_v2_and_seller_catalog_request_v2.py → value_resource_of_seller_catalog_request_v2.py} +10 -16
  183. criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
  184. criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
  185. criteo_api_retailmedia_preview/model/{value_resource_outcome_of_recommended_keywords_result.py → value_resource_outcome_account_fees_update_result.py} +18 -18
  186. criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
  187. criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +5 -5
  188. criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
  189. criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
  190. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +4 -4
  191. criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +4 -4
  192. criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
  193. criteo_api_retailmedia_preview/models/__init__.py +24 -22
  194. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/METADATA +3 -3
  195. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/RECORD +197 -195
  196. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/WHEEL +1 -1
  197. criteo_api_retailmedia_preview/model/common_warning.py +0 -301
  198. criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +0 -307
  199. criteo_api_retailmedia_preview/model/grant_consent_model.py +0 -279
  200. criteo_api_retailmedia_preview/model/json_api_body_with_id_of_int64_and_line_item_bid_multipliers_v2_and_line_item_bid_multipliers_v2.py +0 -279
  201. criteo_api_retailmedia_preview/model/json_api_request_of_seller_catalog_request_v2.py +0 -269
  202. criteo_api_retailmedia_preview/model/json_api_single_response_of_line_item_bid_multipliers_v2.py +0 -287
  203. criteo_api_retailmedia_preview/model/keywords.py +0 -297
  204. criteo_api_retailmedia_preview/model/resource_of_line_item_bid_multipliers_v2.py +0 -277
  205. {criteo_api_retailmedia_sdk-0.0.250327.dist-info → criteo_api_retailmedia_sdk-0.0.250425.dist-info}/top_level.txt +0 -0
@@ -59,56 +59,17 @@ class AsyncAccountsReport(ModelNormal):
59
59
  'CAMPAIGN': "campaign",
60
60
  'LINEITEM': "lineItem",
61
61
  },
62
- ('search_term_types',): {
63
- 'UNKNOWN': "unknown",
64
- 'SEARCHED': "searched",
65
- 'ENTERED': "entered",
66
- },
67
- ('search_term_targetings',): {
68
- 'UNKNOWN': "unknown",
69
- 'AUTOMATIC': "automatic",
70
- 'MANUAL': "manual",
71
- },
72
62
  ('campaign_type',): {
73
63
  'ALL': "all",
74
64
  'SPONSOREDPRODUCTS': "sponsoredProducts",
75
65
  'ONSITEDISPLAYS': "onSiteDisplays",
76
66
  },
77
- ('sales_channel',): {
78
- 'ALL': "all",
79
- 'OFFLINE': "offline",
80
- 'ONLINE': "online",
81
- },
82
- ('format',): {
83
- 'JSON': "json",
84
- 'JSON-COMPACT': "json-compact",
85
- 'JSON-NEWLINE': "json-newline",
86
- 'CSV': "csv",
87
- },
88
- ('report_type',): {
89
- 'SUMMARY': "summary",
90
- 'PAGETYPE': "pageType",
91
- 'KEYWORD': "keyword",
92
- 'PRODUCTCATEGORY': "productCategory",
93
- 'PRODUCT': "product",
94
- 'ATTRIBUTEDTRANSACTIONS': "attributedTransactions",
95
- 'ENVIRONMENT': "environment",
96
- 'SERVEDCATEGORY': "servedCategory",
97
- 'CAPOUT': "capout",
98
- },
99
67
  ('click_attribution_window',): {
100
68
  'NONE': "none",
101
69
  '7D': "7D",
102
70
  '14D': "14D",
103
71
  '30D': "30D",
104
72
  },
105
- ('view_attribution_window',): {
106
- 'NONE': "none",
107
- '1D': "1D",
108
- '7D': "7D",
109
- '14D': "14D",
110
- '30D': "30D",
111
- },
112
73
  ('dimensions',): {
113
74
  'DATE': "date",
114
75
  'HOUR': "hour",
@@ -143,6 +104,12 @@ class AsyncAccountsReport(ModelNormal):
143
104
  'CREATIVETEMPLATEID': "creativeTemplateId",
144
105
  'CREATIVETEMPLATENAME': "creativeTemplateName",
145
106
  },
107
+ ('format',): {
108
+ 'JSON': "json",
109
+ 'JSON-COMPACT': "json-compact",
110
+ 'JSON-NEWLINE': "json-newline",
111
+ 'CSV': "csv",
112
+ },
146
113
  ('metrics',): {
147
114
  'IMPRESSIONS': "impressions",
148
115
  'CLICKS': "clicks",
@@ -182,6 +149,39 @@ class AsyncAccountsReport(ModelNormal):
182
149
  'UNIQUEVISITORS': "uniqueVisitors",
183
150
  'FREQUENCY': "frequency",
184
151
  },
152
+ ('report_type',): {
153
+ 'SUMMARY': "summary",
154
+ 'PAGETYPE': "pageType",
155
+ 'KEYWORD': "keyword",
156
+ 'PRODUCTCATEGORY': "productCategory",
157
+ 'PRODUCT': "product",
158
+ 'ATTRIBUTEDTRANSACTIONS': "attributedTransactions",
159
+ 'ENVIRONMENT': "environment",
160
+ 'SERVEDCATEGORY': "servedCategory",
161
+ 'CAPOUT': "capout",
162
+ },
163
+ ('sales_channel',): {
164
+ 'ONLINE': "online",
165
+ 'OFFLINE': "offline",
166
+ 'ALL': "all",
167
+ },
168
+ ('search_term_targetings',): {
169
+ 'UNKNOWN': "unknown",
170
+ 'AUTOMATIC': "automatic",
171
+ 'MANUAL': "manual",
172
+ },
173
+ ('search_term_types',): {
174
+ 'UNKNOWN': "unknown",
175
+ 'SEARCHED': "searched",
176
+ 'ENTERED': "entered",
177
+ },
178
+ ('view_attribution_window',): {
179
+ 'NONE': "none",
180
+ '1D': "1D",
181
+ '7D': "7D",
182
+ '14D': "14D",
183
+ '30D': "30D",
184
+ },
185
185
  }
186
186
 
187
187
  validations = {
@@ -209,20 +209,20 @@ class AsyncAccountsReport(ModelNormal):
209
209
  """
210
210
  return {
211
211
  'account_ids': ([str],), # noqa: E501
212
- 'start_date': (datetime,), # noqa: E501
213
212
  'end_date': (datetime,), # noqa: E501
213
+ 'start_date': (datetime,), # noqa: E501
214
214
  'aggregation_level': (str,), # noqa: E501
215
- 'search_term_types': ([str],), # noqa: E501
216
- 'search_term_targetings': ([str],), # noqa: E501
217
215
  'campaign_type': (str,), # noqa: E501
218
- 'sales_channel': (str,), # noqa: E501
219
- 'format': (str,), # noqa: E501
220
- 'report_type': (str,), # noqa: E501
221
216
  'click_attribution_window': (str,), # noqa: E501
222
- 'view_attribution_window': (str,), # noqa: E501
223
217
  'dimensions': ([str],), # noqa: E501
218
+ 'format': (str,), # noqa: E501
224
219
  'metrics': ([str],), # noqa: E501
220
+ 'report_type': (str,), # noqa: E501
221
+ 'sales_channel': (str,), # noqa: E501
222
+ 'search_term_targetings': ([str],), # noqa: E501
223
+ 'search_term_types': ([str],), # noqa: E501
225
224
  'timezone': (str,), # noqa: E501
225
+ 'view_attribution_window': (str,), # noqa: E501
226
226
  }
227
227
 
228
228
  @cached_property
@@ -232,20 +232,20 @@ class AsyncAccountsReport(ModelNormal):
232
232
 
233
233
  attribute_map = {
234
234
  'account_ids': 'accountIds', # noqa: E501
235
- 'start_date': 'startDate', # noqa: E501
236
235
  'end_date': 'endDate', # noqa: E501
236
+ 'start_date': 'startDate', # noqa: E501
237
237
  'aggregation_level': 'aggregationLevel', # noqa: E501
238
- 'search_term_types': 'searchTermTypes', # noqa: E501
239
- 'search_term_targetings': 'searchTermTargetings', # noqa: E501
240
238
  'campaign_type': 'campaignType', # noqa: E501
241
- 'sales_channel': 'salesChannel', # noqa: E501
242
- 'format': 'format', # noqa: E501
243
- 'report_type': 'reportType', # noqa: E501
244
239
  'click_attribution_window': 'clickAttributionWindow', # noqa: E501
245
- 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
246
240
  'dimensions': 'dimensions', # noqa: E501
241
+ 'format': 'format', # noqa: E501
247
242
  'metrics': 'metrics', # noqa: E501
243
+ 'report_type': 'reportType', # noqa: E501
244
+ 'sales_channel': 'salesChannel', # noqa: E501
245
+ 'search_term_targetings': 'searchTermTargetings', # noqa: E501
246
+ 'search_term_types': 'searchTermTypes', # noqa: E501
248
247
  'timezone': 'timezone', # noqa: E501
248
+ 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
249
249
  }
250
250
 
251
251
  read_only_vars = {
@@ -255,13 +255,13 @@ class AsyncAccountsReport(ModelNormal):
255
255
 
256
256
  @classmethod
257
257
  @convert_js_args_to_python_args
258
- def _from_openapi_data(cls, account_ids, start_date, end_date, *args, **kwargs): # noqa: E501
258
+ def _from_openapi_data(cls, account_ids, end_date, start_date, *args, **kwargs): # noqa: E501
259
259
  """AsyncAccountsReport - a model defined in OpenAPI
260
260
 
261
261
  Args:
262
262
  account_ids ([str]): Account Ids to report on
263
- start_date (datetime): Start date
264
263
  end_date (datetime): End date
264
+ start_date (datetime): Start date
265
265
 
266
266
  Keyword Args:
267
267
  _check_type (bool): if True, values for parameters in openapi_types
@@ -294,18 +294,18 @@ class AsyncAccountsReport(ModelNormal):
294
294
  Animal class but this time we won't travel
295
295
  through its discriminator because we passed in
296
296
  _visited_composed_classes = (Animal,)
297
- aggregation_level (str): Level of aggregation, if no dimensions/metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
298
- search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
299
- search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
297
+ aggregation_level (str): Level of aggregation, if no dimensions and metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
300
298
  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
301
- 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
302
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
303
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
304
299
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
305
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
306
300
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
301
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
307
302
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
303
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
304
+ 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
305
+ search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
306
+ search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
308
307
  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
308
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
309
309
  """
310
310
 
311
311
  _check_type = kwargs.pop('_check_type', True)
@@ -338,8 +338,8 @@ class AsyncAccountsReport(ModelNormal):
338
338
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
339
339
 
340
340
  self.account_ids = account_ids
341
- self.start_date = start_date
342
341
  self.end_date = end_date
342
+ self.start_date = start_date
343
343
  for var_name, var_value in kwargs.items():
344
344
  if var_name not in self.attribute_map and \
345
345
  self._configuration is not None and \
@@ -360,13 +360,13 @@ class AsyncAccountsReport(ModelNormal):
360
360
  ])
361
361
 
362
362
  @convert_js_args_to_python_args
363
- def __init__(self, account_ids, start_date, end_date, *args, **kwargs): # noqa: E501
363
+ def __init__(self, account_ids, end_date, start_date, *args, **kwargs): # noqa: E501
364
364
  """AsyncAccountsReport - a model defined in OpenAPI
365
365
 
366
366
  Args:
367
367
  account_ids ([str]): Account Ids to report on
368
- start_date (datetime): Start date
369
368
  end_date (datetime): End date
369
+ start_date (datetime): Start date
370
370
 
371
371
  Keyword Args:
372
372
  _check_type (bool): if True, values for parameters in openapi_types
@@ -399,18 +399,18 @@ class AsyncAccountsReport(ModelNormal):
399
399
  Animal class but this time we won't travel
400
400
  through its discriminator because we passed in
401
401
  _visited_composed_classes = (Animal,)
402
- aggregation_level (str): Level of aggregation, if no dimensions/metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
403
- search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
404
- search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
402
+ aggregation_level (str): Level of aggregation, if no dimensions and metrics are provided, falls back to campaign aggregationLevel. [optional] if omitted the server will use the default value of "campaign" # noqa: E501
405
403
  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
406
- 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
407
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
408
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
409
404
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
410
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
411
405
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
406
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
412
407
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
408
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
409
+ 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
410
+ search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
411
+ search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
413
412
  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
413
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
414
414
  """
415
415
 
416
416
  _check_type = kwargs.pop('_check_type', True)
@@ -441,8 +441,8 @@ class AsyncAccountsReport(ModelNormal):
441
441
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
442
442
 
443
443
  self.account_ids = account_ids
444
- self.start_date = start_date
445
444
  self.end_date = end_date
445
+ self.start_date = start_date
446
446
  for var_name, var_value in kwargs.items():
447
447
  if var_name not in self.attribute_map and \
448
448
  self._configuration is not None and \
@@ -87,8 +87,8 @@ class AsyncAccountsReportResource(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (AsyncAccountsReport,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class AsyncAccountsReportResource(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 AsyncAccountsReportResource(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 (AsyncAccountsReport): [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 AsyncAccountsReportResource(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 (AsyncAccountsReport): [optional] # noqa: E501
233
+ type (str): [optional] # noqa: E501
234
234
  """
235
235
 
236
236
  _check_type = kwargs.pop('_check_type', True)
@@ -55,56 +55,17 @@ class AsyncCampaignsReport(ModelNormal):
55
55
  """
56
56
 
57
57
  allowed_values = {
58
- ('search_term_types',): {
59
- 'UNKNOWN': "unknown",
60
- 'SEARCHED': "searched",
61
- 'ENTERED': "entered",
62
- },
63
- ('search_term_targetings',): {
64
- 'UNKNOWN': "unknown",
65
- 'AUTOMATIC': "automatic",
66
- 'MANUAL': "manual",
67
- },
68
58
  ('campaign_type',): {
69
59
  'ALL': "all",
70
60
  'SPONSOREDPRODUCTS': "sponsoredProducts",
71
61
  'ONSITEDISPLAYS': "onSiteDisplays",
72
62
  },
73
- ('sales_channel',): {
74
- 'ALL': "all",
75
- 'OFFLINE': "offline",
76
- 'ONLINE': "online",
77
- },
78
- ('format',): {
79
- 'JSON': "json",
80
- 'JSON-COMPACT': "json-compact",
81
- 'JSON-NEWLINE': "json-newline",
82
- 'CSV': "csv",
83
- },
84
- ('report_type',): {
85
- 'SUMMARY': "summary",
86
- 'PAGETYPE': "pageType",
87
- 'KEYWORD': "keyword",
88
- 'PRODUCTCATEGORY': "productCategory",
89
- 'PRODUCT': "product",
90
- 'ATTRIBUTEDTRANSACTIONS': "attributedTransactions",
91
- 'ENVIRONMENT': "environment",
92
- 'SERVEDCATEGORY': "servedCategory",
93
- 'CAPOUT': "capout",
94
- },
95
63
  ('click_attribution_window',): {
96
64
  'NONE': "none",
97
65
  '7D': "7D",
98
66
  '14D': "14D",
99
67
  '30D': "30D",
100
68
  },
101
- ('view_attribution_window',): {
102
- 'NONE': "none",
103
- '1D': "1D",
104
- '7D': "7D",
105
- '14D': "14D",
106
- '30D': "30D",
107
- },
108
69
  ('dimensions',): {
109
70
  'DATE': "date",
110
71
  'HOUR': "hour",
@@ -139,6 +100,12 @@ class AsyncCampaignsReport(ModelNormal):
139
100
  'CREATIVETEMPLATEID': "creativeTemplateId",
140
101
  'CREATIVETEMPLATENAME': "creativeTemplateName",
141
102
  },
103
+ ('format',): {
104
+ 'JSON': "json",
105
+ 'JSON-COMPACT': "json-compact",
106
+ 'JSON-NEWLINE': "json-newline",
107
+ 'CSV': "csv",
108
+ },
142
109
  ('metrics',): {
143
110
  'IMPRESSIONS': "impressions",
144
111
  'CLICKS': "clicks",
@@ -178,6 +145,39 @@ class AsyncCampaignsReport(ModelNormal):
178
145
  'UNIQUEVISITORS': "uniqueVisitors",
179
146
  'FREQUENCY': "frequency",
180
147
  },
148
+ ('report_type',): {
149
+ 'SUMMARY': "summary",
150
+ 'PAGETYPE': "pageType",
151
+ 'KEYWORD': "keyword",
152
+ 'PRODUCTCATEGORY': "productCategory",
153
+ 'PRODUCT': "product",
154
+ 'ATTRIBUTEDTRANSACTIONS': "attributedTransactions",
155
+ 'ENVIRONMENT': "environment",
156
+ 'SERVEDCATEGORY': "servedCategory",
157
+ 'CAPOUT': "capout",
158
+ },
159
+ ('sales_channel',): {
160
+ 'ONLINE': "online",
161
+ 'OFFLINE': "offline",
162
+ 'ALL': "all",
163
+ },
164
+ ('search_term_targetings',): {
165
+ 'UNKNOWN': "unknown",
166
+ 'AUTOMATIC': "automatic",
167
+ 'MANUAL': "manual",
168
+ },
169
+ ('search_term_types',): {
170
+ 'UNKNOWN': "unknown",
171
+ 'SEARCHED': "searched",
172
+ 'ENTERED': "entered",
173
+ },
174
+ ('view_attribution_window',): {
175
+ 'NONE': "none",
176
+ '1D': "1D",
177
+ '7D': "7D",
178
+ '14D': "14D",
179
+ '30D': "30D",
180
+ },
181
181
  }
182
182
 
183
183
  validations = {
@@ -204,21 +204,21 @@ class AsyncCampaignsReport(ModelNormal):
204
204
  and the value is attribute type.
205
205
  """
206
206
  return {
207
- 'start_date': (datetime,), # noqa: E501
208
207
  'end_date': (datetime,), # noqa: E501
209
- 'ids': ([str],), # noqa: E501
210
- 'id': (str,), # noqa: E501
211
- 'search_term_types': ([str],), # noqa: E501
212
- 'search_term_targetings': ([str],), # noqa: E501
208
+ 'start_date': (datetime,), # noqa: E501
213
209
  'campaign_type': (str,), # noqa: E501
214
- 'sales_channel': (str,), # noqa: E501
215
- 'format': (str,), # noqa: E501
216
- 'report_type': (str,), # noqa: E501
217
210
  'click_attribution_window': (str,), # noqa: E501
218
- 'view_attribution_window': (str,), # noqa: E501
219
211
  'dimensions': ([str],), # noqa: E501
212
+ 'format': (str,), # noqa: E501
213
+ 'id': (str,), # noqa: E501
214
+ 'ids': ([str],), # noqa: E501
220
215
  'metrics': ([str],), # noqa: E501
216
+ 'report_type': (str,), # noqa: E501
217
+ 'sales_channel': (str,), # noqa: E501
218
+ 'search_term_targetings': ([str],), # noqa: E501
219
+ 'search_term_types': ([str],), # noqa: E501
221
220
  'timezone': (str,), # noqa: E501
221
+ 'view_attribution_window': (str,), # noqa: E501
222
222
  }
223
223
 
224
224
  @cached_property
@@ -227,21 +227,21 @@ class AsyncCampaignsReport(ModelNormal):
227
227
 
228
228
 
229
229
  attribute_map = {
230
- 'start_date': 'startDate', # noqa: E501
231
230
  'end_date': 'endDate', # noqa: E501
232
- 'ids': 'ids', # noqa: E501
233
- 'id': 'id', # noqa: E501
234
- 'search_term_types': 'searchTermTypes', # noqa: E501
235
- 'search_term_targetings': 'searchTermTargetings', # noqa: E501
231
+ 'start_date': 'startDate', # noqa: E501
236
232
  'campaign_type': 'campaignType', # noqa: E501
237
- 'sales_channel': 'salesChannel', # noqa: E501
238
- 'format': 'format', # noqa: E501
239
- 'report_type': 'reportType', # noqa: E501
240
233
  'click_attribution_window': 'clickAttributionWindow', # noqa: E501
241
- 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
242
234
  'dimensions': 'dimensions', # noqa: E501
235
+ 'format': 'format', # noqa: E501
236
+ 'id': 'id', # noqa: E501
237
+ 'ids': 'ids', # noqa: E501
243
238
  'metrics': 'metrics', # noqa: E501
239
+ 'report_type': 'reportType', # noqa: E501
240
+ 'sales_channel': 'salesChannel', # noqa: E501
241
+ 'search_term_targetings': 'searchTermTargetings', # noqa: E501
242
+ 'search_term_types': 'searchTermTypes', # noqa: E501
244
243
  'timezone': 'timezone', # noqa: E501
244
+ 'view_attribution_window': 'viewAttributionWindow', # noqa: E501
245
245
  }
246
246
 
247
247
  read_only_vars = {
@@ -251,12 +251,12 @@ class AsyncCampaignsReport(ModelNormal):
251
251
 
252
252
  @classmethod
253
253
  @convert_js_args_to_python_args
254
- def _from_openapi_data(cls, start_date, end_date, *args, **kwargs): # noqa: E501
254
+ def _from_openapi_data(cls, end_date, start_date, *args, **kwargs): # noqa: E501
255
255
  """AsyncCampaignsReport - a model defined in OpenAPI
256
256
 
257
257
  Args:
258
- start_date (datetime): Start date
259
258
  end_date (datetime): End date
259
+ start_date (datetime): Start date
260
260
 
261
261
  Keyword Args:
262
262
  _check_type (bool): if True, values for parameters in openapi_types
@@ -289,19 +289,19 @@ class AsyncCampaignsReport(ModelNormal):
289
289
  Animal class but this time we won't travel
290
290
  through its discriminator because we passed in
291
291
  _visited_composed_classes = (Animal,)
292
- ids ([str]): Campaign ids to report on. [optional] # noqa: E501
293
- id (str): Campaign id to report on. [optional] # noqa: E501
294
- search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
295
- search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
296
292
  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
297
- 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
298
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
299
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
300
293
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
301
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
302
294
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
295
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
296
+ id (str): Campaign id to report on. [optional] # noqa: E501
297
+ ids ([str]): Campaign ids to report on. [optional] # noqa: E501
303
298
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
299
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
300
+ 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
301
+ search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
302
+ search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
304
303
  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
304
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
305
305
  """
306
306
 
307
307
  _check_type = kwargs.pop('_check_type', True)
@@ -333,8 +333,8 @@ class AsyncCampaignsReport(ModelNormal):
333
333
  self._configuration = _configuration
334
334
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
335
335
 
336
- self.start_date = start_date
337
336
  self.end_date = end_date
337
+ self.start_date = start_date
338
338
  for var_name, var_value in kwargs.items():
339
339
  if var_name not in self.attribute_map and \
340
340
  self._configuration is not None and \
@@ -355,12 +355,12 @@ class AsyncCampaignsReport(ModelNormal):
355
355
  ])
356
356
 
357
357
  @convert_js_args_to_python_args
358
- def __init__(self, start_date, end_date, *args, **kwargs): # noqa: E501
358
+ def __init__(self, end_date, start_date, *args, **kwargs): # noqa: E501
359
359
  """AsyncCampaignsReport - a model defined in OpenAPI
360
360
 
361
361
  Args:
362
- start_date (datetime): Start date
363
362
  end_date (datetime): End date
363
+ start_date (datetime): Start date
364
364
 
365
365
  Keyword Args:
366
366
  _check_type (bool): if True, values for parameters in openapi_types
@@ -393,19 +393,19 @@ class AsyncCampaignsReport(ModelNormal):
393
393
  Animal class but this time we won't travel
394
394
  through its discriminator because we passed in
395
395
  _visited_composed_classes = (Animal,)
396
- ids ([str]): Campaign ids to report on. [optional] # noqa: E501
397
- id (str): Campaign id to report on. [optional] # noqa: E501
398
- search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
399
- search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
400
396
  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
401
- 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
402
- format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
403
- report_type (str): Type of report, if no dimensions/metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
404
397
  click_attribution_window (str): Click attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
405
- view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
406
398
  dimensions ([str]): List of dimensions to report on. [optional] # noqa: E501
399
+ format (str): Format of the output. [optional] if omitted the server will use the default value of "json-compact" # noqa: E501
400
+ id (str): Campaign id to report on. [optional] # noqa: E501
401
+ ids ([str]): Campaign ids to report on. [optional] # noqa: E501
407
402
  metrics ([str]): List of metrics to report on. [optional] # noqa: E501
403
+ report_type (str): Type of report, if no dimensions and metrics are provided, falls back to summary reportType. [optional] if omitted the server will use the default value of "summary" # noqa: E501
404
+ 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
405
+ search_term_targetings ([str]): Filter on the type of search term targeting: unknown, automatic, manual. [optional] # noqa: E501
406
+ search_term_types ([str]): Filter on the type of search term type: unknown, searched, entered. [optional] # noqa: E501
408
407
  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
408
+ view_attribution_window (str): View attribution window. [optional] if omitted the server will use the default value of "none" # noqa: E501
409
409
  """
410
410
 
411
411
  _check_type = kwargs.pop('_check_type', True)
@@ -435,8 +435,8 @@ class AsyncCampaignsReport(ModelNormal):
435
435
  self._configuration = _configuration
436
436
  self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
437
437
 
438
- self.start_date = start_date
439
438
  self.end_date = end_date
439
+ self.start_date = start_date
440
440
  for var_name, var_value in kwargs.items():
441
441
  if var_name not in self.attribute_map and \
442
442
  self._configuration is not None and \
@@ -87,8 +87,8 @@ class AsyncCampaignsReportResource(ModelNormal):
87
87
  """
88
88
  lazy_import()
89
89
  return {
90
- 'type': (str,), # noqa: E501
91
90
  'attributes': (AsyncCampaignsReport,), # noqa: E501
91
+ 'type': (str,), # noqa: E501
92
92
  }
93
93
 
94
94
  @cached_property
@@ -97,8 +97,8 @@ class AsyncCampaignsReportResource(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 AsyncCampaignsReportResource(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 (AsyncCampaignsReport): [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 AsyncCampaignsReportResource(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 (AsyncCampaignsReport): [optional] # noqa: E501
233
+ type (str): [optional] # noqa: E501
234
234
  """
235
235
 
236
236
  _check_type = kwargs.pop('_check_type', True)