Google api Google Insights API在版本5中不返回ruleImpact分数。如何得到这个分数?

Google api Google Insights API在版本5中不返回ruleImpact分数。如何得到这个分数?,google-api,Google Api,我正在使用GoogleInsight API获取所需站点的移动友好评分和规则影响评分。对于旧版本,它返回规则影响分数 和下面的链接类似,它返回了ruleImpact分数 但最新版本5 不返回问题类型的ruleImpact分数 我如何获得第5版中每种问题类型的规则影响,如下所示 "PrioritizeVisibleContent": { "localizedRuleName": "Prioritize visible content

我正在使用GoogleInsight API获取所需站点的移动友好评分和规则影响评分。对于旧版本,它返回规则影响分数

和下面的链接类似,它返回了ruleImpact分数

但最新版本5

不返回问题类型的ruleImpact分数

我如何获得第5版中每种问题类型的规则影响,如下所示

 "PrioritizeVisibleContent": {
    "localizedRuleName": "Prioritize visible content",
    "ruleImpact": 0,
    "groups": [
     "SPEED"
    ],
    "summary": {
     "format": "You have the above-the-fold content properly prioritized. Learn more about {{BEGIN_LINK}}prioritizing visible content{{END_LINK}}.",
     "args": [
      {
       "type": "HYPERLINK",
       "key": "LINK",
       "value": "https://developers.google.com/speed/docs/insights/PrioritizeVisibleContent"
      }
     ]https://gist.github.com/shawnbot/3ebbdea9a0a3fa59578d573543f5cea9
    }
   },
   "SizeContentToViewport": {
    "localizedRuleName": "Size content to viewport",
    "ruleImpact": 0,
    "groups": [
     "USABILITY"
    ],
    "summary": {
     "format": "The contents of your page fit within the viewport. Learn more about {{BEGIN_LINK}}sizing content to the viewport{{END_LINK}}.",
     "args": [
      {
       "type": "HYPERLINK",
       "key": "LINK",
       "value": "https://developers.google.com/speed/docs/insights/SizeContentToViewport"
      }
     ]
    }
   },

非常感谢您的帮助?

如果您将与进行比较,则输出似乎已完全更改。我认为这个分数已经不存在了。但在新版本中应该有一个替代的SizeContentToViewport。