searchConsoleR (version 0.3.0)

crawl_errors: Fetch a time-series of Googlebot crawl errors.

Description

Get a list of errors detected by Googlebot over time. See here for details: https://developers.google.com/webmaster-tools/v3/urlcrawlerrorscounts/query

Usage

crawl_errors(siteURL, category = "all", platform = c("all", "mobile",
  "smartphoneOnly", "web"), latestCountsOnly = FALSE)

Arguments

siteURL

The URL of the website to delete. Must include protocol (http://).

category

Crawl error category. Defaults to 'all'

platform

The user agent type. 'all', 'mobile', 'smartphoneOnly' or 'web'.

latestCountsOnly

Default FALSE. Only the latest crawl error counts returned if TRUE.

Value

dataframe of errors with $platform $category $count and $timecount.

Details

The timestamp is converted to a date as they are only available daily.

Category is one of: authPermissions, manyToOneRedirect, notFollowed, notFound, other, roboted, serverError, soft404.

Platform is one of: mobile, smartphoneOnly or web.

See Also

Other working with search console errors: error_sample_url, fix_sample_url, list_crawl_error_samples