criteo-api-marketingsolutions-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-marketingsolutions-sdk might be problematic. Click here for more details.
- criteo_api_marketingsolutions_preview/__init__.py +1 -1
- criteo_api_marketingsolutions_preview/api/creative_api.py +12 -12
- criteo_api_marketingsolutions_preview/api_client.py +1 -1
- criteo_api_marketingsolutions_preview/configuration.py +1 -1
- criteo_api_marketingsolutions_preview/model/ad.py +20 -20
- criteo_api_marketingsolutions_preview/model/ad_set_audience_link_entity_v1_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/ad_set_category_bid.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_category_bid_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/ad_set_delivery_limitations_v24_q3.py +9 -9
- criteo_api_marketingsolutions_preview/model/ad_set_display_multiplier_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_disable_result_response.py +7 -7
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_response.py +7 -7
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_deal_ids_set_result_response.py +7 -7
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_v24_q3.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning.py +36 -36
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_disable_result_response.py +7 -7
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_response.py +7 -7
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_set_result_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/ad_set_targeting_video_positioning_set_result_response.py +7 -7
- criteo_api_marketingsolutions_preview/model/ad_write.py +18 -18
- criteo_api_marketingsolutions_preview/model/adaptive_attributes.py +42 -42
- criteo_api_marketingsolutions_preview/model/adaptive_colors.py +20 -20
- criteo_api_marketingsolutions_preview/model/adaptive_write_attributes.py +44 -44
- criteo_api_marketingsolutions_preview/model/advertiser_creation_input.py +14 -14
- criteo_api_marketingsolutions_preview/model/algebra_node_v1.py +8 -8
- criteo_api_marketingsolutions_preview/model/application_summary_model.py +8 -8
- criteo_api_marketingsolutions_preview/model/application_summary_model_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/application_summary_model_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_create_entity_v1.py +8 -8
- criteo_api_marketingsolutions_preview/model/audience_create_entity_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_entity_v1.py +20 -20
- criteo_api_marketingsolutions_preview/model/audience_entity_v1_audience_search_metadata_v1_list_response.py +9 -9
- criteo_api_marketingsolutions_preview/model/audience_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_error.py +16 -16
- criteo_api_marketingsolutions_preview/model/audience_estimate_size_entity_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_id_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_name_description.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_search_entity_v1.py +8 -8
- criteo_api_marketingsolutions_preview/model/audience_search_entity_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_search_metadata_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_segment_create_entity_v1.py +20 -20
- criteo_api_marketingsolutions_preview/model/audience_segment_create_entity_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1.py +36 -36
- criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1_audience_segment_search_metadata_v1_list_response.py +9 -9
- criteo_api_marketingsolutions_preview/model/audience_segment_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_segment_id_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_segment_search_entity_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_segment_search_entity_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_segment_search_metadata_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_segment_size_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_entity_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_segment_size_estimation_v1_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_segment_update_entity_v1.py +8 -8
- criteo_api_marketingsolutions_preview/model/audience_size_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_size_estimation_v1_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/audience_size_estimation_v1_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/audience_update_entity_v1.py +8 -8
- criteo_api_marketingsolutions_preview/model/audience_warning.py +22 -22
- criteo_api_marketingsolutions_preview/model/behavioral_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/budget_automation.py +4 -4
- criteo_api_marketingsolutions_preview/model/campaign_budget_automation_v23_q1.py +4 -4
- criteo_api_marketingsolutions_preview/model/campaign_search_filters_v23_q1.py +4 -4
- criteo_api_marketingsolutions_preview/model/campaign_spend_limit_v23_q1.py +13 -13
- criteo_api_marketingsolutions_preview/model/campaign_v23_q1.py +12 -12
- criteo_api_marketingsolutions_preview/model/campaign_v23_q1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/campaign_v23_q1_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/common_problem.py +20 -20
- criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/contact_list_statistics_entity_v1_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/contactlist_amendment.py +8 -8
- criteo_api_marketingsolutions_preview/model/contactlist_amendment_attributes.py +12 -12
- criteo_api_marketingsolutions_preview/model/contactlist_operation.py +8 -8
- criteo_api_marketingsolutions_preview/model/contactlist_operation_attributes.py +8 -8
- criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment.py +8 -8
- criteo_api_marketingsolutions_preview/model/contactlist_with_attributes_amendment_attributes.py +18 -18
- criteo_api_marketingsolutions_preview/model/coupon.py +40 -40
- criteo_api_marketingsolutions_preview/model/coupon_supported_sizes.py +4 -4
- criteo_api_marketingsolutions_preview/model/create_ad_set_budget_v24_q3.py +15 -15
- criteo_api_marketingsolutions_preview/model/create_ad_set_v24_q3.py +34 -34
- criteo_api_marketingsolutions_preview/model/create_campaign.py +8 -8
- criteo_api_marketingsolutions_preview/model/create_campaign_spend_limit.py +4 -4
- criteo_api_marketingsolutions_preview/model/create_coupon.py +34 -34
- criteo_api_marketingsolutions_preview/model/create_image_slide.py +4 -4
- criteo_api_marketingsolutions_preview/model/create_product_set_request.py +4 -4
- criteo_api_marketingsolutions_preview/model/creative.py +30 -30
- criteo_api_marketingsolutions_preview/model/creative_write.py +26 -26
- criteo_api_marketingsolutions_preview/model/criteo_api_error.py +26 -26
- criteo_api_marketingsolutions_preview/model/criteo_api_warning.py +22 -22
- criteo_api_marketingsolutions_preview/model/criteo_api_warning_v2.py +22 -22
- criteo_api_marketingsolutions_preview/model/dynamic_attributes.py +12 -12
- criteo_api_marketingsolutions_preview/model/dynamic_write_attributes.py +14 -14
- criteo_api_marketingsolutions_preview/model/entity_filter.py +8 -8
- criteo_api_marketingsolutions_preview/model/entity_of_portfolio_message.py +8 -8
- criteo_api_marketingsolutions_preview/model/entity_v2_of_dataset.py +8 -8
- criteo_api_marketingsolutions_preview/model/entity_v2_of_object.py +8 -8
- criteo_api_marketingsolutions_preview/model/entity_wrapper_of_targeting_entity.py +4 -4
- criteo_api_marketingsolutions_preview/model/error_description.py +8 -8
- criteo_api_marketingsolutions_preview/model/export_column.py +46 -46
- criteo_api_marketingsolutions_preview/model/export_result_data.py +4 -4
- criteo_api_marketingsolutions_preview/model/generate_audience_performance_report.py +22 -22
- criteo_api_marketingsolutions_preview/model/generate_audience_performance_report_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/generate_categories_report_request_attributes.py +16 -16
- criteo_api_marketingsolutions_preview/model/generate_categories_report_request_attributes_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/generate_creatives_report_request_attributes.py +49 -49
- criteo_api_marketingsolutions_preview/model/generate_creatives_report_request_attributes_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/generate_statistics_report.py +26 -26
- criteo_api_marketingsolutions_preview/model/generate_statistics_report_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/generate_top_products_report_request_attributes.py +46 -46
- criteo_api_marketingsolutions_preview/model/generate_top_products_report_request_attributes_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/image_attributes.py +4 -4
- criteo_api_marketingsolutions_preview/model/image_slide.py +4 -4
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_brand_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/in_market_audience_segment_interest_entity_v1_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/in_market_create_v1.py +6 -6
- criteo_api_marketingsolutions_preview/model/in_market_size_estimation_v1.py +6 -6
- criteo_api_marketingsolutions_preview/model/in_market_update_v1.py +10 -10
- criteo_api_marketingsolutions_preview/model/in_market_v1.py +10 -10
- criteo_api_marketingsolutions_preview/model/installment.py +4 -4
- criteo_api_marketingsolutions_preview/model/json_report_rows_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/json_report_rows_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status.py +4 -4
- criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/marketing_solutions_report_status_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/on_site_reco_request.py +12 -12
- criteo_api_marketingsolutions_preview/model/on_site_reco_response.py +4 -4
- criteo_api_marketingsolutions_preview/model/outcome.py +5 -5
- criteo_api_marketingsolutions_preview/model/patch_ad_set_budget_v24_q3.py +25 -25
- criteo_api_marketingsolutions_preview/model/patch_ad_set_category_bid_result_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/patch_ad_set_display_multiplier_result_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/patch_ad_set_scheduling_v24_q3.py +4 -4
- criteo_api_marketingsolutions_preview/model/patch_ad_set_v24_q3.py +12 -12
- criteo_api_marketingsolutions_preview/model/patch_campaign.py +4 -4
- criteo_api_marketingsolutions_preview/model/patch_campaign_spend_limit.py +13 -13
- criteo_api_marketingsolutions_preview/model/patch_campaign_write_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/patch_marketing_campaign_budget_automation.py +4 -4
- criteo_api_marketingsolutions_preview/model/patch_result_campaign_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/placements_report_query_message.py +28 -28
- criteo_api_marketingsolutions_preview/model/placements_report_query_message_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/point_of_interest_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/product.py +242 -242
- criteo_api_marketingsolutions_preview/model/product_importer_error.py +20 -20
- criteo_api_marketingsolutions_preview/model/product_importer_warning.py +20 -20
- criteo_api_marketingsolutions_preview/model/product_set.py +37 -37
- criteo_api_marketingsolutions_preview/model/product_set_rule.py +13 -13
- criteo_api_marketingsolutions_preview/model/product_shipping.py +16 -16
- criteo_api_marketingsolutions_preview/model/product_shipping_dimension.py +4 -4
- criteo_api_marketingsolutions_preview/model/product_shipping_weight.py +4 -4
- criteo_api_marketingsolutions_preview/model/product_tax.py +12 -12
- criteo_api_marketingsolutions_preview/model/product_unit_pricing_base_measure.py +4 -4
- criteo_api_marketingsolutions_preview/model/product_unit_pricing_measure.py +4 -4
- criteo_api_marketingsolutions_preview/model/products_custom_batch_request_entry.py +8 -8
- criteo_api_marketingsolutions_preview/model/prospecting_create_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/prospecting_update_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/prospecting_v1.py +4 -4
- criteo_api_marketingsolutions_preview/model/read_ad_set_budget_v24_q3.py +25 -25
- criteo_api_marketingsolutions_preview/model/read_ad_set_schedule_v24_q3.py +8 -8
- criteo_api_marketingsolutions_preview/model/read_ad_set_v24_q3.py +29 -29
- criteo_api_marketingsolutions_preview/model/read_model_ad_set_id_v24_q3.py +4 -4
- criteo_api_marketingsolutions_preview/model/read_model_read_ad_set_v24_q3.py +4 -4
- criteo_api_marketingsolutions_preview/model/recommended_product.py +16 -16
- criteo_api_marketingsolutions_preview/model/report_detail_error.py +14 -14
- criteo_api_marketingsolutions_preview/model/report_detail_errors.py +8 -8
- criteo_api_marketingsolutions_preview/model/report_detail_warning.py +14 -14
- criteo_api_marketingsolutions_preview/model/report_ok_response.py +20 -20
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_ad.py +5 -5
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_coupon.py +5 -5
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_creative.py +5 -5
- criteo_api_marketingsolutions_preview/model/resource_collection_outcome_of_product_set.py +7 -7
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_ad.py +5 -5
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_coupon.py +5 -5
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_coupon_supported_sizes.py +5 -5
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_creative.py +5 -5
- criteo_api_marketingsolutions_preview/model/resource_outcome_of_product_set.py +7 -7
- criteo_api_marketingsolutions_preview/model/response_read_ad_set_v24_q3.py +5 -5
- criteo_api_marketingsolutions_preview/model/responses_ad_set_id.py +5 -5
- criteo_api_marketingsolutions_preview/model/responses_ad_set_id_v24_q3.py +5 -5
- criteo_api_marketingsolutions_preview/model/responses_read_ad_set_v24_q3.py +5 -5
- criteo_api_marketingsolutions_preview/model/retargeting_create_v1.py +14 -14
- criteo_api_marketingsolutions_preview/model/retargeting_update_v1.py +8 -8
- criteo_api_marketingsolutions_preview/model/retargeting_v1.py +8 -8
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_deal_ids_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning.py +34 -34
- criteo_api_marketingsolutions_preview/model/set_ad_set_targeting_video_positioning_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/size.py +4 -4
- criteo_api_marketingsolutions_preview/model/statistics_record.py +74 -74
- criteo_api_marketingsolutions_preview/model/statistics_report_query_message.py +24 -24
- criteo_api_marketingsolutions_preview/model/supply_vendor_list_response.py +7 -7
- criteo_api_marketingsolutions_preview/model/targeting_entity.py +13 -13
- criteo_api_marketingsolutions_preview/model/transactions_report_query_message.py +8 -8
- criteo_api_marketingsolutions_preview/model/transactions_report_query_message_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/transparency_query_message.py +8 -8
- criteo_api_marketingsolutions_preview/model/transparency_report.py +8 -8
- criteo_api_marketingsolutions_preview/model/transparency_report_list_response.py +5 -5
- criteo_api_marketingsolutions_preview/model/transparency_report_resource.py +4 -4
- criteo_api_marketingsolutions_preview/model/user_def.py +8 -8
- criteo_api_marketingsolutions_preview/model/value_resource_collection_outcome_of_product_filter_config.py +5 -5
- criteo_api_marketingsolutions_preview/model/value_resource_of_advertiser_creation_input.py +4 -4
- criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_filter_request.py +4 -4
- criteo_api_marketingsolutions_preview/model/value_resource_of_create_product_set_request.py +4 -4
- criteo_api_marketingsolutions_preview/model/value_resource_of_product_filter_config.py +4 -4
- criteo_api_marketingsolutions_preview/model/value_resource_outcome_of_product_filter_config.py +5 -5
- criteo_api_marketingsolutions_preview/model/write_model_patch_ad_set_v24_q3.py +4 -4
- {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/METADATA +3 -3
- {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/RECORD +212 -212
- {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/WHEEL +1 -1
- {criteo_api_marketingsolutions_sdk-0.0.250320.dist-info → criteo_api_marketingsolutions_sdk-0.0.250409.dist-info}/top_level.txt +0 -0
|
@@ -55,11 +55,6 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
55
55
|
"""
|
|
56
56
|
|
|
57
57
|
allowed_values = {
|
|
58
|
-
('metrics',): {
|
|
59
|
-
'CLICKS': "Clicks",
|
|
60
|
-
'CTR': "Ctr",
|
|
61
|
-
'DISPLAYS': "Displays",
|
|
62
|
-
},
|
|
63
58
|
('dimensions',): {
|
|
64
59
|
'ADFORMAT': "AdFormat",
|
|
65
60
|
'COUPON': "Coupon",
|
|
@@ -71,6 +66,11 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
71
66
|
'DAY': "Day",
|
|
72
67
|
'HOUR': "Hour",
|
|
73
68
|
},
|
|
69
|
+
('metrics',): {
|
|
70
|
+
'CLICKS': "Clicks",
|
|
71
|
+
'CTR': "Ctr",
|
|
72
|
+
'DISPLAYS': "Displays",
|
|
73
|
+
},
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
validations = {
|
|
@@ -91,21 +91,21 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
91
91
|
and the value is attribute type.
|
|
92
92
|
"""
|
|
93
93
|
return {
|
|
94
|
-
'start_date': (datetime,), # noqa: E501
|
|
95
|
-
'end_date': (datetime,), # noqa: E501
|
|
96
94
|
'advertiser_ids': ([str],), # noqa: E501
|
|
97
|
-
'metrics': ([str],), # noqa: E501
|
|
98
95
|
'dimensions': ([str],), # noqa: E501
|
|
99
|
-
'
|
|
96
|
+
'end_date': (datetime,), # noqa: E501
|
|
97
|
+
'metrics': ([str],), # noqa: E501
|
|
98
|
+
'start_date': (datetime,), # noqa: E501
|
|
100
99
|
'ad_formats': ([str], none_type,), # noqa: E501
|
|
101
|
-
'display_sizes': ([str], none_type,), # noqa: E501
|
|
102
|
-
'coupon_names': ([str], none_type,), # noqa: E501
|
|
103
|
-
'coupon_ids': ([str], none_type,), # noqa: E501
|
|
104
|
-
'ad_names': ([str], none_type,), # noqa: E501
|
|
105
100
|
'ad_ids': ([str], none_type,), # noqa: E501
|
|
106
|
-
'
|
|
101
|
+
'ad_names': ([str], none_type,), # noqa: E501
|
|
107
102
|
'ad_set_ids': ([str], none_type,), # noqa: E501
|
|
108
103
|
'ad_set_status': ([str], none_type,), # noqa: E501
|
|
104
|
+
'campaign_ids': ([str], none_type,), # noqa: E501
|
|
105
|
+
'coupon_ids': ([str], none_type,), # noqa: E501
|
|
106
|
+
'coupon_names': ([str], none_type,), # noqa: E501
|
|
107
|
+
'display_sizes': ([str], none_type,), # noqa: E501
|
|
108
|
+
'timezone': (str, none_type,), # noqa: E501
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
@cached_property
|
|
@@ -114,21 +114,21 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
attribute_map = {
|
|
117
|
-
'start_date': 'startDate', # noqa: E501
|
|
118
|
-
'end_date': 'endDate', # noqa: E501
|
|
119
117
|
'advertiser_ids': 'advertiserIds', # noqa: E501
|
|
120
|
-
'metrics': 'metrics', # noqa: E501
|
|
121
118
|
'dimensions': 'dimensions', # noqa: E501
|
|
122
|
-
'
|
|
119
|
+
'end_date': 'endDate', # noqa: E501
|
|
120
|
+
'metrics': 'metrics', # noqa: E501
|
|
121
|
+
'start_date': 'startDate', # noqa: E501
|
|
123
122
|
'ad_formats': 'adFormats', # noqa: E501
|
|
124
|
-
'display_sizes': 'displaySizes', # noqa: E501
|
|
125
|
-
'coupon_names': 'couponNames', # noqa: E501
|
|
126
|
-
'coupon_ids': 'couponIds', # noqa: E501
|
|
127
|
-
'ad_names': 'adNames', # noqa: E501
|
|
128
123
|
'ad_ids': 'adIds', # noqa: E501
|
|
129
|
-
'
|
|
124
|
+
'ad_names': 'adNames', # noqa: E501
|
|
130
125
|
'ad_set_ids': 'adSetIds', # noqa: E501
|
|
131
126
|
'ad_set_status': 'adSetStatus', # noqa: E501
|
|
127
|
+
'campaign_ids': 'campaignIds', # noqa: E501
|
|
128
|
+
'coupon_ids': 'couponIds', # noqa: E501
|
|
129
|
+
'coupon_names': 'couponNames', # noqa: E501
|
|
130
|
+
'display_sizes': 'displaySizes', # noqa: E501
|
|
131
|
+
'timezone': 'timezone', # noqa: E501
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
read_only_vars = {
|
|
@@ -138,15 +138,15 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
138
138
|
|
|
139
139
|
@classmethod
|
|
140
140
|
@convert_js_args_to_python_args
|
|
141
|
-
def _from_openapi_data(cls,
|
|
141
|
+
def _from_openapi_data(cls, advertiser_ids, dimensions, end_date, metrics, start_date, *args, **kwargs): # noqa: E501
|
|
142
142
|
"""GenerateCreativesReportRequestAttributes - a model defined in OpenAPI
|
|
143
143
|
|
|
144
144
|
Args:
|
|
145
|
-
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
146
|
-
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
147
145
|
advertiser_ids ([str]): The list of client ids.
|
|
148
|
-
metrics ([str]): The list of metrics to report.
|
|
149
146
|
dimensions ([str]): The list of dimensions to report.
|
|
147
|
+
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
148
|
+
metrics ([str]): The list of metrics to report.
|
|
149
|
+
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
150
150
|
|
|
151
151
|
Keyword Args:
|
|
152
152
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -179,16 +179,16 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
179
179
|
Animal class but this time we won't travel
|
|
180
180
|
through its discriminator because we passed in
|
|
181
181
|
_visited_composed_classes = (Animal,)
|
|
182
|
-
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
183
182
|
ad_formats ([str], none_type): The list of adFormats.. [optional] # noqa: E501
|
|
184
|
-
display_sizes ([str], none_type): The list of displaySizes.. [optional] # noqa: E501
|
|
185
|
-
coupon_names ([str], none_type): The list of coupon names.. [optional] # noqa: E501
|
|
186
|
-
coupon_ids ([str], none_type): The list of coupon ids.. [optional] # noqa: E501
|
|
187
|
-
ad_names ([str], none_type): The list of ad names.. [optional] # noqa: E501
|
|
188
183
|
ad_ids ([str], none_type): The list of ad ids.. [optional] # noqa: E501
|
|
189
|
-
|
|
184
|
+
ad_names ([str], none_type): The list of ad names.. [optional] # noqa: E501
|
|
190
185
|
ad_set_ids ([str], none_type): The list of adSet ids (campaign ids).. [optional] # noqa: E501
|
|
191
186
|
ad_set_status ([str], none_type): The list of adSet status (ex: 'Active','NotRunning').. [optional] # noqa: E501
|
|
187
|
+
campaign_ids ([str], none_type): The list of campaign ids (marketing campaign ids).. [optional] # noqa: E501
|
|
188
|
+
coupon_ids ([str], none_type): The list of coupon ids.. [optional] # noqa: E501
|
|
189
|
+
coupon_names ([str], none_type): The list of coupon names.. [optional] # noqa: E501
|
|
190
|
+
display_sizes ([str], none_type): The list of displaySizes.. [optional] # noqa: E501
|
|
191
|
+
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
192
192
|
"""
|
|
193
193
|
|
|
194
194
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -220,11 +220,11 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
220
220
|
self._configuration = _configuration
|
|
221
221
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
222
222
|
|
|
223
|
-
self.start_date = start_date
|
|
224
|
-
self.end_date = end_date
|
|
225
223
|
self.advertiser_ids = advertiser_ids
|
|
226
|
-
self.metrics = metrics
|
|
227
224
|
self.dimensions = dimensions
|
|
225
|
+
self.end_date = end_date
|
|
226
|
+
self.metrics = metrics
|
|
227
|
+
self.start_date = start_date
|
|
228
228
|
for var_name, var_value in kwargs.items():
|
|
229
229
|
if var_name not in self.attribute_map and \
|
|
230
230
|
self._configuration is not None and \
|
|
@@ -245,15 +245,15 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
245
245
|
])
|
|
246
246
|
|
|
247
247
|
@convert_js_args_to_python_args
|
|
248
|
-
def __init__(self,
|
|
248
|
+
def __init__(self, advertiser_ids, dimensions, end_date, metrics, start_date, *args, **kwargs): # noqa: E501
|
|
249
249
|
"""GenerateCreativesReportRequestAttributes - a model defined in OpenAPI
|
|
250
250
|
|
|
251
251
|
Args:
|
|
252
|
-
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
253
|
-
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
254
252
|
advertiser_ids ([str]): The list of client ids.
|
|
255
|
-
metrics ([str]): The list of metrics to report.
|
|
256
253
|
dimensions ([str]): The list of dimensions to report.
|
|
254
|
+
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
255
|
+
metrics ([str]): The list of metrics to report.
|
|
256
|
+
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
257
257
|
|
|
258
258
|
Keyword Args:
|
|
259
259
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -286,16 +286,16 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
286
286
|
Animal class but this time we won't travel
|
|
287
287
|
through its discriminator because we passed in
|
|
288
288
|
_visited_composed_classes = (Animal,)
|
|
289
|
-
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
290
289
|
ad_formats ([str], none_type): The list of adFormats.. [optional] # noqa: E501
|
|
291
|
-
display_sizes ([str], none_type): The list of displaySizes.. [optional] # noqa: E501
|
|
292
|
-
coupon_names ([str], none_type): The list of coupon names.. [optional] # noqa: E501
|
|
293
|
-
coupon_ids ([str], none_type): The list of coupon ids.. [optional] # noqa: E501
|
|
294
|
-
ad_names ([str], none_type): The list of ad names.. [optional] # noqa: E501
|
|
295
290
|
ad_ids ([str], none_type): The list of ad ids.. [optional] # noqa: E501
|
|
296
|
-
|
|
291
|
+
ad_names ([str], none_type): The list of ad names.. [optional] # noqa: E501
|
|
297
292
|
ad_set_ids ([str], none_type): The list of adSet ids (campaign ids).. [optional] # noqa: E501
|
|
298
293
|
ad_set_status ([str], none_type): The list of adSet status (ex: 'Active','NotRunning').. [optional] # noqa: E501
|
|
294
|
+
campaign_ids ([str], none_type): The list of campaign ids (marketing campaign ids).. [optional] # noqa: E501
|
|
295
|
+
coupon_ids ([str], none_type): The list of coupon ids.. [optional] # noqa: E501
|
|
296
|
+
coupon_names ([str], none_type): The list of coupon names.. [optional] # noqa: E501
|
|
297
|
+
display_sizes ([str], none_type): The list of displaySizes.. [optional] # noqa: E501
|
|
298
|
+
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
299
299
|
"""
|
|
300
300
|
|
|
301
301
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -325,11 +325,11 @@ class GenerateCreativesReportRequestAttributes(ModelNormal):
|
|
|
325
325
|
self._configuration = _configuration
|
|
326
326
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
327
327
|
|
|
328
|
-
self.start_date = start_date
|
|
329
|
-
self.end_date = end_date
|
|
330
328
|
self.advertiser_ids = advertiser_ids
|
|
331
|
-
self.metrics = metrics
|
|
332
329
|
self.dimensions = dimensions
|
|
330
|
+
self.end_date = end_date
|
|
331
|
+
self.metrics = metrics
|
|
332
|
+
self.start_date = start_date
|
|
333
333
|
for var_name, var_value in kwargs.items():
|
|
334
334
|
if var_name not in self.attribute_map and \
|
|
335
335
|
self._configuration is not None and \
|
criteo_api_marketingsolutions_preview/model/generate_creatives_report_request_attributes_resource.py
CHANGED
|
@@ -80,8 +80,8 @@ class GenerateCreativesReportRequestAttributesResource(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
-
'type': (str, none_type,), # noqa: E501
|
|
84
83
|
'attributes': (GenerateCreativesReportRequestAttributes,), # noqa: E501
|
|
84
|
+
'type': (str, none_type,), # noqa: E501
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@cached_property
|
|
@@ -90,8 +90,8 @@ class GenerateCreativesReportRequestAttributesResource(ModelNormal):
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
attribute_map = {
|
|
93
|
-
'type': 'type', # noqa: E501
|
|
94
93
|
'attributes': 'attributes', # noqa: E501
|
|
94
|
+
'type': 'type', # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
read_only_vars = {
|
|
@@ -135,8 +135,8 @@ class GenerateCreativesReportRequestAttributesResource(ModelNormal):
|
|
|
135
135
|
Animal class but this time we won't travel
|
|
136
136
|
through its discriminator because we passed in
|
|
137
137
|
_visited_composed_classes = (Animal,)
|
|
138
|
-
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
138
|
attributes (GenerateCreativesReportRequestAttributes): [optional] # noqa: E501
|
|
139
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
140
140
|
"""
|
|
141
141
|
|
|
142
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -222,8 +222,8 @@ class GenerateCreativesReportRequestAttributesResource(ModelNormal):
|
|
|
222
222
|
Animal class but this time we won't travel
|
|
223
223
|
through its discriminator because we passed in
|
|
224
224
|
_visited_composed_classes = (Animal,)
|
|
225
|
-
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
225
|
attributes (GenerateCreativesReportRequestAttributes): [optional] # noqa: E501
|
|
226
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
227
227
|
"""
|
|
228
228
|
|
|
229
229
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -384,16 +384,16 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
384
384
|
and the value is attribute type.
|
|
385
385
|
"""
|
|
386
386
|
return {
|
|
387
|
-
'start_date': (datetime,), # noqa: E501
|
|
388
|
-
'end_date': (datetime,), # noqa: E501
|
|
389
387
|
'dimensions': ([str],), # noqa: E501
|
|
388
|
+
'end_date': (datetime,), # noqa: E501
|
|
390
389
|
'metrics': ([str],), # noqa: E501
|
|
391
|
-
'
|
|
392
|
-
'timezone': (str, none_type,), # noqa: E501
|
|
393
|
-
'currency': (str, none_type,), # noqa: E501
|
|
390
|
+
'start_date': (datetime,), # noqa: E501
|
|
394
391
|
'ad_set_ids': ([str], none_type,), # noqa: E501
|
|
395
392
|
'ad_set_names': ([str], none_type,), # noqa: E501
|
|
396
393
|
'ad_set_status': ([str], none_type,), # noqa: E501
|
|
394
|
+
'advertiser_ids': ([str], none_type,), # noqa: E501
|
|
395
|
+
'currency': (str, none_type,), # noqa: E501
|
|
396
|
+
'timezone': (str, none_type,), # noqa: E501
|
|
397
397
|
}
|
|
398
398
|
|
|
399
399
|
@cached_property
|
|
@@ -402,16 +402,16 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
402
402
|
|
|
403
403
|
|
|
404
404
|
attribute_map = {
|
|
405
|
-
'start_date': 'startDate', # noqa: E501
|
|
406
|
-
'end_date': 'endDate', # noqa: E501
|
|
407
405
|
'dimensions': 'dimensions', # noqa: E501
|
|
406
|
+
'end_date': 'endDate', # noqa: E501
|
|
408
407
|
'metrics': 'metrics', # noqa: E501
|
|
409
|
-
'
|
|
410
|
-
'timezone': 'timezone', # noqa: E501
|
|
411
|
-
'currency': 'currency', # noqa: E501
|
|
408
|
+
'start_date': 'startDate', # noqa: E501
|
|
412
409
|
'ad_set_ids': 'adSetIds', # noqa: E501
|
|
413
410
|
'ad_set_names': 'adSetNames', # noqa: E501
|
|
414
411
|
'ad_set_status': 'adSetStatus', # noqa: E501
|
|
412
|
+
'advertiser_ids': 'advertiserIds', # noqa: E501
|
|
413
|
+
'currency': 'currency', # noqa: E501
|
|
414
|
+
'timezone': 'timezone', # noqa: E501
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
read_only_vars = {
|
|
@@ -421,14 +421,14 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
421
421
|
|
|
422
422
|
@classmethod
|
|
423
423
|
@convert_js_args_to_python_args
|
|
424
|
-
def _from_openapi_data(cls,
|
|
424
|
+
def _from_openapi_data(cls, dimensions, end_date, metrics, start_date, *args, **kwargs): # noqa: E501
|
|
425
425
|
"""GenerateStatisticsReport - a model defined in OpenAPI
|
|
426
426
|
|
|
427
427
|
Args:
|
|
428
|
-
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
429
|
-
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
430
428
|
dimensions ([str]): The dimensions for the report.
|
|
429
|
+
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
431
430
|
metrics ([str]): The list of metrics to report.
|
|
431
|
+
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
432
432
|
|
|
433
433
|
Keyword Args:
|
|
434
434
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -461,12 +461,12 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
461
461
|
Animal class but this time we won't travel
|
|
462
462
|
through its discriminator because we passed in
|
|
463
463
|
_visited_composed_classes = (Animal,)
|
|
464
|
-
advertiser_ids ([str], none_type): The list of advertiser ids. [optional] # noqa: E501
|
|
465
|
-
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
466
|
-
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] # noqa: E501
|
|
467
464
|
ad_set_ids ([str], none_type): The list of adSets ids. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
468
465
|
ad_set_names ([str], none_type): The list of adSets names. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
469
466
|
ad_set_status ([str], none_type): The list of adSets status. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
467
|
+
advertiser_ids ([str], none_type): The list of advertiser ids. [optional] # noqa: E501
|
|
468
|
+
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] # noqa: E501
|
|
469
|
+
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
470
470
|
"""
|
|
471
471
|
|
|
472
472
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -498,10 +498,10 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
498
498
|
self._configuration = _configuration
|
|
499
499
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
500
500
|
|
|
501
|
-
self.start_date = start_date
|
|
502
|
-
self.end_date = end_date
|
|
503
501
|
self.dimensions = dimensions
|
|
502
|
+
self.end_date = end_date
|
|
504
503
|
self.metrics = metrics
|
|
504
|
+
self.start_date = start_date
|
|
505
505
|
for var_name, var_value in kwargs.items():
|
|
506
506
|
if var_name not in self.attribute_map and \
|
|
507
507
|
self._configuration is not None and \
|
|
@@ -522,14 +522,14 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
522
522
|
])
|
|
523
523
|
|
|
524
524
|
@convert_js_args_to_python_args
|
|
525
|
-
def __init__(self,
|
|
525
|
+
def __init__(self, dimensions, end_date, metrics, start_date, *args, **kwargs): # noqa: E501
|
|
526
526
|
"""GenerateStatisticsReport - a model defined in OpenAPI
|
|
527
527
|
|
|
528
528
|
Args:
|
|
529
|
-
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
530
|
-
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
531
529
|
dimensions ([str]): The dimensions for the report.
|
|
530
|
+
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
532
531
|
metrics ([str]): The list of metrics to report.
|
|
532
|
+
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
533
533
|
|
|
534
534
|
Keyword Args:
|
|
535
535
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -562,12 +562,12 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
562
562
|
Animal class but this time we won't travel
|
|
563
563
|
through its discriminator because we passed in
|
|
564
564
|
_visited_composed_classes = (Animal,)
|
|
565
|
-
advertiser_ids ([str], none_type): The list of advertiser ids. [optional] # noqa: E501
|
|
566
|
-
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
567
|
-
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] # noqa: E501
|
|
568
565
|
ad_set_ids ([str], none_type): The list of adSets ids. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
569
566
|
ad_set_names ([str], none_type): The list of adSets names. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
570
567
|
ad_set_status ([str], none_type): The list of adSets status. If empty, all the adSets will be fetched. [optional] # noqa: E501
|
|
568
|
+
advertiser_ids ([str], none_type): The list of advertiser ids. [optional] # noqa: E501
|
|
569
|
+
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] # noqa: E501
|
|
570
|
+
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] # noqa: E501
|
|
571
571
|
"""
|
|
572
572
|
|
|
573
573
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -597,10 +597,10 @@ class GenerateStatisticsReport(ModelNormal):
|
|
|
597
597
|
self._configuration = _configuration
|
|
598
598
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
599
599
|
|
|
600
|
-
self.start_date = start_date
|
|
601
|
-
self.end_date = end_date
|
|
602
600
|
self.dimensions = dimensions
|
|
601
|
+
self.end_date = end_date
|
|
603
602
|
self.metrics = metrics
|
|
603
|
+
self.start_date = start_date
|
|
604
604
|
for var_name, var_value in kwargs.items():
|
|
605
605
|
if var_name not in self.attribute_map and \
|
|
606
606
|
self._configuration is not None and \
|
|
@@ -80,8 +80,8 @@ class GenerateStatisticsReportResource(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
-
'type': (str, none_type,), # noqa: E501
|
|
84
83
|
'attributes': (GenerateStatisticsReport,), # noqa: E501
|
|
84
|
+
'type': (str, none_type,), # noqa: E501
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@cached_property
|
|
@@ -90,8 +90,8 @@ class GenerateStatisticsReportResource(ModelNormal):
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
attribute_map = {
|
|
93
|
-
'type': 'type', # noqa: E501
|
|
94
93
|
'attributes': 'attributes', # noqa: E501
|
|
94
|
+
'type': 'type', # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
read_only_vars = {
|
|
@@ -135,8 +135,8 @@ class GenerateStatisticsReportResource(ModelNormal):
|
|
|
135
135
|
Animal class but this time we won't travel
|
|
136
136
|
through its discriminator because we passed in
|
|
137
137
|
_visited_composed_classes = (Animal,)
|
|
138
|
-
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
138
|
attributes (GenerateStatisticsReport): [optional] # noqa: E501
|
|
139
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
140
140
|
"""
|
|
141
141
|
|
|
142
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -222,8 +222,8 @@ class GenerateStatisticsReportResource(ModelNormal):
|
|
|
222
222
|
Animal class but this time we won't travel
|
|
223
223
|
through its discriminator because we passed in
|
|
224
224
|
_visited_composed_classes = (Animal,)
|
|
225
|
-
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
225
|
attributes (GenerateStatisticsReport): [optional] # noqa: E501
|
|
226
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
227
227
|
"""
|
|
228
228
|
|
|
229
229
|
_check_type = kwargs.pop('_check_type', True)
|
criteo_api_marketingsolutions_preview/model/generate_top_products_report_request_attributes.py
CHANGED
|
@@ -105,20 +105,20 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
105
105
|
and the value is attribute type.
|
|
106
106
|
"""
|
|
107
107
|
return {
|
|
108
|
-
'start_date': (datetime,), # noqa: E501
|
|
109
|
-
'end_date': (datetime,), # noqa: E501
|
|
110
108
|
'advertiser_id': (str,), # noqa: E501
|
|
109
|
+
'end_date': (datetime,), # noqa: E501
|
|
111
110
|
'rank_products_by': (str,), # noqa: E501
|
|
112
|
-
'
|
|
113
|
-
'limit': (int,), # noqa: E501
|
|
114
|
-
'dimensions': ([str], none_type,), # noqa: E501
|
|
115
|
-
'metrics': ([str], none_type,), # noqa: E501
|
|
116
|
-
'currency': (str, none_type,), # noqa: E501
|
|
117
|
-
'brands': ([str], none_type,), # noqa: E501
|
|
118
|
-
'category_ids': ([str], none_type,), # noqa: E501
|
|
119
|
-
'campaign_ids': ([str], none_type,), # noqa: E501
|
|
111
|
+
'start_date': (datetime,), # noqa: E501
|
|
120
112
|
'ad_set_ids': ([str], none_type,), # noqa: E501
|
|
121
113
|
'ad_set_status': ([str], none_type,), # noqa: E501
|
|
114
|
+
'brands': ([str], none_type,), # noqa: E501
|
|
115
|
+
'campaign_ids': ([str], none_type,), # noqa: E501
|
|
116
|
+
'category_ids': ([str], none_type,), # noqa: E501
|
|
117
|
+
'currency': (str, none_type,), # noqa: E501
|
|
118
|
+
'dimensions': ([str], none_type,), # noqa: E501
|
|
119
|
+
'limit': (int,), # noqa: E501
|
|
120
|
+
'metrics': ([str], none_type,), # noqa: E501
|
|
121
|
+
'timezone': (str, none_type,), # noqa: E501
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
@cached_property
|
|
@@ -127,20 +127,20 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
attribute_map = {
|
|
130
|
-
'start_date': 'startDate', # noqa: E501
|
|
131
|
-
'end_date': 'endDate', # noqa: E501
|
|
132
130
|
'advertiser_id': 'advertiserId', # noqa: E501
|
|
131
|
+
'end_date': 'endDate', # noqa: E501
|
|
133
132
|
'rank_products_by': 'rankProductsBy', # noqa: E501
|
|
134
|
-
'
|
|
135
|
-
'limit': 'limit', # noqa: E501
|
|
136
|
-
'dimensions': 'dimensions', # noqa: E501
|
|
137
|
-
'metrics': 'metrics', # noqa: E501
|
|
138
|
-
'currency': 'currency', # noqa: E501
|
|
139
|
-
'brands': 'brands', # noqa: E501
|
|
140
|
-
'category_ids': 'categoryIds', # noqa: E501
|
|
141
|
-
'campaign_ids': 'campaignIds', # noqa: E501
|
|
133
|
+
'start_date': 'startDate', # noqa: E501
|
|
142
134
|
'ad_set_ids': 'adSetIds', # noqa: E501
|
|
143
135
|
'ad_set_status': 'adSetStatus', # noqa: E501
|
|
136
|
+
'brands': 'brands', # noqa: E501
|
|
137
|
+
'campaign_ids': 'campaignIds', # noqa: E501
|
|
138
|
+
'category_ids': 'categoryIds', # noqa: E501
|
|
139
|
+
'currency': 'currency', # noqa: E501
|
|
140
|
+
'dimensions': 'dimensions', # noqa: E501
|
|
141
|
+
'limit': 'limit', # noqa: E501
|
|
142
|
+
'metrics': 'metrics', # noqa: E501
|
|
143
|
+
'timezone': 'timezone', # noqa: E501
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
read_only_vars = {
|
|
@@ -150,14 +150,14 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
150
150
|
|
|
151
151
|
@classmethod
|
|
152
152
|
@convert_js_args_to_python_args
|
|
153
|
-
def _from_openapi_data(cls,
|
|
153
|
+
def _from_openapi_data(cls, advertiser_id, end_date, rank_products_by, start_date, *args, **kwargs): # noqa: E501
|
|
154
154
|
"""GenerateTopProductsReportRequestAttributes - a model defined in OpenAPI
|
|
155
155
|
|
|
156
156
|
Args:
|
|
157
|
-
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
158
|
-
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
159
157
|
advertiser_id (str): The client id.
|
|
158
|
+
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
160
159
|
rank_products_by (str): The metric used to filter the top products.
|
|
160
|
+
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
161
161
|
|
|
162
162
|
Keyword Args:
|
|
163
163
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -190,16 +190,16 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
190
190
|
Animal class but this time we won't travel
|
|
191
191
|
through its discriminator because we passed in
|
|
192
192
|
_visited_composed_classes = (Animal,)
|
|
193
|
-
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
194
|
-
limit (int): The maximum number of top products returned.. [optional] # noqa: E501
|
|
195
|
-
dimensions ([str], none_type): The dimensions for the report.. [optional] # noqa: E501
|
|
196
|
-
metrics ([str], none_type): The list of metrics to report.. [optional] # noqa: E501
|
|
197
|
-
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] if omitted the server will use the default value of "EUR" # noqa: E501
|
|
198
|
-
brands ([str], none_type): The list of brands names.. [optional] # noqa: E501
|
|
199
|
-
category_ids ([str], none_type): The list of category ids.. [optional] # noqa: E501
|
|
200
|
-
campaign_ids ([str], none_type): The list of campaign ids.. [optional] # noqa: E501
|
|
201
193
|
ad_set_ids ([str], none_type): The list of adSet ids.. [optional] # noqa: E501
|
|
202
194
|
ad_set_status ([str], none_type): The list of adSet status (ex: 'Active','NotRunning').. [optional] # noqa: E501
|
|
195
|
+
brands ([str], none_type): The list of brands names.. [optional] # noqa: E501
|
|
196
|
+
campaign_ids ([str], none_type): The list of campaign ids.. [optional] # noqa: E501
|
|
197
|
+
category_ids ([str], none_type): The list of category ids.. [optional] # noqa: E501
|
|
198
|
+
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] if omitted the server will use the default value of "EUR" # noqa: E501
|
|
199
|
+
dimensions ([str], none_type): The dimensions for the report.. [optional] # noqa: E501
|
|
200
|
+
limit (int): The maximum number of top products returned.. [optional] # noqa: E501
|
|
201
|
+
metrics ([str], none_type): The list of metrics to report.. [optional] # noqa: E501
|
|
202
|
+
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
203
203
|
"""
|
|
204
204
|
|
|
205
205
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -231,10 +231,10 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
231
231
|
self._configuration = _configuration
|
|
232
232
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
233
233
|
|
|
234
|
-
self.start_date = start_date
|
|
235
|
-
self.end_date = end_date
|
|
236
234
|
self.advertiser_id = advertiser_id
|
|
235
|
+
self.end_date = end_date
|
|
237
236
|
self.rank_products_by = rank_products_by
|
|
237
|
+
self.start_date = start_date
|
|
238
238
|
for var_name, var_value in kwargs.items():
|
|
239
239
|
if var_name not in self.attribute_map and \
|
|
240
240
|
self._configuration is not None and \
|
|
@@ -255,14 +255,14 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
255
255
|
])
|
|
256
256
|
|
|
257
257
|
@convert_js_args_to_python_args
|
|
258
|
-
def __init__(self,
|
|
258
|
+
def __init__(self, advertiser_id, end_date, rank_products_by, start_date, *args, **kwargs): # noqa: E501
|
|
259
259
|
"""GenerateTopProductsReportRequestAttributes - a model defined in OpenAPI
|
|
260
260
|
|
|
261
261
|
Args:
|
|
262
|
-
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
263
|
-
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
264
262
|
advertiser_id (str): The client id.
|
|
263
|
+
end_date (datetime): End date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
265
264
|
rank_products_by (str): The metric used to filter the top products.
|
|
265
|
+
start_date (datetime): Start date of the report. Date component of ISO 8061 format, any time or timezone component is ignored.
|
|
266
266
|
|
|
267
267
|
Keyword Args:
|
|
268
268
|
_check_type (bool): if True, values for parameters in openapi_types
|
|
@@ -295,16 +295,16 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
295
295
|
Animal class but this time we won't travel
|
|
296
296
|
through its discriminator because we passed in
|
|
297
297
|
_visited_composed_classes = (Animal,)
|
|
298
|
-
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
299
|
-
limit (int): The maximum number of top products returned.. [optional] # noqa: E501
|
|
300
|
-
dimensions ([str], none_type): The dimensions for the report.. [optional] # noqa: E501
|
|
301
|
-
metrics ([str], none_type): The list of metrics to report.. [optional] # noqa: E501
|
|
302
|
-
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] if omitted the server will use the default value of "EUR" # noqa: E501
|
|
303
|
-
brands ([str], none_type): The list of brands names.. [optional] # noqa: E501
|
|
304
|
-
category_ids ([str], none_type): The list of category ids.. [optional] # noqa: E501
|
|
305
|
-
campaign_ids ([str], none_type): The list of campaign ids.. [optional] # noqa: E501
|
|
306
298
|
ad_set_ids ([str], none_type): The list of adSet ids.. [optional] # noqa: E501
|
|
307
299
|
ad_set_status ([str], none_type): The list of adSet status (ex: 'Active','NotRunning').. [optional] # noqa: E501
|
|
300
|
+
brands ([str], none_type): The list of brands names.. [optional] # noqa: E501
|
|
301
|
+
campaign_ids ([str], none_type): The list of campaign ids.. [optional] # noqa: E501
|
|
302
|
+
category_ids ([str], none_type): The list of category ids.. [optional] # noqa: E501
|
|
303
|
+
currency (str, none_type): The currency used for the report. ISO 4217 code (three-letter capitals).. [optional] if omitted the server will use the default value of "EUR" # noqa: E501
|
|
304
|
+
dimensions ([str], none_type): The dimensions for the report.. [optional] # noqa: E501
|
|
305
|
+
limit (int): The maximum number of top products returned.. [optional] # noqa: E501
|
|
306
|
+
metrics ([str], none_type): The list of metrics to report.. [optional] # noqa: E501
|
|
307
|
+
timezone (str, none_type): The timezone used for the report. Timezone Database format (Tz).. [optional] if omitted the server will use the default value of "UTC" # noqa: E501
|
|
308
308
|
"""
|
|
309
309
|
|
|
310
310
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -334,10 +334,10 @@ class GenerateTopProductsReportRequestAttributes(ModelNormal):
|
|
|
334
334
|
self._configuration = _configuration
|
|
335
335
|
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)
|
|
336
336
|
|
|
337
|
-
self.start_date = start_date
|
|
338
|
-
self.end_date = end_date
|
|
339
337
|
self.advertiser_id = advertiser_id
|
|
338
|
+
self.end_date = end_date
|
|
340
339
|
self.rank_products_by = rank_products_by
|
|
340
|
+
self.start_date = start_date
|
|
341
341
|
for var_name, var_value in kwargs.items():
|
|
342
342
|
if var_name not in self.attribute_map and \
|
|
343
343
|
self._configuration is not None and \
|
|
@@ -80,8 +80,8 @@ class GenerateTopProductsReportRequestAttributesResource(ModelNormal):
|
|
|
80
80
|
"""
|
|
81
81
|
lazy_import()
|
|
82
82
|
return {
|
|
83
|
-
'type': (str, none_type,), # noqa: E501
|
|
84
83
|
'attributes': (GenerateTopProductsReportRequestAttributes,), # noqa: E501
|
|
84
|
+
'type': (str, none_type,), # noqa: E501
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
@cached_property
|
|
@@ -90,8 +90,8 @@ class GenerateTopProductsReportRequestAttributesResource(ModelNormal):
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
attribute_map = {
|
|
93
|
-
'type': 'type', # noqa: E501
|
|
94
93
|
'attributes': 'attributes', # noqa: E501
|
|
94
|
+
'type': 'type', # noqa: E501
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
read_only_vars = {
|
|
@@ -135,8 +135,8 @@ class GenerateTopProductsReportRequestAttributesResource(ModelNormal):
|
|
|
135
135
|
Animal class but this time we won't travel
|
|
136
136
|
through its discriminator because we passed in
|
|
137
137
|
_visited_composed_classes = (Animal,)
|
|
138
|
-
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
139
138
|
attributes (GenerateTopProductsReportRequestAttributes): [optional] # noqa: E501
|
|
139
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
140
140
|
"""
|
|
141
141
|
|
|
142
142
|
_check_type = kwargs.pop('_check_type', True)
|
|
@@ -222,8 +222,8 @@ class GenerateTopProductsReportRequestAttributesResource(ModelNormal):
|
|
|
222
222
|
Animal class but this time we won't travel
|
|
223
223
|
through its discriminator because we passed in
|
|
224
224
|
_visited_composed_classes = (Animal,)
|
|
225
|
-
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
226
225
|
attributes (GenerateTopProductsReportRequestAttributes): [optional] # noqa: E501
|
|
226
|
+
type (str, none_type): Type of the resource.. [optional] # noqa: E501
|
|
227
227
|
"""
|
|
228
228
|
|
|
229
229
|
_check_type = kwargs.pop('_check_type', True)
|