Method: properties.adSenseLinks.get
Ищет одну ссылку AdSenseLink.
HTTP-запрос
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Уникальный идентификатор запрошенной ссылки AdSense. Формат: Properties/{propertyId}/adSenseLinks/{linkId}. Пример: Properties/1234/adSenseLinks/5678. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр AdSenseLink
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics.edit
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-25 UTC.
[null,null,["Последнее обновление: 2024-10-25 UTC."],[[["Retrieves detailed information about a specific AdSense Link associated with a Google Analytics 4 property."],["Requires specifying the unique identifier of the AdSense Link in the request URL path."],["An empty request body is necessary for this operation."],["Successful responses provide an AdSenseLink object containing the requested link's details."],["Proper authorization with either read-only or edit access to Google Analytics is required."]]],["The core content describes how to retrieve a single AdSenseLink via an HTTP GET request. The request URL requires a unique identifier (`name`) in the format `properties/*/adSenseLinks/*`. The request body must be empty. A successful response returns an `AdSenseLink` instance. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. The documentation includes information regarding the URL parameters, gRPC Transcoding, and an action to try this out.\n"]]