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

Create a new location and adding attributes

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

I am getting errors When trying to add a menu url attribute to a new location on create.  Are we not allowed to add attributes on create (API v3.)

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Jeremy M
September

Re: Create a new location and adding attributes

Google Employee
# 2
Google Employee

Hi @Jeremy M,

 

No, you can add a menu url attribute by using the UrlAttributeValue object of the Attributes field when you create a new location via the Google My Business API.

 

Please note, the values for an attribute with valueType of URL are available since v3.1, so please make sure you are using the latest version of the Google My Business API. Also could you please post the errors that you are getting while creating a new location with the menu url attribute?

 

Thanks,

The Google My Business API team

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Jeremy M
September

Re: Create a new location and adding attributes

Google Employee
# 2
Google Employee

Hi @Jeremy M,

 

No, you can add a menu url attribute by using the UrlAttributeValue object of the Attributes field when you create a new location via the Google My Business API.

 

Please note, the values for an attribute with valueType of URL are available since v3.1, so please make sure you are using the latest version of the Google My Business API. Also could you please post the errors that you are getting while creating a new location with the menu url attribute?

 

Thanks,

The Google My Business API team