Metadata field not returning duplicateLocation.
I have two Google businesses, one of which is a duplicate of the other. In Google Business Profile Manager it shows as a duplicate. When getting location data via the python client, we get data under the metadata field in the location object but the duplicateLocation field is missing for some reason. Not sure why. Perhaps it is a bug or error on my part. Please advise.
Hi @zacharyinserra-lovingly, please provide more details about your issue. I is not clear which libraries you are using and which specific requests you are making (service, input, output messages). Also, if you can, please use the new GAPIC client libraries instead of google-api-python-client. This repository is a legacy (and de-facto deprecated) one and is in maintenance mode.
Hello Vadym,
We are using the google-api-python-client library. Here is a snippet of our code that fetches the location data. info = discovery.build('mybusinessbusinessinformation', 'v1', credentials=creds) keys = ('name,title,serviceArea,storeCode,labels,openInfo,metadata,storefront_address,phone_numbers,' 'specialHours,regularHours,serviceItems,websiteUri,categories,latlng,profile,relationshipData,' 'adWordsLocationExtensions,languageCode') locs = info.accounts().locations().list(parent=account, readMask=keys).execute()
Thanks! Zac
On Fri, Aug 26, 2022 at 5:01 PM Vadym Matsishevskyi < @.***> wrote:
Hi @zacharyinserra-lovingly https://github.com/zacharyinserra-lovingly, please provide more details about your issue. I is not clear which libraries you are using and which specific requests you are making (service, input, output messages). Also, if you can, please use the new GAPIC client libraries https://github.com/googleapis/google-cloud-python instead of google-api-python-client. This repository is a legacy (and de-facto deprecated) one and is in maintenance mode.
— Reply to this email directly, view it on GitHub https://github.com/googleapis/google-api-python-client/issues/1856#issuecomment-1228943257, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUJ5TE7UC4F5UIM7I5EKGX3V3EWA7ANCNFSM546NTCQQ . You are receiving this because you were mentioned.Message ID: @.***>