Method: properties.adSenseLinks.delete
AdSenseLink را حذف می کند.
درخواست HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. شناسه منحصر به فرد پیوند AdSense که باید حذف شود. قالب: properties/{propertyId}/adSenseLinks/{linkId} مثال: properties/1234/adSenseLinks/5678 |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["Deletes an existing AdSense Link associated with a Google Analytics 4 property."],["Requires the `name` path parameter to identify the specific AdSense Link for deletion, using the format `properties/{propertyId}/adSenseLinks/{linkId}`."],["Uses a `DELETE` HTTP request and an empty request body to perform the deletion."],["Successful deletion results in an empty response body."],["Requires authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document outlines how to delete an AdSenseLink using an HTTP DELETE request. The request is sent to a specific URL, including the `name` path parameter, which uniquely identifies the AdSenseLink (e.g., properties/1234/adSenseLinks/5678). The request body must be empty. Upon success, an empty JSON object is returned as the response. The process requires `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]