Method: properties.adSenseLinks.get
Sucht einen einzelnen AdSense-Link.
HTTP-Anfrage
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
name |
string
Erforderlich. Eindeutige Kennung für die angeforderte AdSense-Verknüpfung. Format: Properties/{propertyId}/adSenseLinks/{linkId} Beispiel: properties/1234/adSenseLinks/5678
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von AdSenseLink
.
Autorisierungsbereiche
Erfordert einen der folgenden OAuth-Bereiche:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-06 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]