سرور MCP را برای Google Analytics امتحان کنید. از
GitHub نصب کنید و برای جزئیات بیشتر به
اطلاعیه مراجعه کنید.
Method: properties.displayVideo360AdvertiserLinkProposals.approve
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک DisplayVideo360AdvertiserLinkProposal را تأیید می کند. DisplayVideo360AdvertiserLinkProposal حذف خواهد شد و DisplayVideo360AdvertiserLink جدید ایجاد خواهد شد.
درخواست HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/displayVideo360AdvertiserLinkProposals/*}:approve
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام DisplayVideo360AdvertiserLinkProposal برای تأیید. قالب مثال: properties/1234/displayVideo360AdvertiserLinkProposals/5678 |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
پیام پاسخ برای displayVideo360AdvertiserLinkProposals.approve RPC.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
فیلدها |
---|
displayVideo360AdvertiserLink | object ( DisplayVideo360AdvertiserLink ) DisplayVideo360 AdvertiserLink در نتیجه تأیید پیشنهاد ایجاد شد. |
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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`"]]