MarkEdmondson1234 / searchConsoleR

R interface with Google Search Console API v3, including Search Analytics.
http://code.markedmondson.me/searchConsoleR/
Other
114 stars 41 forks source link

Get data from a domain property #56

Closed prischini closed 4 years ago

prischini commented 4 years ago

Hi there! I'm trying to get Google Search Console data for a domain property. When I launch the script I've got this error:

error in check.Url(siteURL, reserved = T) : URL must include protocol, e.g. http://example.com - got:sc-domain:mydomain.com

even if I'm using sc-domain:mydomain.com as indicated by the SC API documentation.

This is the function I'm using:

search_analytics(siteURL, startDate = Sys.Date() - 93, endDate = Sys.Date() - 3, dimensions = NULL, searchType = c("web", "video", "image"), dimensionFilterExp = NULL, aggregationType = c("auto", "byPage", "byProperty"), rowLimit = 1000, prettyNames = TRUE, walk_data = c("byBatch", "byDate", "none"))

Thanks in advance

paolo

MarkEdmondson1234 commented 4 years ago

Which version are you using? Can you check via sessionInfo()?

prischini commented 4 years ago

Hi Mark, thanks for the quick reply. I'm using the 0.3.0.

MarkEdmondson1234 commented 4 years ago

You need version 0.4.0


From: prischini notifications@github.com Sent: Wednesday, January 22, 2020 6:06 PM To: MarkEdmondson1234/searchConsoleR Cc: Mark; Comment Subject: Re: [MarkEdmondson1234/searchConsoleR] Get data from a domain property (#56)

Hi Mark, thanks for the quick reply. I'm using the 0.3.0.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/MarkEdmondson1234/searchConsoleR/issues/56?email_source=notifications&email_token=AAYCPLCCJVXS6YY6CPZSQQLQ7B4JRA5CNFSM4KKI5YU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJULGPI#issuecomment-577286973, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYCPLEQ23RJGOP2VFVVWLLQ7B4JRANCNFSM4KKI5YUQ.