gogol-webmaster-tools-0.0.1: Google Webmaster Tools SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.WebmasterTools

Contents

Description

Lets you view Google Webmaster Tools data for your verified sites.

See: Webmaster Tools API Reference

Synopsis

Service Configuration

webmasterToolsService :: Service Source

Default request referring to version v3 of the Webmaster Tools API. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

Resources

webmasters.searchanalytics.query

webmasters.sitemaps.delete

webmasters.sitemaps.get

webmasters.sitemaps.list

webmasters.sitemaps.submit

webmasters.sites.add

webmasters.sites.delete

webmasters.sites.get

webmasters.sites.list

webmasters.urlcrawlerrorscounts.query

webmasters.urlcrawlerrorssamples.get

webmasters.urlcrawlerrorssamples.list

webmasters.urlcrawlerrorssamples.markAsFixed

Types

WmxSitemapContent

wmxSitemapContent :: WmxSitemapContent Source

Creates a value of WmxSitemapContent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wscIndexed :: Lens' WmxSitemapContent (Maybe Int64) Source

The number of URLs from the sitemap that were indexed (of the content type).

wscType :: Lens' WmxSitemapContent (Maybe Text) Source

The specific type of content in this sitemap. For example: web.

wscSubmitted :: Lens' WmxSitemapContent (Maybe Int64) Source

The number of URLs in the sitemap (of the content type).

APIdimensionFilterGroup

apidimensionFilterGroup :: APIdimensionFilterGroup Source

Creates a value of APIdimensionFilterGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

URLSampleDetails

urlSampleDetails :: URLSampleDetails Source

Creates a value of URLSampleDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

usdLinkedFromURLs :: Lens' URLSampleDetails [Text] Source

A sample set of URLs linking to this URL.

usdContainingSitemaps :: Lens' URLSampleDetails [Text] Source

List of sitemaps pointing at this URL.

URLCrawlErrorsSamplesMarkAsFixedCategory

URLCrawlErrorCountsPerType

urlCrawlErrorCountsPerType :: URLCrawlErrorCountsPerType Source

Creates a value of URLCrawlErrorCountsPerType with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ucecptPlatform :: Lens' URLCrawlErrorCountsPerType (Maybe Text) Source

The general type of Googlebot that made the request (see list of Googlebot user-agents for the user-agents used).

URLCrawlErrorsSamplesGetPlatform

APIDataRow

apiDataRow :: APIDataRow Source

Creates a value of APIDataRow with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

APIdimensionFilter

apidimensionFilter :: APIdimensionFilter Source

Creates a value of APIdimensionFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

URLCrawlErrorsSamplesMarkAsFixedPlatform

URLCrawlErrorsSamplesGetCategory

URLCrawlErrorCount

urlCrawlErrorCount :: URLCrawlErrorCount Source

Creates a value of URLCrawlErrorCount with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ucecCount :: Lens' URLCrawlErrorCount (Maybe Int64) Source

The error count at the given timestamp.

ucecTimestamp :: Lens' URLCrawlErrorCount (Maybe UTCTime) Source

The date and time when the crawl attempt took place, in RFC 3339 format.

URLCrawlErrorscountsQueryPlatform

SearchAnalyticsQueryResponse

data SearchAnalyticsQueryResponse Source

A list of rows, one per result, grouped by key. Metrics in each row are aggregated for all data grouped by that key either by page or property, as specified by the aggregation type parameter.

See: searchAnalyticsQueryResponse smart constructor.

searchAnalyticsQueryResponse :: SearchAnalyticsQueryResponse Source

Creates a value of SearchAnalyticsQueryResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

saqrRows :: Lens' SearchAnalyticsQueryResponse [APIDataRow] Source

A list of rows grouped by the key values in the order given in the query.

URLCrawlErrorsSamplesListCategory

URLCrawlErrorsSamplesListResponse

urlCrawlErrorsSamplesListResponse :: URLCrawlErrorsSamplesListResponse Source

Creates a value of URLCrawlErrorsSamplesListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

uceslrURLCrawlErrorSample :: Lens' URLCrawlErrorsSamplesListResponse [URLCrawlErrorsSample] Source

Information about the sample URL and its crawl error.

URLCrawlErrorsCountsQueryResponse

urlCrawlErrorsCountsQueryResponse :: URLCrawlErrorsCountsQueryResponse Source

Creates a value of URLCrawlErrorsCountsQueryResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ucecqrCountPerTypes :: Lens' URLCrawlErrorsCountsQueryResponse [URLCrawlErrorCountsPerType] Source

The time series of the number of URL crawl errors per error category and platform.

URLCrawlErrorsSample

urlCrawlErrorsSample :: URLCrawlErrorsSample Source

Creates a value of URLCrawlErrorsSample with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ucesResponseCode :: Lens' URLCrawlErrorsSample (Maybe Int32) Source

The HTTP response code, if any.

ucesURLDetails :: Lens' URLCrawlErrorsSample (Maybe URLSampleDetails) Source

Additional details about the URL, set only when calling get().

ucesLastCrawled :: Lens' URLCrawlErrorsSample (Maybe UTCTime) Source

The time when the URL was last crawled, in RFC 3339 format.

ucesPageURL :: Lens' URLCrawlErrorsSample (Maybe Text) Source

The URL of an error, relative to the site.

ucesFirstDetected :: Lens' URLCrawlErrorsSample (Maybe UTCTime) Source

The time the error was first detected, in RFC 3339 format.

WmxSitemap

data WmxSitemap Source

Contains detailed information about a specific URL submitted as a sitemap.

See: wmxSitemap smart constructor.

wmxSitemap :: WmxSitemap Source

Creates a value of WmxSitemap with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wsContents :: Lens' WmxSitemap [WmxSitemapContent] Source

The various content types in the sitemap.

wsPath :: Lens' WmxSitemap (Maybe Text) Source

The url of the sitemap.

wsIsSitemapsIndex :: Lens' WmxSitemap (Maybe Bool) Source

If true, the sitemap is a collection of sitemaps.

wsLastSubmitted :: Lens' WmxSitemap (Maybe UTCTime) Source

Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd).

wsWarnings :: Lens' WmxSitemap (Maybe Int64) Source

Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.

wsLastDownloaded :: Lens' WmxSitemap (Maybe UTCTime) Source

Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd).

wsIsPending :: Lens' WmxSitemap (Maybe Bool) Source

If true, the sitemap has not been processed.

wsType :: Lens' WmxSitemap (Maybe Text) Source

The type of the sitemap. For example: rssFeed.

wsErrors :: Lens' WmxSitemap (Maybe Int64) Source

Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly.

SitemapsListResponse

sitemapsListResponse :: SitemapsListResponse Source

Creates a value of SitemapsListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

slrSitemap :: Lens' SitemapsListResponse [WmxSitemap] Source

Contains detailed information about a specific URL submitted as a sitemap.

SearchAnalyticsQueryRequest

searchAnalyticsQueryRequest :: SearchAnalyticsQueryRequest Source

Creates a value of SearchAnalyticsQueryRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

saqrAggregationType :: Lens' SearchAnalyticsQueryRequest (Maybe Text) Source

Optional; Default is "auto"
How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, depending on how you want your data calculated; see the help documentation to learn how data is calculated differently by site versus by page. Note: If you group or filter by page, you cannot aggregate by property. If you specify any value other than AUTO, the aggregation type in the result will match the requested type, or if you request an invalid type, you will get an error. The API will never change your aggregation type if the requested type is invalid.

saqrRowLimit :: Lens' SearchAnalyticsQueryRequest (Maybe Int32) Source

Optional; Default is 1000
The maximum number of rows to return. Must be a number from 1 to 5,000 (inclusive).

saqrEndDate :: Lens' SearchAnalyticsQueryRequest (Maybe Text) Source

Required
End date of the requested date range, in YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal to the start date. This value is included in the range.

saqrSearchType :: Lens' SearchAnalyticsQueryRequest (Maybe Text) Source

Optional; Default is "web"
The search type to filter for.

saqrDimensionFilterGroups :: Lens' SearchAnalyticsQueryRequest [APIdimensionFilterGroup] Source

Optional
Zero or more filters to apply to the dimension grouping values; for example, 'query contains "buy"' to see only data where the query string contains the substring "buy" (not case-sensitive). You can filter by a dimension without grouping by it.

saqrStartDate :: Lens' SearchAnalyticsQueryRequest (Maybe Text) Source

Required
Start date of the requested date range, in YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or equal to the end date. This value is included in the range.

saqrDimensions :: Lens' SearchAnalyticsQueryRequest [Text] Source

Optional
Zero or more dimensions to group results by. Dimensions are the group-by values in the Search Analytics page. Dimensions are combined to create a unique row key for each row. Results are grouped in the order that you supply these dimensions.

URLCrawlErrorsSamplesListPlatform

SitesListResponse

sitesListResponse :: SitesListResponse Source

Creates a value of SitesListResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

slrSiteEntry :: Lens' SitesListResponse [WmxSite] Source

Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools.

WmxSite

data WmxSite Source

Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools.

See: wmxSite smart constructor.

wmxSite :: WmxSite Source

Creates a value of WmxSite with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wsPermissionLevel :: Lens' WmxSite (Maybe Text) Source

The user's permission level for the site.

wsSiteURL :: Lens' WmxSite (Maybe Text) Source

The URL of the site.

URLCrawlErrorscountsQueryCategory