AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

My Business
2.7K members online now
2.7K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

Error message: "This category isn't supported in NL."

[ Edited ]
Follower ✭ ✭ ✭
# 1
Follower ✭ ✭ ✭

When we submit a pois for a Dutch 'snack_bar' we get the following message.

 

_Google API returned an error message for update on poiId:POI 400 Bad Request{ "code" : 400 "message" : "Request contains an invalid argument." "status" : "INVALID_ARGUMENT" "details" : [ { "@type" : "type.googleapis.com/google.mybusiness.v3p1.ValidationError" "errorDetails" : [ { "code" : 3 "field" : "primary_category" * "message" : "This category isn't supported in NL."* "value" : "gcid:snack_bar" "additionalValue" : "NL" } ] } ]}_

 

As a solution, we've changed the primary category, but we do not understand why the category is not supported in The Netherlands.

1 Expert replyverified_user

Re: Error message: "This category isn't supported in NL."

Google Employee
# 2
Google Employee

Hi @Sinem T,

 

The error you mentioned in your post indicates that the category id you are using for your category is incorrect. The correct categoryId for the category name “Snackbar” is “gcid:fast_food_restaurant” for your country. For a list of valid category IDs, and the mappings to their human-readable names, see categories.list.

 

I suggest you try making a simple HTTP request using the OAuth 2.0 Playground and send a GET HTTP request to get a list of categories using the categories.list method in the Google My Business API.

 

I hope this helps!

 

Thanks,

Shalini, Google My Business API team