Method: properties.adSenseLinks.get
Wyszukuje pojedynczy link AdSense.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Unikalny identyfikator żądanego połączenia z AdSense. Format: properties/{propertyId}/adSenseLinks/{linkId} Przykład: properties/1234/adSenseLinks/5678
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu AdSenseLink
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-05-06 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-06 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"]]