You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

技术问询:Service的AggregateRating及给定代码能否在Google SERP显示星级

Can AggregateRating for Service Schema Display Star Ratings in Google SERP?

Great question! Let's break this down into two clear parts: eligibility of the Service schema for star ratings, and analysis of your specific code.

1. Is Service Schema with AggregateRating Eligible for Star Ratings?

Yes, Google does support showing star ratings in search results for pages using the Service schema type combined with AggregateRating—but only if you meet their core guidelines. Key requirements include:

  • Your AggregateRating must include the three mandatory properties: ratingValue, bestRating, and reviewCount.
  • The ratings must come from legitimate, user-generated reviews (not self-reported or fake ratings).
  • The rating content must be visible to users on the page (not hidden in code alone).
  • The service itself must be clearly defined and directly relevant to the page's main content.

2. Will Your Code Show Star Ratings?

First, let's fix syntax errors in your code—invalid HTML can break Google's schema parsing. Your original code has an unopened </span> tag right after "Horoscope 2018" and an extra closing </span> at the end. Here's the corrected version:

<div itemscope itemtype="http://schema.org/Service">
  Horoscope 2018
  Overall rating: 
  <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
    <strong><span class="value" itemprop="ratingValue">4.7</span></strong> out of 
    <strong><span itemprop="bestRating">5</span></strong> based on 
    <span class="votes" itemprop="reviewCount">26</span> reviews.
  </span>
</div>

Even with the fixed code, there's no 100% guarantee stars will appear in SERP. Google’s automated systems decide when to display rich results based on extra factors:

  • Ensure "Horoscope 2018" is clearly the primary focus of the page.
  • Verify the 26 reviews are genuine, user-submitted content (not just a standalone rating without actual review text).
  • Make sure your page has enough detailed content about the service to contextualize the rating.

You can use Google’s Rich Results Test tool to confirm if your schema is parsed correctly and check for any additional issues.

内容的提问来源于stack exchange,提问作者Jay Joshi

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 08:05:59