试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
Method: properties.displayVideo360AdvertiserLinkProposals.approve
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
批准 DisplayVideo360AdvertiserLinkProposal。系统会删除 DisplayVideo360AdvertiserLinkProposal,并创建一个新的 DisplayVideo360AdvertiserLink。
HTTP 请求
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。要批准的 DisplayVideo360AdvertiserLinkProposal 的名称。示例格式:property/1234/displayVideo360AdvertiserLinkProposals/5678
|
响应正文
displayVideo360AdvertiserLinkProposals.approve RPC 的响应消息。
如果成功,响应正文将包含结构如下的数据:
字段 |
displayVideo360AdvertiserLink |
object (DisplayVideo360AdvertiserLink )
由于批准提案而创建的 DisplayVideo360AdvertiserLink。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/analytics.edit
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eApproves a DisplayVideo360AdvertiserLinkProposal, deleting the proposal and creating a new DisplayVideo360AdvertiserLink.\u003c/p\u003e\n"],["\u003cp\u003eSends an empty request body to the endpoint \u003ccode\u003ePOST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.edit\u003c/code\u003e authorization scope for access.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful approval, the response includes the newly created DisplayVideo360AdvertiserLink object.\u003c/p\u003e\n"]]],["This describes the process for approving a DisplayVideo360AdvertiserLinkProposal. A POST request is sent to `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve`, with the `name` path parameter specifying the proposal to approve. The request body must be empty. Upon success, the proposal is deleted and a new DisplayVideo360AdvertiserLink is created, with the details returned in the response body, in JSON format under the `displayVideo360AdvertiserLink` key. The request requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"],null,["# Method: properties.displayVideo360AdvertiserLinkProposals.approve\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ApproveDisplayVideo360AdvertiserLinkProposalResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nApproves a DisplayVideo360AdvertiserLinkProposal. The DisplayVideo360AdvertiserLinkProposal will be deleted and a new DisplayVideo360AdvertiserLink will be created.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for displayVideo360AdvertiserLinkProposals.approve RPC.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"displayVideo360AdvertiserLink\": { object (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink) } } ``` |\n\n| Fields ||\n|---------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `displayVideo360AdvertiserLink` | `object (`[DisplayVideo360AdvertiserLink](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.displayVideo360AdvertiserLinks#DisplayVideo360AdvertiserLink)`)` The DisplayVideo360AdvertiserLink created as a result of approving the proposal. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]