Google Business Performance API 的
NEW API 方法可擷取單一 API 要求中的多個「DailyMetrics」。
請詳閱
淘汰時間表和從 v4 reportInsights API 方法遷移至 Google Business Profile Performance API 的操作說明。
Method: locations.placeActionLinks.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。會列出地點動作連結的地點名稱。locations/{locationId} 。
|
查詢參數
參數 |
filter |
string
選用設定。篩選器會限制要傳回的地點動作連結。回應會包含與篩選條件相符的項目。我們只支援下列篩選器:1. placeActionType=XYZ,其中 XYZ 是有效的 PlaceActionType。
|
pageSize |
integer
選用設定。每頁要傳回的地點動作連結數量。預設值為 10。下限為 1。
|
pageToken |
string
選用設定。如果有指定,則傳回地點動作連結的下一頁。
|
回應主體
PlaceActions.ListPlaceActionLinks 的回應訊息。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"placeActionLinks": [
{
object (PlaceActionLink )
}
],
"nextPageToken": string
} |
欄位 |
placeActionLinks[] |
object (PlaceActionLink )
傳回的地點動作連結清單。
|
nextPageToken |
string
如果地點動作連結的數量超過要求的網頁大小,這個欄位就會填入可擷取下一頁結果的符記。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/business.manage
詳情請參閱 OAuth 2.0 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eLists place action links for a specified location using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering results by place action type, pagination with page size and token.\u003c/p\u003e\n"],["\u003cp\u003eRequest body should be empty; the response includes an array of PlaceActionLinks and a nextPageToken for pagination.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/business.manage\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: locations.placeActionLinks.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPlaceActionLinksResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists the place action links for the specified location.\n\n### HTTP request\n\n`GET https://mybusinessplaceactions.googleapis.com/v1/{parent=locations/*}/placeActionLinks`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the location whose place action links will be listed. `locations/{locationId}`. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `filter` | `string` Optional. A filter constraining the place action links to return. The response includes entries that match the filter. We support only the following filter: 1. placeActionType=XYZ where XYZ is a valid PlaceActionType. |\n| `pageSize` | `integer` Optional. How many place action links to return per page. Default of 10. The minimum is 1. |\n| `pageToken` | `string` Optional. If specified, returns the next page of place action links. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for PlaceActions.ListPlaceActionLinks.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"placeActionLinks\": [ { object (/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionLink) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `placeActionLinks[]` | `object (`[PlaceActionLink](/my-business/reference/placeactions/rest/v1/locations.placeActionLinks#PlaceActionLink)`)` The returned list of place action links. |\n| `nextPageToken` | `string` If there are more place action links than the requested page size, then this field is populated with a token to fetch the next page of results. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/business.manage`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]