A function to download all available data from GA using pagination (ga_request_all_data).
Refactoring:
Extracted code that creates a new instance of the GA service client and handles connection errors. Right now, all of that is done using a context manager.
Extracted the function that prints the sample size.
New functionality:
Refactoring: