我正在使用 GMB REST API 在我的 gmb 帐户中搜索位置。碰巧其中一个位置似乎是重复的。当我发送请求https://mybusiness.googleapis.com/v4/accounts/XXXXXXX/locations?filter=locationName=%22locationname%22时,我收到一个重复的位置作为响应
"locationState": {
"isDuplicate": true,
"canUpdate": true,
"canDelete": true,
"isDisconnected": true,
"canModifyServiceList": true
},
"duplicate":
{
"locationName": "accounts/-/locations/-7619470345265407058",
"access": "ACCESS_UNKNOWN",
"placeId": "ChIJzysOJQhOskcRxgidfZpyVv4"
},
我想检索原始位置“accounts/-/locations/-7619470345265407058”。复制位置和原始位置的 placeId 相同。当我用 placeId 搜索时,我仍然得到重复的位置。
有人可以帮忙吗?我想检索此原始位置或仅检索非重复位置。