Invalid object type for field brand

April_Feola
Tourist
8 0 7

Would anyone happen to know why my BRAND field is coming up all warnings since Oct 1st?  It was fine until then, now all of them are slowly erroring out in google search.  And YES my brand is filled in as well.

Replies 19 (19)
ABvZ
Tourist
4 0 2

Same issue... why is this happening?

jrfackler
Tourist
8 0 1

Same problem as well. It started after updating to the 2.0 theme.

bmac
Tourist
8 0 9

I found a solution. I'm not sure why search console is suddenly acknowledging this error and I'm not sure if my file always had the wrong code or if google made a recent update. According to google the the code within the product structured data file should read 

"brand": {
        "@type": "Brand",
        "name": "ACME"
      },

I checked in my file and indeed it was wrong. It read...

"brand": {
"@type": "Thing",
"name": {{ product.vendor | json }}
},

So I simply changed the word "Thing" to "Brand" and its now fixed. 

jrfackler
Tourist
8 0 1

Thank you for the solution. Could you please explain where I can find the product structured data file?

bmac
Tourist
8 0 9

(For me) the code can be found in a Snippet file called product__structured-data.liquid

TangentTom
New Member
2 0 2

Perfect! Thanks for that bmac 🙂 🙂 For me, I found it in my product.liquid file. (I'm using Debut theme - line 59)

lmsports
Tourist
4 0 5

Why does this have to be done out of the box?? Come on Shopify !! 😐

Murray7255
New Member
1 0 0

I faced similar kind of issue last time, I am still searching for some proper solution.

April_Feola
Tourist
8 0 7
Hi,

I use rich snippets app thru shopify by webex Studios-
SEO, JSON-LD, Schema

by Webrex Studio

Although I did not find the solution on my own by going thru my templates
and searching for what the others had put as their solution, I am signed up
with the pro plan with the webrex studio app Seo,Json-LD, Schema and they
have applied a fix. I gave them a background as to what was happening,
then told them what solved the problem for others, and now my brand errors
are finally going away in my GSC.

I would suggest to use them for this and yes sign up for the pro plan.
thegoodest
Tourist
8 0 1

How long does it take for this issue to update on Google's end? I fixed the code and also added a SKU to an item that was missing one, but right after I clicked "validate fix" and got nowhere. 

bmac
Tourist
8 0 9

If you haven't done so I suggest testing the fix first before validating by using the Rich Results Testing Tool. https://search.google.com/test/rich-results

Once you determine everything looks good in the tester you can go on Search Console and either "Validate Fix" which could take anywhere from 1 to 30 days OR you can ask google to index it which can speed up that process by queuing the URL first in line to be indexed next. Usually only takes a day or two.  

To request indexing locate the search bar at the top of the Search Console home page and paste your URL into it. A page will load with some info... look for "Request Indexing" clickable text. Click it... A pop up should appear saying "Testing if live URL can be indexed". If all goes well it should end up saying Request submitted.

thegoodest
Tourist
8 0 1

Thank you so much for that! Guess it's like everything else in the SEO world: glacial as opposed to instant. 

evelynpiper
New Member
4 0 0

i have facing the same issue on my client's site: dawn multigrain bread

April_Feola
Tourist
8 0 7
Hi, I was able to have the issue fixed by adding the following app to my
store:
SEO, JSON-LD, Schema

by Webrex Studio

I bought the one time pro plan, contacted them to notify them of the issue
and they took care of it for me.

Chiragjain
New Member
1 0 2

Whats the solution for this for Shopify 2.0?

specklefarms
New Member
2 0 0

This doesn't seem ideal as a solution. Why do we have to pay for something that is obviously broken?

Thomas_Romer
Explorer
42 0 23

I just did that. A representative responded even though it is like 9PM their time. 

AlohaAkahai
Excursionist
21 1 1

Okay guys. It took me awhile to found it.

 

Sections > main-product.liquid

 

 

 "brand": {
        "@type": "Thing",
        "name": {{ product.vendor | json }}
      },

 

 

 

Switch @type to Brand.  It will fix ld+json  in html page. 

 

Also, If this fixes your issue with this error, please give this 'New Member' thumbs up. 

Rich_Woodward
Shopify Partner
10 0 4

In the Dawn Theme this schema can be found in the main-product.liquid file under Sections. It's also in the featured-product.liquid code if you use a featured product section on the home page or anywhere else in your site.