Overview
This node integrates with the Google Search Console API to manage SEO-related data for verified websites. Specifically, the "List Sitemaps" operation retrieves all sitemaps associated with a specified verified site. This is useful for SEO specialists and webmasters who want to audit or monitor the sitemaps submitted to Google for their sites, ensuring proper indexing and visibility.
Practical examples include:
- Automatically fetching all sitemaps of a website to verify which ones are currently registered in Google Search Console.
- Integrating sitemap data into reporting workflows to track sitemap status or changes over time.
Properties
| Name | Meaning |
|---|---|
| Site URL | The URL of the verified site in Google Search Console for which to list sitemaps. Example: https://example.com/ |
Output
The output is a JSON array containing the list of sitemaps for the specified site. Each item in the array corresponds to a sitemap resource as returned by the Google Search Console API. The structure typically includes details such as sitemap URL, last submitted date, and status information.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential with access to the Google Search Console API.
- The node uses OAuth2 credentials (client email and private key) to authenticate with Google APIs.
- Necessary scopes include read-only and full access to Google Search Console data.
- Proper verification of the site URL in Google Search Console is mandatory before listing sitemaps.
Troubleshooting
Common issues:
- Invalid or unverified site URL: The site must be verified in Google Search Console; otherwise, the API will reject the request.
- Authentication errors: Ensure that the provided API credentials have the correct permissions and are properly configured.
- Network or quota limits: Google API quotas may limit the number of requests; handle rate limiting accordingly.
Error messages:
"The operation "listSitemaps" is not supported!": Indicates an unsupported operation was requested; verify the operation parameter.- API errors related to authorization or invalid parameters will be surfaced with their message; check credentials and input values.