criteo-api-retailmedia-sdk 2025.1.0.250320__py3-none-any.whl → 2025.1.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_sdk-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/RECORD +168 -168
- {criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/WHEEL +1 -1
- criteo_api_retailmedia_v2025_01/__init__.py +1 -1
- criteo_api_retailmedia_v2025_01/api/analytics_api.py +2 -2
- criteo_api_retailmedia_v2025_01/api/balance_api.py +12 -12
- criteo_api_retailmedia_v2025_01/api/campaign_api.py +30 -30
- criteo_api_retailmedia_v2025_01/api_client.py +1 -1
- criteo_api_retailmedia_v2025_01/configuration.py +1 -1
- criteo_api_retailmedia_v2025_01/model/add_funds_to_balance_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/add_remove_keyword_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/add_remove_keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/add_to_basket_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/application_summary_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/application_summary_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/application_summary_model_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/asset_response.py +7 -7
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report.py +79 -79
- criteo_api_retailmedia_v2025_01/model/async_campaigns_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_line_items_report.py +79 -79
- criteo_api_retailmedia_v2025_01/model/async_line_items_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/async_report_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/async_revenue_report.py +104 -104
- criteo_api_retailmedia_v2025_01/model/async_revenue_report_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/auction_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/auction_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/audience_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/audience_warning.py +22 -22
- criteo_api_retailmedia_v2025_01/model/balance_campaign202110_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/balance_history_change_data_capture_v1.py +14 -14
- criteo_api_retailmedia_v2025_01/model/balance_response_v2.py +45 -45
- criteo_api_retailmedia_v2025_01/model/balance_response_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/campaign_attributes_v202301.py +57 -57
- criteo_api_retailmedia_v2025_01/model/campaign_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/campaign_v202301.py +82 -82
- criteo_api_retailmedia_v2025_01/model/category202204.py +8 -8
- criteo_api_retailmedia_v2025_01/model/category202204_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/change_dates_of_balance_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/change_details_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/common_error.py +16 -16
- criteo_api_retailmedia_v2025_01/model/common_line_item_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/common_line_item_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/common_problem.py +20 -20
- criteo_api_retailmedia_v2025_01/model/common_warning.py +16 -16
- criteo_api_retailmedia_v2025_01/model/create_balance_v2.py +12 -12
- criteo_api_retailmedia_v2025_01/model/creative2.py +50 -50
- criteo_api_retailmedia_v2025_01/model/creative202110.py +16 -12
- criteo_api_retailmedia_v2025_01/model/creative202110_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative202210.py +40 -36
- criteo_api_retailmedia_v2025_01/model/creative202210_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/creative2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/daily_line_item_budget_override.py +4 -4
- criteo_api_retailmedia_v2025_01/model/editable_campaign_attributes_v202301.py +32 -32
- criteo_api_retailmedia_v2025_01/model/entity_resource_of_retail_media_account.py +4 -4
- criteo_api_retailmedia_v2025_01/model/entity_resource_outcome_of_retail_media_account.py +5 -5
- criteo_api_retailmedia_v2025_01/model/external_account.py +18 -18
- criteo_api_retailmedia_v2025_01/model/external_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item.py +44 -44
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_create_model.py +30 -30
- criteo_api_retailmedia_v2025_01/model/external_auction_line_item_update_model.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_audience_target202110.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_catalog_request.py +4 -4
- criteo_api_retailmedia_v2025_01/model/external_catalog_status.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_common_line_item.py +34 -34
- criteo_api_retailmedia_v2025_01/model/external_line_item_bid_multipliers_v2.py +28 -28
- criteo_api_retailmedia_v2025_01/model/external_line_item_capping_v2.py +9 -9
- criteo_api_retailmedia_v2025_01/model/external_line_item_page_v2.py +3 -3
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_create_model_v2.py +24 -24
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_update_model_v2.py +20 -20
- criteo_api_retailmedia_v2025_01/model/external_preferred_line_item_v2.py +36 -36
- criteo_api_retailmedia_v2025_01/model/external_retail_media_account.py +22 -22
- criteo_api_retailmedia_v2025_01/model/external_retail_media_brand_account_creation.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller.py +8 -8
- criteo_api_retailmedia_v2025_01/model/external_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/files_variables_specification.py +4 -4
- criteo_api_retailmedia_v2025_01/model/grant_consent_model.py +8 -8
- criteo_api_retailmedia_v2025_01/model/grant_consent_model_value_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_auction_line_item_create_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/input_resource_of_preferred_line_item_create_model_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_account.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_brand.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_campaign_v202301.py +8 -8
- criteo_api_retailmedia_v2025_01/model/json_api_page_response_of_retailer.py +8 -8
- criteo_api_retailmedia_v2025_01/model/keyword_data_model.py +12 -12
- criteo_api_retailmedia_v2025_01/model/keyword_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/keywords.py +18 -18
- criteo_api_retailmedia_v2025_01/model/keywords_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/keywords_model_response.py +4 -4
- criteo_api_retailmedia_v2025_01/model/line_item_bid_multipliers_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/line_item_budget_overrides.py +8 -8
- criteo_api_retailmedia_v2025_01/model/metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_metadata.py +16 -16
- criteo_api_retailmedia_v2025_01/model/page_of_balance_history_change_data_capture_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/page_type_environment2.py +14 -14
- criteo_api_retailmedia_v2025_01/model/page_type_environment202210.py +14 -14
- criteo_api_retailmedia_v2025_01/model/paged_resource_collection_outcome_of_balance_response_v2.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_paged_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/preferred_line_item_v2_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/problem_details.py +20 -20
- criteo_api_retailmedia_v2025_01/model/product_metadata.py +8 -8
- criteo_api_retailmedia_v2025_01/model/promoted_product.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/promoted_product_resource_collection_outcome.py +8 -8
- criteo_api_retailmedia_v2025_01/model/report_outcome.py +5 -5
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_auction_line_item_update_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_balance_campaign202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_common_line_item.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_update_model_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/resource_of_preferred_line_item_v2.py +4 -4
- criteo_api_retailmedia_v2025_01/model/retail_media_contactlist_amendment_attributes.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_algebra_node_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1.py +20 -20
- criteo_api_retailmedia_v2025_01/model/rm_audience_entity_v1_rm_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1.py +30 -30
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_entity_v1_rm_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_search_metadata_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_audience_segment_update_entity_v1.py +8 -8
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/rm_contact_list_v1.py +4 -4
- criteo_api_retailmedia_v2025_01/model/rm_events_v1.py +23 -23
- criteo_api_retailmedia_v2025_01/model/rmca_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/sdk_api_rest_common_problem.py +16 -16
- criteo_api_retailmedia_v2025_01/model/section.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bid_model.py +4 -4
- criteo_api_retailmedia_v2025_01/model/set_bids_model_resource.py +4 -4
- criteo_api_retailmedia_v2025_01/model/status_response.py +20 -20
- criteo_api_retailmedia_v2025_01/model/store_target202110_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template.py +24 -24
- criteo_api_retailmedia_v2025_01/model/template_list_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_response.py +5 -5
- criteo_api_retailmedia_v2025_01/model/template_variable.py +4 -4
- criteo_api_retailmedia_v2025_01/model/template_variable_value.py +4 -4
- criteo_api_retailmedia_v2025_01/model/update_balance_model_v2.py +8 -8
- criteo_api_retailmedia_v2025_01/model/value_resource_collection_outcome_of_retail_media_seller.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_of_campaign_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_line_item_budget_overrides.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_recommended_keywords_result.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brand_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_brands.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_of_retail_media_seller_account_creation.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_campaign_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_line_item_budget_overrides.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_recommended_keywords_result.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_resource_outcome_of_retail_media_brands.py +5 -5
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_add_to_basket_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_audience_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_keyword_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_ids_update_model202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/value_type_resource_of_store_target202110.py +4 -4
- criteo_api_retailmedia_v2025_01/model/video_variable_value.py +16 -16
- {criteo_api_retailmedia_sdk-2025.1.0.250320.dist-info → criteo_api_retailmedia_sdk-2025.1.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -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)
|
|
@@ -55,56 +55,17 @@ class AsyncLineItemsReport(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 AsyncLineItemsReport(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 AsyncLineItemsReport(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 AsyncLineItemsReport(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 AsyncLineItemsReport(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 AsyncLineItemsReport(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
|
"""AsyncLineItemsReport - 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 AsyncLineItemsReport(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]): Line Item ids to report on. [optional] # noqa: E501
|
|
293
|
-
id (str): Line Item 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): Line Item id to report on. [optional] # noqa: E501
|
|
297
|
+
ids ([str]): Line Item 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 AsyncLineItemsReport(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 AsyncLineItemsReport(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
|
"""AsyncLineItemsReport - 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 AsyncLineItemsReport(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]): Line Item ids to report on. [optional] # noqa: E501
|
|
397
|
-
id (str): Line Item 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): Line Item id to report on. [optional] # noqa: E501
|
|
401
|
+
ids ([str]): Line Item 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 AsyncLineItemsReport(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 AsyncLineItemsReportResource(ModelNormal):
|
|
|
87
87
|
"""
|
|
88
88
|
lazy_import()
|
|
89
89
|
return {
|
|
90
|
-
'type': (str,), # noqa: E501
|
|
91
90
|
'attributes': (AsyncLineItemsReport,), # noqa: E501
|
|
91
|
+
'type': (str,), # noqa: E501
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
@cached_property
|
|
@@ -97,8 +97,8 @@ class AsyncLineItemsReportResource(ModelNormal):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
attribute_map = {
|
|
100
|
-
'type': 'type', # noqa: E501
|
|
101
100
|
'attributes': 'attributes', # noqa: E501
|
|
101
|
+
'type': 'type', # noqa: E501
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
read_only_vars = {
|
|
@@ -142,8 +142,8 @@ class AsyncLineItemsReportResource(ModelNormal):
|
|
|
142
142
|
Animal class but this time we won't travel
|
|
143
143
|
through its discriminator because we passed in
|
|
144
144
|
_visited_composed_classes = (Animal,)
|
|
145
|
-
type (str): [optional] # noqa: E501
|
|
146
145
|
attributes (AsyncLineItemsReport): [optional] # noqa: E501
|
|
146
|
+
type (str): [optional] # noqa: E501
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
149
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -229,8 +229,8 @@ class AsyncLineItemsReportResource(ModelNormal):
|
|
|
229
229
|
Animal class but this time we won't travel
|
|
230
230
|
through its discriminator because we passed in
|
|
231
231
|
_visited_composed_classes = (Animal,)
|
|
232
|
-
type (str): [optional] # noqa: E501
|
|
233
232
|
attributes (AsyncLineItemsReport): [optional] # noqa: E501
|
|
233
|
+
type (str): [optional] # noqa: E501
|
|
234
234
|
"""
|
|
235
235
|
|
|
236
236
|
_check_type = kwargs.pop('_check_type', True)
|