error_sample_url: Shows details of errors for individual sample URLs

View source: R/getData.R

error_sample_urlR Documentation

Shows details of errors for individual sample URLs

Description

pageURL is the relative path (without the site) of the sample URL. It must be one of the URLs returned by list_crawl_error_samples. For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename (string)

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

Platform is one of: mobile, smartphoneOnly or web.

Usage

error_sample_url(siteURL, pageURL, category = "notFound", platform = "web")

Arguments

siteURL

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

pageURL

A PageUrl taken from list_crawl_error_samples.

category

Crawl error category. Default 'notFound'.

platform

User agent type. Default 'web'.

Details

See here for details: https://developers.google.com/webmaster-tools/v3/urlcrawlerrorssamples/get

Value

Dataframe of $linkedFrom, with the calling URLs $last_crawled, $first_detected and a $exampleURL

See Also

Other working with search console errors: crawl_errors(), fix_sample_url(), list_crawl_error_samples()


MarkEdmondson1234/searchConsoleR documentation built on May 15, 2023, 9:33 p.m.