searchConsoleR
searchConsoleR copied to clipboard
Can't get data with 0 clicks using byDate
What goes wrong
I get 14000ish observations and when I look at data, I have no pages with 0 clicks
Steps to reproduce the problem
remotes::install_github("MarkEdmondson1234/searchConsoleR")
options("googleAuthR.scopes.selected" = c("https://www.googleapis.com/auth/webmasters", "https://www.googleapis.com/auth/webmasters.readonly"))
options("googleAuthR.client_id" = "xxxxxxxxxxx.apps.googleusercontent.com") options("googleAuthR.client_secret" = "xxxxxxxxxxxxxxxxxxx") googleAuthR::gar_auth()
indexed_pages <- search_analytics(siteURL="https://www.example.com", startDate = Sys.Date() - 6, endDate = Sys.Date() - 4, dimensions = c("date","page"), walk_data = "byDate")
Expected output
400k pages
Actual output
14k pages
same issue