Home > Back-end >  GoogleMyBusiness API : Unknow name websiteUrl at location : cannot find field
GoogleMyBusiness API : Unknow name websiteUrl at location : cannot find field

Time:11-02

I'm using Google MyBusiness API (v4), and i'm trying to update websiteurl of my locations.

But i get this error "Unknow name websiteUrl at location : cannot find field"

I check the doc, and the field is "websiteUrl", so what's wrong ?

Thanks !

enter image description here

enter image description here

I check the lib, i check the code and i check the doc, the field is websiteUrl

CodePudding user response:

That method has been deprecated, please use the new Business Information API, note that the field has been renamed to websiteUri.

Model: https://developers.google.com/my-business/reference/businessinformation/rest/v1/locations

Patch method: https://developers.google.com/my-business/reference/businessinformation/rest/v1/locations/patch

  • Related