From d01efad8ebe62704d39766d1b845b518a7a3075a Mon Sep 17 00:00:00 2001 From: Vimal Joseph Date: Tue, 12 Dec 2023 17:06:43 +0530 Subject: [PATCH] Fix naming --- analytics_reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analytics_reporter.py b/analytics_reporter.py index 0a0994e..7bbdf0c 100644 --- a/analytics_reporter.py +++ b/analytics_reporter.py @@ -23,7 +23,7 @@ def generate_report(report_config, start_date, end_date, api_key, view_id, outpu dimensions = report_config['dimensions'] metrics = report_config['metrics'] page_size = report_config.get('page_size', 1000) # Default to 1000 if not specified - sampling_level = report_config.get('samplingLevel', 'DEFAULT') # Default to 'DEFAULT' if not specified + sampling_level = report_config.get('sampling_level', 'DEFAULT') # Default to 'DEFAULT' if not specified next_page_token = None all_data = []