Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API updates - news and freshness #64

Open
MarkEdmondson1234 opened this issue Dec 14, 2020 · 1 comment
Open

API updates - news and freshness #64

MarkEdmondson1234 opened this issue Dec 14, 2020 · 1 comment

Comments

@MarkEdmondson1234
Copy link
Owner

As announced here: https://developers.google.com/search/blog/2020/12/search-console-api-updates

The pertinent ones are:

dataState

The Performance report already supports fresh data that is less than a day old. You can now access this data through the API by passing the request parameter dataState with value set to all. The data you get for this value will also include fresh data that is not yet final. If you wish to get only final data, you can either pass this parameter with value set to final or not pass it at all and you will get only final data by default.

News

A few months ago, we added a News tab on Search filter to the Performance report. This information is now also available in the API, and you can access it by setting the value of searchType parameter in the request to news.

Domain property support in the Sitemaps API

The Sitemaps API now supports domain properties, as other Search Console APIs already do. You can query, add, and delete your sitemaps on domain properties, for example:
GET https://www.googleapis.com/webmasters/v3/sites/sc-domain:example.com/sitemaps

@Tofandel
Copy link

The Crawl errors are all gone as well from the API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants