Попробуйте сервер MCP для Google Analytics. Установите его с
GitHub и ознакомьтесь с
анонсом для получения более подробной информации.
Method: properties.displayVideo360AdvertiserLinkProposals.approve
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Утверждает предложение DisplayVideo360AdvertiserLink. Предложение DisplayVideo360AdvertiserLink будет удалено и будет создана новая ссылка DisplayVideo360AdvertiserLink.
HTTP-запрос
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Название предложения DisplayVideo360AdvertiserLink, которое необходимо утвердить. Пример формата: свойства/1234/displayVideo360AdvertiserLinkProposals/5678. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
Ответное сообщение для displayVideo360AdvertiserLinkProposals.approve RPC.
В случае успеха тело ответа содержит данные следующей структуры:
Поля |
---|
displayVideo360AdvertiserLink | object ( DisplayVideo360AdvertiserLink ) Ссылка DisplayVideo360AdvertiserLink, созданная в результате одобрения предложения. |
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/analytics.edit
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\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`"]]