问题标签 [google-site-verification-api]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
401 浏览

google-apps-script - 使用 google 站点 api 检索所有经典和新的 google 站点

有没有办法检索所有新的谷歌网站,包括经典网站?我尝试使用getAllSites(domain, start, max)

但我只能检索具有前缀的经典网站/a/(例如:https://sites.google.com/a/yourdomain.com/demo/)。有没有办法可以检索经典和新的谷歌网站(没有前缀,/a/例如:https://sites.google.com/yourdomain.com/demo/)?

0 投票
0 回答
19 浏览

google-site-verification-api - Google Site Verification api 错误 - 'verification_type 的值无效

我无法通过谷歌完成网站验证。继续收到以下错误。有人有同样的问题或知道解决方案吗?

“错误”:{“代码”:400,“消息”:“'verification_type'(type.googleapis.com/security.irdb.api.VerificationType)的值无效,“站点”,“错误”:[{“ message": "'verification_type' 的值无效 (type.googleapis.com/security.irdb.api.VerificationType), "SITE"", "reason": "invalid" } ], "status": "INVALID_ARGUMENT" } }