googleAnalyticsR
googleAnalyticsR copied to clipboard
ga_unsampled_list() and ga_unsampled_download() unable to get reports
What goes wrong
Since 10.08.2023 the reports don't appear on ga_unsampled_list() anymore and can't be dowloaded through ga_unsampled_download()
Steps to reproduce the problem
Having unsampled reports scheduled, ga_unsampled_list(accountId = myAccount,webPropertyId = myWebProperty,profileId = myProfileId)
Expected output
New reports appear again on the list and can be downloaded
Actual output
"Error: Report title not found. Please enter a valid title. Remember it is case-sensitive" (although the report exists) Before you run your code, please run:
options(googleAuthR.verbose=2)
and copy-paste the console output here.
Check it doesn't include any sensitive info like auth tokens or accountIds - you can usually just edit those out manually and replace with say XXX
'API Data failed to parse' diagnostics
If you have an error starting with:
API Data failed to parse.
- Please install googleAuthR >v0.7.9000:
remotes::install_github("MarkEdmondson1234/googleAuthR")
- Restart the R session and run your bugged code.
- It should write a file called
gar_parse_error.rds
to your working directory. - Run the below to output some diagnostic information and paste the response here.
googleAuthR::gar_debug_parsing("gar_parse_error.rds")
Session Info
Please run sessionInfo()
so we can check what versions of packages you have installed
googleAuthR_2.0.1 googleAnalyticsR_1.1.0