An extension for Umbraco CMS allowing programmatic access to URL-level data for properties managed in Google Search Console and the indexed version of a URL.
Google Search Console helps you monitor, maintain, and troubleshoot your site's presence in Google Search results.
The URL Inspection Tool provides information about Google's indexed version of a specific page. Information includes AMP errors, structured data errors, and indexing issues.
The Search Console APIs are a way to access data outside of Search Console, through external applications and products. Developers and SEO tools already use the API to build custom solutions to view, add or remove properties and sitemaps, and to run advanced queries on Search performance data.
With the new URL Inspection API, Google provides a new tool for developers to debug and optimize their Umbraco pages. With this integration, you can add page or template-level insights and ongoing checks for existing pages.
The request parameters include the URL you'd like to inspect and the URL of the property as defined in Search Console.
To access Google APIs we are using the OAuth2 protocol for authentication and authorization, using the OAuth Proxy for Umbraco Integrations.
Credentials are retrieved through our Umbraco CMS Integrations Google App. After you have authenticated, your web application requests an access token from the Google Authorization Server, saves the token and refresh token in the Umbraco database, and adds the token to the authorization header of each subsequent request sent to Google API.
The URL Inspection Tool API requests one of the following OAuth scopes:
0.1.2 (November 22nd 2022)
0.1.1 (November 4th 2022)
0.1.0 (June 22 2022)