Method: properties.adSenseLinks.get
Cerca un solo link AdSense.
Richiesta HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/adSenseLinks/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatoria. Identificatore univoco del collegamento ad AdSense richiesto. Formato: proprietà/{propertyId}/adSenseLinks/{linkId} Esempio: proprietà/1234/adSenseLinks/5678
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di AdSenseLink
.
Ambiti di autorizzazione
Richiede uno dei seguenti ambiti OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-05-06 UTC.
[null,null,["Ultimo aggiornamento 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"]]