Hello i have a site with flash games and i need to add star rating for each game in google search like for amazon ‘here’ but without review just rating its possible ? google dont punish me for that because its not an article ?
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
Rated: <span itemprop="ratingValue">4</span>/<span itemprop="bestRating">5</span>
</div>
I tested the code here https://developers.google.com/structured-data/testing-tool/ but i have error
Thanks
2
Answers
This is an example of a valid code (not related to games, but you’ll get the idea). You could test it in the tool:
Now, you can’t really put whatever you want there. In order to use the star rating you have to put
reviewCount
orratingCount
. Those are just mandatory.There are two problems coming up from the tester
<meta>
tag to hide thisUse this:
The page http://schema.org/VideoGame has more examples, and google may ask for a few more properties like
name
orheadline
for the game. Google can suddenly decide things are compulsory when they were not last month.