criteo-api-retailmedia-sdk 0.0.250320__py3-none-any.whl → 0.0.250409__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of criteo-api-retailmedia-sdk might be problematic. Click here for more details.
- criteo_api_retailmedia_preview/__init__.py +1 -1
- criteo_api_retailmedia_preview/api/accounts_api.py +302 -6
- criteo_api_retailmedia_preview/api/analytics_api.py +144 -2
- criteo_api_retailmedia_preview/api/balance_api.py +12 -12
- criteo_api_retailmedia_preview/api/campaign_api.py +387 -76
- criteo_api_retailmedia_preview/api_client.py +1 -1
- criteo_api_retailmedia_preview/configuration.py +1 -1
- criteo_api_retailmedia_preview/model/account_fees_search_request.py +257 -0
- criteo_api_retailmedia_preview/model/account_fees_update_request.py +274 -0
- criteo_api_retailmedia_preview/model/account_fees_update_result.py +261 -0
- criteo_api_retailmedia_preview/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_preview/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_preview/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_preview/model/async_accounts_report.py +71 -71
- criteo_api_retailmedia_preview/model/async_accounts_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_fill_rate_report.py +14 -14
- criteo_api_retailmedia_preview/model/async_fill_rate_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_preview/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/async_offsite_report.py +434 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_request.py +269 -0
- criteo_api_retailmedia_preview/model/async_offsite_report_resource.py +273 -0
- criteo_api_retailmedia_preview/model/async_report_response.py +5 -5
- criteo_api_retailmedia_preview/model/audience_error.py +16 -16
- criteo_api_retailmedia_preview/model/audience_warning.py +22 -22
- criteo_api_retailmedia_preview/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_preview/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_preview/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/bot_message.py +4 -4
- criteo_api_retailmedia_preview/model/brand_catalog_request_v2.py +9 -9
- criteo_api_retailmedia_preview/model/brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/brand_id_search_result.py +8 -8
- criteo_api_retailmedia_preview/model/brand_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/catalog_status_v2.py +12 -12
- criteo_api_retailmedia_preview/model/category202204.py +8 -8
- criteo_api_retailmedia_preview/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_preview/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_preview/model/common_error.py +16 -16
- criteo_api_retailmedia_preview/model/common_problem.py +20 -20
- criteo_api_retailmedia_preview/model/common_warning.py +16 -16
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview.py +4 -4
- criteo_api_retailmedia_preview/model/cpc_rate_card_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_preview/model/creative2.py +50 -50
- criteo_api_retailmedia_preview/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/creative2_response.py +5 -5
- criteo_api_retailmedia_preview/model/demand_managed_fee.py +267 -0
- criteo_api_retailmedia_preview/model/entity_resource_brand_id_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_brand_id_search_result_paging_offset_limit_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_line_item_keyword_review_report_and_metadata.py +280 -0
- criteo_api_retailmedia_preview/model/entity_resource_collection_outcome_of_retail_media_child_account_and_metadata.py +9 -9
- criteo_api_retailmedia_preview/model/entity_resource_line_item_keyword_review_report.py +270 -0
- criteo_api_retailmedia_preview/model/{resource_of_catalog_status_v2.py → entity_resource_of_catalog_status_v2.py} +7 -7
- criteo_api_retailmedia_preview/model/entity_resource_of_retail_media_child_account.py +4 -4
- criteo_api_retailmedia_preview/model/{catalog_status_v2_response.py → entity_resource_outcome_of_catalog_status_v2.py} +18 -18
- criteo_api_retailmedia_preview/model/entity_resource_outcome_partner_billing_report_status_v1.py +5 -5
- criteo_api_retailmedia_preview/model/entity_resource_partner_billing_report_status_v1.py +4 -4
- criteo_api_retailmedia_preview/model/export_report_column.py +30 -30
- criteo_api_retailmedia_preview/model/external_line_item_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_preview/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_preview/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_preview/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_preview/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_preview/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_preview/model/external_product_button_request.py +8 -8
- criteo_api_retailmedia_preview/model/external_product_button_response.py +14 -14
- criteo_api_retailmedia_preview/model/external_retail_media_child_account.py +22 -22
- criteo_api_retailmedia_preview/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_preview/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_preview/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/installment.py +4 -4
- criteo_api_retailmedia_preview/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_preview/model/keywords.py +18 -18
- criteo_api_retailmedia_preview/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_preview/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/line_item_keyword_review_report.py +311 -0
- criteo_api_retailmedia_preview/model/managed_service_fee.py +279 -0
- criteo_api_retailmedia_preview/model/message.py +4 -4
- criteo_api_retailmedia_preview/model/message_error.py +8 -8
- criteo_api_retailmedia_preview/model/metadata.py +8 -8
- criteo_api_retailmedia_preview/model/outcome.py +5 -5
- criteo_api_retailmedia_preview/model/page_metadata.py +16 -16
- criteo_api_retailmedia_preview/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_preview/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_preview/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_preview/model/paging_offset_limit_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/partner_billing_report_request_v1.py +12 -14
- criteo_api_retailmedia_preview/model/partner_billing_report_status_v1.py +12 -12
- criteo_api_retailmedia_preview/model/placement_preview.py +24 -24
- criteo_api_retailmedia_preview/model/placement_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_preview/model/private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/private_market_fees.py +276 -0
- criteo_api_retailmedia_preview/model/problem_details.py +20 -20
- criteo_api_retailmedia_preview/model/product.py +242 -242
- criteo_api_retailmedia_preview/model/product_button_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/product_importer_error.py +20 -20
- criteo_api_retailmedia_preview/model/product_importer_warning.py +20 -20
- criteo_api_retailmedia_preview/model/product_metadata.py +8 -8
- criteo_api_retailmedia_preview/model/product_recommendation.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping.py +16 -16
- criteo_api_retailmedia_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_retailmedia_preview/model/product_shipping_weight.py +4 -4
- criteo_api_retailmedia_preview/model/product_tax.py +12 -12
- criteo_api_retailmedia_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_retailmedia_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_retailmedia_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_retailmedia_preview/model/promoted_product.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_preview/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_preview/model/report_data_response_resource.py +4 -4
- criteo_api_retailmedia_preview/model/report_detail_error.py +14 -14
- criteo_api_retailmedia_preview/model/report_detail_errors.py +8 -8
- criteo_api_retailmedia_preview/model/report_detail_warning.py +14 -14
- criteo_api_retailmedia_preview/model/report_ok_response.py +20 -20
- criteo_api_retailmedia_preview/model/report_outcome.py +5 -5
- criteo_api_retailmedia_preview/model/report_response.py +9 -9
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_seller_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_data_preview.py +4 -4
- criteo_api_retailmedia_preview/model/resource_of_sku_search_request_preview.py +4 -4
- criteo_api_retailmedia_preview/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_preview/model/retail_media_keywords_review.py +271 -0
- criteo_api_retailmedia_preview/model/retail_media_keywords_review_result.py +271 -0
- criteo_api_retailmedia_preview/model/retail_media_seller.py +8 -8
- criteo_api_retailmedia_preview/model/review_set_state.py +278 -0
- criteo_api_retailmedia_preview/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_preview/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_preview/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_preview/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_preview/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_preview/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_preview/model/seller_catalog_request_v2.py +8 -8
- criteo_api_retailmedia_preview/model/seller_preview_response.py +5 -5
- criteo_api_retailmedia_preview/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_preview/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sku_data_preview.py +60 -60
- criteo_api_retailmedia_preview/model/sku_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_min_bid.py +8 -8
- criteo_api_retailmedia_preview/model/sku_search_request_preview.py +17 -17
- criteo_api_retailmedia_preview/model/sku_search_request_slim_preview.py +8 -8
- criteo_api_retailmedia_preview/model/sku_slim_data_preview.py +30 -30
- criteo_api_retailmedia_preview/model/sku_slim_data_preview_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/sku_slim_data_v2.py +24 -24
- criteo_api_retailmedia_preview/model/sku_slim_data_v2_list_response.py +5 -5
- criteo_api_retailmedia_preview/model/status_response.py +20 -20
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report.py +41 -41
- criteo_api_retailmedia_preview/model/sync_attributed_transactions_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_campaigns_report.py +48 -48
- criteo_api_retailmedia_preview/model/sync_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/sync_line_items_report.py +52 -52
- criteo_api_retailmedia_preview/model/sync_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_preview/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_preview/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_preview/model/value_resource_account_fees_search_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_request.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_account_fees_update_result.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_brand_id_search_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_of_seller_search_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_collection_outcome_private_market_account_fees.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_request.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_cpc_min_bids_response.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_search_request.py +262 -0
- criteo_api_retailmedia_preview/model/value_resource_input_account_fees_update_request.py +262 -0
- criteo_api_retailmedia_preview/model/{json_api_request_of_brand_catalog_request_v2.py → value_resource_input_of_brand_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/{json_api_request_of_seller_catalog_request_v2.py → value_resource_input_of_seller_catalog_request_v2.py} +8 -8
- criteo_api_retailmedia_preview/model/value_resource_input_retail_media_keywords_review.py +262 -0
- 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
- criteo_api_retailmedia_preview/model/value_resource_of_recommended_keywords_result.py +4 -4
- 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
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_of_seller_search_result.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_outcome_account_fees_update_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_outcome_cpc_min_bids_response.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- criteo_api_retailmedia_preview/model/value_resource_outcome_retail_media_keywords_review_result.py +274 -0
- criteo_api_retailmedia_preview/model/value_resource_partner_billing_report_request_v1.py +4 -4
- criteo_api_retailmedia_preview/model/value_resource_private_market_account_fees.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review.py +266 -0
- criteo_api_retailmedia_preview/model/value_resource_retail_media_keywords_review_result.py +266 -0
- criteo_api_retailmedia_preview/model/video_variable_value.py +16 -16
- criteo_api_retailmedia_preview/models/__init__.py +34 -6
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/RECORD +209 -181
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.dist-info}/WHEEL +1 -1
- {criteo_api_retailmedia_sdk-0.0.250320.dist-info → criteo_api_retailmedia_sdk-0.0.250409.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
|
+
'ALL': "all",
|
|
165
|
+
'OFFLINE': "offline",
|
|
166
|
+
'ONLINE': "online",
|
|
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,
|
|
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
|
|
@@ -295,17 +295,17 @@ class AsyncAccountsReport(ModelNormal):
|
|
|
295
295
|
through its discriminator because we passed in
|
|
296
296
|
_visited_composed_classes = (Animal,)
|
|
297
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
|
|
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/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,
|
|
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
|
|
@@ -400,17 +400,17 @@ class AsyncAccountsReport(ModelNormal):
|
|
|
400
400
|
through its discriminator because we passed in
|
|
401
401
|
_visited_composed_classes = (Animal,)
|
|
402
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
|
|
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/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
|
+
'ALL': "all",
|
|
161
|
+
'OFFLINE': "offline",
|
|
162
|
+
'ONLINE': "online",
|
|
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
|
-
'
|
|
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
|
-
'
|
|
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,
|
|
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/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,
|
|
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/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)
|