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

searchconsole: How can I know if accurate data is ready? #2592

Closed
TTTragic opened this issue May 17, 2024 · 1 comment
Closed

searchconsole: How can I know if accurate data is ready? #2592

TTTragic opened this issue May 17, 2024 · 1 comment
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.

Comments

@TTTragic
Copy link

Related APIs: searchconsole/v1
Version: v0.172.0
Details: I am trying to query the data using method Query of SearchanalyticsService. I know from the help documentation that it takes Google about 3 days to validate the data. When the data is not ready, the method Query returns empty data(len(SearchAnalyticsQueryResponse.Rows)==0), which is the same behavior as if there were no search results for the day.I want to distinguish between the two.

My English is poor, so I'll describe it below in my native language, if you have a Chinese developer, he can understand my question better

相关API:searchconsole/v1
包版本: v0.172.0
问题详情:我打算通过谷歌搜索API来拉取网站的搜索结果,具体是SearchanalyticsService服务的Query方法。我从谷歌官方的帮助文档中得知,谷歌需要花费2-3天的时间来复核数据。在复核数据的这段时间里,Query方法返回的结构中,Rows为空切片。如果我的网站某天的访问量为0,Query方法返回的结构中,Rows也为空切片。这两种情况,接口表现是一致的,我怎么区分这两种情况。

@TTTragic TTTragic added priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue. labels May 17, 2024
@TTTragic TTTragic changed the title How can I know if accurate data is ready? searchconsole: How can I know if accurate data is ready? May 17, 2024
@codyoss
Copy link
Member

codyoss commented May 20, 2024

I am not sure if there is a way to test this from the API. I think the best place to ask this question is through the API support page as this is a question about the service vs the client libraries itself. Hope that helps you find the correct path to your solution.

@codyoss codyoss closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants